retry-spinner-0.1.0 is not a library.
retry-spinner
retry-spinner is a small CLI that re-runs a command until it succeeds or retries are exhausted.
Features:
- Retry up to
Nattempts (--retries, default:10) - Wait between attempts with a spinner (
--wait, default:2seconds) - Stream wrapped command
stdout/stderrdirectly without buffering - Per-attempt timeout with forced kill (
--timeout, default: infinite) - Forward command arguments after
--
Installation
Usage
Examples:
Exit behavior
- Exits
0as soon as one attempt succeeds - If all attempts fail, exits with the last attempt's exit code
- If timed out, that attempt counts as failure