1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-12-29 12:32:44 +00:00
Go to file
2015-03-18 18:28:38 -07:00
hosts Remove redundant command usage entry in help 2015-03-18 18:28:38 -07:00
Readme.md Clarify help command usage in Readme. 2015-03-18 18:23:59 -07:00

Hosts

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

Usage

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

For full usage, run:

hosts help

For help with a particular command, try:

hosts help <command name>

Acknowledgements

Based on prior work by:

Original idea and interface (since changed) via:

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