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 new command cargo why (as an alias for cargo tree --invert) #12909

Closed
KSXGitHub opened this issue Nov 2, 2023 · 1 comment
Closed

Add new command cargo why (as an alias for cargo tree --invert) #12909

KSXGitHub opened this issue Nov 2, 2023 · 1 comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` S-triage Status: This issue is waiting on initial triage.

Comments

@KSXGitHub
Copy link

Problem

Sometimes the user wants to find out why a particular package is installed in my dependency tree. cargo tree --invert is precisely what they need but it's too obscure to figure out. It's also hard to type.

Proposed Solution

New command called cargo why

Notes

No response

@KSXGitHub KSXGitHub added C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` S-triage Status: This issue is waiting on initial triage. labels Nov 2, 2023
@epage
Copy link
Contributor

epage commented Nov 2, 2023

Closing as a duplicate of #10006. if you want us to consider re-opening it, let us know that and why it would be valuable to have this alias vs teaching people of existing commands.

Note: someone is working on #948 and some things we might consider is rendering the relevant trees or telling people of the commands to find more information.

@epage epage closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 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` S-triage Status: This issue is waiting on initial triage.
Projects
None yet
Development

No branches or pull requests

2 participants