#compdef snooze

_snooze() {
  _arguments -C \
    '*:file:_files' \
    '-n[Dry run: print the next 5 times the command would run]' \
    '-v[Verbose: print scheduled (and rescheduled) times]' \
    '-t[Keep track of runs in the time files]' \
    '-T[Start execution not earlier than mtime of <timefile> plus <timewait> seconds]' \
    '-R[Delay determination of scheduled time randomly up to <randdelay> seconds later]' \
    '-J[Delay execution randomly up to <jitter> seconds later than scheduled time]' \
    '-s[Execute commands even if they are <slack> (default: 60) seconds late]' \
    '-d[Day of month]' \
    '-m[Month]' \
    '-w[Weekday (0-7, sunday is 0 and 7)]' \
    '-D[Day of year (1. 366)]' \
    '-W[ISO week of year (1. 53)]' \
    '-H[Hour]' \
    '-M[Minute]' \
    '-S[Second]'
}

_snooze
