DashboardcliparseSlashSeparatedArg convention

parseSlashSeparatedArg convention

Category: preference
Confidence: 1.00
ID: 01a08701-7c90-7727-af72-3dbb0c486c9a
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 0iRbOD1VHj1PKYbvU
Created: 2026-09-08 20:18:24
Updated: 2026-09-09 16:30:16

Content

Always parse [<org>/<project>/]<id> positionals with parseSlashSeparatedArg; IDs such as event, trace, and log hex IDs never contain /. A slash therefore denotes structured target syntax: one slash is an incomplete org/project target missing its ID, while 2+ slashes split at the final slash. Plain no-slash IDs intentionally bypass generic validation because callers may preprocess them; format-specific validators must run downstream.

Move to: