feat(forge): confirm every destructive command #3
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tycho/modules!3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/forge-confirm-destructive"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Asks before every destructive command, through the core confirmation (tycho/tycho#3:
ctx.confirm, which names the organisation and target and refuses without a terminal unlessTYCHO_ASSUME_YES=1); standalone, a terminal prompt.pr merge,mirror sync;push --force|-f|--force-with-lease|--delete|--mirror|--prune, refspecs:ref/+ref,reset --hard,clean -f,branch -D|-d|--delete,stash drop|clear,tag -d,checkout|switch -f,restore(except--stagedonly),rm,gc --prune,reflog expire|delete;delete,remove,rm,close,archive,transfer,lock.Tests: 8 pass (destructive and everyday commands, CLI passthrough, core confirmation); typecheck OK.
🤖 Generated with Claude Code