blob: f9902d080798d1780e62baf24862268ccea4f612 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# complete
[](https://travis-ci.org/posener/complete)
[](https://codecov.io/gh/posener/complete)
WIP
A tool for bash writing bash completion in go.
Writing bash completion scripts is a hard work. This package provides an easy way
to create bash completion scripts for any command, and also an easy way to install/uninstall
the completion of the command.
## go command bash completion
In [gocomplete](./gocomplete) there is an example for bash completion for the `go` command line.
### Install
```
go get github.com/posener/complete/gocomplete
gocomplete -install
```
### Uninstall
```
gocomplete -uninstall
```
|