README.md in localdev-0.3.1 vs README.md in localdev-0.3.2
- old
+ new
@@ -2,16 +2,23 @@
Localdev is a Ruby command line script to register domains that you sometimes use for local development, and to quickly enable or disable local development for those domains. Only expected to work on OS X. Requires sudo access, as it is manipulating your hosts file.
Available commands:
+* `localdev list` — lists the localdev domains
* `localdev add {domain}` — adds the specified domain
* `localdev remove {domain}` — removes the specified domain
* `localdev on` — enables local development
* `localdev off` — disables local development
* `localdev status` — shows the current status
Note: if local development is on, `add` and `remove` commands will immediately update the hosts file and trigger a DNS flush.
+
+Tip: To avoid being prompted by `sudo` for your password, you can add a line like this to your `/etc/sudoers` file (replace `markjaquith` with your user name):
+
+```
+markjaquith ALL = NOPASSWD: /usr/bin/localdev
+```
## Installation
To install Localdev, use RubyGems:
\ No newline at end of file