command

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultErrorMessage

func DefaultErrorMessage(cmd cli.NamedCommand) string

DefaultErrorMessage returns the default error message for this command

func GlobalOptions

func GlobalOptions() string

GlobalOptions returns the global usage options string.

Types

type DevDestroyCommand

type DevDestroyCommand struct {
	UI cli.UI
}

DevDestroyCommand :

func (*DevDestroyCommand) Help

func (c *DevDestroyCommand) Help() string

Help :

func (*DevDestroyCommand) Name

func (c *DevDestroyCommand) Name() string

Name :

func (*DevDestroyCommand) Run

func (c *DevDestroyCommand) Run(ctx context.Context, args []string) int

Run :

func (*DevDestroyCommand) Synopsis

func (c *DevDestroyCommand) Synopsis() string

Synopsis :

type DevInitCommand

type DevInitCommand struct {
	UI cli.UI
}

DevInitCommand :

func (*DevInitCommand) Help

func (c *DevInitCommand) Help() string

Help :

func (*DevInitCommand) Name

func (c *DevInitCommand) Name() string

Name :

func (*DevInitCommand) Run

func (c *DevInitCommand) Run(ctx context.Context, args []string) int

Run :

func (*DevInitCommand) Synopsis

func (c *DevInitCommand) Synopsis() string

Synopsis :

type DevListCommand

type DevListCommand struct {
	UI cli.UI
}

DevListCommand :

func (*DevListCommand) Help

func (c *DevListCommand) Help() string

Help :

func (*DevListCommand) Name

func (c *DevListCommand) Name() string

Name :

func (*DevListCommand) Run

func (c *DevListCommand) Run(ctx context.Context, args []string) int

Run :

func (*DevListCommand) Synopsis

func (c *DevListCommand) Synopsis() string

Synopsis :

type DevUpdateCommand

type DevUpdateCommand struct {
	UI cli.UI
}

DevUpdateCommand :

func (*DevUpdateCommand) Help

func (c *DevUpdateCommand) Help() string

Help :

func (*DevUpdateCommand) Name

func (c *DevUpdateCommand) Name() string

Name :

func (*DevUpdateCommand) Run

func (c *DevUpdateCommand) Run(ctx context.Context, args []string) int

Run :

func (*DevUpdateCommand) Synopsis

func (c *DevUpdateCommand) Synopsis() string

Synopsis :

type RootFlagSet

type RootFlagSet struct {
	*flag.FlagSet
	// contains filtered or unexported fields
}

RootFlagSet :

func FlagSet

func FlagSet(name string) *RootFlagSet

FlagSet declares flags that are common to all commands, returning a RootFlagSet struct that will hold their values after flag.Parse() is called by the command

Jump to

Keyboard shortcuts

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