1.0.0 • Published 7 years ago
snark-cli v1.0.0
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:
snarkneeds sudo permissions to edit thehostsfile which is whysudois needed when installing the CLI
npm install
sudo npm linkIf you not:
./bin/installThis will link packaged binaries to the required folder so it can be ran like any other command
Usage
snark -h
Note: Currently
snarkonly 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
1.0.0
7 years ago