pub(crate) fn parse_interval(s: &str) -> Result<Duration>Expand description
Parse a loop interval string into a Duration. Accepts a number with an
optional unit suffix: s (seconds), m (minutes), h (hours); a bare
number is treated as minutes. Clamped to [10s, 24h].