box

package
v0.16.15 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2015 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

package box ...

Index

Constants

This section is empty.

Variables

View Source
var (
	BoxCmd = &cobra.Command{
		Use:   "box",
		Short: "Subcommands for managing the nanobox/boot2docker.box",
		Long:  ``,

		PersistentPreRun: func(ccmd *cobra.Command, args []string) {

			if exists := Vagrant.Exists(); !exists {
				fmt.Println("Missing dependency 'Vagrant'. Please download and install it to continue (https://www.vagrantup.com/).")
				os.Exit(1)
			}

			if exists := util.VboxExists(); !exists {
				fmt.Println("Missing dependency 'Virtualbox'. Please download and install it to continue (https://www.virtualbox.org/wiki/Downloads).")
				os.Exit(1)
			}
		},
	}

	Vagrant = vagrant.Default
	Config  = config.Default
	Util    = util.Default
)

Functions

func Install

func Install(ccmd *cobra.Command, args []string)

Install

func Update

func Update(ccmd *cobra.Command, args []string)

Update

Types

This section is empty.

Jump to

Keyboard shortcuts

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