Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uvr alias for uv run #11129

Closed
2-5 opened this issue Jan 31, 2025 · 1 comment
Closed

uvr alias for uv run #11129

2-5 opened this issue Jan 31, 2025 · 1 comment
Labels
enhancement New feature or improvement to existing functionality

Comments

@2-5
Copy link

2-5 commented Jan 31, 2025

Summary

I use a uvr alias for uv run and find it very convenient when you run a lot of scripts, it's shorter, but more importantly 1 word instead of 2.

I think such an alias should be included with uv.

Alternatively, make uvx behave like uv run when ran inside a project. Not sure how much confusion or other problems this would create.

Example

No response

@2-5 2-5 added the enhancement New feature or improvement to existing functionality label Jan 31, 2025
@zanieb
Copy link
Member

zanieb commented Jan 31, 2025

See #7186 for the latter point.

We won't be including an additional alias for uv run though. I think multiple short aliases would be confusing.

I'd be more willing to consider something like uv r in the style of cargo short commands.

@zanieb zanieb closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants