Whitespace

pull/13/head
Chris Bednarski 10 years ago
parent 96ccb78f8f
commit 74d05983fb

@ -10,13 +10,13 @@ A command-line utility for managing your `/etc/hosts` file.
hostess off domain # Disable a domain (but don't remove it completely) hostess off domain # Disable a domain (but don't remove it completely)
hostess on domain # Re-enable a domain that was disabled hostess on domain # Re-enable a domain that was disabled
hostess ls # List domains, target ips, and on/off status hostess ls # List domains, target ips, and on/off status
hostess may mangle your hosts file. In general it will probably look like this, with domains pointing at the same IP grouped together and disabled domains commented out. hostess may mangle your hosts file. In general it will probably look like this, with domains pointing at the same IP grouped together and disabled domains commented out.
127.0.0.1 localhost hostname2 hostname3 127.0.0.1 localhost hostname2 hostname3
127.0.1.1 machine.name 127.0.1.1 machine.name
# 10.10.20.30 some.host # 10.10.20.30 some.host
## Installation ## Installation
Grab a [release](https://github.com/cbednarski/hostess/releases) or download the code and run `make && make install` (building probably requires go 1.4). Grab a [release](https://github.com/cbednarski/hostess/releases) or download the code and run `make && make install` (building probably requires go 1.4).
@ -26,5 +26,5 @@ Grab a [release](https://github.com/cbednarski/hostess/releases) or download the
By default, hostess will read / write to `/etc/hosts`. You can use the `HOSTESS_FILE` environment variable to provide an alternate path (for testing). By default, hostess will read / write to `/etc/hosts`. You can use the `HOSTESS_FILE` environment variable to provide an alternate path (for testing).
## Disclaimer ## Disclaimer
hostess reserves the right to sort, parse, and validate as it sees fit (or not at all) and may be ruthlessly hostile towards comments, whitespace, and other things that robots don't care for. hostess may include different default entries depending on OS. hostess uses readme-driven-development and may not actually do any of the things listed above. You have been warned. hostess reserves the right to sort, parse, and validate as it sees fit (or not at all) and may be ruthlessly hostile towards comments, whitespace, and other things that robots don't care for. hostess may include different default entries depending on OS. hostess uses readme-driven-development and may not actually do any of the things listed above. You have been warned.

Loading…
Cancel
Save