Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Prototype using charmbracelet/huh for prompter #166

Draft
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Commits on Jun 3, 2024

  1. Prototype using charmbracelet/huh for prompter

    Relates cli/cli#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`:
    
    - 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
    andyfeller committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    c84e162 View commit details
    Browse the repository at this point in the history