install

package
v0.0.0-...-8ef8941 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0, MIT Imports: 13 Imported by: 1

Documentation

Overview

Package install provide installation functions of command completion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BashCmd

func BashCmd(cmd string) (string, error)

func FishCmd

func FishCmd(cmd string) (string, error)

func Install

func Install(cmd string) (err error)

Install complete command given: cmd: is the command name

func IsInstalled

func IsInstalled(cmd string) bool

IsInstalled returns true if the completion for the given cmd is installed.

func Run

func Run(name string, uninstall, yes bool, out io.Writer, in io.Reader)

func Uninstall

func Uninstall(cmd string) (err error)

Uninstall complete command given: cmd: is the command name

func ZshCmd

func ZshCmd(cmd string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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