Resume · AgentFlow CLI
Reprendre un run interrompu
CLI path: agentflow resume
When to use
Operational commands summarise historical runs or unblock automation by resuming deterministic workflow bookkeeping without rewriting task definitions manually.
Original CLI synopsis: Reprendre un run interrompu
Usage
agentflow resume [flags]Options
| Flag | Scope | Default | Description |
|---|---|---|---|
--dry-run | Inherited | false | Simuler les exécutions sans lancer d'agent ni commandes externes |
--execute | Local | false | Exécuter le prochain step (dry-run uniquement) |
--force | Local | false | Relancer une étape déjà réussie |
Examples
agentflow resumeWire richer samples through cobra.Command.Example when the happy path warrants copy/paste-friendly automation beyond this scaffold.
What happens internally
- Reloads checkpoints for the requested run identifier, obeying --force / --execute semantics layered with persistent --dry-run rehearsals.
Failure modes
- Cobra rejects unknown flags or arity mismatches before any repository side effects occur.
- AgentFlow cannot resolve scaffolding when the command is invoked outside an initialised checkout.
- Delegated subprocesses (git, MCP hosts, editor agents, etc.) can exit non-zero and bubble errors verbatim.