parse<T extends Readonly<Record<string, Option>>>( options: T, cmdLine?: CommandLine, flags?: ParsingFlags,): Promise< { -readonly [key in string | number | symbol]: OptionDataType<T[key]> },> Type Parameters
- T extends Readonly<Record<string, Option>>
Returns Promise<{ -readonly [key in string | number | symbol]: OptionDataType<T[key]> }>
The options' values
Parses command-line arguments into option values.