Bump github.com/hashicorp/terraform-plugin-docs from 0.7.0 to 0.13.0
Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs) from 0.7.0 to 0.13.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.7.0...v0.13.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-docs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
16
vendor/github.com/mitchellh/cli/.travis.yml
generated
vendored
16
vendor/github.com/mitchellh/cli/.travis.yml
generated
vendored
@ -1,16 +0,0 @@
|
||||
sudo: false
|
||||
|
||||
language: go
|
||||
|
||||
env:
|
||||
- GO111MODULE=on
|
||||
|
||||
go:
|
||||
- "1.14"
|
||||
- "1.15"
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
script: make updatedeps test testrace
|
11
vendor/github.com/mitchellh/cli/README.md
generated
vendored
11
vendor/github.com/mitchellh/cli/README.md
generated
vendored
@ -1,13 +1,12 @@
|
||||
# Go CLI Library [](https://godoc.org/github.com/mitchellh/cli)
|
||||
# Go CLI Library [](https://pkg.go.dev/github.com/mitchellh/cli)
|
||||
|
||||
cli is a library for implementing powerful command-line interfaces in Go.
|
||||
cli is a library for implementing command-line interfaces in Go.
|
||||
cli is the library that powers the CLI for
|
||||
[Packer](https://github.com/mitchellh/packer),
|
||||
[Serf](https://github.com/hashicorp/serf),
|
||||
[Consul](https://github.com/hashicorp/consul),
|
||||
[Vault](https://github.com/hashicorp/vault),
|
||||
[Terraform](https://github.com/hashicorp/terraform), and
|
||||
[Nomad](https://github.com/hashicorp/nomad).
|
||||
[Terraform](https://github.com/hashicorp/terraform),
|
||||
[Nomad](https://github.com/hashicorp/nomad), and more.
|
||||
|
||||
## Features
|
||||
|
||||
@ -21,7 +20,7 @@ cli is the library that powers the CLI for
|
||||
* Support for shell autocompletion of subcommands, flags, and arguments
|
||||
with callbacks in Go. You don't need to write any shell code.
|
||||
|
||||
* Automatic help generation for listing subcommands
|
||||
* Automatic help generation for listing subcommands.
|
||||
|
||||
* Automatic help flag recognition of `-h`, `--help`, etc.
|
||||
|
||||
|
11
vendor/github.com/mitchellh/cli/cli.go
generated
vendored
11
vendor/github.com/mitchellh/cli/cli.go
generated
vendored
@ -11,7 +11,7 @@ import (
|
||||
"sync"
|
||||
"text/template"
|
||||
|
||||
"github.com/Masterminds/sprig"
|
||||
"github.com/Masterminds/sprig/v3"
|
||||
"github.com/armon/go-radix"
|
||||
"github.com/posener/complete"
|
||||
)
|
||||
@ -680,12 +680,13 @@ func (c *CLI) processArgs() {
|
||||
}
|
||||
|
||||
// Determine the argument we look to to end subcommands.
|
||||
// We look at all arguments until one has a space. This
|
||||
// disallows commands like: ./cli foo "bar baz". An argument
|
||||
// with a space is always an argument.
|
||||
// We look at all arguments until one is a flag or has a space.
|
||||
// This disallows commands like: ./cli foo "bar baz". An
|
||||
// argument with a space is always an argument. A blank
|
||||
// argument is always an argument.
|
||||
j := 0
|
||||
for k, v := range c.Args[i:] {
|
||||
if strings.ContainsRune(v, ' ') {
|
||||
if strings.ContainsRune(v, ' ') || v == "" || v[0] == '-' {
|
||||
break
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user