(Re-)Trys executing a command till it succeeds.
Note: Currently Only supports Unix Based systems.
Checkout the releases to download the binary for your distribution.
go install github.com/ArunMurugan78/rtry-cli@latest
rtry-cli [OPTIONS] COMMAND
rtry-cli -timeout 3000 "ping google.com"
flag | Description | Default | Required |
---|---|---|---|
timeout | Retry timeout in milliseconds | 1000 | false |
code | Expected exit code | 0 | false |
This project is licensed under the MIT License.