Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cobra not found #1452

Closed
anaetrezve opened this issue Jul 10, 2021 · 1 comment
Closed

Cobra not found #1452

anaetrezve opened this issue Jul 10, 2021 · 1 comment

Comments

@anaetrezve
Copy link

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.

@umarcor
Copy link
Contributor

umarcor commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants