feross/hostile — pull request #6 by morsdyce (2014-03-31 02:55:44+00:00)
Title: Added basic CLI mode

Basic CLI mode for quick use in terminal.

Commands:
hostile list - list all current domains and ips
hostile remove domain.com - remove record from hosts file by domain
hostile set 127.0.0.1 domain.com - add domain to hosts file by ip
hostile set local domain.com - same as set shortcut to 127.0.0.1
hostile set localhost domain.com - same as set shortcut to 127.0.0.1

Running without parameters or incorrect parameters will display a help string