Skip to main content

skip_next_from_cli

Function skip_next_from_cli 

Source
pub async fn skip_next_from_cli(
    app: &AppHandle,
    scheduler: &Scheduler,
    kind: BreakKind,
) -> Result<(), String>
Expand description

Reset the next-break timer for kind so the user “skips” the upcoming break. Shared by the renderer command and the CLI’s skip subcommand. Errors when strict_mode is on.