Skip to content

Add rx shortcut for package tool runs - #69

Merged
t-kalinowski merged 2 commits into
mainfrom
add-rx-tool-run-alias
Jun 6, 2026
Merged

t-kalinowski merged 2 commits into
mainfrom
add-rx-tool-run-alias

Conversation

@t-kalinowski

Copy link
Copy Markdown
Member

Summary

Adds rx, a sibling executable for ir that behaves as shorthand for ir tool run. This gives users a shorter command for one-off package executable runs while keeping the full ir tool run interface intact.

User-facing changes

  • Adds rx [OPTIONS] [ARGS]... as a public executable installed alongside ir.
  • Supports the existing tool-run API through rx, including --from, --with, -w, --r-version, and forwarded tool arguments.
  • Updates docs and README examples to show rx.
  • Updates release archives and installers to include rx.

Internal changes

  • Adds a small rx wrapper binary that locates sibling ir and dispatches through a hidden ir tool rx path.
  • Shares the existing tool-run parser and execution path between ir tool run and rx.
  • Adds CLI snapshots and regression coverage for rx help, version, usage errors, and real package entrypoint execution.

Add a sibling rx executable that dispatches through ir tool run with its own
help and version identity, matching uvx's wrapper model. Ship rx in release
archives and installers, document the shortcut, and cover the public CLI path
with tests.
@t-kalinowski
t-kalinowski marked this pull request as ready for review June 6, 2026 20:12
@t-kalinowski
t-kalinowski merged commit ee612d4 into main Jun 6, 2026
4 checks passed
@t-kalinowski
t-kalinowski deleted the add-rx-tool-run-alias branch July 7, 2026 12:48
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.

1 participant