Expand description
Writing the config file back.
auth login is the only path that edits configuration, and it edits a file
people also write by hand — the docs tell them to. So the edit is surgical:
toml_edit keeps existing comments, key order and formatting, and only the
touched keys change. Serialising the whole struct back would silently delete
whatever the user had written around it.
Structs§
- Edits
- What an edit changes about a profile.
- Removed
- What removing a profile changed beyond the profile itself.
Enums§
Functions§
- edit
- Change an existing profile in place, optionally renaming it.
- remove
- Delete a profile from the config file.
- set_
default - Point
default_profileat an existing profile. - upsert
- Add or update an account and, optionally, a profile pointing at it.