cmd

package
v2.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2018 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "hashstack",
	Short: "Execute commands against a Hashstack server. Try -h or --help for more information.",
	Long:  "Execute commands against a Hashstack server. Try -h or --help for more information.",
	Run: func(cmd *cobra.Command, args []string) {
		cmd.Usage()
	},
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		debug(fmt.Sprintf("Command: running sub command %s", cmd.Name()))
	},
}

RootCmd is the root level command for the cli. Executing this command will print the usage information and exit.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL