Documentation ¶
Overview ¶
Package common should not be imported by external consumers. It was not designed for external use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands commandList
Functions ¶
This section is empty.
Types ¶
type HelpActor ¶
type HelpActor interface { // CommandInfoByName returns back a help command information for the given // command CommandInfoByName(interface{}, string) (sharedaction.CommandInfo, error) // CommandInfos returns a list of all commands CommandInfos(interface{}) map[string]sharedaction.CommandInfo }
HelpActor handles the business logic of the help command
type HelpCommand ¶
type HelpCommand struct { UI command.UI Actor HelpActor Config command.Config OptionalArgs flag.CommandName `positional-args:"yes"` AllCommands bool `short:"a" description:"All available CLI commands"` // contains filtered or unexported fields }
func (HelpCommand) Execute ¶
func (cmd HelpCommand) Execute(args []string) error
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.