- 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
26 lines
1.3 KiB
Go
26 lines
1.3 KiB
Go
package ops
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "ansible-doc",
|
|
Description: "Displays information on modules installed in Ansible libraries",
|
|
Options: []core.Option{
|
|
{Name: "--metadata-dump", Description: "For internal testing only Dump json metadata for all plugins"},
|
|
{Name: "--playbook-dir", Description: "Sets the relative path for many features including roles/ group_vars/ etc"},
|
|
{Name: "--version", Description: "Show plugin names and their source files without summaries (implies --list)"},
|
|
{Name: "--module-path", Description: "Prepend colon-separated path(s) to module library"},
|
|
{Name: "--entry-point", Description: "Select the entry point for role(s)"},
|
|
{Name: "--help", Description: "Show help and exit"},
|
|
{Name: "--json", Description: "Change output into json format"},
|
|
{Name: "--list", Description: "The path to the directory containing your roles"},
|
|
{Name: "--snippet", Description: "Show playbook snippet for these plugin types: inventory, lookup, module"},
|
|
{Name: "--type", Description: "Verbose mode (-vvv for more, -vvvv to enable connection debugging)"},
|
|
{Name: "-v", Description: "Verbose mode (-vvv for more, -vvvv to enable connection debugging)"},
|
|
},
|
|
})
|
|
}
|