- I wrote a scripts to copy and generate all commands missing in iris from fig repo: https://github.com/withfig/autocomplete - Add a new script to generate commands docs about which commands currently are inside commands folder 377d4aac663590e504fe39a92eb4dac4cbd333b2 - Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
35 lines
1.8 KiB
Go
35 lines
1.8 KiB
Go
package ops
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "ansible-lint",
|
|
Description: "Ansible static code analysis",
|
|
Options: []core.Option{
|
|
{Name: "-f", Description: "Ansible static code analysis"},
|
|
{Name: "--help", Description: "Show help for ansible-lint"},
|
|
{Name: "--list-rules", Description: "List all the rules"},
|
|
{Name: "--list-tags", Description: "List all the tags and the rules they cover"},
|
|
{Name: "--format", Description: "Stdout formatting"},
|
|
{Name: "-q", Description: "Quieter, reduce verbosity, can be specified twice"},
|
|
{Name: "-p", Description: "Parseable output, same as '-f pep8'"},
|
|
{Name: "--progressive", Description: "Specify custom rule directories"},
|
|
{Name: "-R", Description: "Keep using embedded rules when using '-r'"},
|
|
{Name: "--write", Description: "Allow ansible-lint to reformat YAML files and run rule transforms"},
|
|
{Name: "--show-relpath", Description: "Display path relative to CWD"},
|
|
{Name: "--tags", Description: "Only check rules whose id/tags match these values"},
|
|
{Name: "-v", Description: "Increase verbosity level (-vv for more)"},
|
|
{Name: "--skip-list", Description: "Only check rules whose id/tags do not match these values"},
|
|
{Name: "--warn-list", Description: "Activate optional rules by their tag name"},
|
|
{Name: "--nocolor", Description: "Disable colored output, same as NO_COLOR=1"},
|
|
{Name: "--force-color", Description: "Force colored output, same as FORCE_COLOR=1"},
|
|
{Name: "--exclude-paths", Description: "Path to directories or files to skip. This option is repeatable"},
|
|
{Name: "--config-file", Description: "Disable installation of requirements.yml"},
|
|
{Name: "--version", Description: "Show version of ansible-lint"},
|
|
},
|
|
})
|
|
}
|