MCPcopy Create free account
hub / github.com/yargs/yargs / command

Method command

lib/usage.ts:760–760  ·  view source on GitHub ↗
(
    cmd: string,
    description: string | undefined,
    isDefault: boolean,
    aliases: string[],
    deprecated?: boolean
  )

Source from the content-addressed store, hash-verified

758 clearCachedHelpMessage(): void;
759 hasCachedHelpMessage(): boolean;
760 command(
761 cmd: string,
762 description: string | undefined,
763 isDefault: boolean,

Callers 15

nested.mjsFile · 0.65
complex.mjsFile · 0.65
addHandlerMethod · 0.65
validation.mjsFile · 0.65
command.mjsFile · 0.65
builderFunction · 0.65
usage.mjsFile · 0.65
yargs.mjsFile · 0.65
middleware.mjsFile · 0.65
completion.mjsFile · 0.65
yargs-test.mjsFile · 0.65
builderFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected