quackamollie.core.cli.helpers.entry_point_command module

quackamollie.core.cli.helpers.entry_point_command.get_commands_from_entry_points(entrypoint_group: str) Dict[str, Command | Group | MultiCommand][source]

Parse entry_points from a group in order to load and make dynamically available click commands, groups or multi-commands to a parent group or multi-command

Parameters:

entrypoint_group (str) – The entry_point group to iterate over to dynamically find quackamollie click plugins

Returns:

A dictionary of click commands, groups or multi-commands indexed by entry_point name

Return type:

Dict[str, Union[click.Command, click.Group, click.MultiCommand]]