-
Notifications
You must be signed in to change notification settings - Fork 8
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
Perhaps consider renaming it to cargo-hack? #7
Comments
@asdf8dfafjk Hey, good point. I was looking into making this tool a sub-command of cargo, but I'm not familiar with it so I've been putting it off for a long time. |
So yeah I just tried it and looks like renaming it cargo-hack alone won't be enough. So looks like our goal is same but the renaming step alone won't achieve it and you'll need to also modify the positional argument handling from the command line. |
I retract what I've said above. Give me a few minutes. |
So this is the page for subcommands: https://doc.rust-lang.org/cargo/reference/external-tools.html?highlight=subcommand#custom-subcommands Basically if you say I'd propose the following alternatives for the current "sub-sub" commands:
|
|
Fixed it, so it runs as a cargo subcommand and pushed it to https://crates.io/crates/cargo-rhack and invited @nakabonne as an owner (so they can update as they like, when they read this, took it just as a name reservation, so nobody comes now to take it). 👍🏽 |
Awesome. |
Seeing as it deals with cargo more than rust and the usage of the term cargo is even encouraged for such things? This would hopefully let me just issue cargo hack and get done with things :). Small thing but I think it might matter
The text was updated successfully, but these errors were encountered: