Update vendor

This commit is contained in:
Ettore Di Giacinto
2020-06-12 17:58:13 +02:00
parent 6d68ed073d
commit 6b8f412138
134 changed files with 6189 additions and 3165 deletions

19
vendor/github.com/mudler/cobra-extensions/README.md generated vendored Normal file
View File

@@ -0,0 +1,19 @@
# cobra-extensions
Create git-alike extensions for your cobra projects!
## Usage
```
import "github.com/mudler/cobra-extensions"
// Detect my-awesome-cli-foo, my-awesome-cli-bar in $PATH and extensiopath1 (relative to the bin)
// it also accepts abspath
exts := extensions.Discover("my-awesome-cli", "extensiopath1", "extensiopath2")
fmt.Println("Detected extensions:", exts)
for _, ex := range exts {
name := ex.Short()
cobraCmd := ex.CobraCommand()
}
```