Structs§
- Config
File - Represents the parsed TOML config file. All fields optional.
- Connection
Config - Launch
Config - Output
Config - Resolved
Config - Fully resolved configuration with all defaults filled in.
- Resolved
Connection - Resolved
Launch - Resolved
Output - Resolved
Tabs - Tabs
Config
Enums§
Functions§
- default_
init_ path - Default path for
config init:<config_dir>/chrome-cli/config.toml. - find_
config_ file - Find the first config file that exists, checking locations in priority order.
- find_
config_ file_ with - Testable variant of
find_config_filethat accepts an explicit env value. - init_
config - Create a default config file at the given path (or the default XDG path).
- init_
config_ to - Testable variant of
init_configthat writes to an explicit path. - load_
config - Load and parse a config file. Returns the file path (if found) and the parsed config.
- load_
config_ from - Load and parse a config file from a specific path.
- parse_
config - Parse TOML content into a
ConfigFile. - resolve_
config - Resolve a config file into a fully-populated
ResolvedConfigwith all defaults.