Bowrna commented on pull request #21145:
URL: https://github.com/apache/airflow/pull/21145#issuecomment-1032492887
@potiuk How do i find out the flags supported for the breeze enter the shell
command? I could find this in help, but it says most flags are used. Do we any
list of supported flags or can i add all the flags that are used in this
command?
```
Detailed usage for command: shell
breeze shell [FLAGS] [-- <EXTRA_ARGS>]
This is default subcommand if no subcommand is used.
Enters interactive shell where you can run all tests, start Airflow
webserver, scheduler,
workers, interact with the database, run DAGs etc. It is the default
command if no command
is selected. The shell is executed in the container and in case
integrations are chosen,
the integrations will be started as separated docker containers -
under the docker-compose
supervision. Local sources are by default mounted to within the
container so you can edit
them locally and run tests immediately in the container. Several
folders ('files', 'dist')
are also mounted so that you can exchange files between the host and
container.
The 'files/airflow-breeze-config/variables.env' file can contain
additional variables
and setup. This file is automatically sourced when you enter the
container. Database
and webserver ports are forwarded to appropriate database/webserver
so that you can
connect to it from your host environment.
You can also pass <EXTRA_ARGS> after -- they will be passed as bash
parameters, this is
especially useful to pass bash options, for example -c to execute
command:
'breeze shell -- -c "ls -la"'
'breeze -- -c "ls -la"'
For GitHub repository, the --github-repository flag can be used to
specify the repository
to pull and push images. You can also use --github-image-id
<COMMIT_SHA> in case
you want to pull the image with specific COMMIT_SHA tag.
'breeze shell \
--github-image-id 9a621eaa394c0a0a336f8e1b31b35eff4e4ee86e' -
pull/use image with SHA
'breeze \
--github-image-id 9a621eaa394c0a0a336f8e1b31b35eff4e4ee86e' -
pull/use image with SHA
Most flags are applicable to the shell command as it will run build when
needed.
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]