MCPcopy Create free account
hub / github.com/paypal/junodb / GetCommand

Function GetCommand

pkg/cmd/cmd.go:196–201  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

194}
195
196func GetCommand(name string) ICommand {
197 if cmd, ok := commands[name]; ok {
198 return cmd
199 }
200 return nil
201}
202
203func ParseCommandLine() (cmd ICommand, args []string) {
204 numArgs := len(os.Args)

Callers 2

MainFunction · 0.92
ParseCommandLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected