mult

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 1 Imported by: 0

README

mult

✨ Overview

Run a command multiple times and glance at the outputs.

mult command --you=want to run

Usage

💾 Installation

homebrew:

brew install dhth/tap/mult

go:

go install github.com/dhth/mult@latest

Or get the binaries directly from a release.

⚡️ Usage

Run concurrently
mult \
    curl -s -i https://httpbin.org/delay/1

Usage

Specify number of runs
mult \
    -n=10 \
    curl -s -i https://httpbin.org/delay/1
Ask for number of runs
mult \
    -i \
    curl -s -i https://httpbin.org/delay/1
Run sequentially
mult \
    -s \
    curl -s -i https://httpbin.org/delay/1

Usage

Add delay (in milliseconds) between runs
mult \
    -s \
    -delay-ms=500 \
    curl -s -i https://httpbin.org/delay/1
Stop at first failure
mult \
    -s \
    -ff \
    curl -s -i https://httpbin.org/delay/1

Usage

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