DashboardcliCLI command three-concern boundary

CLI command three-concern boundary

Category: architecture
Confidence: 1.00
ID: 01a088cb-0223-751b-9afc-0d376b89c28d
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 1
Source session: 1epjoDnTv88AKp3k0
Created: 2026-08-27 11:58:19
Updated: 2026-09-10 00:50:00

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 1 10d ago

Content

Chose the project buildCommand() async-generator boundary over direct Stricli builders, command-defined json flags, stdout.write(), or flags.json branches because the wrapper owns authentication, telemetry, global flags, rendering, and filtering. Commands yield CommandOutput(data) and may return { hint }; human and JSON output consume the same data. Human output always injects --fields; --json is injected unless already defined. ALWAYS_STRIP flags, including log-level, never reach command functions.

Move to: