New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve style of prompts using rich
#1901
Conversation
… variable in the cookiecutter.json. Human readable questions are shown instead of variable names to the user when possible. cf. cookiecutter#1835
…overage Add test for JsonPrompt process_response, reach 100% coverage
.github/ISSUE_TEMPLATE/bug.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, that was not supposed to be pushed in this branch! Well spotted, I removed it @ericof
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the bug.yml
Hi, this PR adds
rich
to thecookiecutter
dependencies and improve the style of the prompts without changing the prompt workflow[1/10]
, at the start of each prompt so the user knows how many steps are lefty/t/true/yes/on
orn/f/false/no/off
for boolean questionsYou can find screenshots of the changes proposed in the issue #1885
I used
rich
as it seems the most mature, maintained, and popular package to style CLI apps in python