Skip to main content

CLI Flags

The following cli flags are currently available and should be used mainly in ci environments.

Description
--helpShow the help page of OSnap, explaining the cli useage.
--configThe relative path to the global config file. (optional)
--no-createWith this option enabled, new snapshots will not be created, but fail the whole test run instead. This option is recommended for ci environments.
--no-onlyWith this option enabled, the test run will fail, if you have any test with "only" set to true. This option is recommended for ci environments.
--no-skipWith this option enabled, the test run will fail, if you have any test with "skip" set to true. This option is recommended for ci environments.
--parallelism=VAL
-p VAL
Overwrite the parallelism defined in the global config file with the specified value (VAL).