Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

create-node-cli

ahmadawais2412.0.0

CLI to create Node.js CLIs.

create-node-cli, Create Node.js CLI, Build Node CLI, node cli, nodejs, Awais, Ahmad Awais

readme

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


👌

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


How to build a Node CLI?

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

changelog

CHANGELOG

Twitter @MrAhmadAwais LinkedIn @MrAhmadAwais YouTube AhmadAwais Blog: AhmadAwais.com GitHub @AhmadAwais

I have released a video course to help you build Node.js CLIs for Automation

Support my work: Hey there! If you or your company have been benefiting from any of my projects or simply appreciate the awesomeness I bring to the table, why not consider backing me up? I'm committed to sticking around for the long haul, tirelessly advocating for open-source development.

Sponsor Awais

❯❯ Professional Development Courses ↓

Node CLI Course VSCode Course Node.js Course


hr hr


📝

All notable changes in this project's released versions are documented in this file.

CHANGELOG KEY: 📦 NEW, 👌 IMPROVE, 🐛 FIX, 📖 DOC, 🚀 RELEASE, 🤖 TEST, and ‼️ BREAKING.

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



hr hr

RELEASE: 2.0.0

BREAKING

‼️ Require no longer supported moving to ESM based syntax 8e2f2b0



hr hr

RELEASE: 1.6.1

👌 IMPROVE:

👌 Chalk version before ESM 40d8018

📖 DOC:

📖 Changelog ba8a1f2



hr hr

RELEASE: 1.6.0

📦 NEW:

📦 Support 77e5b80

👌 IMPROVE:

👌 pkgs 44c5e7c

👌 meow without ESM for now a5c6995

🐛 FIX:

🐛 Link 6fd2ae2

🐛 Strict camelCase flags 577962d

📖 DOC:

📖 Changelog 6682184

📖 Lingo 8670e87



hr hr

RELEASE: 1.5.0

📦 NEW:

📦 Deps update b20912f

📖 DOC:

📖 Changelog 1cc51db



hr hr

RELEASE: 1.4.0

🐛 FIX:

🐛 Install latest pkgs e89815d

📖 DOC:

📖 Changelog 35eeabb



hr hr

RELEASE: 1.3.0

📦 NEW:

📦 No Clear 7d40f02

📖 DOC:

📖 Changelog 8833a01



hr hr

RELEASE: 1.2.1

👌 IMPROVE:

👌 Header Color 678f601

📖 DOC:

📖 Changelog b1764b5



hr hr

RELEASE: 1.2.0

🐛 FIX:

🐛 Typo 5eec27d

📖 DOC:

📖 Changelog 49fc9b4



hr hr

RELEASE: 1.1.0

BREAKING

‼️ Template Dir included 1985762

📦 NEW:

📦 Keywords b54cdb2

👌 IMPROVE:

👌 Links 3d5fdb0

📖 DOC:

📖 Changelog 4223938



hr hr

RELEASE: 1.0.1

📖 DOC:

📖 Changelog 588b509

📖 Lingo a945cd9



hr hr

RELEASE: 1.0.0

🐛 FIX:

🐛 Broken link 0a7e9c9

📖 DOC:

📖 Changelog 6497014



hr hr

RELEASE: 0.3.0

👌 IMPROVE:

👌 Badges f311588

📖 DOC:

📖 Changelog f05302b



hr hr

RELEASE: 0.2.0

📦 NEW:

📦 Logo name 096e935

📦 logo name f498ee8

📦 Logo 19d8efb

📦 Link c8962cc

👌 IMPROVE:

👌 Links 32bb6d2

👌 Rename log e7cbfa5

👌 Rename log 3572842

📖 DOC:

📖 Changelog b611bba



hr hr

RELEASE: 0.1.0

📦 NEW:

📦 First commit 279a39f

📖 DOC:

📖 Changelog 29929eb

📖 Lingo 89a3751



hr hr

RELEASE: 0.0.3

📦 NEW:

📦 First commit fc53625

📦 Author repo 593a32e

📖 DOC:

📖 Changelog 086bb62



hr hr