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

https://github.com/bph/create-cli

Another exercise from NodeCLI.com course. I also use it for my personal automation projects and POCs.
https://github.com/bph/create-cli

Last synced: over 1 year ago
JSON representation

Another exercise from NodeCLI.com course. I also use it for my personal automation projects and POCs.

Awesome Lists containing this project

README

          

# create-cli

This CLI for nodejs creates the scaffolding for a new node CLI package.

## Install

`npm install @paulisystems/create-cli`

## Usage ##

`npm ncli`

## Input:
* **name:** Give your new CLI a name in kebab-notation. This is also used as a directory name of the new CLI.
* **command:** command to initiate the CLI. Optional. If left blank the cli name is used as command, too.
* **description:** Enter a description for your new CLI.
* **version:** _default_ `0.0.1`
* **license:** _default_ `MIT`
* **authorName**, **authorEmail**, **authorURL** Author information with name, email and url. These will be stored in the /utils/.history folder for future scaffolding

Modify the files in the */template* folder for additional default settings. Use {{nvarname}} for replacement variables.

Use `ncli help` for commands and options.

## Code of Conduct

Please note that this project is released with a [Contributor Code of Conduct](code_of_conduct.md). By participating in this project you agree to abide by its terms.

## History

This is an example project of the NodeJS CLI course by Ahmad Awais