ansible-later/docs/content/configuration/cli.md

35 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2020-01-14 23:15:13 +00:00
---
title: CLI options
---
You can get all available CLI options by running `ansible-later --help`:
2020-01-14 23:15:13 +00:00
<!-- prettier-ignore-start -->
<!-- spellchecker-disable -->
2020-01-14 23:15:13 +00:00
{{< highlight Shell "linenos=table" >}}
$ ansible-later --help
usage: ansible-later [-h] [-c CONFIG] [-r DIR] [-B] [-i TAGS] [-x TAGS] [-v] [-q] [-V] [rules.files ...]
2020-01-14 23:15:13 +00:00
Validate Ansible files against best practice guideline
2020-01-14 23:15:13 +00:00
positional arguments:
rules.files
options:
2020-01-14 23:15:13 +00:00
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
path to configuration file
-r DIR, --rules-dir DIR
directory of rules
-B, --no-builtin disables built-in rules
-i TAGS, --include-rules TAGS
limit rules to given id/tags
-x TAGS, --exclude-rules TAGS
exclude rules by given it/tags
2020-01-14 23:15:13 +00:00
-v increase log level
-q decrease log level
-V, --version show program's version number and exit
2020-01-14 23:15:13 +00:00
{{< /highlight >}}
<!-- spellchecker-enable -->
<!-- prettier-ignore-end -->