Skip to content

meerhamzadev/node-cli-template

Repository files navigation

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

Releases

No releases published

Packages

No packages published