cobra icon indicating copy to clipboard operation
cobra copied to clipboard

Incorrect Cobra install command in Cobra documentation

Open balagrivine opened this issue 1 month ago • 1 comments

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

balagrivine avatar Dec 30 '24 07:12 balagrivine