1.0.0 • Published 4 years ago
@crissxross/create-node-cli v1.0.0
create-node-cli
CLI to create Node.js CLI apps. This is an ESM version, based on create-node-cli from Node CLI Automation course by Ahmad Awais.
- Quickly scaffold a Node.js CLI
- Template & custom code generation
- Automatic argument parsing, help text, and welcome message
- History to maintain the last input data like the author
name,email, andURL
Install
# Recommended
npx @crissxross/create-node-cli
# OR an alternative global install
npm install -g @crissxross/create-node-cliUsage
- Run the CLI using
npx @crissxross/create-node-cli
# OR for global install
create-node-cli
# OR alias for global install
ncliThen 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
create-node-cli <command> [option]COMMANDS
help Print help infoOPTIONS
-c, --clear Clear the console Default: true
-d, --debug Print debug info Default: false
-v, --version Print CLI version Default: false1.0.0
4 years ago