stampede is a simple CLI tool to run multiple commands concurrently, each with optional labels and colored output.
Usage:
stampede [options] '[label] command' '[label] command' ...
stampede --from tasks.txt
Examples:
# Run commands with optional labels (labels in square brackets)
stampede "[Google] ping -c 3 8.8.8.8" "[Cloudflare] ping -c 3 1.1.1.1"
# Run commands without labels; labels will be inferred from executable names
stampede "ping -c 3 8.8.8.8" "ping -c 3 1.1.1.1"
# Load commands from file (one per line, optional labels allowed)
stampede --from commands.txt
Flags:
-a, --abort-on-fail Stop all tasks if any fail
-f, --from string Load tasks from file
--max int Maximum concurrent tasks (0 = unlimited)
--no-color Disable color output
-q, --quiet Suppress command run messages and summary
-r, --raw Disable output labels
- Install from source:
go install github.com/fewwan/stampede@latest- Or clone and build:
git clone https://github.com/fewwan/stampede.git
cd stampede
go build