Crates.io | rty |
lib.rs | rty |
version | 0.2.2 |
source | src |
created_at | 2020-08-29 09:05:22.044642 |
updated_at | 2020-09-20 04:40:30.414629 |
description | A simple command line retry tool. |
homepage | https://github.com/tmtmtoo/retry |
repository | https://github.com/tmtmtoo/retry |
max_upload_size | |
id | 282222 |
size | 54,272 |
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
$ rty -c 2 -i 2 -- your command that may fail && echo succeeded || echo failed