InquirerPy Versions Save

:snake: Python port of Inquirer.js (A collection of common interactive command-line user interfaces)

0.3.3

2 years ago

0.3.3 (04/02/2021)

  • Fixed windows filepath completion #32

0.3.2

2 years ago

0.3.2 (28/01/2021)

  • Added exact match option for fuzzy prompt #34

0.3.1

2 years ago

0.3.1 (13/12/2021)

Fixed

  • Fixed InvalidArgument raised for callable default

Added

0.3.0

2 years ago

0.3.0 (12/10/2021)

New Documentation: inquirerpy.readthedocs.io

Added

  • Added optional spinner to display while loading choices for list prompts.
    • This will be finalised and re-implement in the next release as a separate prompt.
  • Added parameter border for list prompts to display a border around the choices.
  • Added parameter long_instruction to display longer instructions such as keybinding instructions at the bottom #7.
  • Added parameter expand_help for expand prompt to customise the help message and expansion key.
    • help_msg parameter is deprecated and should use expand_help.
  • Added alternate way of creating choices. Introduced a new class Choice as an alternate option for dictionary choice.
    • Added ExpandChoice for expand prompt as well,
  • Added raise_keyboard_interrupt option to all prompt initialisation options.
    • The raise_keyboard_interrupt in execute function will be deprecated in future releases.
  • Added parameters mandatory and mandatory_message to indicate if a prompt can be skipped.
  • Added ability to skip prompt #10

Fixed

  • Fixed fuzzy prompt cannot type space #20.
  • Fixed multiselect malfunction #25
  • Fixed fuzzy prompt toggle_all #14

Changed

  • Changed fuzzy prompt border default to False.
    • It was True by default, changing this to keep it consistent with other prompts.
  • Changed style fuzzy_info and instruction default color to #abb2bf.
  • Automatic spacing added for checkbox prompt, if you have customised the prompt using enabled_symbol and disabled_symbol, you may need to remove the extra space you have previously added. The change here is to align with other prompts current behavior.
  • Checkbox prompt default value for enabled_symbol and disabled_symbol is changed from hex symbol to circle #22.
  • Behavior of raise_keyboard_interrupt is changed. Checkout the documentation for more info.