install

package
v3.0.0-...-00d5ead Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package install provide installation functions of command completion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(cmd string) 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) error

Uninstall complete command given: cmd: is the command name

Types

This section is empty.

Jump to

Keyboard shortcuts

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