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 want a CLI prompt that will allow me to choose an item from a database. The Select prompt is close, but it requires a static Vec of options. I want something that allows me to use the user-typed input string to query a database and then provide a list of options dynamically. Ideally this should allow async database querying. I don't see any way to do that currently. Am I missing anything? Would something like this be useful for others?
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 want a CLI prompt that will allow me to choose an item from a database. The
Select
prompt is close, but it requires a static Vec of options. I want something that allows me to use the user-typed input string to query a database and then provide a list of options dynamically. Ideally this should allow async database querying. I don't see any way to do that currently. Am I missing anything? Would something like this be useful for others?Beta Was this translation helpful? Give feedback.
All reactions