install

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 12 Imported by: 9 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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