Gem Version Dependencies Code Climate

Join the chat

SSHKIT::Interact

Interactive command execution for SSHKit.

Installation

Add this line to your application's Gemfile:

gem 'sshkit-interact'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sshkit-interact

Usage

Switch SSHKit backend:

require 'sshkit/interact'

SSHKit.backend = SSHKit::Interact::Backend

And use interact instead of execute:

within '/foo/bar' do
  interact(:bash)
end

Contributing

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

License

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