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
Under the install section in Cobra.dev documentation site, the installation command go get -u github.com/spf13/cobra/cobra provided is incorrect.
The current behavior when you try installing cobra using that command is this output. go: module github.com/spf13/cobra@upgrade found (v1.8.1), but does not contain package github.com/spf13/cobra/cobra
The correct installation command should be go get -u github.com/spf13/cobra which installs cobra v1.8.1 successfully
The text was updated successfully, but these errors were encountered:
Skimming through the past issues, I've realized that the README is the one actively up-to-date rather than the documentation website, and the issue is well addressed. The install command provided in the README is go get -u github.com/spf13/cobra@latest which is the correct way to install the latest version (v1.8.1).
I just felt that it's good to address the disparity present in the docs website since it will be the first point of reference for may newcomers :)
Under the install section in Cobra.dev documentation site, the installation command
go get -u github.com/spf13/cobra/cobra
provided is incorrect.The current behavior when you try installing cobra using that command is this output.
go: module github.com/spf13/cobra@upgrade found (v1.8.1), but does not contain package github.com/spf13/cobra/cobra
The correct installation command should be
go get -u github.com/spf13/cobra
which installs cobra v1.8.1 successfullyThe text was updated successfully, but these errors were encountered: