Skip to content

ParseOptions ​

Options accepted by parse and buildFlagLookup.

Signatures ​

ts
interface ParseOptions {}

Members ​

Properties ​

caseParity ​

Accept the kebab↔camel counterpart spelling of each flag name/alias (--doThis for a flag named do-this, and vice versa). Automatically disabled per spelling pair when a command explicitly defines both.

ts
caseParity?: boolean;

See Also ​

Released under the MIT License.