cmd

package
v0.0.0-...-c26a822 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: MIT Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeCommands

func InitializeCommands() *cobra.Command

InitializeCommands sets up the cobra commands

Types

type ClientCommand

type ClientCommand struct {
	cobra.Command
	// contains filtered or unexported fields
}

ClientCommand embeds a cobra.Command and keeps a vcon.Client

func NewClientCommand

func NewClientCommand(use, shortDescription string) *ClientCommand

NewClientCommand creates a new ClientCommand and assigns the PreRunE on the embedded cobra.Command to connect to the vSphere instance

Jump to

Keyboard shortcuts

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