learning-k8s-source-code icon indicating copy to clipboard operation
learning-k8s-source-code copied to clipboard

Switch example to github.com/spf13/cobra-cli

Open liggitt opened this issue 2 years ago • 0 comments

https://github.com/Kevin-fqh/learning-k8s-source-code/blob/master/Go-package%E4%BD%BF%E7%94%A8/%E5%9F%BA%E4%BA%8Ecobra%E6%9E%84%E5%BB%BA%E5%91%BD%E4%BB%A4%E8%A1%8C.md references github.com/spf13/cobra/cobra

That is moving to github.com/spf13/cobra-cli. See https://github.com/spf13/cobra/issues/1597 for details.

Use would look like this:

go get github.com/spf13/cobra-cli

./bin/cobra-cli init cobra_example

liggitt avatar Mar 03 '22 01:03 liggitt