bph / create-cli

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:JavaScript 100.0%