Initialize the plugin system.
(self)
| 5801 | # |
| 5802 | ### |
| 5803 | def _initialize_plugin_system(self) -> None: |
| 5804 | """Initialize the plugin system.""" |
| 5805 | self._preloop_hooks: list[Callable[[], None]] = [] |
| 5806 | self._postloop_hooks: list[Callable[[], None]] = [] |
| 5807 | self._postparsing_hooks: list[Callable[[plugin.PostparsingData], plugin.PostparsingData]] = [] |
| 5808 | self._precmd_hooks: list[Callable[[plugin.PrecommandData], plugin.PrecommandData]] = [] |
| 5809 | self._postcmd_hooks: list[Callable[[plugin.PostcommandData], plugin.PostcommandData]] = [] |
| 5810 | self._cmdfinalization_hooks: list[Callable[[plugin.CommandFinalizationData], plugin.CommandFinalizationData]] = [] |
| 5811 | |
| 5812 | @classmethod |
| 5813 | def _validate_callable_param_count(cls, func: Callable[..., Any], count: int) -> None: |