Documentation ¶
Index ¶
- func Generate(p persona.Persona) ([]error, error)
- func LoadCommands() []*cobra.Command
- func LoadCorePlugins(config *viper.Viper) ([]error, error)
- func LoadOptionalPlugins(config *viper.Viper) ([]error, error)
- func LoadPlugins(config *viper.Viper) ([]error, error)
- func SetupPlugins(p persona.Persona) ([]error, error)
- func ShellLoader(p persona.Persona) (string, error)
- type Plugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCommands ¶
LoadCommands load cobra commands from plugin implementing the Commander interface. NOTE that these commands will be available independently from the enablement status of the plugin.
func LoadCorePlugins ¶
LoadCorePlugins instantiate and register all core plugins, configuring them using the values from the provided configuration file.
func LoadOptionalPlugins ¶
LoadOptionalPlugins instantiate and register all optional plugins, configuring them using the values from the provided configuration file.
func LoadPlugins ¶
LoadPlugins load all core plugins and all plugins enabled in the read configurationf file.
func SetupPlugins ¶
SetupPlugins perform setup for all initialized plugins implementing Setuppable interface.
Types ¶
Click to show internal directories.
Click to hide internal directories.