1fanwang commented on issue #67655: URL: https://github.com/apache/airflow/issues/67655#issuecomment-4783446842
> airflowctl: make required CLI params position… (https://github.com/apache/airflow/pull/67387)](https://github.com/apache/airflow/pull/67387): @1fanwang Apologies for missing this earlier, Verified #67387 against `apache-airflow-ctl 0.1.5rc1` — fresh Python 3.12 venv, installed from PyPI. Required params are now positional, and the scope looks right. Generated `--help`, compared against the previous release `0.1.4`: ``` | Command | 0.1.4 | 0.1.5rc1 | |---|---|---| | `dags get-details` | `--dag-id DAG_ID` | `dag_id` | | `variables get` | `--variable-key VARIABLE_KEY` | `variable_key` | | `config get` | `--section` / `--option` | `section option` | ``` Optional params keep the `--flag` form, and the datamodel-body commands (`pools create`, `connections create`, `backfill create`) stay fully on `--flag` — so only the operation-method required primitives flipped, no over-application. ``` uv pip install apache-airflow-ctl==0.1.5rc1 airflowctl dags get-details --help # dag_id is now a positional arg ``` -- 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]
