@crissxross/create-node-cli

1.0.0 • Public • Published

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, and URL

Install

# Recommended
npx @crissxross/create-node-cli

# OR an alternative global install
npm install -g @crissxross/create-node-cli

Usage

  1. Run the CLI using
npx @crissxross/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?

BASIC USAGE

create-node-cli <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

Package Sidebar

Install

npm i @crissxross/create-node-cli

Weekly Downloads

3

Version

1.0.0

License

none

Unpacked Size

11.7 kB

Total Files

16

Last publish

Collaborators

  • crissxross