potiuk commented on PR #63901:
URL: https://github.com/apache/airflow/pull/63901#issuecomment-4206977429

   This is working nice it looks - It woudl be great to:
   
   * make it stick out more - like make it empty line separated and add some 
"---" rulers on top and bottom
   *adding it to all commands would be great to see as well
   * I think it's possible to add it to **all** commands being printed. 
Something like that:
   
   ```
     command_class — add behavior to all commands in a group
   
     class LoggedCommand(click.Command):
         def invoke(self, ctx):
             click.echo(f"Executing: {self.name}")
             return super().invoke(ctx)
   
     @click.group()
     def cli():
         pass
   
     cli.command_class = LoggedCommand
   ```


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