plzrun
v1.2.0
Published
A tool for supervising and retrying command line executions. Runs something until it succeeds.
Downloads
6
Readme
plzrun
A tool for supervising and retrying command line executions. Runs something until it succeeds.
Usage
Usage: plzrun [options] COMMAND
A tool for supervising and retrying command line executions. Runs something until it succeeds.
Options:
-r, --retries number How many times to retry the command if it fails (-1 is infinite tries, default: -1)
-s, --sleep number How long to wait in between executions (in seconds, default: 0)
-e, --exponential Apply exponential backoff to sleep durations (using exponent 1.5).
If a sleep duration is not set, use of -e will apply an automatic
base sleep duration of 1s.
-c, --clear Behave in a semi watch-like manner, resetting the terminal in between
executions. In contrast to watch(1), all output will remain visible
in scrollback and the screen will not be cleared at exit.
-h, --help Display help
-v, --version Display version information
Copyright and Licence
(c) Richard North 2018