Dashboard › craft › CLI UX: auto-correct common user mistak…
019c9bb9-a79b-71e0-9f71-d94e77119b4b| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 2 | 16h ago |
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.