Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FprintSubcommands ¶
func FprintSubcommands(w io.Writer, cmdName string, subcommands []*CliCommand)
Types ¶
type CliCommand ¶
type CliCommand struct {
// contains filtered or unexported fields
}
func NewCliCommand ¶
func NewCliCommand( name string, description string, argDescription string, handler func(args []string, conn *grpc.ClientConn) (exits.ExitCode, error), ) *CliCommand
func NewCliCommandWithFlags ¶
func NewCliSubcommand ¶
func NewCliSubcommand(name string, subcommands []*CliCommand) *CliCommand
func (*CliCommand) Execute ¶
func (c *CliCommand) Execute(args []string, conn *grpc.ClientConn, cmdNameChain []string) exits.ExitCode
Click to show internal directories.
Click to hide internal directories.