Documentation ¶
Index ¶
- func AppendPluginCmd(root *cobra.Command, pluginOrg, pluginRepo string)
- func NewConfigPluginFetchCmd(pluginOrg, pluginRepo string) (cmd *cobra.Command)
- func NewConfigPluginInstallCmd(pluginOrg, pluginRepo string) (cmd *cobra.Command)
- func NewConfigPluginListCmd(pluginOrg, pluginRepo string) (cmd *cobra.Command)
- func NewConfigPluginUninstallCmd(pluginOrg, pluginRepo string) (cmd *cobra.Command)
- func NoFileCompletion(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
- func ValidPluginNames(cmd *cobra.Command, args []string, prefix, pluginOrg, pluginRepo string) (pluginNames []string, directive cobra.ShellCompDirective)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendPluginCmd ¶
AppendPluginCmd create a command as root of config plugin
func NewConfigPluginFetchCmd ¶
NewConfigPluginFetchCmd create a command for fetching plugin metadata
func NewConfigPluginInstallCmd ¶
NewConfigPluginInstallCmd create a command for fetching plugin metadata
func NewConfigPluginListCmd ¶
NewConfigPluginListCmd create a command for list all jcli plugins
func NewConfigPluginUninstallCmd ¶
NewConfigPluginUninstallCmd create a command to uninstall a plugin
func NoFileCompletion ¶
NoFileCompletion avoid completion with files
func ValidPluginNames ¶
func ValidPluginNames(cmd *cobra.Command, args []string, prefix, pluginOrg, pluginRepo string) (pluginNames []string, directive cobra.ShellCompDirective)
ValidPluginNames returns the valid plugin name list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.