1.0.0 • Published 7 years ago

snark-cli v1.0.0

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

Snark

Companion CLI to snark.qnzl.co, a site as a placeholder for blocked sites. Snark helps you realize that you are going to sites you've deemed wasteful and suggest activities away from the computer, in a somewhat snarky way.

Pre-requisites

If you have node already installed:

Note: snark needs sudo permissions to edit the hosts file which is why sudo is needed when installing the CLI

npm install
sudo npm link

If you not:

./bin/install

This will link packaged binaries to the required folder so it can be ran like any other command

Usage

snark -h

Note: Currently snark only sets records to 140.82.3.56

To block site:

snark block <site>

To unblock site:

snark unblock <site>

To show all sites blocked:

snark list