mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
vendor: revendor
This commit is contained in:
parent
269295a414
commit
9f0440be0f
669 changed files with 58447 additions and 20021 deletions
7
vendor/github.com/spf13/cobra/fish_completions.md
generated
vendored
7
vendor/github.com/spf13/cobra/fish_completions.md
generated
vendored
|
|
@ -1,7 +1,4 @@
|
|||
## Generating Fish Completions for your own cobra.Command
|
||||
## Generating Fish Completions For Your 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.
|
||||
Please refer to [Shell Completions](shell_completions.md) for details.
|
||||
|
||||
### Limitations
|
||||
|
||||
* Custom completions implemented using the `ValidArgsFunction` and `RegisterFlagCompletionFunc()` are supported automatically but the ones implemented in Bash scripting are not.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue