11 releases
0.3.6 | Mar 15, 2019 |
---|---|
0.3.5 | Jan 8, 2019 |
0.3.3 | Dec 24, 2018 |
0.2.2 | Dec 20, 2018 |
0.1.1 | Dec 18, 2018 |
#660 in Cargo plugins
43 downloads per month
10KB
207 lines
cargo-x
A very simple third-party cargo subcommand to execute a custom command
Usage
- install cargo-x
cargo install cargo-x
or upgrade
cargo install -f cargo-x
- write a config file
x.toml
in"name = detail"
format like
ls = "ls -ltr"
or same lines in file ~/.x.toml
,
or in [package.metadata.x]
section in Cargo.toml
file.
note that DO NOT
use key x like x = "any command"
, cargo-x x
will run into problem,
because it does not know if it is using cargo-x x
or cargo x
.
- use cargo-x
cargo x ls
# or
cargo-x ls
# or
x ls
License
Licensed under either of these:
- Apache License Version 2.0 LICENSE-APACHE
- MIT License LICENSE-MIT
Contributing
Please sign a cla, thanks!
Dependencies
~3–5.5MB
~97K SLoC