docopt-dispatch sends the full kwargs dictionary to dispatched functions. When several CLI calls are specified, not all values are relevant to the dispatched function, though.
Proposed solution (Feature request)
The kwargs argument in the dispatched function should only contain the key-values pairs that are relevant to the call that was identified from the specification.
Problem
docopt-dispatch sends the full kwargs dictionary to dispatched functions. When several CLI calls are specified, not all values are relevant to the dispatched function, though.
Proposed solution (Feature request)
The kwargs argument in the dispatched function should only contain the key-values pairs that are relevant to the call that was identified from the specification.
Relates to bug #4.