Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "hub", Short: "Hub CLI is a stack composition and lifecycle tool", Long: `Hub CLI is a stack composition and lifecycle tool: - template and stack creation, stack deploy / undeploy / backup lifecycle; - stack and component parameters, output variables, and status; - management of templates, stacks, components on SuperHub.io`, PersistentPreRun: func(cmd *cobra.Command, args []string) { config.Update() if config.Debug { log.Printf("Hub CLI %s %s\n", util.Version(), runtime.Version()) } maybeMeterCommand(cmd) }, PersistentPostRun: func(cmd *cobra.Command, args []string) { util.PrintAllWarnings() }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type CmdContext ¶
type CmdContext struct {
Pipe io.WriteCloser
}
type ContextKey ¶
type ContextKey string
Click to show internal directories.
Click to hide internal directories.