MCPcopy Create free account
hub / github.com/git-bug/git-bug / From

Function From

commands/completion/helper_completion.go:74–78  ·  view source on GitHub ↗
(choices []string)

Source from the content-addressed store, hash-verified

72}
73
74func From(choices []string) ValidArgsFunction {
75 return func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
76 return choices, cobra.ShellCompDirectiveNoFileComp
77 }
78}
79
80func GitRemote(env *execenv.Env) ValidArgsFunction {
81 return func(cmd *cobra.Command, args []string, toComplete string) (completions []string, directives cobra.ShellCompDirective) {

Callers 6

newBridgeNewCommandFunction · 0.92
newUserShowCommandFunction · 0.92
NewUserCommandFunction · 0.92
newBugShowCommandFunction · 0.92
NewBugCommandFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected