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 958 repo stars
WhipCode Desktop with a conversation, three working subagents, and an execution trace timeline side by side

File contents

context-labs/whip commit ab6cea5c5a

Frequently asked questions

npx get-skill add context-labs/golang-spf13-cobra