mult

command module
v0.0.0-...-cc1bf0f Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: MIT Imports: 3 Imported by: 0

README

mult

Build Workflow Status Vulncheck Workflow Status Latest Release Commits Since Latest Release

Run a command multiple times and glance at the outputs.

mult command --you=want to run

Usage

🧰 Use Cases

mult can come in handy in a few scenarios, such as:

  • Investigating inconsistent responses from a web server
  • Checking the outcomes of a flaky test suite
  • Running quick and dirty performance/stress tests

💾 Installation

Arch Linux:

yay -S mult

homebrew:

brew install dhth/tap/mult

go:

go install github.com/puzzledgran/mult@latest

Or get the binaries directly from a release.

⚡️ Usage

Specify number of runs
mult \
    -n=10 \
    yourcommand --with=flags --and=args as usual
Ask for number of runs
mult \
    -i \
    yourcommand --with=flags --and=args as usual
Run sequentially

By default, mult executes all runs concurrently. Use -s for sequentially execution.

mult \
    -s \
    yourcommand --with=flags --and=args as usual
Add delay (in milliseconds) between runs
mult \
    -s \
    -delay-ms=500 \
    yourcommand --with=flags --and=args as usual
Stop at first failure
mult \
    -s \
    -ff \
    yourcommand --with=flags --and=args as usual

Note: -delay-ms, -ff only apply in sequential run mode.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
ui

Jump to

Keyboard shortcuts

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