MCPcopy Index your code
hub / github.com/lingodotdev/lingo.dev / getCommandPath

Function getCommandPath

scripts/docs/src/generate-cli-docs.ts:201–207  ·  view source on GitHub ↗
(
  rootName: string,
  ancestors: string[],
  command: Command,
)

Source from the content-addressed store, hash-verified

199}
200
201function getCommandPath(
202 rootName: string,
203 ancestors: string[],
204 command: Command,
205): string {
206 return [rootName, ...ancestors, command.name()].filter(Boolean).join(" ");
207}
208
209function isHiddenCommand(command: Command): boolean {
210 return Boolean((command as CommandWithInternals)._hidden);

Callers 2

buildCommandSectionFunction · 0.85
buildCommandDocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…