@paulisystems/create-cli

1.2.3 • Public • Published

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

Package Sidebar

Install

npm i @paulisystems/create-cli

Weekly Downloads

0

Version

1.2.3

License

MIT

Unpacked Size

16.3 kB

Total Files

17

Last publish

Collaborators

  • paulisystems