Skip to main content

cli-io

Designing the CLI ingress adapter of a slice — the driving adapter of a hexagon. Parse flags + positional args + config into ONE flat Request DTO, hand it to the pure core (head), map the core's Result to an exit code (0/1/2/3) and stdout (JSON report) / stderr (logs). Keep it small — ≤5 flags, no elephant; domain params MAY be flags. Use when a slice's external input is a command-line invocation (Go + cobra), not HTTP/queue. Do NOT put domain logic in the command. Scaffold — template-go-cli. Keywords - CLI, cobra, ingress, driving adapter, DTO, exit code, one-shot.

Zur Installation springen

Quellinformationen

Repository
codemonstersteam/rationaldev-ai-sdlc-skills
Letzte Quellaktivität
12. Juli 2026 um 17:24
Erkannte Sprache von SKILL.md
Englisch
Sterne
3
Forks
2

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.