-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
[AIRFLOW-6838] Add subcommands to Breeze #7515
Conversation
This PR has been originated by @mik-laj - but I completed it with much better help. With this change 'breeze' introduces sub-commands instead of --switches everywhere and its interface is vastly improved. See for yourself in BREEZE.rst. @mik-laj -> Please take a look. Kudos for pushing Breeze in this direction! |
@mik-laj (others) I am wondering if we should not also split flags into categories similar to subcommands - but I think this should be a follow-up PR :) . This one is big enough. |
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.
LGTM
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.
Today it will definitely test it thoroughly.
Fantastic @mik-laj ! |
hooks/build
Outdated
|
||
if [[ ${VERBOSE} == "true" ]]; then | ||
if [[ ${VERBOSE_COMMANDS:="false"} == "true" ]]; then |
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.
if [[ ${VERBOSE_COMMANDS:="false"} == "true" ]]; then | |
if [[ ${VERBOSE_COMMANDS} == "true" ]]; then |
No default needed, we set it two lines up
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.
Approved, looks good, but please look at the few small comments I added.
This change introduces sub-commands in breeze tool. It is much needed as we have many commands now and it was difficult to separate commands from flags. Also --help output was very long and unreadable. With this change help it is much easier to discover what breeze can do for you as well as navigate with it. Co-authored-by: Jarek Potiuk <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #7515 +/- ##
==========================================
+ Coverage 86.8% 86.81% +<.01%
==========================================
Files 893 893
Lines 42228 42247 +19
==========================================
+ Hits 36656 36675 +19
Misses 5572 5572
Continue to review full report at Codecov.
|
This change introduces sub-commands in breeze tool. It is much needed as we have many commands now and it was difficult to separate commands from flags. Also --help output was very long and unreadable. With this change help it is much easier to discover what breeze can do for you as well as navigate with it. Co-authored-by: Jarek Potiuk <[email protected]> Co-authored-by: Kamil Breguła <[email protected]>
This change introduces sub-commands in breeze tool. It is much needed as we have many commands now and it was difficult to separate commands from flags. Also --help output was very long and unreadable. With this change help it is much easier to discover what breeze can do for you as well as navigate with it. Co-authored-by: Jarek Potiuk <[email protected]> Co-authored-by: Kamil Breguła <[email protected]>
This change introduces sub-commands in breeze tool. It is much needed as we have many commands now and it was difficult to separate commands from flags. Also --help output was very long and unreadable. With this change help it is much easier to discover what breeze can do for you as well as navigate with it. Co-authored-by: Jarek Potiuk <[email protected]> Co-authored-by: Kamil Breguła <[email protected]>
This change introduces sub-commands in breeze tool. It is much needed as we have many commands now and it was difficult to separate commands from flags. Also --help output was very long and unreadable. With this change help it is much easier to discover what breeze can do for you as well as navigate with it. Co-authored-by: Jarek Potiuk <[email protected]> Co-authored-by: Kamil Breguła <[email protected]>
Issue link: AIRFLOW-6838
Make sure to mark the boxes below before creating PR: [x]
[AIRFLOW-NNNN]
. AIRFLOW-NNNN = JIRA ID** For document-only changes commit message can start with
[AIRFLOW-XXXX]
.In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.