box

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: 5 Imported by: 8

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

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