Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Name string Summary string Description string Function shell.HandlerFunction }
Command allows to define a shell handler with metadata.
type HelpCommand ¶
type HelpCommand struct { // The command string that should be used to call this function, // used in the default function output Usage string }
HelpCommand allows for basic output of command metadata.
func (*HelpCommand) Execute ¶
func (command *HelpCommand) Execute(writer shell.ResponseWriter, request *shell.Request) error
Execute will execute the help command
Click to show internal directories.
Click to hide internal directories.