MCPcopy Index your code
hub / github.com/ahmadawais/create-node-cli

github.com/ahmadawais/create-node-cli @2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.0 ↗ · + Follow
1 symbols 28 edges 11 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

create-node-cli 📟 CLI to create new Node.js CLI applications. [Learn to build Node.js CLI apps][n]. [![DOWNLOADS](https://img.shields.io/npm/dt/create-node-cli?label=DOWNLOADS%20%20%E2%9D%AF&colorA=6cc24a&colorB=6cc24a&style=flat)](https://www.npmjs.com/package/create-node-cli) [![Learn Node.js CLI Automation](https://img.shields.io/badge/-NodeCLI.com%20%E2%86%92-gray.svg?colorB=6cc24a&style=flat)](https://nodecli.com/?utm_source=GitHubFOSS) [![Follow @MrAhmadAwais on Twitter](https://img.shields.io/badge/FOLLOW%20@MRAHMADAWAIS%20%E2%86%92-gray.svg?colorA=6cc24a&colorB=6cc24a&style=flat)](https://twitter.com/mrahmadawais/)

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

```sh
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

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

Core symbols most depended-on inside this repo

validate
called by 0
utils/ask.js

Shape

Function 1

Languages

TypeScript100%

Modules by API surface

utils/ask.js1 symbols

For agents

$ claude mcp add create-node-cli \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page