Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 489 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 489 Bytes

Cobra-Prompt

Cobra-prompt makes every Cobra command and flag available for go-prompt.

Features

  • Traverse cobra command tree. Every command and flag will be available.
  • Persist flag values.
  • Add custom functions for dynamic suggestions.

Getting started

Get the module:

go get github.com/verkada/cobra-prompt

Explore the example

cd _example
go build -o cobra-prompt
./cobra-prompt