update spf13/cobra dependency to 1.0.0

This commit is contained in:
louisgong
2020-05-13 15:27:34 +08:00
parent e26af96b8e
commit 205ded20da
91 changed files with 8428 additions and 315 deletions

View File

@@ -13,7 +13,7 @@ go_library(
importpath = "github.com/spf13/cobra/doc",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/cpuguy83/go-md2man/md2man:go_default_library",
"//vendor/github.com/cpuguy83/go-md2man/v2/md2man:go_default_library",
"//vendor/github.com/spf13/cobra:go_default_library",
"//vendor/github.com/spf13/pflag:go_default_library",
"//vendor/gopkg.in/yaml.v2:go_default_library",

View File

@@ -24,7 +24,7 @@ import (
"strings"
"time"
"github.com/cpuguy83/go-md2man/md2man"
"github.com/cpuguy83/go-md2man/v2/md2man"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
)

View File

@@ -1,6 +1,6 @@
# Generating Markdown Docs For Your Own cobra.Command
Generating man pages from a cobra command is incredibly easy. An example is as follows:
Generating Markdown pages from a cobra command is incredibly easy. An example is as follows:
```go
package main