Improve the DX of your commands by making arguments optional and prompting the user when they're empty

Improve the DX of your commands by making arguments optional and prompting the user when they're empty

💡 Just a quick tip: define every argument of commands as optional and ask for input if they are missing.

This way, you don’t need to think about the arguments when running a command.

Just run it, and it will ask everything:

We're writing a book, you can get it for free here.