config

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendPluginCmd

func AppendPluginCmd(root *cobra.Command, pluginOrg, pluginRepo string)

AppendPluginCmd create a command as root of config plugin

func NewConfigPluginFetchCmd

func NewConfigPluginFetchCmd(pluginOrg, pluginRepo string) (cmd *cobra.Command)

NewConfigPluginFetchCmd create a command for fetching plugin metadata

func NewConfigPluginInstallCmd

func NewConfigPluginInstallCmd(pluginOrg, pluginRepo string) (cmd *cobra.Command)

NewConfigPluginInstallCmd create a command for fetching plugin metadata

func NewConfigPluginListCmd

func NewConfigPluginListCmd(pluginOrg, pluginRepo string) (cmd *cobra.Command)

NewConfigPluginListCmd create a command for list all jcli plugins

func NewConfigPluginUninstallCmd

func NewConfigPluginUninstallCmd(pluginOrg, pluginRepo string) (cmd *cobra.Command)

NewConfigPluginUninstallCmd create a command to uninstall a plugin

func NoFileCompletion

func NoFileCompletion(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL