Help us shape the future of Go! Take the 2026 Go Developer Survey

command

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadCommand

type DownloadCommand struct {
	Ui cli.Ui
}

DownloadCommand is the top level struct for the cli DownloadCommand. It holds a reference to the cli.Ui for logging etc.

func (*DownloadCommand) Help

func (c *DownloadCommand) Help() string

Help provies the help text for this command.

func (*DownloadCommand) Run

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

Run provides the command functionality

func (*DownloadCommand) Synopsis

func (c *DownloadCommand) Synopsis() string

Synopsis provides the one liner

type ParseFileCommand

type ParseFileCommand struct {
	Ui cli.Ui
}

ParseFileCommand is the top level struct for the cli ParseFileCommand. It holds a reference to the cli.Ui for logging etc.

func (*ParseFileCommand) Help

func (c *ParseFileCommand) Help() string

Help provies the help text for this command.

func (*ParseFileCommand) Run

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

Run provides the command functionality

func (*ParseFileCommand) Synopsis

func (c *ParseFileCommand) Synopsis() string

Synopsis provides the one liner

type VersionCommand

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

VersionCommand is the top level struct for the cli VersionCommand. It holds a reference to the cli.Ui for logging etc.

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help provies the help text for this command.

func (*VersionCommand) Run

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

Run provides the command functionality

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis provides the one liner

Jump to

Keyboard shortcuts

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