1
0

Update module spf13/cobra to v1 (#511)

Update module spf13/cobra to v1

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/511
This commit is contained in:
renovate
2020-05-14 19:09:06 +00:00
committed by konrad
parent 91a3b7aba2
commit 4533ac6b28
11 changed files with 855 additions and 61 deletions

7
vendor/github.com/spf13/cobra/fish_completions.md generated vendored Normal file
View File

@ -0,0 +1,7 @@
## Generating Fish Completions for your own cobra.Command
Cobra supports native Fish completions generated from the root `cobra.Command`. You can use the `command.GenFishCompletion()` or `command.GenFishCompletionFile()` functions. You must provide these functions with a parameter indicating if the completions should be annotated with a description; Cobra will provide the description automatically based on usage information. You can choose to make this option configurable by your users.
### Limitations
* Custom completions implemented using the `ValidArgsFunction` and `RegisterFlagCompletionFunc()` are supported automatically but the ones implemented in Bash scripting are not.