bridge

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 18 Imported by: 73

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionArgcomplete

func ActionArgcomplete(command ...string) carapace.Action

ActionArgcomplete bridges https://github.com/kislyuk/argcomplete

var rootCmd = &cobra.Command{
	Use:                "az",
	Short:              "Azure Command-Line Interface",
	Run:                func(cmd *cobra.Command, args []string) {},
	DisableFlagParsing: true,
}

func Execute() error {
	return rootCmd.Execute()
}

func init() {
	carapace.Gen(rootCmd).Standalone()

	carapace.Gen(rootCmd).PositionalAnyCompletion(
		argcomplete.ActionArgcomplete("az"),
	)
}

func ActionBash

func ActionBash(command ...string) carapace.Action

ActionBash bridges completions registered in bash (uses custom `.bashrc` in “~/.config/carapace/bridge/bash`)

func ActionBridges

func ActionBridges(command ...string) carapace.Action

Bridges bridges completions as defined in bridges.yaml and CARAPACE_BRIDGE environment variable

func ActionCarapace

func ActionCarapace(command ...string) carapace.Action

ActionCarapace bridges https://github.com/carapace-sh/carapace

func ActionCarapaceBin

func ActionCarapaceBin(command ...string) carapace.Action

ActionCarapaceBin bridges completions registered in carapace-bin

func ActionClap

func ActionClap(command ...string) carapace.Action

ActionClap bridges https://github.com/clap-rs/clap

var rootCmd = &cobra.Command{
	Use:                "dynamic",
	Short:              "dynamic example",
	Run:                func(cmd *cobra.Command, args []string) {},
	DisableFlagParsing: true,
}

func Execute() error {
	return rootCmd.Execute()
}

func init() {
	carapace.Gen(rootCmd).Standalone()

	carapace.Gen(rootCmd).PositionalAnyCompletion(
		bridge.ActionClap("dynamic"),
	)
}

func ActionClick

func ActionClick(command ...string) carapace.Action

ActionClick bridges https://github.com/pallets/click

var rootCmd = &cobra.Command{
	Use:                "watson",
	Short:              "Watson is a tool aimed at helping you monitoring your time",
	Run:                func(cmd *cobra.Command, args []string) {},
	DisableFlagParsing: true,
}

func Execute() error {
	return rootCmd.Execute()
}

func init() {
	carapace.Gen(rootCmd).Standalone()

	carapace.Gen(rootCmd).PositionalAnyCompletion(
		bridge.ActionClick("watson"),
	)
}

func ActionCobra

func ActionCobra(command ...string) carapace.Action

ActionCobra bridges https://github.com/spf13/cobra

var rootCmd = &cobra.Command{
	Use:                "podman",
   Short:              "Simple management tool for pods, containers and images",
   Long:               "https://podman.io/",
	Run:                func(cmd *cobra.Command, args []string) {},
	DisableFlagParsing: true,
}

func Execute() error {
	return rootCmd.Execute()
}
func init() {
	carapace.Gen(rootCmd).Standalone()

	carapace.Gen(rootCmd).PositionalAnyCompletion(
		cobracomplete.ActionCobra("podman"),
	)
}

func ActionComplete

func ActionComplete(command ...string) carapace.Action

ActionComplete bridges https://github.com/posener/complete

var rootCmd = &cobra.Command{
	Use:                "vault",
	Short:              "A tool for secrets management",
	Long:               "https://www.vaultproject.io/",
	Run:                func(cmd *cobra.Command, args []string) {},
	DisableFlagParsing: true,
}

func Execute() error {
	return rootCmd.Execute()
}
func init() {
	carapace.Gen(rootCmd).Standalone()

	carapace.Gen(rootCmd).PositionalAnyCompletion(
		bridge.ActionComplete("vault"),
	)
}

func ActionFish

func ActionFish(command ...string) carapace.Action

ActionFish bridges completions registered in fish (uses custom `config.fish` in “~/.config/carapace/bridge/fish`)

func ActionInshellisense

func ActionInshellisense(command ...string) carapace.Action

ActionInshellisense bridges https://github.com/microsoft/inshellisense

func ActionKingpin

func ActionKingpin(command ...string) carapace.Action

ActionKingpin bridges https://github.com/alecthomas/kingpin

var rootCmd = &cobra.Command{
	Use:                "tsh",
	Short:              "Teleport Command Line Client",
	Run:                func(cmd *cobra.Command, args []string) {},
	DisableFlagParsing: true,
}

func Execute() error {
	return rootCmd.Execute()
}

func init() {
	carapace.Gen(rootCmd).Standalone()

	carapace.Gen(rootCmd).PositionalAnyCompletion(
		bridge.ActionKingpin("tsh"),
	)
}

func ActionMacro

func ActionMacro(command ...string) carapace.Action

ActionCarapace bridges macros exposed with https://github.com/carapace-sh/carapace-bin

func ActionPowershell

func ActionPowershell(command ...string) carapace.Action

ActionPowershell bridges completions registered in powershell (uses custom `Microsoft.PowerShell_profile.ps1` in “~/.config/carapace/bridge/powershell`)

func ActionUrfavecli

func ActionUrfavecli(command ...string) carapace.Action

ActionUrfavecli bridges https://github.com/urfave/cli

func ActionYargs

func ActionYargs(command ...string) carapace.Action

ActionYargs bridges https://github.com/yargs/yargs

var rootCmd = &cobra.Command{
	Use:                "ng",
	Short:              "CLI tool for Angular",
	Run:                func(cmd *cobra.Command, args []string) {},
	DisableFlagParsing: true,
}

func Execute() error {
	return rootCmd.Execute()
}

func init() {
	carapace.Gen(rootCmd).Standalone()

	carapace.Gen(rootCmd).PositionalAnyCompletion(
		bridge.ActionYargs("ng"),
	)
}

func ActionZsh

func ActionZsh(command ...string) carapace.Action

ActionZsh bridges completions registered in zsh (uses custom `.zshrc` in “~/.config/carapace/bridge/zsh`)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL