cargo install cargo-dev
Add a [dev]
table (section) to your Cargo.toml
with aliases to shell commands
[dev]
sayhi = "echo Hello World"
Running cargo dev sayhi
:
$ cargo dev sayhi
> sayhi: echo Hello World
Hello World
cargo-dev
is currently in early Alpha. Branch master
is not guaranteed to be stable and breaking changes may be introduced without notice.