5 releases
Uses old Rust 2015
0.1.4 | May 4, 2017 |
---|---|
0.1.3 | Mar 2, 2017 |
0.1.2 | Oct 31, 2016 |
0.1.1 | Oct 31, 2016 |
0.1.0 | Oct 31, 2016 |
4KB
70 lines
concur
A simple tool to help repeat commands concurrently from the terminal. It was inspired by the
builtin shell command repeat
but adds support for many threads.
Building
If you have Rust installed, just run:
cargo build --release
You can also install it with cargo making it available as a binary:
cargo install concur
Usage
You can run it with or without threads as such:
# Run a command synchronously.
concur 10 curl https://www.rust-lang.org
# Run it with threads.
concur 10 curl https://www.rust-lang.org -j 2
# Run a command with it's own arguments.
concur 5 ls -- -a
When running a command with it's own arguments, specifying two dashes before listing them allows them to be ignored by your program's options.
License
MIT
Dependencies
~3.5MB
~81K SLoC