Inquirer.js

A collection of common interactive command line user interfaces.

MIT License

Downloads
263.1M
Stars
19.4K
Committers
229

Bot releases are hidden (Show)

Inquirer.js -

Published by SBoudrias about 10 years ago

New look

Thanks to @sindresorhus, we have a set of new glyph and a refreshed style.

New feature

  • inquirer.registerPrompt() allow to register custom prompts (plugins!) or overwriting defaults prompts (mocking!)
  • inquirer.restoreDefaultPrompts() to restore the defaults prompts

Bugs

  • checkbox prompt failed when used with an asynchronous validate method.
Inquirer.js -

Published by SBoudrias about 10 years ago

Mainly an internal API update. We now use RxJS internally and provide a few public API surfacing this internal switch.

Reactive JS

See full doc for details

  • You can now pass an Observable in lieu of a question array. This allow you to programmatically (and progressively) fill up Inquirer question queue.
  • Using inquirer.prompts(prompts).process.subscribe() you can be notified each time a question is answered.

Features (not Rx specific)

  • filter functions can now be async.

Bug Fix

  • filter function on an input prompt is not re-runned on the previously filtered value.
Inquirer.js -

Published by SBoudrias over 10 years ago

  • Update the color handling to use chalk. This will allow Inquirer to respect the --color and --no-color command line flags.
Inquirer.js - v0.5.0: Leland

Published by SBoudrias over 10 years ago

Features

  • Input prompt now show filtered value once submitted (#97)
  • Checkbox prompt can now display disabled choices (#92)

Bug fixes

  • Allow falsy default values (#101)
  • Make sure when force closing Inquirer the cursor is restored (#107)
Inquirer.js -

Published by SBoudrias over 10 years ago

  • Allow choice values to be negative. (#98)
  • (Internal) Extract Readline fixes into a standalone module
Inquirer.js - 0.4.0: Thatcher

Published by SBoudrias almost 11 years ago

  • list prompt now accept a String representing the value of the selected choice.
  • checkbox prompt now accept an Array as default value reprensenting the checked choices values.
  • Internal refactoring to build everything out of UI/Layout Object
  • New BottomBar UI allowing to log content into a stream while keeping a bottom bar updated with status information.
  • Refactor how Separator are handled because of Node.js "no smart" module caching. Now Separators are objects with type=separator property. (The inquirer.Separator constructor is still the recommend use, just prefer not checking instanceof for detection)
Inquirer.js -

Published by SBoudrias almost 11 years ago

  • Drop use of dark grey color as a lot of Solarize's users were unable to clearly see it.
Inquirer.js -

Published by SBoudrias almost 11 years ago

  • Add vi style navigation. Going up using j and down using k
Inquirer.js -

Published by SBoudrias about 11 years ago

  • Fix bug with 0.8 and 0.10 Node.js Readline where the cursor position wasn't set correctly when the prompt contained ANSI control chars. That created a visual glitch when user was using arrows, end and home keys to move through the input (the modification occured in place, but the visual cursor stayed at the end of the line).
Inquirer.js -

Published by SBoudrias about 11 years ago

  • Add progressive scrolling to the paginated lists prompts. Now the pointer start at the top (previous it stard at the middle with choices from the end of the list to the top).
Inquirer.js -

Published by SBoudrias about 11 years ago

Fix memory leak on deeply nested prompt (related to the mute-stream module). (#63 fix #62)

Inquirer.js -

Published by SBoudrias about 11 years ago

  • Fix bug with nested prompts creating duplicates events
Inquirer.js - 0.3.0: Bernstein

Published by SBoudrias about 11 years ago

  • Add support for Separator inside a choice list which is basically an un-selectable free edit line. (#53)
  • Every choice list longer than 10 choices (separator included) will be "paginated" in an infinite scrolling fashion. (#40)
  • 1-9 keys are now acting as shortcuts in the list and checkbox prompts. That's a pro feature, no interface notifications is done. (#38)

Full changes available on #55.

Inquirer.js -

Published by SBoudrias about 11 years ago

  • Fix bug with the password prompt (#56)
Inquirer.js -

Published by SBoudrias about 11 years ago

  • default parameter can now be a function receiving the previous answers as parameter. (#51)
Inquirer.js -

Published by SBoudrias about 11 years ago

Fix bug with nested calls on Windows 8 (#52)

Inquirer.js -

Published by SBoudrias over 11 years ago

  • Fix a bug when force closing the inquirer session (#47).
Inquirer.js -

Published by SBoudrias over 11 years ago

Same as 0.2.1 fixes for the 0.1.* branch

Inquirer.js - 0.1.0: Thompson

Published by SBoudrias over 11 years ago

Initial release YAY!!! Enjoy :)

Inquirer.js -

Published by SBoudrias over 11 years ago

Fix bug with inception issue (when two modules used Inquirer on the same process). Relevant issue: https://github.com/yeoman/yo/issues/51