-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Add colors in help outputs of Airfow CLI commands #28789
Comments
@potiuk Could I try my hands on a few CLI commands to use rich-argparse? |
Sure. But I guess it will be "all-or-nothing" |
@potiuk Do you mean that it should be done either for all the CLI commands or for nothing? Am i right? |
I believe so. This is what rich-argparse promises at least. Change formatter and all your commands will get colour. |
@potiuk I would like to work on this. Any advice on where to start? |
Just here and see if you can apply it to all argparse https://github.com/hamdanal/rich-argparse |
Body
Folowing up after #22613 (comment) - seems that there is a new rich-argparse project that might give us the option without rewriting Airflow's argument parsing to click (click has a number of possible performance issues that might impact airlfow's speed of CLI command parsing)
Seems this might be rather easy thing to do (just adding the formatter class for argparse).
Would be nice if someone implements it and tests (also for performance of CLI).
Committer
The text was updated successfully, but these errors were encountered: