Go to file
William Melody 4d8c9a3385 Prompt user in `remove`
In order to avoid mistakes, prompt the user when removing records. Allow
skipping of the prompt using the --force option.
2015-03-18 18:20:24 -07:00
Readme.md Prompt user in `remove` 2015-03-18 18:20:24 -07:00
hosts Prompt user in `remove` 2015-03-18 18:20:24 -07:00

Readme.md

Hosts

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

Usage

Usage:
  hosts
  hosts add <ip> <hostname>
  hosts remove ( <ip> | <hostname> | <search term> ) [--force]
  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