Documentation
¶
Overview ¶
Package cli provides the command line interface for the application. There are a few commands that are available for use, which are implemented in separate files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct { Executor func([]string) error Completer func(prompt.Document) []prompt.Suggest // contains filtered or unexported fields }
Command encapsulates an executable command
type Commands ¶
type Commands []Command
Commands is a list of executable commands
func (Commands) GenerateHelp ¶
GenerateHelp creates a help command for a given Commands list
func (Commands) GenerateSuggestions ¶
func (c Commands) GenerateSuggestions() []prompt.Suggest
GenerateSuggestions creates a Suggest object for each Command in the Commands list
Click to show internal directories.
Click to hide internal directories.