Expand description
Shared helpers for runner invocations with consistent error handling.
Responsibilities:
- Provide a single “runutil” surface for runner execution helpers and revert/abort utilities.
- Re-export cohesive submodules so call sites keep using
crate::runutil::{...}.
Not handled here:
- Prompt template rendering, queue/task persistence, or runner selection logic.
Invariants/assumptions:
- Submodules remain cohesive (execution vs revert vs abort vs shell vs retry).
- Re-exports preserve the existing public and
pub(crate)API surface.
Structs§
Enums§
Functions§
- apply_
git_ revert_ mode - apply_
git_ revert_ mode_ with_ context - format_
revert_ failure_ message - parse_
revert_ response - prompt_
revert_ choice_ with_ io - shell_
command - Build a shell command for the current platform (sh -c on Unix, cmd /C on Windows).