Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface {
// Name returns the name of the plugin (used as the command name)
Name() string
// Description returns a short description of what the plugin does
Description() string
// Execute runs the plugin with the given arguments and output format
Execute(args []string, outputFormat string) error
}
Plugin defines the interface that all command plugins must implement
Click to show internal directories.
Click to hide internal directories.