Skip to content

Migrate cluster domain prompt from survey to huh#126

Open
blsmth wants to merge 1 commit intosurvey-to-huh-v2from
118-migrate-cluster-to-huh
Open

Migrate cluster domain prompt from survey to huh#126
blsmth wants to merge 1 commit intosurvey-to-huh-v2from
118-migrate-cluster-to-huh

Conversation

@blsmth
Copy link
Copy Markdown
Contributor

@blsmth blsmth commented Mar 21, 2026

Summary

  • Migrate cluster domain input prompt from survey to huh
  • Extract ClusterDomainForm as a pure form builder function
  • Add teatest TUI tests and testscript CLI tests

Closes #118

Changes

File Purpose
stacks/cluster.go Replace ui.AskQuestions with huh form; extract ClusterDomainForm
stacks/cluster_test.go teatest tests (enter domain, accept default)
testdata/script/create_cluster.txtar testscript for help output

@blsmth
Copy link
Copy Markdown
Contributor Author

blsmth commented Mar 31, 2026

@ipmb — Want to check if you're OK with us self-approving these survey-to-huh migration PRs to keep the project moving. Happy to wait for your review if you'd prefer, but wanted to flag it since these have been open a while.

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.

1 participant