diff --git a/cmd/coconut.go b/cmd/coconut.go index 088a37d3e..a4a18950d 100644 --- a/cmd/coconut.go +++ b/cmd/coconut.go @@ -41,6 +41,7 @@ func NewCoconutCmd() *cobra.Command { cmd.PersistentFlags().IntVarP( &verbose, "verbose", "v", 0, "Enable verbose logging (e.g., v=3); anything >3 is very verbose") + cmd.AddCommand(newDeployCmd()) cmd.AddCommand(newEnvCmd()) cmd.AddCommand(newPackCmd()) cmd.AddCommand(newVersionCmd()) diff --git a/cmd/env_deploy.go b/cmd/deploy.go similarity index 98% rename from cmd/env_deploy.go rename to cmd/deploy.go index cdb02aee5..8319692e2 100644 --- a/cmd/env_deploy.go +++ b/cmd/deploy.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" ) -func newEnvDeployCmd() *cobra.Command { +func newDeployCmd() *cobra.Command { var dryRun bool var showConfig bool var showReplaceSteps bool diff --git a/cmd/env.go b/cmd/env.go index 5bad969ce..5720d3edd 100644 --- a/cmd/env.go +++ b/cmd/env.go @@ -36,16 +36,15 @@ import ( func newEnvCmd() *cobra.Command { cmd := &cobra.Command{ Use: "env", - Short: "Manage or deploy into a target environment", - Long: "Manage or deploy into a target environment\n" + + Short: "Manage target environments", + Long: "Manage target environments\n" + "\n" + - "An environment is a named deployment target, and a single nut have many of them. Each\n" + - "environment has a configuration and deployment history associated with it, stored in the\n" + - "workspace, in addition to a full checkpoint of the last known good deployment.\n", + "An environment is a named deployment target, and a single project may have many of them.\n" + + "Each environment has a configuration and deployment history associated with it, stored in\n" + + "the workspace, in addition to a full checkpoint of the last known good deployment.\n", } cmd.AddCommand(newEnvConfigCmd()) - cmd.AddCommand(newEnvDeployCmd()) cmd.AddCommand(newEnvDestroyCmd()) cmd.AddCommand(newEnvInitCmd()) cmd.AddCommand(newEnvLsCmd())