defenseunicorns / maru-runner

The Unicorn Task Runner
Apache License 2.0
11 stars 1 forks source link

Allow tasks to specify if they should use stdin or stdout directly #103

Open corang opened 6 months ago

corang commented 6 months ago

Is your feature request related to a problem? Please describe

There are times when using maru-runner that I'd like to run an interactive application or an application that rewrites lines (say it has a progress bar). Any interactive application is a non starter because stdin is not bound to the commands maru-runner runs. In the case of an application that rewrites lines you either have to hope the application has a (competent) ci mode or just deal with terminal spam when line rewrites happen.

Describe the solutions you'd like

1.
2.
andrewg-xyz commented 3 months ago

Additional use case (example):

image I have a task uds run test:ui-unit that under the hood runs a process for unit testing and will rerun on code changes.

because uds runner swallows stdin, I cannot interact with this tool using h or q keys.