Find the CommandSet that registered the command name. :param command_name: command name to search :return: CommandSet that provided the command
(self, command_name: str)
| 800 | ] |
| 801 | |
| 802 | def find_commandset_for_command(self, command_name: str) -> CommandSet[Any] | None: |
| 803 | """Find the CommandSet that registered the command name. |
| 804 | |
| 805 | :param command_name: command name to search |
| 806 | :return: CommandSet that provided the command |
| 807 | """ |
| 808 | return self._cmd_to_command_sets.get(command_name) |
| 809 | |
| 810 | def _autoload_commands(self) -> None: |
| 811 | """Load modular command definitions.""" |