Closed RyanSquared closed 6 years ago
Makes sense to implement this. Need to think a bit about the way this affects usage message. As order is important for positional arguments it would make sense to put usage of a mutex containing an argument in the spot where argument's usage would be if it wasn't in a mutex. Like this:
cmd [--option1] [--option2] <arg1> ([--option3] | <arg2>) <arg3>
I'll see if I can implement this, in the meantime pull requests are welcome.
Implemented on master branch (better late than never...)
Kinda like how Python runs stuff, I would like to be able to do
fusion [ --package <package> | file ]
so that either you can runfusion --package <package>
orfusion <file>
.