python-fire
python-fire copied to clipboard
fix: preserve chained flags after kwargs calls
Avoid greedily consuming flags into an intermediate callable when it accepts **kwargs and the command continues into a chained call. Keep those flags available for the next component in the chain.
Add a regression test for the dataclass example from issue #659.
Refs #659.