Currently, the configuration file is by default located at .agent-fox/config.toml.
I want to add a central, shared configuration file at location $HOME/.agent-fox/config.toml. This configuration is used as a default configuration and can be shared with multiple repos.
Desired behaviour
- On start-up,
af looks for a configuration file at $HOME/.agent-fox/config.toml. It provides the base-line configuration.
- On start-up
af also looks for a configuration file in the current repo at .agent-fox/config.toml. If it exists, both configuration files are merged, i.e. values from the local config file overwrite values from the global config file.
- If none exist,
af creates a default config file $HOME/.agent-fox/config.toml and uses it
Change to af init
- "init" creates a default config file
$HOME/.agent-fox/config.toml, if it does not exists. An existing one is not modified
- "init" creates a local config file
.agent-fox/config.toml, with all possible config values commented out. An existing file is not changed.
Currently, the configuration file is by default located at
.agent-fox/config.toml.I want to add a central, shared configuration file at location
$HOME/.agent-fox/config.toml. This configuration is used as a default configuration and can be shared with multiple repos.Desired behaviour
aflooks for a configuration file at$HOME/.agent-fox/config.toml. It provides the base-line configuration.afalso looks for a configuration file in the current repo at.agent-fox/config.toml. If it exists, both configuration files are merged, i.e. values from the local config file overwrite values from the global config file.afcreates a default config file$HOME/.agent-fox/config.tomland uses itChange to
af init$HOME/.agent-fox/config.toml, if it does not exists. An existing one is not modified.agent-fox/config.toml, with all possible config values commented out. An existing file is not changed.