Skip to content

Configure global and project settings ​

Inspect the effective value first, then decide whether the change belongs to the whole machine or only the current project.

Inspect effective configuration ​

sh
wago config
wago config list
wago config list --json
wago config diff

Inside a project, configuration commands use local scope by default. Be explicit in scripts:

sh
wago config list --local
wago config list --global

Get and set one value ​

sh
wago config get optimizations.inline
wago config set optimizations.inline off --local
wago config set optimizations.inline on --global

Boolean values accept on/off, true/false, yes/no, and 1/0.

Reset inheritance ​

sh
wago config reset optimizations.inline --local
wago config reset --all --local

Resetting a local value removes the override. The project inherits the global value again.

Precedence ​

FeatureScopeOverrides
Runtime defaultsBuilt-inNothing
Global configRuntime defaultsProject and flags
Project configGlobal configCommand flags
Command flagsEverything belowNothing

Released under the Apache 2.0 License.