commands

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2016 License: MPL-2.0 Imports: 14 Imported by: 4

Documentation

Overview

package commands ...

Index

Constants

This section is empty.

Variables

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)
				return
			}

			ccmd.HelpFunc()(ccmd, args)
		},
	}
)

Functions

func Update

func Update() error

Update

Types

This section is empty.

Directories

Path Synopsis
package box ...
package box ...

Jump to

Keyboard shortcuts

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