feat(commands): more commands (#30)
- 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
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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"},
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user