I am trying to implement logic using this library:
I have the verb write
, and options by this scheme:
write (-md [-p|-s] [-t]) | (-txt [-v])
- where '|' - means or (only -p OR -s is accepted (but not necessary as shown by '[]') when using -md)
Is there easy way to implement this? or should I split this to separate verbs?