github.com/paultyng/terraform@v0.6.11-0.20180227224804-66ff8f8bed40/command/debug_command.go (about) 1 package command 2 3 import ( 4 "strings" 5 6 "github.com/mitchellh/cli" 7 ) 8 9 // DebugCommand is a Command implementation that just shows help for 10 // the subcommands nested below it. 11 type DebugCommand struct { 12 Meta 13 } 14 15 func (c *DebugCommand) Run(args []string) int { 16 return cli.RunResultHelp 17 } 18 19 func (c *DebugCommand) Help() string { 20 helpText := ` 21 Usage: terraform debug <subcommand> [options] [args] 22 23 This command has subcommands for debug output management 24 ` 25 return strings.TrimSpace(helpText) 26 } 27 28 func (c *DebugCommand) Synopsis() string { 29 return "Debug output management (experimental)" 30 }