Back to

Package command

Latest Go to latest

The latest major version is .

Published: Jun 5, 2020 | License: MPL-2.0 | Module:


func DeviceCommandFactory

func DeviceCommandFactory(meta Meta) cli.CommandFactory

type Device

type Device struct {
	// 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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier