MCPcopy Index your code
hub / github.com/larksuite/cli / CommandPath

Method CommandPath

internal/apicatalog/methodref.go:70–75  ·  view source on GitHub ↗

CommandPath is the CLI argv segments, e.g. ["im", "chat.members", "create"].

()

Source from the content-addressed store, hash-verified

68
69// CommandPath is the CLI argv segments, e.g. ["im", "chat.members", "create"].
70func (r MethodRef) CommandPath() []string {
71 out := make([]string, 0, len(r.ResourcePath)+2)
72 out = append(out, r.Service.Name)
73 out = append(out, r.ResourcePath...)
74 return append(out, r.Method.Name)
75}

Callers 14

commandFromCobraFunction · 0.80
commandFormResolverFunction · 0.80
buildCmdExampleCatalogFunction · 0.80
unknownSubcommandRunEFunction · 0.80
flagDidYouMeanFunction · 0.80
serviceMethodRunFunction · 0.80
apiRunFunction · 0.80
APIClassifyContextMethod · 0.80
emitMethod · 0.80

Calls

no outgoing calls