Inquirerpy

Latest version: v0.3.4

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.2.3

Added

- Added option `wrap_lines` to all prompts to configure line wrapping
- Added option `instruction` for non-list type prompts. This is already supported in all list type prompts previously
- Added option `confirm_letter` and `reject_letter` to confirm prompts. Use the 2 value to change from the default "y/n"
- For updating the result value, please use the `transformer` parameter. By default, no matter what confirm_letter or
reject letter you set, it will always be Yes or No

python
from InquirerPy import inquirer

inquirer.confirm(
message="Proceed?",
default=True,
confirm_letter="s",
reject_letter="n",
transformer=lambda result: "SIm" if result else "Não",
).execute()


Fixed

- Line wrapping [11](https://github.com/kazhala/InquirerPy/issues/11)

Changed

- Answered question prefix spacing now depends on `amark` parameter instead of `qmark`
- If you previously disable the `qmark` by setting it to empty string, please also set `amark` to empty string

0.2.2

N/A

0.2.1

Added

- Added option to disable cycle behavior in list type prompts [9](https://github.com/kazhala/InquirerPy/issues/9)
- Added parameter `amark`. You can use this value to change the `qmark` after the question is answered
- Added some more style customisation option
- `answermark`: Used to change the color and style of `amark`
- `answered_question`: Used to change the color and style of `question` message once the question is answered

0.2.0

regions = inquirer.checkbox(
message="Select regions:",
choices=["us-east-1", "us-east-2"],
enabled_symbol="> ", add a space
disabled_symbol="< " add a space
).execute()

0.1.1

Fixed

- Height and visual glitch on smaller data sets for fuzzy prompt

0.1.0

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.