mirror of
https://github.com/spf13/cobra
synced 2024-12-26 22:37:08 +00:00
Add install instructions for the cobra binary (and library)
This commit is contained in:
parent
6c0cb34745
commit
ec63835b77
1 changed files with 3 additions and 2 deletions
|
@ -122,9 +122,10 @@ tree is assigned to the commander which is finally executed.
|
|||
|
||||
# Installing
|
||||
Using Cobra is easy. First, use `go get` to install the latest version
|
||||
of the library:
|
||||
of the library. This command will install the `cobra` generator executible
|
||||
along with the library:
|
||||
|
||||
> go get -v github.com/spf13/cobra
|
||||
> go get -v github.com/spf13/cobra/cobra
|
||||
|
||||
Next, include Cobra in your application:
|
||||
|
||||
|
|
Loading…
Reference in a new issue