Gem Version Dependencies Code Climate

Join the chat

Capistrano::Interactive

Interactive command execution for capistrano.

TODO: Delete this and the text above, and describe your gem

Installation

Add this line to your application's Gemfile:

gem 'capistrano-interactive'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-interactive

Usage

Require in Capfile to use the default task:

require 'capistrano/interactive'

Now you can start interactive programs through capistrano.

on primary(:app) do
  interact(:htop)
end
on primary(:app) do
  within current_path do
    interact(:rails, :console, rails_env)
  end
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ydkn/capistrano-interactive.

License

The gem is available as open source under the terms of the MIT License.