Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsquire/concur
Asynchronously repeat commands
https://github.com/gsquire/concur
command-line-tool rust
Last synced: 30 days ago
JSON representation
Asynchronously repeat commands
- Host: GitHub
- URL: https://github.com/gsquire/concur
- Owner: gsquire
- License: mit
- Created: 2016-10-30T21:43:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T05:03:25.000Z (over 7 years ago)
- Last Synced: 2024-10-12T00:42:27.241Z (about 1 month ago)
- Topics: command-line-tool, rust
- Language: Rust
- Homepage: https://crates.io/crates/concur
- Size: 7.81 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```sh
cargo build --release
```You can also install it with cargo making it available as a binary:
```sh
cargo install concur
```### Usage
You can run it with or without threads as such:```sh
# 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