From f603274737aa07071fada4eb10df2243144667f9 Mon Sep 17 00:00:00 2001 From: rsteube Date: Wed, 20 Dec 2023 09:25:46 +0100 Subject: [PATCH] doc: bridge - added inshellisense --- docs/src/spec/bridge.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/src/spec/bridge.md b/docs/src/spec/bridge.md index abe0c1bf91..d91a27eda6 100644 --- a/docs/src/spec/bridge.md +++ b/docs/src/spec/bridge.md @@ -87,6 +87,16 @@ completion: positionalany: ["$_bridge.Complete([vault])"] ``` +### Inshellisense +Commands provided by [microsoft/inshellisense] can be bridged with the [`bridge.Inshellisense`] macro: + +```yaml +name: node +description: Run the node interpreter +completion: + positionalany: ["$_bridge.Inshellisense([node])"] +``` + ### Kingpin [alecthomas/kingpin] based commands can be bridged with the [`bridge.Kingpin`] macro: @@ -195,6 +205,9 @@ completion: [posener/complete]:https://github.com/posener/complete [`bridge.Complete`]:https://pkg.go.dev/github.com/rsteube/carapace-bridge/pkg/actions/bridge#ActionComplete +[microsoft/inshellisense]:https://github.com/microsoft/inshellisense +[`bridge.Inshellisense`]:https://pkg.go.dev/github.com/rsteube/carapace-bridge/pkg/actions/bridge#ActionInshellisense + [alecthomas/kingpin]:https://github.com/alecthomas/kingpin [`bridge.Kingpin`]:https://pkg.go.dev/github.com/rsteube/carapace-bridge/pkg/actions/bridge#ActionKingpin