inquirer.rb icon indicating copy to clipboard operation
inquirer.rb copied to clipboard

Interactive user prompts on CLI for ruby.

Results 7 inquirer.rb issues
Sort by recently updated
recently updated
newest added

Inspired by: https://github.com/SBoudrias/Inquirer.js/blame/master/README.md#L137

C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer/utils/iohelper.rb:109:in ``': No such file or directory - tput civis (Errno::ENOENT) from C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer/utils/iohelper.rb:109:in `without_cursor' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer/prompts/list.rb:95:in `run' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer/prompts/list.rb:120:in `ask' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/inquirer-0.2.1/lib/inquirer.rb:12:in `list'

Added support for the following shortcuts: ctrl + w delete word before cursor alt + d delete word after cursor alt + b jump to beginning of word alt +...

Can this gem be bumped to 0.2.2 version and be submitted to rubygems? I would like to use this for ruby 1.9.3. Thanks.

1. Run all tests through top-level Ask methods in addition to explicitly against the prompt class, to ensure we don't break anything with changes to lib/inquirer.rb. 2. Nest all constants...

To me at least, showing the cursor with a Confirm prompt just makes it look messy... We're not printing out the character that's provided anyway, which seems to be implied...

It would be nice to wrap gem classes into namespace module cause class names are pretty generic.