Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Find ¶
func Find(slice []string, val string) (int, bool)
Find takes a slice and looks for an element in it. If found it will return it's key, otherwise it will return -1 and a bool of false.
func SubcommandsRequiredWithSuggestions ¶
func SubcommandsRequiredWithSuggestions(cmd *cobra.Command, args []string) error
SubcommandsRequiredWithSuggestions will ensure we have a subcommand provided by the user and augments it with suggestion for commands, alias and help on root command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.