Add cargo publish --view-crates / --view-docs command #10614
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-publish
E-medium
Experience: Medium
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
The very excellent GitHub CLI allows to open a browser directly from the command line, showing the current repository. This is just a very nice quality of life improvement that would be great for cargo too.
After publishing it would be great to be able to view the new docs.rs and crates.io page to admire your work or check things faster.
Proposed Solution
I would suggest to add two command line options to the cargo publish command:
cargo publish --view-crates
for viewing the associated page on crates.io.cargo publish --view-docs
for viewing the associated page on docs.rsNotes
The addition to cargo publish might not be ideal. It could suggest other meaning.
It is also an implementation effort that would take time and only be an improvement for a small number of people.
The text was updated successfully, but these errors were encountered: