posener / complete

bash completion written in go + bash completion for go command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go tool subcommand completion missing

josharian opened this issue · comments

$ go tool com<tab>
$ go tool pp<tab>

This should autocomplete to go tool compile and go tool pprof. And ideally also understand the subcommands' flags (of which there are admittedly many). But just completing the subcommands themselves would be a nice start.

That's true,
Subcommands can be easily added, want to do it yourself?