Add some handy aliases for deploy and init
This commit is contained in:
parent
da5e737e08
commit
e3715ef836
2 changed files with 6 additions and 4 deletions
|
@ -14,8 +14,9 @@ func newHuskDeployCmd() *cobra.Command {
|
|||
var summary bool
|
||||
var output string
|
||||
var cmd = &cobra.Command{
|
||||
Use: "deploy <husk> [<nut>] [-- [<args>]]",
|
||||
Short: "Deploy resource updates, creations, and deletions to a husk",
|
||||
Use: "deploy <husk> [<nut>] [-- [<args>]]",
|
||||
Aliases: []string{"up", "update"},
|
||||
Short: "Deploy resource updates, creations, and deletions to a husk",
|
||||
Long: "Deploy resource updates, creations, and deletions to a husk\n" +
|
||||
"\n" +
|
||||
"This command updates an existing husk environment whose state is represented by the\n" +
|
||||
|
|
|
@ -10,8 +10,9 @@ import (
|
|||
|
||||
func newHuskInitCmd() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "init <husk>",
|
||||
Short: "Create an empty husk with the given name, ready for deployments",
|
||||
Use: "init <husk>",
|
||||
Aliases: []string{"create"},
|
||||
Short: "Create an empty husk with the given name, ready for deployments",
|
||||
Long: "Create an empty husk with the given name, ready for deployments\n" +
|
||||
"\n" +
|
||||
"This command creates an empty husk with the given name. It has no resources, but\n" +
|
||||
|
|
Loading…
Reference in a new issue