Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahmadawais/create-node-cli

šŸ“Ÿ CLI to create new Node.js CLI applications in minutes not hours.
https://github.com/ahmadawais/create-node-cli

cli create hacktoberfest node node-cli nodejs

Last synced: 23 days ago
JSON representation

šŸ“Ÿ CLI to create new Node.js CLI applications in minutes not hours.

Awesome Lists containing this project

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][n] automation course


[![šŸ“Ÿ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/install.png)][repo]

## Install

```sh
# Recommended.
npx create-node-cli

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


[![āš™ļø](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/usage.png)][repo]

## Usage

1. Run the CLI using

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

```sh
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 [option]
```

#### COMMANDS

```sh
help Print help info
```

#### OPTIONS

```sh
-c, --clear Clear the console Default: true
-d, --debug Print debug info Default: false
-v, --version Print CLI version Default: false
```


[![šŸ“](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/log.png)](changelog.md)

## Changelog

[āÆ Read the changelog here ā†’](changelog.md)


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

> _I use [Emoji-log](https://github.com/ahmadawais/Emoji-Log), you should try it and simplify your git commits._


[![šŸ“ƒ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/license.png)][repo]

## License & Conduct

- MIT Ā© [Ahmad Awais](https://twitter.com/MrAhmadAwais/)
- Thanks Liran Tal for the npm pkg name
- [Code of Conduct](code-of-conduct.md)


[![šŸ™Œ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/connect.png)][repo]

## 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



[![šŸ‘Œ](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/sponsor.png)][repo]

## Sponsor

Me ([Ahmad Awais](https://twitter.com/mrahmadawais/)) and my incredible wife ([Maedah Batool](https://twitter.com/MaedahBatool/)) are two engineers who fell in love with open source and then with each other. You can read more [about me here](https://ahmadawais.com/about). 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](https://raw.githubusercontent.com/ahmadawais/stuff/master/sponsor/sponsor.jpg)](https://github.com/AhmadAwais/sponsor)


### [How to build a Node CLI?][n]

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][n] ā†’

[![NodeCLI.com](https://raw.githubusercontent.com/ahmadawais/stuff/master/nodecli/featured.jpg)][n]

[![Node CLI](https://img.shields.io/badge/-NodeCLI.com%20%E2%86%92-gray.svg?colorB=488640&style=flat)](https://nodecli.com/?utm_source=FOSS&utm_medium=FOSS&utm_campaign=create-node-cli)

[![Ahmad on Twitter](https://img.shields.io/twitter/follow/mrahmadawais.svg?style=social&label=Follow%20@MrAhmadAwais)](https://twitter.com/mrahmadawais/)

[n]: https://nodecli.com/?utm_source=FOSS&utm_medium=FOSS&utm_campaign=create-node-cli
[repo]: https://github.com/AhmadAwais/create-node-cli