Crates.io | orq |
lib.rs | orq |
version | 0.1.1 |
source | src |
created_at | 2020-03-18 19:55:25.545428 |
updated_at | 2020-04-17 22:44:56.721428 |
description | A tiny command-line process orchestrator |
homepage | https://gitlab.com/aepsil0n/orq |
repository | https://gitlab.com/aepsil0n/orq |
max_upload_size | |
id | 220274 |
size | 34,431 |
orq is a tiny command-line process orchestrator.
orq runs multiple commands in parallel and interleaves & tags all their output, so you can easily see in what order outputs happen. For instance, you may want to run a web server alongside a database or run two batch jobs in parallel.
orq reads a list of commands separated by newlines from standard input.
For example, we may run two servers in parallel:
$ orq
python -m http.server
node index.js
node index.js | Example app listening on port 3000!
python -m http.serv…| Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
You can also pipe in commands:
$ echo "echo foo\necho bar" | orq
echo foo | foo
echo bar | bar
echo bar exited with status 0
echo foo exited with status 0