click-contrib / click-repl

Subcommand REPL for click apps
MIT License
219 stars 40 forks source link

Fixed autocomplete execution bug #115

Open loft-nathan-rockwood opened 8 months ago

loft-nathan-rockwood commented 8 months ago

Without setting param_called back to False, all options with shell_complete are automatically executed. All options are executed from iterating over a list of current arg to end of arg list. This results in only the last option's values being displayed.

GhostOps77 commented 3 months ago

You can add some test cases to verify the intended behaviour.