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 run error messages references uvx when appropriate #5014

Merged
merged 5 commits into from
Jul 12, 2024

Conversation

blueraft
Copy link
Contributor

Summary

Resolves #5013.

Test Plan

./target/debug/uv tool run fastapi-cli
warning: `uv tool run` is experimental and may change without warning.
Resolved 9 packages in 28ms
The executable fastapi-cli was not found.
However, the following executables are available via uv tool run --from fastapi-cli <EXECUTABLE>:
- fastapi
./target/debug/uvx fastapi-cli
warning: `uvx` is experimental and may change without warning.
Resolved 9 packages in 23ms
The executable fastapi-cli was not found.
However, the following executables are available via uvx --from fastapi-cli <EXECUTABLE>:
- fastapi

crates/uv/src/commands/tool/run.rs Outdated Show resolved Hide resolved
crates/uv-cli/src/lib.rs Outdated Show resolved Hide resolved
@zanieb zanieb added cli Related to the command line interface preview Experimental behavior labels Jul 12, 2024
@charliermarsh
Copy link
Member

Thanks so much, that was so fast!

@zanieb zanieb enabled auto-merge (squash) July 12, 2024 17:09
@zanieb zanieb merged commit 26d8879 into astral-sh:main Jul 12, 2024
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tool run uv in error messages should reference uvx when appropriate
3 participants