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

uv-tool: Implement uv tool run #3613

Closed
zanieb opened this issue May 15, 2024 · 0 comments · Fixed by #3657
Closed

uv-tool: Implement uv tool run #3613

zanieb opened this issue May 15, 2024 · 0 comments · Fixed by #3657
Assignees
Labels
preview Experimental behavior

Comments

@zanieb
Copy link
Member

zanieb commented May 15, 2024

See #3560 for details

@zanieb zanieb self-assigned this May 15, 2024
@zanieb zanieb added the preview Experimental behavior label May 15, 2024
zanieb added a commit that referenced this issue May 21, 2024
This is mostly a shorter version of `uv run` that infers a requirement
name from the command. The main goal here is to do the smallest amount
of work necessary to get #3560 started.

Closes #3613 

e.g.
```shell
$ uv tool run -- ruff check
warning: `uv tool run` is experimental and may change without warning.
Resolved 1 package in 34ms
Installed 1 package in 2ms
 + ruff==0.4.4
error: Failed to parse example.py:1:5: Expected an expression
example.py:1:5: E999 SyntaxError: Expected an expression
Found 1 error.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Experimental behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant