You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am embedding gum into a new modular zsh framework, which also runs tests on zsh functions.
These functions use gum choose and gum confirm for example and I would like to be able to automatically
confirm or choose an item from the list. Is there a way to do that ?
gum confirm and gum choose do offer a timeout flag which is helpful for running automated tests. That will essentially just pick the default selection after a certain time has passed, so you'd have to write your tests accordingly.
However, there are some formats that don't have a timeout flag like gum table. Not sure how to get these to pass automated tests. Piping in yes "" doesn't work, but it would be great if it did!
Hi, I am embedding gum into a new modular zsh framework, which also runs tests on zsh functions.
These functions use
gum choose
andgum confirm
for example and I would like to be able to automaticallyconfirm or choose an item from the list. Is there a way to do that ?
For example using
yes
commandFor a choice in a list
The text was updated successfully, but these errors were encountered: