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.
Enums§
Functions§
- set_
default - Point
default_profileat an existing profile. - upsert
- Add or update an account and, optionally, a profile pointing at it.