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

Swap to huh for prompts #685

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

Swap to huh for prompts #685

wants to merge 1 commit into from

Conversation

miniscruff
Copy link
Owner

Closes #NNN

Check the following

  • Maintain high code coverage
  • Be properly formatted
  • Documentation changes are included
  • Include a change file if expected

Additional context
Any additional info that might help get your pull request merged.

@Magic-Mayo
Copy link
Contributor

If you add a Height to the NewSelect and NewMultiSelect that should take care of everything. Looking forward to this change!

huh.NewMultiSelect[string]().
	Title("Projects").
	Options(projectOptions...).
	Value(&p.Projects).
	Height(10),

@miniscruff
Copy link
Owner Author

If you add a Height to the NewSelect and NewMultiSelect that should take care of everything. Looking forward to this change!

huh.NewMultiSelect[string]().
	Title("Projects").
	Options(projectOptions...).
	Value(&p.Projects).
	Height(10),

I am waiting on huh to support hide funcs so I can conditionally hide the optional prompts in one form.

@miniscruff miniscruff changed the title Quick prototype of huh forms for prompt input Swap to huh for prompts Sep 7, 2024
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.

2 participants