Skip to content

Global --yes / --headless flag to bypass interactive prompts #67

@8bitAlex

Description

@8bitAlex

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    v1-betaScope for the v1 beta — clearing all of these ships v1.0

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions