Golang Spf13 Cobra

CLI command tree library for Golang using spf13/cobra — cobra.Command, RunE vs Run, PreRun hooks, Args validators, persistent vs local flags, shell completion, testing via SetArgs. Apply when using/adopting cobra or the codebase imports github.com/spf13/cobra. Config: golang-spf13-viper.

context-labs Updated

File contents

context-labs/whip/tree/main/.agents/skills/golang-spf13-cobra commit ab6cea5c5a

Frequently asked questions

npx skillmds@latest add context-labs/golang-spf13-cobra