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 over 7 years ago

  • Change to list prompts default handling:
    • If number, default is the choice index
    • Any other defined values, find the value in the choice array. (previously it'd only support strings)
  • Bug: SIGINT was not properly exiting the process for some users
  • Cleanup: bump dependencies
Inquirer.js -

Published by SBoudrias over 7 years ago

  • Fix bug where password would show after a validation error.
Inquirer.js -

Published by SBoudrias over 7 years ago

  • password prompt can now rendered hidden input (Unix style)
  • filter function now also receive the current answers as argument
  • Smaller package size
Inquirer.js -

Published by SBoudrias over 7 years ago

  • Fix help message not always disappearing after interaction in list prompt
  • Fix command line not properly cleaned when sending a SIGINT (ctrl-c) signal on Ubuntu
Inquirer.js -

Published by SBoudrias over 7 years ago

Properly respect the pageSize option when deciding whether to paginate or not.

Inquirer.js -

Published by SBoudrias over 7 years ago

Fix extra whitespace being printed #506

Inquirer.js -

Published by SBoudrias over 7 years ago

  • Unsure we properly unmute the stdout on force close.
Inquirer.js -

Published by SBoudrias over 7 years ago

  • Properly reset the prompt state when a SIGINT signal is emitted. (this fix bug where texts under the input wouldn't be cleared off the terminal after emitting ctrl-c)
  • Fix bug with scrollable list centering
Inquirer.js -

Published by SBoudrias over 7 years ago

  • Fix import bug
Inquirer.js -

Published by SBoudrias over 7 years ago

  • Drop support for Node < 4
  • Allow failing async validation by rejecting the returned Promise
  • Fix bug with bottom bar
Inquirer.js -

Published by SBoudrias almost 8 years ago

  • Answer name with . are now expand in the answer object. e.g. name.sub would generate an answer object formatted as {name: {sub: 'answer'}}.
  • expand prompt default value if not specified is now help.
  • Drop support for node 0.10 and 0.12
Inquirer.js -

Published by SBoudrias almost 8 years ago

Unpublished due to backward compatibility issue

Inquirer.js -

Published by SBoudrias almost 8 years ago

  • Fix bug with editor prompt #442
Inquirer.js -

Published by SBoudrias about 8 years ago

  • Checkbox prompt now support a and i keys to trigger select all and invert selection.
  • editor prompt is now non blocking.
  • errors thrown in filter functions are now surfaced to the user.
Inquirer.js -

Published by SBoudrias about 8 years ago

  • Fix bug where options passed to Inquirer were mutated.
Inquirer.js -

Published by SBoudrias over 8 years ago

  • Fix list prompts being re-render each time enter key was pressed. (#395)
Inquirer.js -

Published by SBoudrias over 8 years ago

  • Correctly ignore validation on list prompts. (previously the function would be run and throw an exception)

Instead of validation, you can:

  1. Pass a function as choices so you can filter out invalid choices
  2. If you want the end user to see all choices, then make the invalid choice Separators. That way, they'll be seen, but won't be selectable.
Inquirer.js -

Published by SBoudrias over 8 years ago

  • Allow falsy values as option value in expand prompt.
Inquirer.js -

Published by SBoudrias over 8 years ago

  • Add a new editor prompt to launch an editor allowing to easily enter multiline content - or edit file content.
Inquirer.js -

Published by SBoudrias over 8 years ago

  • Fix expand prompt to correctly use the value key as the prompt answer.
  • Fix documentation saying the expand prompt support the filter key.