Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move breeze commands to sub-commands (apache#25449)
* mOve breeze commands to sub-commands Originally Python version of Breeze had only a handful of commands, while moving from Bash, but we are close to completion of the transition and the number of commands grew quite a lot bringit it on par to the commands we used to have in the Bash version of Breeze. However, only a small subset of the commands is actually useful to average developer, most of the more advanced commands are used in specific circumstances (release management, configuring Breeze once or rebuilding the image or even runing non-interactive test session are rarely used. Therefore it makes much more sense to surface the common commands as the top-level commands and move the less frequent commands to subcommands to move them out from the main help page. At the same time, the BREEZE.rst documentation got a little messy during the move and this is the right time to structure it similarly to breeze commands: * prerequisites and installation * first-time configuration * regular task description * more advanced tasks grupped in the same subcommands as in Breeze * diving deeper into details of Breeze implentation for those who wish to understand how Breeze works under-the-hood Aliases for the common commands that users could already get used to were created, and deprecation warnings are printed in casee those commands are used (guiding the user to the new commands to use). Less frequently used options for shell command are still available in `shell` but they have been removed from the default command to remove clutter. You can still used them by explicitly specifying the `shell` commnd. Configuration for rich click has been separated out from the command group implementation to separate packages. This allows for less problems with circular imports - none of the commands are needed when rich-click configuration is being prepared, which happens before main `click` command is parsed, which allows to run imports of the "code" as late as possible. * Update manage-dags-files.rst
- Loading branch information