-
Notifications
You must be signed in to change notification settings - Fork 115
Verify Command
David Alcantar edited this page May 17, 2023
·
8 revisions
The Verify command verifies the syntax and consistency of the rules in the given directory. This command is useful when authoring new rules.
Usage: devskim verify [arguments] [options]
Arguments:
-r Comma separated list of paths to rules files to use
Options:
--languages Path to custom json formatted Language file to specify languages.
When specified, --comments must also be specified.
--comments Path to custom json formatted Comments file to specify comments.
When specified, --languages must also be specified.
-x, --console-verbosity Console verbosity [Verbose|Debug|Information|Warning|Error|Fatal] (Default: Information)
--disable-console Disable console output of logging messages. (Default: false)
-v, --log-file-level Log file level [Verbose|Debug|Information|Warning|Error|Fatal] (Default: Error)
-l, --log-file-path Log file path. If not set, will not log to file.
--help Show help information.
--version Display version information.
devskim verify -r /home/user/myrules/