Uh oh!
There was an error while loading. Please reload this page.
Make required fields both positional and optional in CLI - #65261
Make required fields both positional and optional in CLI#65261bugraoz93 wants to merge 1 commit into
Conversation
bugraoz93
commented
Apr 15, 2026
There is a small problem with headless mode, will check later |
I was just thinking about this. Supporting both positional and flag styles for the same param isn't something most CLI libraries or popular tools do. We're adding maintenance burden, constraining future changes as all CLI libraries might not suppor this feature, and expanding the testing surface forever. Since airflowctl is still pre-1.0, feels like this is the natural window for a clean break rather than committing to maintaining a non-standard approach indefinitely. Since the layer we are adding is light, either way works. Just wanted to share my thoughts. PS: Sorry for cross posting my message here, since I closed my PR as we have this one open. My PR: #64812 |
bugraoz93
commented
Apr 16, 2026
No need to sorry at all, we are discussing and that is how the best things come out :) |
bugraoz93
commented
Apr 27, 2026
bugraoz93
commented
May 9, 2026
https://lists.apache.org/thread/m1qvcvow3l17ytv40vhslh40wn3rntrm |
closes: #60142
Was generative AI tooling used to co-author this PR?
Claude Sonet 4.6
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.