📦Create a Node.js CLI in a minute 🤯Automatic argument parsing, help text, and welcome message 🗃️History to maintain the last input data like the Author
👨🏫Awais taught and created this CLI project in his NodeCLI.com automation course
# Recommended. npx create-node-cli # OR an alternative global install. npm install -g create-node-cli
- Run the CLI using
npx create-node-cli # OR for global install create-node-cli # OR alias for global install ncli
Then answer the following questions to generate a Node.js CLI.
CLI name? CLI command? CLI description? CLI version? CLI license? CLI author name? CLI author email? CLI author URL?
create-node-cli <command> [option]
help Print help info
-c, --clear Clear the console Default: true -d, --debug Print debug info Default: false -v, --version Print CLI version Default: false
🚀 RELEASE, and
I use Emoji-log, you should try it and simplify your git commits.
License & Conduct
Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what I’m doing then consider backing me. I'm in this for the long run. An open-source developer advocate.