- 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
43 lines
2.3 KiB
Go
43 lines
2.3 KiB
Go
package ops
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "helmfile",
|
|
Description: "Deploy helm charts",
|
|
Subcommands: []core.Subcommand{
|
|
{Name: "apply", Description: "Apply all resources from state file only when there are changes"},
|
|
{Name: "build", Description: "Build all resources from state file"},
|
|
{Name: "cache", Description: "Cache management"},
|
|
{Name: "completion", Description: "Generate the autocompletion script for the specified shell"},
|
|
{Name: "destroy", Description: "Destroys and then purges releases"},
|
|
{Name: "help", Description: "Help about any command"},
|
|
{Name: "lint", Description: "Lint charts from state file (helm lint)"},
|
|
{Name: "list", Description: "List releases defined in state file"},
|
|
{Name: "repos", Description: "Repos releases defined in state file"},
|
|
{Name: "secrets", Description: "Causes the helm-secrets plugin to be executed to decrypt the file"},
|
|
{Name: "status", Description: "Retrieve status of releases in state file"},
|
|
{Name: "sync", Description: "Sync releases defined in state file"},
|
|
{Name: "template", Description: "Template releases defined in state file"},
|
|
{Name: "test", Description: "Test charts from state file (helm test)"},
|
|
{Name: "version", Description: "Print the CLI version"},
|
|
},
|
|
Options: []core.Option{
|
|
{Name: "--help", Description: "Do not exit with an error code if the provided selector has no matching releases"},
|
|
{Name: "--allow-no-matching-release", Description: "Show help for helmfile"},
|
|
{Name: "--chart", Description: "Output with color"},
|
|
{Name: "--debug", Description: "Specify the environment name. defaults to default"},
|
|
{Name: "--file", Description: "Request confirmation before attempting to modify clusters"},
|
|
{Name: "--kube-context", Description: "Set kubectl context. Uses current context by default"},
|
|
{Name: "--log-level", Description: "Set log level, default info (default info)"},
|
|
{Name: "--namespace", Description: "Output without color"},
|
|
{Name: "--quiet", Description: "Silence output. Equivalent to log-level warn"},
|
|
{Name: "--selector", Description: "Specify state values in a YAML file"},
|
|
{Name: "--state-values-set", Description: "Version for helmfile"},
|
|
},
|
|
})
|
|
}
|