Registry / cli / interact

interact

JSON →
library0.5.2rbrubygemsunverified

A simple API for command-line interaction with a novel 'rewinding' feature for re-entering botched answers, supporting multiple-choice, password prompting, and input event overrides.

gem install interact
INSTALL
IMPORT
SIG · INTERACT
I
interact
clirubyv0.5.2
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.

Interact
require 'interact'

Prompt user for input with a default value

require 'interact' answer = ask("What is your name?", :default => "World") puts "Hello, #{answer}!"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources
interact — gem install interact · libregistry