command

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 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