multi valued flags #179
Replies: 2 comments 3 replies
-
Well, no. There is no support for this now. Personally, I always found this mechanic a little niche and awkward. From human interaction perspective, it makes more sense to me to say On top of that, a multi value flag means its value is always an array - which is not a first class citizen in bashland. That said - it is an interesting suggestion. I will see if there is an easy way to implement such a feature. |
Beta Was this translation helpful? Give feedback.
-
I actually believe I can implement this. It can also allow using repeatable flags for flags without arguments, for example, to provide a higher level of verbosity with The primary caveat, is that since bashly is already using an |
Beta Was this translation helpful? Give feedback.
-
Hi
Just discovered your tool, and it's very useful
I've got a question though : is it possible to define a multi valued flag ?
example :
myCmd action --param value1 --param value2
thanks
Beta Was this translation helpful? Give feedback.
All reactions