Christian Bewernitz

Results 281 comments of Christian Bewernitz

For me the GitHub App is running into this issue on a new repository which causes it to fail: did I miss some config option? A missing token in that...

FYI: looks like https://github.com/dfoobar/djira is a fork for exactly that purpose, reachable under https://deno.land/x/djira and is kinda workin, but it's mostly undocumented beside types.

FYI: It looks like most of the "fastest ones" require you to touch your build pipeline to transpile your typescript differently, which I assume is not for everybody. The fastest...

This is a duplicate of #164

@ORESoftware How is this different from #23 ?

This should be easy to add when needed by adding a custom type: https://github.com/trentm/node-dashdash#custom-option-types There is even an example how to do this: https://github.com/trentm/node-dashdash/blob/master/examples/custom-option-fruit.js So the library is extensible enough,...

There is https://www.npmjs.com/package/tsd which is used by https://github.com/sindresorhus/meow to check it's type definition. But there are also multiple ways to auto generate types from javascript source, one of them just...

From looking into the code https://github.com/trentm/node-dashdash/blob/a47fa779f9d4ff02a31da890002332bf60cc07ec/lib/dashdash.js#L355-L371 you can use the following: ``` dashdash.parse({ argv: ['--foo','--bar','--baz'], slice: 0 }); ``` Which is also part of the JsDoc comment for that method....

A) `mocha.opts` file format [has been deprecated by mocha](https://mochajs.org/#mochaopts) B) You can already use (something like) [dotenv](https://github.com/motdotla/dotenv#usage) in the place where you are using dashdash and this way support anything...

Both mentioned libraries by default parse all options without any config, which is an approach (explicit vs implicit) completely different from `dashdash`. `yargs` comes with a bunch of **25** depedencies!...