Package Usage: go: github.com/s0rg/compflag
Package compflag generates bash completions on-the-fly from stdlib flag values.
Usage - just call compflag.Complete() somewhere before actual app logic, best point is right at the start:
Please note, that you need to exit app if any completion happened.
Build your app, put binary somewhere in your "PATH", then run:
Now enter "%your-binary-name%", and hit tab twice )
3 versions
Latest release: over 2 years ago
1 dependent package
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/s0rg/compflag