diff --git a/click_plugins/core.py b/click_plugins/core.py index 0d7f5e9..aeadd61 100644 --- a/click_plugins/core.py +++ b/click_plugins/core.py @@ -34,7 +34,7 @@ def decorator(group): for entry_point in plugins or (): try: - group.add_command(entry_point.load()) + group.add_command(entry_point.resolve()) except Exception: # Catch this so a busted plugin doesn't take down the CLI. # Handled by registering a dummy command that does nothing