{"skill":{"slug":"golang-spf13-cobra","displayName":"Golang Spf13 Cobra","summary":"Golang CLI command tree library using spf13/cobra — cobra.Command, RunE vs Run, PersistentPreRunE hook chain, Args validators (NoArgs, ExactArgs, MatchAll, c...","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":27,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1777636631150,"updatedAt":1777637207985},"latestVersion":{"version":"1.0.0","createdAt":1777636631150,"changelog":"golang-spf13-cobra v1.0.0\n\n- Initial release providing comprehensive documentation and usage patterns for spf13/cobra in Go CLI projects.\n- Covers command tree structure, RunE vs Run hooks, PersistentPreRunE chaining, args validators, persistent vs local flags, command groups, and shell completions.\n- Includes guidelines for integrating cobra with viper, testing command handlers, and best practices for CLI application design.\n- Lists official resources and references for further learning.\n- Designed for Go developers creating or reviewing CLI apps using cobra.","license":"MIT-0"},"metadata":{"os":null,"systems":null},"owner":{"handle":"samber","userId":"s173arkhs3131fq5jf769qq75583hdgt","displayName":"Samuel Berthe","image":"https://avatars.githubusercontent.com/u/2951285?v=4"},"moderation":null}