From 93c59463d00a4ec36a2ff007bc5d841f98b2b439 Mon Sep 17 00:00:00 2001 From: jiasir Date: Mon, 4 Apr 2022 11:46:53 +0800 Subject: [PATCH 1/2] Fix wrong package address --- content/home/install.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/home/install.md b/content/home/install.md index edd6c00..bcf0031 100644 --- a/content/home/install.md +++ b/content/home/install.md @@ -3,11 +3,10 @@ title: "Install" weight: 20 --- -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: +Using Cobra is easy. Use `go get` to install the latest version +of the library and its dependencies: - go get -u github.com/spf13/cobra/cobra + go get -u github.com/spf13/cobra Next, include Cobra in your application: From 654e594b33f189cd7087bd7628f66af44ec3c4dd Mon Sep 17 00:00:00 2001 From: jiasir Date: Mon, 4 Apr 2022 11:52:00 +0800 Subject: [PATCH 2/2] Fix broken link --- content/home/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/home/getting-started.md b/content/home/getting-started.md index 351f873..9685091 100644 --- a/content/home/getting-started.md +++ b/content/home/getting-started.md @@ -36,7 +36,7 @@ func main() { Cobra provides its own program that will create your application and add any commands you want. It's the easiest way to incorporate Cobra into your application. -[Here](https://github.com/spf13/cobra/blob/master/cobra/README.md) you can find more information about it. +[Here](https://github.com/spf13/cobra-cli/blob/main/README.md) you can find more information about it. ## Using the Cobra Library