node-dashdash icon indicating copy to clipboard operation
node-dashdash copied to clipboard

A light, featureful and explicit option parsing library for node.js.

Results 25 node-dashdash issues
Sort by recently updated
recently updated
newest added

Say I have this: ```js const opts = [ { names: ['force', 'f'], type: 'bool', help: 'Force everything (and say yes to everything).', default: 'foobar' // should be a boolean,...

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies

## Describe the bug The bash completion script doesn't suggest short and long options when using a subcommand containing more than one dash. ## To Reproduce Create a simple node...

Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...

dependencies

### Circumstances triggering the bug While generating bash completion with dashdash through [cmdln](https://github.com/trentm/node-cmdln), I noticed that debugging logs for the completion were being written to my current directory. My program...

dashdash might already have this feature. normally process.argv looks like: `['node','index.js','--foo','--bar','--baz']` but what if I have an array like so representing process.argv? `['--foo','--bar','--baz']` how can I tell dashdash to start...

yargs and minimist are the real alternatives these days, I think.

It would neat if dashdash could have TS support - I don't see `@types/dashdash` just yet. https://stackoverflow.com/a/51334721/7898461 ATM, I am trying to create/derive an interface from the options array, that...