cmd/init,new: added short description
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
78fcb503c9
commit
9d1609187e
@ -10,8 +10,9 @@ import (
|
||||
)
|
||||
|
||||
var initCmd = &cobra.Command{
|
||||
Use: "init",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Use: "init",
|
||||
Short: "Initialize a new empty workspace",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
PreRun: func(cmd *cobra.Command, args []string) {
|
||||
// Fix Viper bug for duplicate flags:
|
||||
// https://github.com/spf13/viper/issues/233
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
|
||||
var listCmd = &cobra.Command{
|
||||
Use: "list [TARGET] [flags]",
|
||||
Short: "List for the inputs of an environment",
|
||||
Short: "List the inputs of an environment",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
PreRun: func(cmd *cobra.Command, args []string) {
|
||||
// Fix Viper bug for duplicate flags:
|
||||
|
@ -8,8 +8,9 @@ import (
|
||||
)
|
||||
|
||||
var newCmd = &cobra.Command{
|
||||
Use: "new",
|
||||
Args: cobra.ExactArgs(1),
|
||||
Use: "new",
|
||||
Short: "Create a new empty environment",
|
||||
Args: cobra.ExactArgs(1),
|
||||
PreRun: func(cmd *cobra.Command, args []string) {
|
||||
// Fix Viper bug for duplicate flags:
|
||||
// https://github.com/spf13/viper/issues/233
|
||||
|
Reference in New Issue
Block a user