Skip to content

[New Feature] require option1 OR option2 #1

Description

@mxcarron

Hi,

Currently require only support 'AND'

argsparse_use_option option1 "desc option1"
argsparse_use_option option2 "desc option2"
argsparse_use_option option2 "desc option3" require:"option1 option2"

=> option3 requires option1 AND option2

It would be nice to have
=> option3 requires option1 OR option2
Or even
=> option3 requiques (option1 AND option2) OR requires (option4 AND option5)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions