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 cargo publish --view-crates / --view-docs command #10614

Open
umgefahren opened this issue Apr 29, 2022 · 1 comment
Open

Add cargo publish --view-crates / --view-docs command #10614

umgefahren opened this issue Apr 29, 2022 · 1 comment
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.

Comments

@umgefahren
Copy link

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.rs

Notes

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.

@umgefahren umgefahren added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Apr 29, 2022
@epage
Copy link
Contributor

epage commented Apr 29, 2022

Some challenges

@weihanglo weihanglo added S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted. E-medium Experience: Medium labels Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants