Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProviderGitHub represents https://github.com ProviderGitHub = "github" // ProviderGitee represents https://gitee.com ProviderGitee = "gitee" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompletionFunc ¶ added in v0.0.36
type CompletionFunc func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
CompletionFunc is the function for command completion
func ArrayCompletion ¶ added in v0.0.36
func ArrayCompletion(array ...string) CompletionFunc
ArrayCompletion return a completion which base on an array
Click to show internal directories.
Click to hide internal directories.