dev / build / test / lint / run
turnout dev [APP]turnout build [APP]turnout test [APP]turnout lint [APP]turnout run COMMAND [APP]Runs the app’s named command in its project directory - no cd required. dev, build, test and lint are shortcuts for the standard commands; run executes any command defined in the app config (see turnout app).
- App resolution. Pass the app name, or omit it and let turnout find the app whose directory contains your current one -
turnout devfrom anywhere inside the project just works. Outside any known project a terminal gets a picker instead of an error. - Transparent output. The command’s stdout/stderr stream through untouched; turnout’s own one-line status goes to stderr.
- Exit codes pass through.
turnout buildexits with the build’s own code, so it drops into scripts and CI without surprises. - Ctrl+C is clean. The interrupt goes to the tool itself; turnout waits for it to die, then puts the terminal back the way it was - echo, line input, cursor - so the prompt you get back works even when a dev server left the console raw. A second Ctrl+C force-kills the tool’s whole process tree (some dev servers ignore the first). The exit code is the conventional
130. Whatever survives the interrupt dies with turnout: on Windows every spawned command runs in a kill-on-close job object, so no stray helper processes linger.
cd ~/dev/myapp/src/componentsturnout dev # runs myapp's dev command in ~/dev/myapp
turnout build myapp # from anywhereturnout run deploy myapp # custom command from the app config