An open API service indexing awesome lists of open source software.

https://github.com/marzocchi/rig

The Rig executes programs and joins the output in a single stream.
https://github.com/marzocchi/rig

python rig shell

Last synced: about 2 months ago
JSON representation

The Rig executes programs and joins the output in a single stream.

Awesome Lists containing this project

README

          

The Rig
===

The Rig pipes `STDIN` to some programs listed in a `Rigfile` and presents their `STDOUT` and `STDERR`
in a single stream.

Usage
---

```shell
# report mode, for programs that produce document-like output
./rig.py report Rigfile

# stream mode, for programs that produce a continuos stream of text,
# like `tail` (use CTRL-C to stop)
./rig.py stream Rigfile
```

A `Rigfile` is a list of programs to execute, one per line and prefixed by a label.

```
cat > Rigfile < Rigfile.sh <