微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🧩

Go Cli

Go Cli · v
Software Development 作者 eduardo-sl 来源 TypingMind

简介

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).

标签

没有标签

同类 Skill