Skip to content

Cobra not found  #1452

Closed
Closed

Description

@anaetrezve

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

  1. umarcor commented on Jul 11, 2021

    @umarcor
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions