-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Make cargo recognize commands from uninstalled plugins #11226
Comments
Mind that the precondition might not be fulfilled when the sparse-registry becomes the default in the future, unless we address it with a solution like #10928. |
btw some recent improvements around "no such command" was done in #10924 |
Until we have a full list of crates, we could potentially check the registry specifically for
|
Would it be worthwhile to always add a suggestion I lean towards "no" but thought it worth bringing up. |
If Cargo found a crate with the exact name, but it were a malicious/low-quality/abandoned crate, should Cargo recommend it? |
Was going to respond but I finally found the issue is this is a duplicate of (I knew I had seen this before). Closing in favor of #4682, let's continue the discussion there. |
Problem
When executing
cargo foo
, without having executedcargo install cargo-foo
beforehand, the error message will be something along the lines ofGiven that we can have the full list crates available to us, we can detect that a user is trying to use a not-yet-installed subcommand.
Proposed Solution
No response
Notes
No response
The text was updated successfully, but these errors were encountered: