Configuration can be set using environment variables, flags or a configuration file.
The order of precedence is:
Display the current configuration with panosse config
.
Check the available flags for each command with panosse help <command>
or
panosse <command> --help
.
panosse --config-file="path/to/config.yaml"
panosse --dry-run=true
The environment variables can be set by prefexing the flag names with
PANOSSE_
and converting them to uppercase.
PANOSSE_CONFIG_FILE="path/to/config.yaml"
PANOSSE_DRY_RUN=true
The order of precedence for the configuration file is:
--config-file
flag allows to specify any configuration fileconfig.yaml
in the current directory$HOME/.panosse/config.yaml
on Linux and%USER%\.panosse\config.yaml
on Windows
If no configuration file is found, the default values are used from the flags section.
# custom config.yaml, config.yaml in the current directory or ~/.panosse/config.yaml
dry-run: true