orq

Crates.ioorq
lib.rsorq
version0.1.1
sourcesrc
created_at2020-03-18 19:55:25.545428
updated_at2020-04-17 22:44:56.721428
descriptionA tiny command-line process orchestrator
homepagehttps://gitlab.com/aepsil0n/orq
repositoryhttps://gitlab.com/aepsil0n/orq
max_upload_size
id220274
size34,431
Emilia Bopp (milibopp)

documentation

https://docs.rs/orq

README

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.

Usage

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
Commit count: 61

cargo fmt