Cocona icon indicating copy to clipboard operation
Cocona copied to clipboard

Specifying a boolean option multiple times

Open CyberBotX opened this issue 5 years ago • 2 comments

I've been trying to look through and even debug through Cocona's source code to see if this is possible, but I was unable to find an answer. Some command line applications will allow you do something like command -vv to get more verbosity than usual. As far as I can tell, Cocona does not seem to support this? I don't think making the option a bool[] works as it wants actual booleans on the command line. If there is some way to do this with Cocona, please let me know. If not, I can look into another way of doing things that doesn't use boolean.

CyberBotX avatar Mar 08 '21 01:03 CyberBotX

Sorry, Cocona does not currently support -vvvv style options like curl command. It may be possible to support it with some hacks, but it is not recommended considering the help output and so on.

mayuki avatar Mar 09 '21 03:03 mayuki

Is this something that will possibly be considered in the future? Again, if not, I can look into another way.

CyberBotX avatar Mar 09 '21 04:03 CyberBotX