Skip to content

Commit 8187553

Browse files
committed
tmp
1 parent 9107afd commit 8187553

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

pkg/actions/bridge/bridge.go

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package bridge
22

33
import (
4-
"maps"
54
"slices"
65

76
"github.com/carapace-sh/carapace"
@@ -46,8 +45,29 @@ func Get(name string) (func(command ...string) carapace.Action, bool) {
4645
// cobra
4746
func ActionBridges() carapace.Action {
4847
return carapace.ActionCallback(func(c carapace.Context) carapace.Action {
49-
return carapace.ActionValues(slices.Collect(maps.Keys(bridgeActions))...).
50-
Tag("bridges")
48+
return carapace.ActionValuesDescribed(
49+
"argcomplete", "bridges https://github.com/kislyuk/argcomplete",
50+
"argcompleteV1", "bridges https://github.com/kislyuk/argcomplete",
51+
"aws", "bridges https://github.com/aws/aws-cli",
52+
"bash", "bridges completions registered in bash",
53+
"carapace-bin", "bridges completions registered in carapace-bin",
54+
"carapace", "bridges https://github.com/carapace-sh/carapace",
55+
"clap", "bridges https://github.com/clap-rs/clap",
56+
"click", "bridges https://github.com/pallets/click",
57+
"cobra", "bridges https://github.com/spf13/cobra",
58+
"complete", "bridges https://github.com/posener/complete",
59+
"fish", "bridges completions registered in fish",
60+
"gcloud", "bridges https://docs.cloud.google.com/sdk/gcloud",
61+
"inshellisense", "bridges https://github.com/microsoft/inshellisense",
62+
"kingpin", "bridges https://github.com/alecthomas/kingpin",
63+
"kitten", "bridges https://github.com/kovidgoyal/kitty",
64+
"macro", "bridges macros exposed with https://github.com/carapace-sh/carapace-spec",
65+
"powershell", "bridges completions registered in powershell",
66+
"urfavecli", "bridges https://github.com/urfave/cli (v2)",
67+
"urfavecliV1", "bridges https://github.com/urfave/cli (v3)",
68+
"yargs", "bridges https://github.com/yargs/yargs",
69+
"zsh", "bridges completions registered in zsh",
70+
).Tag("bridges")
5171
})
5272
}
5373

0 commit comments

Comments
 (0)