Expand description
Configuration loading for agent-exec.
Reads config.toml from the XDG config directory with optional CLI overrides.
Structs§
- Agent
Exec Config - Top-level config struct for
config.toml. - Shell
Config [shell]section ofconfig.toml.
Functions§
- default_
shell_ wrapper - Return the built-in platform default shell wrapper argv.
- discover_
config_ path - Discover the default XDG config file path.
- load_
config - Load and parse a config file from the given path.
- parse_
shell_ wrapper_ str - Parse a CLI
--shell-wrapperstring (e.g."bash -lc") into an argv vec. - resolve_
shell_ wrapper - Resolve the effective shell wrapper from CLI override, config file, and built-in defaults.