These are chat archives for kbknapp/clap-rs

2nd
Feb 2017
Daniel Griffen
@dgriffen
Feb 02 2017 05:30
Is there a way to specify that an argument requires at least one of the following flags?
Kevin K.
@kbknapp
Feb 02 2017 05:56
@dgriffen yes, use an ArgGroup, then have the one aeg require the group
Daniel Griffen
@dgriffen
Feb 02 2017 05:56
thanks
No problem!
Daniel Griffen
@dgriffen
Feb 02 2017 18:57
It doesn't seem to be possible to set the multiple flag of an arg group from yaml. Is there a reason for that?
Kevin K.
@kbknapp
Feb 02 2017 18:59
Ah it could be simply missing from the tank
Yaml API*
Sorry I'm on mobile
Could you file an issue and I should be able to add it later today or tomorrow
Daniel Griffen
@dgriffen
Feb 02 2017 19:00
yeah, looking at the source at https://docs.rs/clap/2.20.1/src/clap/args/group.rs.html#457-503 it seems the setting is missing. I'll create the issue.
Kevin K.
@kbknapp
Feb 02 2017 19:01
Thanks!