@umair-dev/ncli
v1.1.0
Published
CLI to create Node.js CLIs.
Downloads
12
Maintainers
Readme
📟 CLI to create new Node.js CLI applications.
ncli (create-node-cli)
- 📦 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
name
,email
, andURL
[][repo]
Install
# Recommended.
npx @umair-dev/ncli
# OR alias
npx ncli
# OR an alternative global install.
npm install -g @umair-dev/ncli
[][repo]
Usage
- Run the CLI using
npx @umair-dev/ncli
# OR for global install
@umair-dev/ncli
# OR alias for global install
@umair-dev/ncli
# OR alias
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?
BASIC USAGE
ncli <command> [option]
COMMANDS
help Print help info
OPTIONS
-c, --clear Clear the console Default: true
-d, --debug Print debug info Default: false
-v, --version Print CLI version Default: false