Skip to main content
Version: 0.4

gest config

View and modify gest configuration. Configuration is loaded from TOML files at the global and project levels, with project-level values taking precedence.

Usage​

gest config <COMMAND> [OPTIONS]

Subcommands​

CommandDescription
getRetrieve a single configuration value
setPersist a configuration value
showDisplay the merged configuration

config get​

Retrieve a single configuration value by dot-delimited key.

gest config get <KEY>

Arguments​

ArgumentDescription
<KEY>Dot-delimited config key (e.g. storage.project_dir)

Examples​

gest config get storage.project_dir
gest config get log.level

config set​

Persist a configuration value to a TOML config file. By default, writes to the project-level config. Use --global to write to the user-level config instead.

gest config set [OPTIONS] <KEY> <VALUE>

Arguments​

ArgumentDescription
<KEY>Dot-delimited config key (e.g. log.level)
<VALUE>Value to assign

Options​

FlagDescription
-g, --globalWrite to the global (user-level) config instead of the project config

Examples​

# Set project-level config
gest config set log.level debug

# Set global config
gest config set log.level info --global

config show​

Display the merged configuration and discovered config file sources.

gest config show

Examples​

gest config show