Is it possible to nest arg()
?
#1157
Unanswered
ramiroaraujo
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I'm not sure I understand the question... Were you thinking of something like this? let result = await arg("Select", ["one", "two", "other"])
if(result === "other"){
result = await arg("More options", ["three", "four"])
} |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, I give you a list of options, maybe the last one is "other", and I'd like to require input for the "other" option. I initially thought it to be straightforward but I'm seeing some issues. Maybe I'm tired or maybe it's not possible?
Beta Was this translation helpful? Give feedback.
All reactions