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

cmd

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: GPL-3.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentCmd

type AgentCmd struct {
	Ui cli.Ui

	Version string
	// contains filtered or unexported fields
}

AgentCmd implementation cli interface

func (*AgentCmd) Help

func (c *AgentCmd) Help() string

Help return custom help info

func (*AgentCmd) Run

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

Run run the actual command with the given CLI instance and command-line arguments.

func (*AgentCmd) Synopsis

func (c *AgentCmd) Synopsis() string

Synopsis should return a one-line, short synopsis of the command.

type KeygenCmd

type KeygenCmd struct {
	Ui cli.Ui
	// contains filtered or unexported fields
}

KeygenCmd key command type, implementation Command interface

func (*KeygenCmd) Help

func (c *KeygenCmd) Help() string

Help custom help info

func (*KeygenCmd) Run

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

Run exec this command

func (*KeygenCmd) Synopsis

func (c *KeygenCmd) Synopsis() string

Synopsis return help info

type VersionCmd

type VersionCmd struct {
	Version string
	Ui      cli.Ui
}

func (*VersionCmd) Help

func (c *VersionCmd) Help() string

func (*VersionCmd) Run

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

func (*VersionCmd) Synopsis

func (c *VersionCmd) Synopsis() string

Jump to

Keyboard shortcuts

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