Command line flags¶
After a configuration file is loaded, you can override specific settings using command-line flags.
Precedence
Command-line flags always take precedence over the configuration coming from a configuration file.
Example¶
chainsaw test \
path/to/test/dir \
--config path/to/your/config.yaml \
--assert-timeout 45s \
--skip-delete false \
--fail-fast true \
--parallel 4 \
...
In this example, Chainsaw will load a configuration file but the timeout configuration and other settings will be overridden by the values set in the flags, regardless of the value in the loaded configuration file.
Reference documentation¶
See chainsaw test command reference for the list of all available flags.