Go to file
Eyal Posener 99ef98e3ba enhance readme 2017-05-06 18:59:06 +03:00
gocomplete Add easy way to install the bash completion 2017-05-06 18:55:54 +03:00
install Add easy way to install the bash completion 2017-05-06 18:55:54 +03:00
tests Fix tests 2017-05-06 00:46:03 +03:00
.gitignore Add go test script and travis file 2017-05-06 00:38:16 +03:00
.travis.yml Fix tests 2017-05-06 00:46:03 +03:00
cmd.go Add easy way to install the bash completion 2017-05-06 18:55:54 +03:00
command.go Add easy way to install the bash completion 2017-05-06 18:55:54 +03:00
go.test.sh Add go test script and travis file 2017-05-06 00:38:16 +03:00
log.go Roughly add all go commands 2017-05-06 00:25:27 +03:00
option.go Roughly add all go commands 2017-05-06 00:25:27 +03:00
predicate.go nicer signature for PredictSet 2017-05-06 00:53:03 +03:00
readme.md enhance readme 2017-05-06 18:59:06 +03:00
run.go Add easy way to install the bash completion 2017-05-06 18:55:54 +03:00
run_test.go Add easy way to install the bash completion 2017-05-06 18:55:54 +03:00

readme.md

complete

Build Status codecov

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 there is an example for bash completion for the go command line.

Install

  1. Type in your shell:
go get github.com/posener/complete/gocomplete
gocomplete -install
  1. Restart your shell

Uninstall

gocomplete -uninstall