Final Word
I hope this has helped get started with the spf13/cobra library, and using it to build complex commands. Note that while we use the cobra-cli
to help scaffold out our code, none of it is absolutely necessary. You can just as easily just create your own cobra.Command
s in net-new code, and go from there.
Please check out the links for documentation, references, etc.