DashboardcliCLI framework, positional syntax, help,…

CLI framework, positional syntax, help, and routing contracts

Category: preference
Confidence: 0.80
ID: 01a08c39-bdd5-7180-9044-0c472acb5e43
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 1NxZeEvDC2YXtn9tk
Created: 2026-09-10 14:34:01
Updated: 2026-09-10 16:49:49

Content

Keep commands focused on parsing, API orchestration, and CommandOutput; move substantial rendering to domain formatters. Async generators yield output and return hints only through CommandReturn. Command declarations and command-owned metadata are canonical for usage: preserve variadic ..., explicit compound syntax, and zero-positional or flag-only modes. Determine cardinality from runtime behavior, flags, tests, and semantic error contracts before adding parser minima. Shared builders must distinguish injected flags, preserve automatic output/--fresh behavior, and retain org/project targeting and list interception. Validate scanner, routing, help, version, metadata, and generated docs through real Stricli/application dispatch, including argument order, blank versus omitted values, --, global flags at multiple depths, output streams, exit codes, and regenerated artifacts.

Move to: