zhongjiajie commented on a change in pull request #8261: Help for breeze
commands contain relevant flags.
URL: https://github.com/apache/airflow/pull/8261#discussion_r407220536
##########
File path: breeze
##########
@@ -1383,27 +1442,77 @@ ${FORMATTED_DEFAULT_PROD_EXTRAS}
-L, --use-local-cache
Uses local cache to build images. No pulled images will be used, but
results of local
builds in the Docker cache are used instead.
+"
+}
-$(print_star_line)
- Flags for pushing the docker images
-$(print_star_line)
-
+function flag_push_docker_images() {
+ echo "
-u, --push-images
After building - uploads the images to DockerHub
It is useful in case you use your own DockerHub user to store images
and you want
to build them locally. Note that you need to use 'docker login' before
you upload images.
-$(print_star_line)
- User and repo used to login to github registry
-$(print_star_line)
-
-D, --dockerhub-user
DockerHub user used to pull, push and build images. Default:
${_BREEZE_DEFAULT_DOCKERHUB_USER:=}.
-H, --dockerhub-repo
DockerHub repository used to pull, push, build images. Default:
${_BREEZE_DEFAULT_DOCKERHUB_REPO:=}.
+"
+}
+
+function flags() {
+ echo "
+$(print_line)
+
+Summary of all flags supported by Breeze:
+
+$(print_star_line)
+ Choose Airflow variant
+$(flag_airflow_variants)
+
+$(print_star_line)
+ Choose backend to run for airflow
Review comment:
Should we unify the key word? like change all `airflow -> Airflow` and `kind
-> KinD`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services