cmd: dagger input edit -> dagger edit
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
committed by
Solomon Hykes
parent
325c843924
commit
5f849bb13e
@@ -1,4 +1,4 @@
|
||||
package input
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"context"
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
|
||||
var editCmd = &cobra.Command{
|
||||
Use: "edit",
|
||||
Short: "Interactively edit the inputs of an environment",
|
||||
Short: "Interactively edit an environment",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
PreRun: func(cmd *cobra.Command, args []string) {
|
||||
// Fix Viper bug for duplicate flags:
|
@@ -20,7 +20,6 @@ var Cmd = &cobra.Command{
|
||||
|
||||
func init() {
|
||||
Cmd.AddCommand(
|
||||
editCmd,
|
||||
dirCmd,
|
||||
gitCmd,
|
||||
containerCmd,
|
||||
|
@@ -40,6 +40,7 @@ func init() {
|
||||
queryCmd,
|
||||
upCmd,
|
||||
downCmd,
|
||||
editCmd,
|
||||
historyCmd,
|
||||
loginCmd,
|
||||
logoutCmd,
|
||||
|
Reference in New Issue
Block a user