I found a command line utility in our code base where the author had written a homebrew command line parser, which involved more code than the utility itself did. I decided to switch it to using Apache CLI and things are almost working.
The utility makes use of trailing args, so it'd look something like this:
util --argA=1 --argB=2 foo blah blarg
where "foo", "blah", and "blarg" are used as an argument.
Is there a way to handle this situation? I'd rather not (and might not be empowered to) change the command line signature of this utility.