/node-cli-template

A nodejs template to quickly get you started with your cli tool.

Primary LanguageJavaScriptMIT LicenseMIT

banner image

A nodejs template to quickly get you started with your cli tool.

Usage πŸš€

Template Setup πŸ’₯

  • Either fork the repo or click on the Use this template button to create a new repository with this template.
  • Now clone the repo, open it in your preferred code editor, and install all the dependencies using npm install.

CLI Setup βš™

  • Open package.json file and enter desired data in empty attributes e.g name.
  • Replace command-name with desired command in the bin attribute.
  • Add your username in the license file in place of your-name.
  • Now to configure and test cli locally run npm link in the project directory.
  • Now simply start coding in cli.js

Preview πŸ”Ž

preview image

PROPS πŸ™ŒπŸ»

AUTHOR πŸ‘¨πŸ»β€πŸ’»

πŸ™‹πŸ»β€β™‚οΈ Yo! It's Meer, a junior year CS undergrad. Let's get connected

Twitter  LinkedIn  Gmail 

External Link⚑

To get an idea of different files used in the project. You can read this article by Saad Irfan.

Read Article