2 ms·
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.
by maxbond 1y 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.
- js2 1y agoI also think `retry` is the most widely known of these? https://formulae.brew.sh/formula/retry https://formulae.brew.sh/formula/retry https://manpages.debian.org/trixie/retry/retry.1.en.html https://manpages.debian.org/trixie/retry/retry.1.en.html
- maxbond 1y agoProbably, it's the only one that's in OS package managers to my knowledge.