MCPcopy Create free account
hub / github.com/algolia/cli / commandPathParts

Function commandPathParts

internal/docs/mdx.go:80–87  ·  view source on GitHub ↗
(cmd Command)

Source from the content-addressed store, hash-verified

78}
79
80func commandPathParts(cmd Command) []string {
81 parts := strings.Fields(cmd.Name)
82 if len(parts) <= 1 {
83 return nil
84 }
85
86 return parts[1:]
87}
88
89func commandOutputFilename(cmd Command) string {
90 parts := commandPathParts(cmd)

Callers 2

newMdxPageFunction · 0.85
commandOutputFilenameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected