Skip to content

feat(stacks): migrate database.go from survey to huh#130

Merged
blsmth merged 1 commit intomainfrom
122-migrate-database-to-huh
Apr 13, 2026
Merged

feat(stacks): migrate database.go from survey to huh#130
blsmth merged 1 commit intomainfrom
122-migrate-database-to-huh

Conversation

@blsmth
Copy link
Copy Markdown
Contributor

@blsmth blsmth commented Apr 1, 2026

Summary

  • Replace survey-based prompts in stacks/database.go with huh form builders
  • Extract four pure form builder functions: DatabaseEngineForm, DatabaseAuroraForm, DatabaseInstanceClassForm, DatabaseMultiAZForm
  • Add teatest-based tests for all form builders covering default selection and alternate selection paths

Closes #122

@blsmth blsmth force-pushed the 122-migrate-database-to-huh branch from 7054948 to 2b6fdef Compare April 13, 2026 21:37
@blsmth blsmth changed the base branch from main to 120-migrate-askforcluster-to-huh April 13, 2026 21:37
Replace survey-based AskQuestions in database.go with extracted huh form
builder functions (DatabaseEngineForm, DatabaseAuroraForm,
DatabaseInstanceClassForm, DatabaseMultiAZForm). Add teatest-based tests
for all four form builders.

Closes #122
@blsmth blsmth force-pushed the 122-migrate-database-to-huh branch from 2b6fdef to 00833b1 Compare April 13, 2026 21:54
@blsmth blsmth changed the base branch from 120-migrate-askforcluster-to-huh to main April 13, 2026 21:54
@blsmth blsmth merged commit 6867852 into main Apr 13, 2026
4 of 5 checks passed
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.

Migrate stacks/database.go from survey to huh

1 participant