1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-05-28 04:20:46 +00:00
hosts/Readme.md
William Melody 7d8a94d4ca Add 'enabled' and 'disabled' options to list
These return records that have the status specified in the option.
2015-03-18 17:05:33 -07:00

37 lines
787 B
Markdown

# 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:
- https://github.com/nddrylliog
- https://gist.github.com/nddrylliog/1368532
- https://github.com/dfeyer
- https://gist.github.com/dfeyer/1369760
Original idea and interface (since changed) via:
https://github.com/macmade/host-manager