-
Notifications
You must be signed in to change notification settings - Fork 21
no more inquirer or clicker #980
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
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
⚡️ Codeflash found optimizations for this PR📄 55% (0.55x) speedup for
|
Code Review: PR #980 - Replace inquirer with inquirer-textualThanks for this refactoring! The migration to 🔴 Critical Issues - Must Fix1. Missing Return Type Annotations (
|
|
@KRRT7 reasoning for removing |
|
@aseembits93 both of them together take up 50mb in dependencies, with inquirer taking up most of the bulk, and also I want to open the door towards using Textual bit by bit. |
PR Type
Enhancement, Other
Description
Replace Inquirer with Textual prompts
Add themed prompt wrapper module
Update CLI flows to new API
Adjust dependencies and mypy config
Diagram Walkthrough
File Walkthrough
cli_common.py
Remove legacy inquirer helpers from CLI commoncodeflash/cli_cmds/cli_common.py
cmd_init.py
Port init workflow to inquirer-textual promptscodeflash/cli_cmds/cmd_init.py
themed_prompts.py
Add themed prompt wrapper around inquirer-textualcodeflash/cli_cmds/themed_prompts.py
pyproject.toml
Update dependencies and mypy config for new promptspyproject.toml