#cli

app cargo-dev

Alias shell commands (think NPM scripts for cargo)

2 releases

0.0.2 Mar 28, 2023
0.0.1 Mar 27, 2023

#3794 in #cli

MIT license

7KB
54 lines


Cargo Dev

Alias shell commands (think NPM scripts for cargo)

Last GitHub Commit Last GitHub Commit Last GitHub Commit


Install

cargo install cargo-dev

Usage

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

Alpha Notice

cargo-dev is currently in early Alpha. Branch master is not guaranteed to be stable and breaking changes may be introduced without notice.

Dependencies

~1.7–2.4MB
~47K SLoC