Skip to content

Add --version CLI flag to hrw4u - #13355

Merged
cmcfarlen merged 2 commits into
apache:masterfrom
Clendenin:feature/hrw4u-version-flag
Sep 14, 2026
Merged

cmcfarlen merged 2 commits into
apache:masterfrom
Clendenin:feature/hrw4u-version-flag

Conversation

@Clendenin

Copy link
Copy Markdown
Contributor

Adds --version to HRW4U tool

Clendenin added 2 commits July 1, 2026 19:11
Adds a standard --version flag to the hrw4u CLI script. Reports the
installed apple-hrw4u package version via importlib.metadata, falling
back to "unknown" when the package is not installed (e.g. running from
source).
@JosiahWI JosiahWI added the hrw4u label Jul 2, 2026
@JosiahWI JosiahWI added this to the 11.0.0 milestone Jul 2, 2026
@JosiahWI JosiahWI changed the title Feature/hrw4u version flag Add --version CLI flag to hrw4u Jul 2, 2026
@bryancall
bryancall requested a review from cmcfarlen July 6, 2026 22:17
Comment thread tools/hrw4u/scripts/hrw4u

def _package_version() -> str:
try:
return _pkg_version("apple-hrw4u")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Apple 🤔

@cmcfarlen cmcfarlen moved this to For v10.2.1 in ATS v10.2.x Aug 5, 2026
@cmcfarlen
cmcfarlen merged commit f7ad1a8 into apache:master Sep 14, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: For v10.2.1

Development

Successfully merging this pull request may close these issues.

4 participants