Add a top-level CLI flag — -y / --yes / --headless — that auto-resolves any interactive prompt. Required for CI, scheduled runs, AI agents, and any non-interactive context where a blocking prompt would deadlock.
Behavior
Confirm tasks: treat the flag as the user having selected the default (or "yes" if no default specified)
Prompt tasks: treat the flag as the user having accepted the default
Prompt with no default in headless mode: fail fast with a clear error (don't deadlock, don't silently succeed with empty input)
Acceptance criteria
- Flag works at the top level:
raid -y deploy, raid --headless install
- Behavior applies recursively into every task spawned by the command
- Environment variable equivalent:
RAID_HEADLESS=1
- README documents headless mode and the no-default-Prompt failure
Add a top-level CLI flag —
-y/--yes/--headless— that auto-resolves any interactive prompt. Required for CI, scheduled runs, AI agents, and any non-interactive context where a blocking prompt would deadlock.Behavior
Confirmtasks: treat the flag as the user having selected the default (or "yes" if no default specified)Prompttasks: treat the flag as the user having accepted the defaultPromptwith no default in headless mode: fail fast with a clear error (don't deadlock, don't silently succeed with empty input)Acceptance criteria
raid -y deploy,raid --headless installRAID_HEADLESS=1