cmd-runner

command module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 12 Imported by: 0

README

cmd-runner

About

Run programs concurrently, pipe input to stdout and exit programs on Ctrl-C interrupt.

I created it to have a simple solution to run multiple programs concurrently in watch mode and some programs require the stdout pipe.

Usage

Simply define the programs as command line arguments. There is no need to define jobs or threads. All programs exit, if one does.

Install

go install github.com/leb-kuchen/cmd-runner@latest

Or download the binaries in the release section.

Example

cmd-runner 'air' 'tailwind -i css/main.css -o public/output.css -w'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL