Replace AlecAivazis/survey lib #767

Open
opened 2026-02-13 15:24:15 +00:00 by iexos · 3 comments
Member

survey has been archived in 2024 and recommends bubbletea as a replacement. We probably need to migrate at some point.

Also, survey has some issues with receiving non-interactive input via stdin (piping or heredoc), limiting what we can cover in our bats integration test suite. No idea if bubbletea is better in that regard though

[survey](https://github.com/AlecAivazis/survey/) has been archived in 2024 and recommends [bubbletea](https://github.com/charmbracelet/bubbletea) as a replacement. We probably need to migrate at some point. Also, survey has some [issues](https://github.com/AlecAivazis/survey/issues/328) with receiving non-interactive input via stdin (piping or heredoc), limiting what we can cover in our bats integration test suite. No idea if bubbletea is better in that regard though
iexos added the
bug
label 2026-02-13 15:43:28 +00:00
Owner

Nice yeh, that sounds good! We already started using bubbletea:

go.mod Line 11 in 98e48c95c7
github.com/charmbracelet/bubbletea v1.3.10

I think https://github.com/charmbracelet/huh comes the closest to the functionality of survey?

Feel free anyone to try this migration!

Nice yeh, that sounds good! We already started using `bubbletea`: https://git.coopcloud.tech/toolshed/abra/src/commit/98e48c95c7f5f520d25658c4d639eeb69489481d/go.mod#L11 I think https://github.com/charmbracelet/huh comes the closest to the functionality of survey? Feel free anyone to try this migration!
decentral1se added
enhancement
and removed
bug
labels 2026-02-13 15:56:57 +00:00
Author
Member

Maybe we should have a tech debt label? :)

Maybe we should have a tech debt label? :)
Owner

tech debt

That's like 60% of abra 🙃

(P.S added the label 😆)

> tech debt That's like 60% of `abra` 🙃 (P.S added the label 😆)
decentral1se added
tech-debt
and removed
enhancement
labels 2026-02-15 13:15:58 +00:00
decentral1se changed title from replace `survey` lib to replace `AlecAivazis/survey` lib 2026-02-20 14:10:12 +00:00
decentral1se changed title from replace `AlecAivazis/survey` lib to Replace `AlecAivazis/survey` lib 2026-02-20 14:10:16 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#767
No description provided.