Threeman

Threeman is an alternative to Foreman. Rather than running all the commands together in one terminal, it opens a new terminal window with each command in a tab. The benefits of this are:

  • Your terminal app will notify you using an icon when there's new output from each command
  • Because your command's input and output aren't being intercepted by Foreman, you can use Pry

Threeman also has an extensible architecture to allow it to support multiple terminal apps. Right now, it supports:

  • iTerm 2.9 and above
  • Mac OS X's built-in Terminal app

Installation

Make sure you have a supported terminal app installed.

Run:

$ gem install threeman

Usage

From your app's directory (with a Procfile in it), run:

$ threeman

Threeman will open a new terminal window with each of your Procfile commands running in a separate tab.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/patientslikeme/threeman. Contributors are expected to follow the code of conduct specified in CODE_OF_CONDUCT.md.

License

Threeman is © 2016 PatientsLikeMe, Inc. and is released under the MIT License. See the LICENSE file for more information.