mirror of
https://github.com/spf13/cobra
synced 2024-12-29 15:57:10 +00:00
1be1d2841c
Update Cobra generator to make rootCmd private rather than exporting it. Also update examples in README to use the exported Execute() command rather than referencing unexported rootCmd. Fixes #556 |
||
---|---|---|
.. | ||
LICENSE.golden | ||
main.go.golden | ||
root.go.golden | ||
test.go.golden |