pub fn parse(arg: &str) -> Result<Request>Expand description
Parse everything after the /loop word.
Grammar, in one place so /help and the parser cannot drift:
/loop status
/loop status | pause | resume | stop manage it without leaving the session
/loop <interval> <prompt> [--times N] [--until <condition>]<interval> is cron’s grammar (every 30m, hourly, daily 07:30) and a bare interval
(2m, 90s, 1h) meaning every 2m. Requiring the word “every” would make the one form
everyone types the one form the parser refuses.