diff --git a/commands.go b/commands.go index a921b0f84a..14483381ae 100644 --- a/commands.go +++ b/commands.go @@ -423,11 +423,10 @@ func initCommands( } HiddenCommands = map[string]struct{}{ - "env": struct{}{}, - "internal-plugin": struct{}{}, - "push": struct{}{}, + "env": {}, + "internal-plugin": {}, + "push": {}, } - } // makeShutdownCh creates an interrupt listener and returns a channel. diff --git a/internal/command/console.go b/internal/command/console.go index 16c669b498..d7f84f35f6 100644 --- a/internal/command/console.go +++ b/internal/command/console.go @@ -19,8 +19,8 @@ import ( "github.com/mitchellh/cli" ) -// ConsoleCommand is a Command implementation that applies a Terraform -// configuration and actually builds or changes infrastructure. +// ConsoleCommand is a Command implementation that starts an interactive +// console that can be used to try expressions with the current config. type ConsoleCommand struct { Meta }