saeedsufi v2.0.2
npx saeedsufi
Taking Node-cli course by ahmad awais
Usage
To use this CLI run the following command:
npx saeedsufiHere's the Hashbang you need to use at the top of your
index.jsfile to be able to run js on command line without needing to prefix your commands withnode:#!/usr/bin/ env nodeAfter creating
index.jsandpackage.json, runnpm linkto install your package globally. You can uninstall it by runningnpm uninstall -g <packagename>.Run
npm publishpublish your program to npm.Use this shortcut to get to your package url:
npm.im/sufi.Regarding versioning: "Major.Minor.Patch". When there is non-breaking minimal change, use Patch to increment verisioning. When you added a feature which is non-breaking, use Minor and when you add a major feature which is breaking the current installations or if it has a lot of new features, then you need to add up Major.