Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RootCommand ¶
type RootCommand struct { Plugins []*plugins.EphemeralIamPlugin cobra.Command }
RootCommand is a struct that holds the loaded plugins and the top level cobra command.
func (*RootCommand) LoadPlugins ¶
func (rc *RootCommand) LoadPlugins() error
LoadPlugins searches for files in the plugin directory and attempts to load them.
func (*RootCommand) PrintPlugins ¶
func (rc *RootCommand) PrintPlugins()
PrintPlugins formats the list of loaded plugins as a table and prints them.
Click to show internal directories.
Click to hide internal directories.