Dashboardclievent/view parser order

event/view parser order

Category: gotcha
Confidence: 0.80
ID: 01a088cb-03ee-7e89-8c7d-f61fced0f6b9
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 0om8pjD0q6Q7tNTHY
Created: 2026-09-10 00:50:01
Updated: 2026-09-10 00:50:01

Content

Trap: calling parseSlashSeparatedArg() first in event/view.ts looks consistent with other org/project targets, but it misclassifies valid project/<hex-event-id> input as an incomplete org/project target and throws ContextError. Fix: always run parseSingleArg() first, then parseSlashSeparatedArg(), because the event command’s two-part form has distinct grammar.

Move to: