Skip to content

feat(confirm): require explicit --yes in non-interactive environments#62

Merged
sbldevnet merged 2 commits into
mainfrom
feat/confirm-tty-yes-flag
Apr 19, 2026
Merged

feat(confirm): require explicit --yes in non-interactive environments#62
sbldevnet merged 2 commits into
mainfrom
feat/confirm-tty-yes-flag

Conversation

@sbldevnet
Copy link
Copy Markdown
Member

  • Replace --skip with --yes across all write commands.
  • ui.Confirm now returns an error when stdin is not a TTY instead of auto-approving, forcing callers to pass --yes in CI/scripts.
  • Confirmation is always shown regardless of output format.

Replace --skip with --yes across all write commands. ui.Confirm now
returns an error when stdin is not a TTY instead of auto-approving,
forcing callers to pass --yes in CI/scripts. Confirmation is always
shown regardless of output format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sbldevnet sbldevnet force-pushed the feat/confirm-tty-yes-flag branch from 5bbb1d4 to 13e266d Compare April 19, 2026 11:52
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sbldevnet sbldevnet merged commit 4bc42e4 into main Apr 19, 2026
1 check passed
@sbldevnet sbldevnet deleted the feat/confirm-tty-yes-flag branch April 19, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant