command

package
v0.0.0-...-2165937 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigCommand

type ConfigCommand struct {
	Meta
}

ConfigCommand is a struct with metadata.

func (*ConfigCommand) Help

func (c *ConfigCommand) Help() string

Help gets the help text for this command.

func (*ConfigCommand) Run

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

Run is the main program function.

func (*ConfigCommand) Synopsis

func (c *ConfigCommand) Synopsis() string

Synopsis provides a summary of the config command.

type DownloadCommand

type DownloadCommand struct {
	Meta
}

DownloadCommand is a struct with metadata.

func (*DownloadCommand) Help

func (c *DownloadCommand) Help() string

Help gets the help text for this command.

func (*DownloadCommand) Run

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

Run is the main program function.

func (*DownloadCommand) Synopsis

func (c *DownloadCommand) Synopsis() string

Synopsis provides a summary of the download command.

type ListCommand

type ListCommand struct {
	Meta
}

ListCommand is a struct with metadata.

func (*ListCommand) Help

func (c *ListCommand) Help() string

Help gets the help text for this command.

func (*ListCommand) Run

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

Run is the main program function.

func (*ListCommand) Synopsis

func (c *ListCommand) Synopsis() string

Synopsis provides a summary of the list command.

type Meta

type Meta struct {
	UI cli.Ui
}

Meta contain the meta-option that nearly all subcommand inherited.

type UploadCommand

type UploadCommand struct {
	Meta
}

UploadCommand is a struct with metadata.

func (*UploadCommand) Help

func (c *UploadCommand) Help() string

Help gets the help text for this command.

func (*UploadCommand) Run

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

Run is the main program function.

func (*UploadCommand) Synopsis

func (c *UploadCommand) Synopsis() string

Synopsis provides a summary of the upload command.

type VersionCommand

type VersionCommand struct {
	Meta

	Name     string
	Version  string
	Revision string
}

VersionCommand is a struct with metadata.

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help gets the help text for this command.

func (*VersionCommand) Run

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

Run is the main program function.

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis provides a summary of the version command.

Jump to

Keyboard shortcuts

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