Add install instructions for the cobra binary (and library)
This commit is contained in:
parent
6c0cb34745
commit
ec63835b77
@ -122,9 +122,10 @@ tree is assigned to the commander which is finally executed.
|
|||||||
|
|
||||||
# Installing
|
# Installing
|
||||||
Using Cobra is easy. First, use `go get` to install the latest version
|
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:
|
Next, include Cobra in your application:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user