Like npm scripts, but for cargo
Switch branches/tags
Nothing to show
Clone or download

cargo-cmd version build status docs license

Like npm scripts, but for cargo.


cargo install cargo-cmd


You can define your commands in Cargo.toml under the [package.metadata.commands] table, like so:

greet = "echo 'Hello, planet!'"

Now you can run cargo cmd greet:

$ cargo cmd greet
> echo 'Hello, planet!'
Hello, planet!


MIT © Dan Reeves