MCPcopy Create free account
hub / github.com/cloudwan/gohan / isCustomCommand

Function isCustomCommand

cli/client/client.go:120–127  ·  view source on GitHub ↗
(command string)

Source from the content-addressed store, hash-verified

118}
119
120func isCustomCommand(command string) bool {
121 for _, c := range defaultCommands {
122 if c == command {
123 return false
124 }
125 }
126 return true
127}
128
129func getCustomCommandName(command string, length int) string {
130 args := strings.Split(command, " ")

Callers 1

getCustomCommandNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected