cobra-extensions v0.3.0
This release significantly refactors the entire cobra-extensions
package, focusing on simplifying its usability by reducing the number of exported types and functions. Key functionality related to reflection and struct-tag evaluation for automatically setting up Cobra command declarations has been moved to internal packages. This reduces the package's surface, making it easier to work with and maintain. Additionally, documentation comments have been added where missing to improve clarity and developer experience.
Changes
- Introduced the
types
package to centralize command type definitions. - Updated import paths and references across the project to use the new
types
package. - Removed type definitions from the
commands
andreflection
packages; moved interface types to the newtypes
package. - Made the
reflection
package internal, as it now supports the internal functionality of the extensions package and is not intended for external use. - Upgraded Go SDK from version 1.21 to 1.23.