Skip to content

liuchong/cargo-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-x

Build Status APACHE licensed MIT licensed crates.io Released API docs

A very simple third-party cargo subcommand to execute a custom command

Usage

  1. install cargo-x
cargo install cargo-x

or upgrade

cargo install -f cargo-x
  1. 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.

  1. use cargo-x
cargo x ls
# or
cargo-x ls
# or
x ls

License

Licensed under either of these:

Contributing

Please sign a cla, thanks!

About

A very simple third-party cargo subcommand to execute a custom command

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages