Command-line utilities are the most basic and beautiful apps ever created, the apps that started it all.
We use command-line utilities every day, ...
For further actions, you may consider blocking this person and/or reporting abuse
You should look into oclif it comes with a whole cli management api
Thanks for informing, I'll check it out.
Cool, very good quick intro to yargs.
For the help function you couldve just used yarg.showHelp()
They already made that.
Thanks for reading! I did use the
showHelp()
function but that only showed the usage instructions when I used the--help
flag, I wanted to show the usage too when no argument was passed hence I also made a custom usage template to print it out in the absence of an argument.Thanks for the post! I would like to use .env variables in my cli app but when I npm link it, it cannot reach my .env files from any other directories. Do you have any advice solving this problem?
Thanks for reading!
Have you tried setting the exact path of your .env file in the .env config as so:
Wow nice post 😲
Thank you!
hello!, i made a lib to create cli github.com/mdbetancourt/soly
Good Post!!!
Thanks for reading!
Ohhh q bueno...
Thanks!