CLI documentation¶
The following section is auto-generated from the CLI parameters in the code.
netlint¶
Perform static analysis on network device configuration files.
netlint [OPTIONS] PATH
Options
-
--prefix<prefix>¶ Prefix for configuration lines output to the CLI.
- Default
->
-
-o,--output<output>¶ Optional output file.
-
--exit-zero¶ Exit code 0 even if errors are found.
-
--format<format_>¶ The format of the output data (–format json implies –quiet).
- Options
json | normal
-
--select<select>¶ Comma-separated list of check names to include (mutually exclusive with –exclude).
-
--exclude<exclude>¶ Comma-separated list of check names to exclude (mutually exclusive with –select).
-
-q,--quiet¶ Don’t output non-errors.
-
--color,--no-color¶ Show colored output.
-
-c,--config<config>¶ Path to TOML configuration file.
- Default
pyproject.toml
-
-V,--version¶ Show the version and exit.
Arguments
-
PATH¶ Required argument
Environment variables
-
NO_COLOR Provide a default for
--color