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) 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) 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) Short ¶
func (g GetCommand) Short() string
func (GetCommand) Use ¶
func (g GetCommand) 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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.