pub async fn cancel_run(client: &ControlClient, args: &CancelArgs) -> Result<()>Expand description
lev cancel: cancel a run.
A kill must always be possible, so this never depends on the daemon being
reachable. --force goes straight to the run’s on-disk state; otherwise the
daemon is asked first (it can also stop the work, not just record the
outcome) and the on-disk write is the fallback when it can’t be reached or
doesn’t answer in time.