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

Source Files