Skip to content

v0.17.0

Compare
Choose a tag to compare
@c4spar c4spar released this 11 Jan 18:35

Features

  • ansi: add a chainable (chalk like) ansi colors module (#128) (f2d8c93)
  • command: make generated help customizable (#134) (0cfceb7)
  • command,flags: add did-you-mean support for improved error messages (#131) (afd8697)
  • prompt: add cbreak option to support custom signal handling (#106) (a637b54)
  • prompt: add auto suggestion support to Input, Number, Confirm and List prompt's (7dd6660, a67dc53)
  • prompt: add search option to Select and Checkbox prompt (7d09739, a67dc53)
  • prompt: add info option to all prompts with a select or suggestions list (c7bfce6)
  • prompt: add pageup and pagedown keys to all prompts with a select or suggestions list (44575e3)

Code Refactoring

  • flags, command: improve error handling and unify error messages (#133) (8c7789b)
  • command: refactor hints formatting in help output (#130) (ed588e2)
  • prompt: refactor indent option (ad7923f)
  • prompt: refactor internal keypress event handling (37fcbaf)

Documentation Updates

BREAKING CHANGES

  • ansi: re-write ansi_escape module and rename to ansi (#124) (41a39d0)
  • command: rename help method to showHelp (0cfceb7)