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

Function buildUsage

scripts/docs/src/generate-cli-docs.ts:240–242  ·  view source on GitHub ↗
(command: Command)

Source from the content-addressed store, hash-verified

238}
239
240function buildUsage(command: Command): string {
241 return command.createHelp().commandUsage(command).trim();
242}
243
244function formatOptionSignature(option: Option): string {
245 return option.flags.replace(/\s+/g, " ").trim();

Callers 1

buildCommandSectionFunction · 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…