MCPcopy Index your code
hub / github.com/callstack/agent-device / resolveTwoArgHelpTarget

Function resolveTwoArgHelpTarget

src/bin.ts:82–88  ·  view source on GitHub ↗
(
  command: string | undefined,
  helpArg: string | undefined,
)

Source from the content-addressed store, hash-verified

80}
81
82function resolveTwoArgHelpTarget(
83 command: string | undefined,
84 helpArg: string | undefined,
85): string | undefined {
86 if (isHelpCommand(command)) return helpArg;
87 return resolveTrailingHelpTarget(command, helpArg);
88}
89
90function resolveTrailingHelpTarget(
91 command: string | undefined,

Callers 1

resolveSimpleHelpTargetFunction · 0.85

Calls 2

isHelpCommandFunction · 0.85

Tested by

no test coverage detected