2020-01-14 23:15:13 +00:00
|
|
|
---
|
|
|
|
title: CLI options
|
|
|
|
---
|
|
|
|
|
2020-06-03 14:23:46 +00:00
|
|
|
You can get all available CLI options by running `ansible-later --help`:
|
2020-01-14 23:15:13 +00:00
|
|
|
|
2020-06-03 14:23:46 +00:00
|
|
|
<!-- prettier-ignore-start -->
|
2020-06-07 14:39:14 +00:00
|
|
|
<!-- spellchecker-disable -->
|
2020-01-14 23:15:13 +00:00
|
|
|
{{< highlight Shell "linenos=table" >}}
|
|
|
|
$ ansible-later --help
|
|
|
|
usage: ansible-later [-h] [-c CONFIG_FILE] [-r RULES.STANDARDS]
|
|
|
|
[-s RULES.FILTER] [-v] [-q] [--version]
|
|
|
|
[rules.files [rules.files ...]]
|
|
|
|
|
2020-06-03 14:23:46 +00:00
|
|
|
Validate Ansible files against best practice guideline
|
2020-01-14 23:15:13 +00:00
|
|
|
|
|
|
|
positional arguments:
|
|
|
|
rules.files
|
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-c CONFIG_FILE, --config CONFIG_FILE
|
|
|
|
location of configuration file
|
|
|
|
-r RULES.STANDARDS, --rules RULES.STANDARDS
|
|
|
|
location of standards rules
|
|
|
|
-s RULES.FILTER, --standards RULES.FILTER
|
|
|
|
limit standards to given ID's
|
|
|
|
-x RULES.EXCLUDE_FILTER, --exclude-standards RULES.EXCLUDE_FILTER
|
|
|
|
exclude standards by given ID's
|
|
|
|
-v increase log level
|
|
|
|
-q decrease log level
|
|
|
|
--version show program's version number and exit
|
|
|
|
{{< /highlight >}}
|
2020-06-07 14:39:14 +00:00
|
|
|
<!-- spellchecker-enable -->
|
2020-06-03 14:23:46 +00:00
|
|
|
<!-- prettier-ignore-end -->
|