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

Function getCommandSchema

src/utils/command-schema.ts:27–30  ·  view source on GitHub ↗
(command: string | null)

Source from the content-addressed store, hash-verified

25);
26
27export function getCommandSchema(command: string | null): CommandSchema | undefined {
28 if (!command) return undefined;
29 return readCommandSchema(command);
30}
31
32export function getCliCommandSchema(command: CliCommandName): CommandSchema {
33 const schema = readCommandSchema(command);

Callers 3

buildCommandUsageTextFunction · 0.90
applyCommandDefaultsFunction · 0.85

Calls 1

readCommandSchemaFunction · 0.85

Tested by

no test coverage detected