Leondon9 opened a new pull request, #62665: URL: https://github.com/apache/airflow/pull/62665
`airflowctl pools export` accepts `--output table|yaml|plain` but only handles `json` properly. For all other formats, it falls through to `rich.print(pools_list)` which outputs raw Python list repr instead of formatted output. This replaces the raw `rich.print()` call with `AirflowConsole().print_as()`, which already supports all 4 output formats and is used by other airflow-ctl commands. closes: #62651 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (claude-opus-4-6) Generated-by: Claude Code (claude-opus-4-6) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
