UNPKG

@visulima/cerebro

Version:

A delightful toolkit for building cross-runtime CLIs for Node.js, Deno, and Bun.

8 lines (7 loc) 560 B
import type { OptionDefinition, PossibleOptionDefinition } from "../../types/command.d.ts"; /** * Gets the values of any boolean arguments that were specified on the command line with a value. * These arguments were removed by removeBooleanValues. */ declare const getBooleanValues: <OD extends OptionDefinition<unknown>>(arguments_: string[], options: PossibleOptionDefinition<OD>[], optionMapByName?: Map<string, PossibleOptionDefinition<OD>>, optionMapByAlias?: Map<string, PossibleOptionDefinition<OD>>) => Partial<OD>; export default getBooleanValues;