potiuk commented on pull request #20701:
URL: https://github.com/apache/airflow/pull/20701#issuecomment-1008047715


   Hey @edithturn  - I looked at it and added a fixup for that. I did not know 
how to do it in click - so I had to figure out, but it seems that what we 
needed:
   
   * since we do not need sub-command, I moved the code to execute directly to 
`main`
   * instead of click.group() - we can directly use click.command() -> because 
we efffectively do not have various commands, there is just one command to 
execute, no needs for groups
   * I also added a `--dry-run` parameter - which is rather useful for testing 
- instead of running the command it will simply display those commands. That 
makes it easy to test if it works without actually running local cleanup
   


-- 
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]


Reply via email to