Skip to content

pukkandan/repeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repeat a command

Usage: repeat.exe [OPTIONS] <CMD>

Arguments:
  <CMD>  The command to run

Options:
  -q, --quiet                Do not print to console
  -d, --direct               Do not use shell
  -n, --attempts <ATTEMPTS>  Maximum number of times to repeat
  -b, --no-break             Passthrough Ctrl+Break
  -0, --till-success         Repeat the command until it succeeds
  -1, --till-failure         Repeat the command until it fails
      --pause                Pause between attempts
  -h, --help                 Print help

To compile, run cargo build --release