Cobra-prompt makes every Cobra command and flag available for go-prompt.
- Traverse cobra command tree. Every command and flag will be available.
- Persist flag values.
- Add custom functions for dynamic suggestions.
Get the module:
go get github.com/stromland/cobra-prompt
cd _example
go build -o cobra-prompt
./cobra-prompt