Registry / cli / ruby-expect

ruby-expect

JSON →
library1.7.5rbrubygemsunverified

Ruby implementation for send/expect interaction, similar to Unix expect.

gem install ruby_expect
INSTALL
IMPORT
SIG · RUBY-EXPECT
R
ruby-expect
clirubyv1.7.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RubyExpect
require 'ruby_expect'

Automate interactive command-line sessions.

require 'ruby_expect' spawn = RubyExpect::Expect.spawn('ssh user@host', :debug => true) spawn.expect(/password:/) spawn.send('mypassword\n')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
ruby-expect — gem install ruby-expect · libregistry