more to read in readme
This commit is contained in:
parent
9123548bc5
commit
c7377ba2de
13
readme.md
13
readme.md
|
@ -15,6 +15,9 @@ the completion of the command.
|
||||||
|
|
||||||
In [gocomplete](./gocomplete) there is an example for bash completion for the `go` command line.
|
In [gocomplete](./gocomplete) there is an example for bash completion for the `go` command line.
|
||||||
|
|
||||||
|
This is an example that uses the `complete` package on the `go` command - the `complete` package
|
||||||
|
can also be used to implement any completions, see [Usage](#usage).
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
|
||||||
1. Type in your shell:
|
1. Type in your shell:
|
||||||
|
@ -25,11 +28,13 @@ gocomplete -install
|
||||||
|
|
||||||
2. Restart your shell
|
2. Restart your shell
|
||||||
|
|
||||||
### Uninstall
|
Uninstall by `gocomplete -uninstall`
|
||||||
|
|
||||||
```
|
### Features
|
||||||
gocomplete -uninstall
|
|
||||||
```
|
- Complete `go` command, including sub commands and all flags.
|
||||||
|
- Complete packages names or `.go` files when necessary.
|
||||||
|
- Complete test names after `-run` flag.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue