Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByAliaser ¶
DEPRECRATED: ByAliaser can be used to search plugins that implement Aliaser and who's alias matches the name
func ByCommander ¶
DEPRECRATED: ByCommander can be used to search for plugins that implement Commander and who's plugin name matches the name
Types ¶
type Commander ¶
type Commander interface { plugins.Plugin Main(ctx context.Context, root string, args []string) error }
Commander is a plugin that is meant to be the beginning of a CLI application
type Namer ¶
Namer is a command that provides a different name for the command than the name of the Plugin
type SubCommander ¶
SubCommander can be implemented to provide a list of plugins.Plugin that can be used as sub-commands of the current Plugin
Click to show internal directories.
Click to hide internal directories.