~# go run .\cmd\backoff\ -h
usage: backoff [<flags>] <path>
A command-line tool designed to implement and manage customizable backoff
strategies for retrying failed operations efficiently..
Flags:
-h, --[no-]help Show context-sensitive help (also try --help-long
and --help-man).
--duration.initial=0s initial wait seconds
--duration.max=5m max wait seconds
--retry.max=0 max retry, 0 means unlimited
--factor.exponent=1 exponent factor
--factor.const.inter=0s inter const factor
--factor.const.outer=0s outer const factor
--name=NAME pipe name for singleton, default generate by path
--[no-]singleton run with singleton parton with unique name
Args:
<path> program to run