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

Function getSchemaOnlyCliCommandSchema

src/utils/cli-command-overrides.ts:146–150  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

144>;
145
146export function getSchemaOnlyCliCommandSchema(command: string): CommandSchema | undefined {
147 return Object.hasOwn(SCHEMA_ONLY_CLI_COMMAND_SCHEMAS, command)
148 ? SCHEMA_ONLY_CLI_COMMAND_SCHEMAS[command as keyof typeof SCHEMA_ONLY_CLI_COMMAND_SCHEMAS]
149 : undefined;
150}
151
152export function getCliCommandOverride(command: string): CommandSchemaOverride | undefined {
153 return Object.hasOwn(CLI_COMMAND_OVERRIDES, command)

Callers 1

readCommandSchemaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected