Comment by maxbond
6 days ago
Thanks! That was the intention. There's a tool called `retry` which does an even better job by caching stdin so that it can be integrated into shell pipelines.
I was thinking of it as a subcommand, like `git pull`. I think of the backoff schedules as different "modes" the command can be put into, each with their own set of arguments. I also made some questionable design decisions and coupled too closely to the CLI argument parser (`clap`), which would make it a big pain to back out of that decision.
I also think `retry` is the most widely known of these?
https://formulae.brew.sh/formula/retry
https://manpages.debian.org/trixie/retry/retry.1.en.html
Probably, it's the only one that's in OS package managers to my knowledge.