#command #stdin #come

app runnit

Run all commands that come in through stdin

1 unstable release

0.1.0 Oct 28, 2019

#12 in #come

MIT license

4KB
59 lines

runnit

Run all the commands that come through stdin.

cat <<<EOF
Something went wrong. Try the following command to fix it:
  fix_the_thing --arguments="something useful"
EOF | runnit

The above snippet will execute fix_the_thing --arguments="something useful".

Install

cargo install runnit

Why

Many test commands will suggest commands to run to fix errors. This command allows those commands to run automatically while getting out of the way of the edit-compile-test cycle.

Dependencies

~2.3–3.5MB
~58K SLoC