MCPcopy
hub / github.com/mislav/hub / customCommands

Function customCommands

commands/help.go:202–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200}
201
202func customCommands() []string {
203 cmds := []string{}
204 for n, c := range CmdRunner.All() {
205 if !c.GitExtension && !strings.HasPrefix(n, "--") {
206 cmds = append(cmds, n)
207 }
208 }
209
210 sort.Strings(cmds)
211
212 return cmds
213}
214
215var helpText = `
216These GitHub commands are provided by hub:

Callers 2

runHelpFunction · 0.85
runListCmdsFunction · 0.85

Calls 1

AllMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…