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

command

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MPL-2.0 Imports: 22 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeviceCommandFactory

func DeviceCommandFactory(meta Meta) cli.CommandFactory

Types

type Device

type Device struct {
	Meta
	// contains filtered or unexported fields
}

func (*Device) Help

func (c *Device) Help() string

func (*Device) Run

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

func (*Device) Synopsis

func (c *Device) Synopsis() string

type Meta

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

func NewMeta

func NewMeta(ui cli.Ui, logger hclog.Logger) Meta

func (*Meta) FlagSet

func (m *Meta) FlagSet(n string) *flag.FlagSet

Jump to

Keyboard shortcuts

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