Open simonsan opened 10 months ago
Describe the bug cargo-unsued-features is not a cargo subcommand, although it's called like that. This is confusing.
cargo-unsued-features
I rewrote rhack to become cargo-rhack, and the trick is to pass in cargo via clap as the first arg and hide it, as can be seen here: https://github.com/nakabonne/rhack/pull/11/files#diff-ce6e52385823f89d6bf1ea627c887cfd2a80b6fb8fc97932e5e3a9372d4ad7bbR27
rhack
cargo-rhack
cargo
Thanks! #13 also covers this issue but I have so far not found a solution. I can have a look at your diff@!
Describe the bug
cargo-unsued-features
is not a cargo subcommand, although it's called like that. This is confusing.I rewrote
rhack
to becomecargo-rhack
, and the trick is to pass incargo
via clap as the first arg and hide it, as can be seen here: https://github.com/nakabonne/rhack/pull/11/files#diff-ce6e52385823f89d6bf1ea627c887cfd2a80b6fb8fc97932e5e3a9372d4ad7bbR27