ros2cli.entry_points module

ros2cli.entry_points.get_all_entry_points()

Get all entry points related to ros2cli and any of its extensions.

Returns:

mapping of entry point names to EntryPoint instances

Return type:

dict

ros2cli.entry_points.get_entry_points(group_name)

Get the entry points for a specific group.

Parameters:

group_name (str) – the name of the entry_point group

Returns:

mapping of group name to dictionaries which map entry point names to EntryPoint instances

Return type:

dict

ros2cli.entry_points.get_first_line_doc(any_type)
ros2cli.entry_points.load_entry_points(group_name, *, exclude_names=None)

Load the entry points for a specific group.

Parameters:
  • group_name (str) – the name of the entry_point group

  • exclude_names (iterable) – the names of the entry points to exclude

Returns:

mapping of entry point name to loaded entry point

Return type:

dict