Skip to content

chore(cli): improve tag description#4883

Merged
kimorris27 merged 1 commit into
masterfrom
adprice/aro-27517-tags-help
Jun 11, 2026
Merged

chore(cli): improve tag description#4883
kimorris27 merged 1 commit into
masterfrom
adprice/aro-27517-tags-help

Conversation

@komidore64

Copy link
Copy Markdown
Collaborator

There was some confusion whether a tag attaches to a single resource or attaches to the resourcegroup and therefore every resource underneath it.

Which issue this PR addresses:

Fixes https://redhat.atlassian.net/browse/ARO-27517

What this PR does / why we need it:

Additional help text

Test plan for issue:

View the help text with az aro create --help

Is there any documentation that needs to be updated for this PR?

No.

How do you know this will function as expected in production?

It's just help text.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Azure CLI ARO extension’s aro create argument metadata to clarify how --tags behave, aiming to reduce confusion about whether tags apply to the resource group or just the created cluster resource.

Changes:

  • Adds custom help text for the --tags argument in aro create.
  • Attempts to append the default tags_type help text to the new clarification.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread python/az/aro/azext_aro/_params.py Outdated
Comment on lines +47 to +49
c.argument('tags',
tags_type)
tags_type,
help='Tag an individual resource. ' + tags_type.settings.get('help', ''))
Comment thread python/az/aro/azext_aro/_params.py Outdated
There was some confusion whether a tag attaches to a single resource or
attaches to the resourcegroup and therefore every resource underneath
it.

Co-authored-by: Caden Marchese <cmarches@redhat.com>

Ref: https://redhat.atlassian.net/browse/ARO-27517
@komidore64 komidore64 force-pushed the adprice/aro-27517-tags-help branch from 02ef1e7 to 7f49556 Compare June 11, 2026 12:51
@kimorris27

Copy link
Copy Markdown
Contributor

Merging - no need to wait on CI for a CLI change, especially a help text fix.

@kimorris27 kimorris27 merged commit 43d4863 into master Jun 11, 2026
28 of 31 checks passed
@kimorris27 kimorris27 deleted the adprice/aro-27517-tags-help branch June 11, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants