DEV Community

Discussion on: Stream 11/13/19 - npx is pretty cool

Collapse
 
talk2megooseman profile image
Erik Guzman

Oh interesting! I am still new to libraries to use to make a good CLI interface. What would you say are the best reason to use yargs? Ill take a look at it since I am making another npx script for another project. Thanks for commenting and suggesting it.

Collapse
 
pavelloz profile image
Paweł Kowalski

The best reason to use yargs for me is that i had a lot of issues with commander and a lot of serious tools are written using yargs. It also looks lighter/simpler/more focused on args parsing, which is nice.

Thread Thread
 
talk2megooseman profile image
Erik Guzman

Thanks a lot for the suggestion, Ill be switching to yargs on a new npx project since I like the offerings over commander.

Collapse
 
talk2megooseman profile image
Erik Guzman

Took a quick look at yargs and HOT DAMN it looks good. Importing a directory full of command modules? Yes, please. Thanks for telling me about this.