[go-nuts] Re: New fully featured bash completion for go - written in go

2017-05-15 Thread Eyal Posener
The right installation commands are: go get github.com/posener/complete/gocomplete gocomplete -install You can also view the code in https://github.com/posener/complete On Saturday, May 13, 2017 at 11:29:47 AM UTC+3, Eyal Posener wrote: > > Simple to install (Assuming GOPATH and PATH are correc

[go-nuts] Re: New fully featured bash completion for go - written in go

2017-05-14 Thread mhhcbon
looks awesome!! In this, https://github.com/posener/complete/blob/master/example/self/main.go Just wonder why i can t simply do something similar to, var name string whatever.StringVar(&name, "name", "", "Give your name", complete. PredictAnything) if whatever.Run() { return } Anyway, great s