Skip to content

refactor(ui): remove survey abstractions, drop survey dependency#144

Open
blsmth wants to merge 1 commit into
mainfrom
remove-survey-abstractions-124
Open

refactor(ui): remove survey abstractions, drop survey dependency#144
blsmth wants to merge 1 commit into
mainfrom
remove-survey-abstractions-124

Conversation

@blsmth
Copy link
Copy Markdown
Contributor

@blsmth blsmth commented May 19, 2026

The survey-to-huh migration is complete (last call site landed in #135). This drops the survey-era plumbing in ui/questions.go:

  • QuestionExtra type
  • BooleanOptionProxy, MultiLineValueProxy, StringValueProxy
  • AskQuestions function
  • survey/v2 + survey/v2/core imports

BooleanAsYesNo, PauseUntilEnter, and the huh helpers (YesNoOptions, YesNoToBool, PrintQuestionHeader) are retained — they have no survey dependency and are still used across stacks/ and cmd/.

go mod tidy drops AlecAivazis/survey/v2 plus its transitive deps (Netflix/go-expect, hinshun/vt10x, kballard/go-shellquote, mgutz/ansi).

Closes #124

The survey-to-huh migration is complete (last call site landed in #135).
Delete the survey-era plumbing in ui/questions.go:

- QuestionExtra type
- BooleanOptionProxy, MultiLineValueProxy, StringValueProxy
- AskQuestions function
- survey/v2 + survey/v2/core imports

BooleanAsYesNo, PauseUntilEnter, and the huh helpers (YesNoOptions,
YesNoToBool, PrintQuestionHeader) are retained — they have no survey
dependency and are still used across stacks/ and cmd/.

go mod tidy drops AlecAivazis/survey/v2 plus its transitive deps
(Netflix/go-expect, hinshun/vt10x, kballard/go-shellquote, mgutz/ansi).

Closes #124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove survey abstractions from ui/questions.go

1 participant