You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to install cobra with the command go get -u github.com/spf13/cobra from github README in my macbook pro m1 but when I tried to run cobra command it shows not found. Then I have check my GOPATH~/go/bin folder but I don't see the cobra binary.
Then I head over to cobra.dev their seen the install command is go get -u github.com/spf13/cobra/cobra but this command worked 😃
So if README outdated then it should update with the new command.
Activity
umarcor commentedon Jul 11, 2021
The documentation for installing the CLI tool is located in subdir
cobra: https://github.com/spf13/cobra/tree/master/cobra#cobra-generator. The README in the root corresponds to the cobra library.Other than that, there is work in progress for reorganising the documentation. See #1428 and #1245.