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