You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR implements my proposal in #10662 to enable cargo --list to show descriptions of third-party subcommands, not only the subcommands which are built into Cargo.
How should we test and review this PR?
I have included an ELF note containing a description in the most recent version of the cargo-expand crate. You can confirm that cargo --list is able to print a description for that subcommand (on Linux only, to begin with).
I'm sorry for not responding sooner. I'm going to close since nobody on the team has the capacity to help with this at this time. I've followed up on #10662 with some thoughts we had on the design. I think there might be some more discussion needed on the design, but I don't think any of us can follow up with it right now. Hopefully at some time in the future we can engage with this idea more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.
5 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR try to resolve?
This PR implements my proposal in #10662 to enable
cargo --listto show descriptions of third-party subcommands, not only the subcommands which are built into Cargo.How should we test and review this PR?
I have included an ELF note containing a description in the most recent version of the
cargo-expandcrate. You can confirm thatcargo --listis able to print a description for that subcommand (on Linux only, to begin with).