cli / go-gh

A Go module for interacting with gh and the GitHub API from the command line.
https://pkg.go.dev/github.com/cli/go-gh/v2
MIT License
322 stars 45 forks source link

WIP Prototype using charmbracelet/huh for prompter #166

Open andyfeller opened 4 weeks ago

andyfeller commented 4 weeks ago

Relates https://github.com/cli/cli/issues/8084 Relates #164

With go-survey/survey being unmaintained, this is an initial prototype of using https://github.com/charmbracelet/huh as an optional prompting experience including support for accessiblity needs.

Additionally, this commit includes a simple example to demo the existing and new experiences in examples/prompter/main.go:

https://github.com/cli/go-gh/assets/2089743/1b1d347f-293b-46b6-bae0-4fd9cd3e43c1