commands

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Root

func Root(applicationName string, build helper.ClientBuilder, discovery helper.DiscoveryFn) *cobra.Command

Types

type DefaultCommand

type DefaultCommand struct {
	// contains filtered or unexported fields
}

func (DefaultCommand) Args

func (c DefaultCommand) Args() []helper.Arg

func (DefaultCommand) Flags

func (c DefaultCommand) Flags(cmd *cobra.Command)

func (DefaultCommand) Run

func (c DefaultCommand) Run(cmd *cobra.Command, args []string) error

func (DefaultCommand) Short

func (c DefaultCommand) Short() string

func (DefaultCommand) Use

func (c DefaultCommand) Use() string

type DiscoveryCommand

type DiscoveryCommand struct {
	// contains filtered or unexported fields
}

func (DiscoveryCommand) Args

func (c DiscoveryCommand) Args() []helper.Arg

func (DiscoveryCommand) Flags

func (c DiscoveryCommand) Flags(cmd *cobra.Command)

func (DiscoveryCommand) Long

func (c DiscoveryCommand) Long() string

func (DiscoveryCommand) Run

func (c DiscoveryCommand) Run(cmd *cobra.Command, args []string) error

func (DiscoveryCommand) Short

func (c DiscoveryCommand) Short() string

func (DiscoveryCommand) Use

func (c DiscoveryCommand) Use() string

type DocsCommand

type DocsCommand struct{}

func (DocsCommand) Args

func (c DocsCommand) Args() []helper.Arg

func (DocsCommand) Flags

func (c DocsCommand) Flags(cmd *cobra.Command)

func (DocsCommand) Run

func (c DocsCommand) Run(cmd *cobra.Command, args []string) error

func (DocsCommand) Short

func (c DocsCommand) Short() string

func (DocsCommand) Use

func (c DocsCommand) Use() string

type GetCommand

type GetCommand struct {
	// contains filtered or unexported fields
}

func (GetCommand) Args

func (r GetCommand) Args() []helper.Arg

func (GetCommand) Flags

func (g GetCommand) Flags(cmd *cobra.Command)

func (GetCommand) Run

func (g GetCommand) Run(cmd *cobra.Command, args []string) error

func (GetCommand) Short

func (g GetCommand) Short() string

func (GetCommand) Use

func (g GetCommand) Use() string

type Name added in v1.0.0

type Name struct {
	// contains filtered or unexported fields
}

func (Name) Args added in v1.0.0

func (n Name) Args() []helper.Arg

func (Name) Flags added in v1.0.0

func (n Name) Flags(cmd *cobra.Command)

func (Name) Run added in v1.0.0

func (n Name) Run(cmd *cobra.Command, args []string) error

func (Name) Short added in v1.0.0

func (n Name) Short() string

func (Name) Use added in v1.0.0

func (n Name) Use() string

type RootCommand

type RootCommand struct {
	// contains filtered or unexported fields
}

func (RootCommand) Args

func (r RootCommand) Args() []helper.Arg

func (RootCommand) Flags

func (r RootCommand) Flags(cmd *cobra.Command)

func (RootCommand) Long

func (r RootCommand) Long() string

func (RootCommand) Short

func (r RootCommand) Short() string

func (RootCommand) SubCommand

func (r RootCommand) SubCommand(cmd *cobra.Command) []helper.Command

func (RootCommand) Use

func (r RootCommand) Use() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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