completion

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: May 6, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShellExporter

type ShellExporter interface {
	Export(w io.Writer) error
	Add(cmd string)
	AddFlag(flag string)
}

ShellExporter is the interface representing any shell having a completion feature.

func BourneAgain

func BourneAgain(appName string, commands []string) ShellExporter

BourneAgain instantiates a bash completion exporter.

Jump to

Keyboard shortcuts

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