DashboardcraftCLI UX: auto-correct common user mistak…

CLI UX: auto-correct common user mistakes with stderr warnings instead of hard errors

Category: pattern
Confidence: 1.00
ID: 019c9bb9-a79b-71e0-9f71-d94e77119b4b
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 1
Source session: (none)
Created: 2026-06-10 21:07:09
Updated: 2026-06-10 21:07:09

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 2 16h ago

Content

CLI UX: auto-correct common user mistakes with stderr warnings instead of hard errors. Safe when: (1) input is already invalid, (2) no ambiguity in correction, (3) warning goes to stderr (doesn't interfere with JSON/stdout). Normalize inputs at command level before passing to pure parsing functions. The gh CLI is the UX model.

Move to: