Expand description
The connection profiles and the config.yml file (doc 19b, section 18.11.2).
Structs§
- Config
File - The whole file: the default profile and the profiles, in the order they were created.
- Profile
- A profile: only the fields the person set.
Enums§
Constants§
- DEFAULT_
URL - FIELDS
- The fields of a profile, in the order they are written and shown.
- OUTPUTS
Functions§
- config_
path - The path of
config.yml:TABA_CLI_CONFIG, or the user’s configuration folder on the system. - load
- Reads the file; if it does not exist, it is an empty file. Unreadable or invalid: the error gives the path.
- save
- Rewrites the whole file atomically: writes a temporary file next to it and renames it
over the original. On Unix the file is created with
0600permission. - validate_
field - Checks a field’s value without calling the server or touching files.
- validate_
name - A profile’s name: ASCII letters, digits,
-and_, from 1 to 64 characters.