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:
by default, the existing go-survey/survey experience
specifying GH_PROMPTER=accessible, the new charmbracelet/huh experience in rich mode
specifying ACCESSIBLE=1 with GH_PROMPTER=accessible, the new charmbracelet/huh experience in accessible mode
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
:GH_PROMPTER=accessible
, the new charmbracelet/huh experience in rich modeACCESSIBLE=1
withGH_PROMPTER=accessible
, the new charmbracelet/huh experience in accessible modehttps://github.com/cli/go-gh/assets/2089743/1b1d347f-293b-46b6-bae0-4fd9cd3e43c1