Skip to content

Rename assets list-by-alias to list-aliases in airflowctl#68522

Open
justinpakzad wants to merge 1 commit into
apache:mainfrom
justinpakzad:fix/airflow-ctl-list-asset-aliases
Open

Rename assets list-by-alias to list-aliases in airflowctl#68522
justinpakzad wants to merge 1 commit into
apache:mainfrom
justinpakzad:fix/airflow-ctl-list-asset-aliases

Conversation

@justinpakzad

@justinpakzad justinpakzad commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

While working on another PR I noticed that the current command in airflowctl to list asset aliases was called list-by-alias. This is a bit misleading as it's not actually listing assets by aliases (there is an existing command get-by-alias for that) but listing all asset aliases. I have updated the command to be list-aliases which in my opinion is more aligned with what the command is actually doing. I updated the existing method, unit test, help_text, and value in the exclude commands list to reflect the new name. The behavior of the command itself was not altered, so there was no additional tests added.

Was generative AI tooling used to co-author this PR?
  • No (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants