| Crates.io | retry-cmd |
| lib.rs | retry-cmd |
| version | 0.4.1 |
| created_at | 2019-02-16 20:58:06.915509+00 |
| updated_at | 2019-02-16 21:52:37.796596+00 |
| description | Retry commands on the command line without all the loops you always used! |
| homepage | https://github.com/timofurrer/retry |
| repository | https://github.com/timofurrer/retry |
| max_upload_size | |
| id | 115236 |
| size | 7,185 |
Retry commands on the command line without all the loops you always used!
# Stop retrying after 10 tries
retry --max 10 -- curl -I https://unstable.site
# Stop retrying after 10 tries and wait 5 seconds between the each try
retry --max 10 --interval 5 -- curl -I https://unstable.site
# Stop retrying if exit code is 1
retry --exitcode 1 -- curl -I https://unstable.site
# Suppress stdout and stderr from the command
retry --quiet -- curl -I https://unstable.site
cargo install retry-cmd