DashboardclibuildDeleteCommand destructive flags

buildDeleteCommand destructive flags

Category: pattern
Confidence: 1.00
ID: 01a04315-d779-7f4b-9f38-0602d1a2ce78
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 1epjoDnTv88AKp3k0
Created: 2026-08-27 11:58:20
Updated: 2026-08-27 11:58:20

Content

Delete commands must use buildDeleteCommand(), not buildCommand(). It supplies --yes, --force, and --dry-run, applies the non-interactive TTY guard, and supports noForceFlag, noDryRunFlag, and noNonInteractiveGuard; hand-rolling deletion safety risks inconsistent scripted-run behavior.

Move to: