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

Function getConfigurableOptionSpecs

src/utils/cli-option-schema.ts:47–49  ·  view source on GitHub ↗
(command: string | null)

Source from the content-addressed store, hash-verified

45}
46
47export function getConfigurableOptionSpecs(command: string | null): OptionSpec[] {
48 return optionSpecs.filter((spec) => spec.config.enabled && spec.supportsCommand(command));
49}
50
51export function isFlagSupportedForCommand(key: FlagKey, command: string | null): boolean {
52 return getOptionSpec(key)?.supportsCommand(command) ?? false;

Callers 2

readEnvFlagDefaultsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected