Overview
The Ingrain CLI reads configuration from two places, and only two: your
user-level conf.toml, and the environment. There is no project-level config file,
so a repository cannot configure the CLI by shipping one.
The file’s path resolves per platform:
- Linux / macOS:
$XDG_CONFIG_HOME/ingrain/conf.tomlifXDG_CONFIG_HOMEis set, otherwise$HOME/.ingrain/conf.toml. - Windows:
%APPDATA%\ingrain\conf.toml.
Environment variables win. INGRAIN_PROXY_URL overrides the matching
[upgrade] key at runtime, and INGRAIN_SYNC_URL / INGRAIN_API_TOKEN override
the matching [context] keys. This is the supported way to point a single
invocation somewhere else.
Sections
Section titled “Sections”| Section | What it configures |
|---|---|
[upgrade] | The proxy URL ingrain upgrade pulls from. |
[context] | Sync URL + API token for ingrain context and ingrain record. |
Finding your conf.toml
Section titled “Finding your conf.toml”ingrain config prints the path to your user-level conf.toml so you can open
it in an editor:
ingrain configThe file is created and seeded with the full annotated reference by
install.