apache/airflow

Make positional parameters as a destionation paramater for auto-generated commands

Open

#60.142 geöffnet am 5. Jan. 2026

Auf GitHub ansehen
 (13 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Python (16.781 Forks)batch import
area:CLIarea:airflow-ctlgood first issuekind:feature

Repository-Metriken

Stars
 (44.809 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 18h) (834 gemergte PRs in 30 T)

Beschreibung

Description

What We need to make adjustments in this file. https://github.com/apache/airflow/blob/a4f3417bb0ae22a447b974e5e543af45e55e3c7f/airflow-ctl/src/airflowctl/ctl/cli_config.py#L499-L584

airflowctl will understand whether the parameter is nullable. If it is not nullable, we should add as a destination parameter, and if it is nullable, it will be positional.

Example: from airflow connections create --connection-id="test" --conn-type="test" ... to airflow connections create test test ...

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Contributor Guide