Closed zanieb closed 3 months ago
The cargo command which includes both the version and entrypoints could be used as an inspiration too.
❯ cargo install --list
sqlx-cli v0.7.3:
cargo-sqlx
sqlx
Nice, I like the look of that
I think the version should be showed by default because it doesn't add that much of information, the entrypoints maybe we should add a flag like --entrypoints
because for cases where we have a lot of tools it might be too much
Personally I'd probably do:
sqlx-cli==0.7.3:
cargo-sqlx
sqlx
Only because sqlx-cli==0.7.3
matches pip freeze
. But I don't feel strongly.
I don't love the pinned requirement syntax for something that will always be a specific version and isn't meant for consumption by another tool.
I have created a pr based on @blueraft suggestion, lmk if it is the final design we want
In addition to the name, it'd be nice to show the installed version. Should this be behind a flag? Are there other commands like
uv pip list
orpipx list
we should take inspiration from?A simple example:
Related:
4654