summaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/cobra/fish_completions.md
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-09-25 08:16:44 +0000
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-25 04:19:55 -0400
commit017f8d6a632d26757685a5e629e3263db14b5156 (patch)
tree6cdd71e21d59a6a2814c1927376a370f2bd77e18 /vendor/github.com/spf13/cobra/fish_completions.md
parent90c2cc6c8342e96ca0a21e59c3cdb7761b2229ea (diff)
downloadpodman-017f8d6a632d26757685a5e629e3263db14b5156.tar.gz
podman-017f8d6a632d26757685a5e629e3263db14b5156.tar.bz2
podman-017f8d6a632d26757685a5e629e3263db14b5156.zip
Bump github.com/containers/common from 0.22.0 to 0.23.0
Bumps [github.com/containers/common](https://github.com/containers/common) from 0.22.0 to 0.23.0. - [Release notes](https://github.com/containers/common/releases) - [Commits](https://github.com/containers/common/compare/v0.22.0...v0.23.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/spf13/cobra/fish_completions.md')
-rw-r--r--vendor/github.com/spf13/cobra/fish_completions.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/spf13/cobra/fish_completions.md b/vendor/github.com/spf13/cobra/fish_completions.md
new file mode 100644
index 000000000..6bfe5f88e
--- /dev/null
+++ b/vendor/github.com/spf13/cobra/fish_completions.md
@@ -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.