Assertfail

Isop infers parameters

21 Sep 2013

Command line tools should do what people expect. It’s a bit chaotic to navigate how to parse command line parameters since there are many conventions.

I’ve added code to try to infer value for a parameter using it’s ordinal position when there are no ordinary parameters present before the inferred parameter value.

This simply means that it should be possible to write:

my.exe --param1=something --param2=someother

and also:

my.exe something someother

Tags


Comments

Comments or errors? Fork this post and do a pull request on github