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

Function formatOptionSignature

scripts/docs/src/generate-cli-docs.ts:244–246  ·  view source on GitHub ↗
(option: Option)

Source from the content-addressed store, hash-verified

242}
243
244function formatOptionSignature(option: Option): string {
245 return option.flags.replace(/\s+/g, " ").trim();
246}
247
248function extractOptionPlaceholder(option: Option): string {
249 const match = option.flags.match(/(<[^>]+>|\[[^\]]+\])/);

Callers 2

buildOptionUsageFunction · 0.85
buildOptionEntriesFunction · 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…