Go to file
William Melody e9dec32c90 Display disabled records in `list` when present
When disabled records are present, include them in a new section in the
default output of `list`. If no disabled records are present, don't
include the section.
2015-03-18 17:10:21 -07:00
Readme.md Add 'enabled' and 'disabled' options to `list` 2015-03-18 17:05:33 -07:00
hosts Display disabled records in `list` when present 2015-03-18 17:10:21 -07:00

Readme.md

Hosts

A command line program with shortcuts for managing hosts file entries.

Usage

Usage:
  hosts add <ip> <hostname>
  hosts remove <hostname>
  hosts list [enabled | disabled | <search string>]
  hosts show ( <ip> | <hostname> | <search string> )
  hosts disable ( <ip> | <hostname> | <search term> )
  hosts enable ( <ip> | <hostname> | <search term> )
  hosts edit
  hosts file

For full usage, run:

hosts help

or

hosts help <command name>

Acknowledgements

Based on prior work by:

Original idea and interface (since changed) via:

https://github.com/macmade/host-manager