-
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
Alias for check
#6215
Comments
You can define your own aliases in This is the alias that I personally use:
|
I did not know the configuration. Thank you! Still, I personally want the out-of-the-box |
I would argue it warrants equal status in the single-char alias club. I'd say send the PR and let's see 🙂 |
Add `c` alias for `check` This PR adds `cargo c` alias for `cargo check`. I believe that one of the most frequently used subcommands is `check`. Adding this alias would save much time. Currently, there are three aliases: `b` for `build`, `r` for `run`, `t` for `test`. I think that adding out-of-the-box `c` alias is *natural* for many developers, and these aliases would cover most of the use cases. We can add aliases via a configuration file, but I guess people would expect built-in `c` alias along with `b` and others. One problem I have come up with is that the `clean` subcommand also starts with the letter `c`. But I believe that running `check` subcommand by mistake would not hurt developers so much. Fixes #6215
How about adding
cargo c
alias forcargo check
?I believe that one of the most frequently used subcommands is
check
.Adding this alias would save much time.
Currently, there are three aliases:
b
forbuild
,r
forrun
, andt
fortest
.I think that adding
c
alias would cover most of the use cases.One problem I have come up with is that the
clean
subcommand also starts with the letterc
.But I believe that running
check
subcommand by mistake would not hurt developers so much.I would like to prepare a PR for this change.
The text was updated successfully, but these errors were encountered: