gem install ghost
And then from the command line:
$ ghost add mydevsite.local [Adding] mydevsite.local -> 127.0.0.1 $ ghost add staging-server.local 22.214.171.124 [Adding] staging-server.local -> 126.96.36.199 $ ghost list Listing 2 host(s): mydevsite.local -> 127.0.0.1 staging-server.local -> 188.8.131.52 $ ghost delete mydevsite.local [Deleting] mydevsite.local
Aside from basic
delete options, Ghost provides powerful
delete_matching operations to import files or delete entries based on pattern matching.
Check out the source on GitHub.
UPDATE: We covered ghost-ssh, a hidden feature of
ghost which lets you manipulate your
~/.ssh/config file as well.
Have comments? Send a tweet to @TheChangelog on Twitter.
Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.