Skip to content

ahmadawais/create-node-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

create-node-cli

πŸ“Ÿ CLI to create new Node.js CLI applications. Learn to build Node.js CLI apps.

DOWNLOADS Learn Node.js CLI Automation Follow @MrAhmadAwais on Twitter


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, and URL
  • πŸ‘¨β€πŸ« Awais taught and created this CLI project in his NodeCLI.com automation course

πŸ“Ÿ

Install

# Recommended.
npx create-node-cli

# OR an alternative global install.
npm install -g create-node-cli

βš™οΈ

Usage

  1. 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?

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

πŸ“

Changelog

❯ Read the changelog here β†’


KEY: πŸ“¦ NEW, πŸ‘Œ IMPROVE, πŸ› FIX, πŸ“– DOC, πŸš€ RELEASE, and πŸ€– TEST

I use Emoji-log, you should try it and simplify your git commits.


πŸ“ƒ

License & Conduct


πŸ™Œ

Connect

GitHub @AhmadAwaisΒ (follow) To stay up to date on free & open-source software

Twitter @MrAhmadAwaisΒ (follow) To get #OneDevMinute daily hot tips & trolls

YouTube AhmadAwaisΒ (subscribe) To tech talks & #OneDevMinute videos

Blog: AhmadAwais.comΒ (read) In-depth & long form technical articles

LinkedIn @MrAhmadAwaisΒ (connect) On the LinkedIn profile y'all


πŸ‘Œ

Sponsor

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.

Support Open-Source Work


Or you can back me by checking out my super fun video course. After building hundreds of developer automation tools used by millions of developers, I am teaching exactly how you can do it yourself with minimum effective effort. Learn to build Node.js & JavaScript based CLI (Command Line Interface) apps & npm packages. Automate the grunt work, do more in less time, impress your manager, make more salary, and help the community. I'm sharing it all in this step-by-step 100-videos course. Node CLI Automation without wasting a thousand hours β†’

NodeCLI.com

Node CLI

Ahmad on Twitter