command

package
v0.0.0-...-b69bfab Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitCommand

type InitCommand struct {
	Utils *utils.Utils
	UI    cli.Ui
}

InitCommand is the Command implementation that initializes the installation of HSC.

func (*InitCommand) Help

func (c *InitCommand) Help() string

Help print help message for the init sub-command.

func (*InitCommand) Run

func (c *InitCommand) Run(args []string) int

Run executes the actual sub-command. Specifically, prints the version of HSC.

func (*InitCommand) Synopsis

func (c *InitCommand) Synopsis() string

Synopsis prints a brief description of the sub-command.

type NewCommand

type NewCommand struct {
	Utils *utils.Utils
	UI    cli.Ui
}

NewCommand is the Command implementation that initializes the installation of HSC.

func (*NewCommand) Help

func (c *NewCommand) Help() string

Help print help message for the init sub-command.

func (*NewCommand) Run

func (c *NewCommand) Run(args []string) int

Run executes the actual sub-command. Specifically, prints the version of HSC.

func (*NewCommand) Synopsis

func (c *NewCommand) Synopsis() string

Synopsis prints a brief description of the sub-command.

type TeamCommand

type TeamCommand struct {
	Utils *utils.Utils
	UI    cli.Ui
}

TeamCommand is the Command implementation that initializes the installation of HSC.

func (*TeamCommand) Help

func (c *TeamCommand) Help() string

Help print help message for the init sub-command.

func (*TeamCommand) Run

func (c *TeamCommand) Run(args []string) int

Run executes the actual sub-command. Specifically, prints the version of HSC.

func (*TeamCommand) Synopsis

func (c *TeamCommand) Synopsis() string

Synopsis prints a brief description of the sub-command.

type VersionCommand

type VersionCommand struct {
	Revision                   string
	Version                    string
	VersionPrerelease          string
	VersionCompatibilityBroken string
	UI                         cli.Ui
}

VersionCommand is the Command implementation that prints the version of HSC.

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help normally prints the help for this sub-command. But it's not necessary here.

func (*VersionCommand) Run

func (c *VersionCommand) Run(_ []string) int

Run executes the actual sub-command. Specifically, prints the version of HSC.

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis prints a brief description of the sub-command.

Jump to

Keyboard shortcuts

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