vendor: spf13/cobra v1.0.0, go-md2man v2.0.0, blackfriday v2.0.1

full diff: https://github.com/spf13/cobra/compare/v0.0.3...v1.0.0

Notable Changes

- Fish completion (including support for Go custom completion)
- API (urgent): Rename BashCompDirectives to ShellCompDirectives
- Remove/replace SetOutput on Command - deprecated
- Custom completions coded in Go (instead of Bash)
- Partial Revert of 922
- Correct documentation for InOrStdin
- Apply formatting to templates
- Revert change so help is printed on stdout again
- Update md2man to v2.0.0
- update viper to v1.4.0
- Update cmd/root.go example in README.md

vendor: update cpuguy83/go-md2man v2.0.0

full diff: https://github.com/cpuguy83/go-md2man/compare/v1.0.8...v2.0.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2020-05-03 22:38:09 +02:00
parent 71d760f1b4
commit df5cedfc81
44 changed files with 5201 additions and 3490 deletions

View File

@ -4,7 +4,8 @@ set -eu -o pipefail
mkdir -p ./man/man1
go install ./vendor/github.com/cpuguy83/go-md2man
# yay, go install creates a binary named "v2" ¯\_(ツ)_/¯
go build -o "/go/bin/md2man" ./vendor/github.com/cpuguy83/go-md2man/v2
# Generate man pages from cobra commands
go build -o /tmp/gen-manpages github.com/docker/cli/man