Skip to content

Add scarf analytics to a Node pkg, git commit/push, and release an npm patch

License

Notifications You must be signed in to change notification settings

ahmadawais/scarfit

Repository files navigation

📟

scarfit

DOWNLOADS Node.js CLI Learn VSCode Sponsor Follow @MrAhmadAwais on Twitter

Add scarf analytics to a Node pkg, git commit/push, and release an npm patch.


📟

Install

npx scarfit

⚙️

Usage

Run scarfit in a pre-existing npm package that must have a git repository and a published version on npmjs.com.

scarfit <command> [option]

❯ COMMANDS

help  Print help info

❯ OPTIONS

-n, --name     Name of the npm package
-d, --add      Should add package on scarf.sh Default: true
--no-add       Should not add package on scarf.sh Default: false
-d, --dep      Should install scarf dependency Default: true
--no-dep       Should not install scarf dependency Default: false
-g, --git      Should git commit/push Default: true
--no-git       Should not git commit/push Default: false
-r, --release  Release a patch on npm Default: true
--no-release   Don't release a patch on npm Default: false
-p, --public   Should npm release have --access public? Default: false
-c, --clear    Clear the console Default: true
-d, --debug    Print debug info Default: false
-v, --version  Print CLI version Default: false

📝

Changelog

❯ Read the changelog here →


KEY: 📦 NEW, 👌 IMPROVE, 🐛 FIX, 📖 DOC, 🚀 RELEASE, and 🤖 TEST

I use Emoji-log, you should try it and simplify your git commits.


📃

License & Conduct


🙌

Connect

GitHub @AhmadAwais (follow) To stay up to date on free & open-source software

Twitter @MrAhmadAwais (follow) To get #OneDevMinute daily hot tips & trolls

YouTube AhmadAwais (subscribe) To tech talks & #OneDevMinute videos

Blog: AhmadAwais.com (read) In-depth & long form technical articles

LinkedIn @MrAhmadAwais (connect) On the LinkedIn profile y'all


👌

Sponsor

Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what I’m doing then consider backing me. I'm in this for the long run. An open-source developer advocate.

Ahmad on Twitter

NodeCLI.com — Learn to build Node.js CLI Automation

This repository is part of the NodeCLI.com course.

After building hundreds of developer automation tools used by millions of developers, I am sharing exactly how you can do it yourself with minimum effective effort. Learn to build Node.js & JavaScript based CLI (Command Line Interface) apps. Automate the grunt work, do more in less time, impress your manager, and help the community. → I'm sharing it all in this online video course. Node CLI Automation without wasting a 1,000 hours

Node CLI Course

Node CLI

Awais on Twitter