1.2.3 • Published 3 years ago

@paulisystems/create-cli v1.2.3

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

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