#process #retry

archived app rty

A simple command line retry tool

3 releases

0.2.2 Sep 20, 2020
0.2.1 Aug 31, 2020
0.2.0 Aug 29, 2020

#22 in #retry

MIT license

21KB
618 lines

This has been moved into the cx.

👀 rty

a simple command line retry tool.

rty
Retry command execution until successful.

USAGE:
    rty [OPTIONS] [COMMAND]...

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --count <count>          maximum number of executions
    -i, --interval <interval>    execution interval (sec) [default: 0.1]

ARGS:
    <COMMAND>...    command and options

example

$ rty -c 2 -i 2 -- your command that may fail && echo succeeded || echo failed

Dependencies

~6.5MB
~105K SLoC