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

Add uv tool list #4630

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Add uv tool list #4630

merged 1 commit into from
Jun 28, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Jun 28, 2024

Closes #4486

What it says on the tin.

We skip tools with malformed receipts now and warn instead of failing all tool operations.

@zanieb zanieb added cli Related to the command line interface preview Experimental behavior labels Jun 28, 2024
@zanieb zanieb force-pushed the zb/tool-list branch 3 times, most recently from de21926 to 5408594 Compare June 28, 2024 17:13

// TODO(zanieb): Track and display additional metadata, like entry points
for (name, _tool) in tools {
writeln!(printer.stdout(), "{name}")?;
Copy link
Member

Choose a reason for hiding this comment

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

Should we include the version, like pip list?

Copy link
Member Author

Choose a reason for hiding this comment

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

That seems nice!

I'll probably do in a follow-up to separate it from all this boilerplate.

@zanieb zanieb force-pushed the zb/tool-list branch 2 times, most recently from 01507aa to e679a91 Compare June 28, 2024 21:48
@zanieb zanieb enabled auto-merge (squash) June 28, 2024 21:52
@zanieb zanieb merged commit a444e59 into main Jun 28, 2024
47 checks passed
@zanieb zanieb deleted the zb/tool-list branch June 28, 2024 22:00
@zanieb zanieb mentioned this pull request Jun 29, 2024
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.

Add uv tool list
2 participants