Go CLI

Build command-line tools in Go: flag handling, subcommands, stdin/stdout discipline, exit codes, signal handling, and when Cobra/Viper earn their weight over the standard library. Use when: "build a CLI", "add a subcommand", "parse flags", "exit codes", "handle Ctrl+C", "cobra command", "read from stdin", "CLI UX". Not for: HTTP APIs (go-api-design), scaffolding (go-project-layout), service configuration (go-architecture-review).

eduardo-sl 355cca0 5.2 KB Updated

File contents

eduardo-sl/go-agent-skills commit 355cca0eb2

Frequently asked questions

npx skillmds@latest add eduardo-sl/go-cli