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
I have been recently switching some of my shell scripts over to rich-cli recently and I was surprised that there wasn't an option to prompt the user for input.
I have been using a ruby library called gum, which works rather well.
$ gum choose "yes""no" --selected="yes"> yes
no
Not sure if this is a feature that would make sense for rich-cli or if maybe I'm bad at figuring out how to do this with rich-cli. Either way, I thought it was worth starting the discussion. :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been recently switching some of my shell scripts over to rich-cli recently and I was surprised that there wasn't an option to prompt the user for input.
I have been using a ruby library called gum, which works rather well.
Not sure if this is a feature that would make sense for rich-cli or if maybe I'm bad at figuring out how to do this with rich-cli. Either way, I thought it was worth starting the discussion. :)
Beta Was this translation helpful? Give feedback.
All reactions