Documentation ¶
Overview ¶
package commands ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config = config.Default Util = util.Default Server = server.Default Mist = mist.Default Vagrant = vagrant.Default Hosts = hosts.Default // File = file.Default Print = print.Default Notify = notify.Default )
These public variables are for replacement testing
View Source
var ( // NanoboxCmd = &cobra.Command{ Use: "nanobox", Short: "", Long: ``, PersistentPreRun: func(ccmd *cobra.Command, args []string) { if config.Verbose { config.LogLevel = "debug" } }, Run: func(ccmd *cobra.Command, args []string) { if version || config.Verbose { fmt.Printf("nanobox v%s\n", config.VERSION) os.Exit(0) } ccmd.HelpFunc()(ccmd, args) }, } )
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.