cmd: dagger input edit -> dagger edit

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-06-15 14:20:55 +02:00
committed by Solomon Hykes
parent 325c843924
commit 5f849bb13e
5 changed files with 8 additions and 6 deletions

View File

@@ -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:

View File

@@ -20,7 +20,6 @@ var Cmd = &cobra.Command{
func init() {
Cmd.AddCommand(
editCmd,
dirCmd,
gitCmd,
containerCmd,

View File

@@ -40,6 +40,7 @@ func init() {
queryCmd,
upCmd,
downCmd,
editCmd,
historyCmd,
loginCmd,
logoutCmd,