Whiteknight / StoneFruit

Cli commandlet host and execution environment
https://whiteknight.github.io/StoneFruit/
Apache License 2.0
0 stars 0 forks source link

ArgumentValueFetcher should be able to lookup args by index #9

Closed Whiteknight closed 3 years ago

Whiteknight commented 4 years ago

Right now the algorithm tries to match named method parameters to named arguments from IArguments. If this name match fails, we should try to match by position. We'll probably have to "fixup" positions somehow, excluding parameters which have already been filled from the count.

Whiteknight commented 3 years ago

This is implemented in v2 branch, though I'm not entirely happy with it.