Commands

evlat watch

Run any command as it is and keep a ring on the bar while it runs.

evlat watch [--label TEXT] [--sender TEXT] [--] COMMAND [ARG…]

Runs COMMAND exactly as it would run without Evlat — same terminal, colours, input and exit code — and keeps a ring on the bar while it runs.

evlat watch npm run build
evlat watch docker build -t app .
evlat watch --label "e2e suite" -- make test

On the bar

WhenThe row
Runningworking: a turning ring, with the folder it runs in as its detail.
Exit 0green: done.
Any other exitred, with exit N and the folder.
Killed by a signalred, with signal N and the folder.

A finished row you haven’t looked at yet stays on the bar until you’ve seen it.

Flags

FlagDefaultWhat it does
--label TEXTthe command line, cut to 80 charactersThe row’s name on the bar.
--sender TEXTthe program’s nameThe small tag beside the name.
--Ends Evlat’s flags. Needed only when the command itself starts with -.

Evlat’s flags go before the command. Everything from the command on is passed to it untouched, including its own flags.

Your terminal

  • Evlat writes nothing to your terminal, ever: not when it starts, not when it can’t reach the bar.
  • Ctrl-C and other signals reach the command as they always do.
  • If Evlat is closed, the command simply runs.

Exit code

CodeMeans
the command’s ownWhatever the command exited with.
killed by its signalIf the command was killed by a signal, evlat watch ends the same way.
127The command was not found.
126The command could not be started.
2A mistake in Evlat’s own flags (nothing was run).