spf13--cobra/site/content/installing.md
2023-07-17 22:24:45 +02:00

347 B

weight
3

Installing

Using Cobra is easy. First, use go get to install the latest version of the library. This command will install the cobra generator executable along with the library and its dependencies:

go get -u github.com/spf13/cobra

Next, include Cobra in your application:

import "github.com/spf13/cobra"