Report when a disabled command or its help function is run. :param _args: not used :param message_to_print: the message reporting that the command is disabled :param _kwargs: not used
(self, *_args: Any, message_to_print: str, **_kwargs: Any)
| 5720 | self.disabled_categories[category] = message_to_print |
| 5721 | |
| 5722 | def _report_disabled_command_usage(self, *_args: Any, message_to_print: str, **_kwargs: Any) -> None: |
| 5723 | """Report when a disabled command or its help function is run. |
| 5724 | |
| 5725 | :param _args: not used |
| 5726 | :param message_to_print: the message reporting that the command is disabled |
| 5727 | :param _kwargs: not used |
| 5728 | """ |
| 5729 | self.perror(message_to_print, style=None) |
| 5730 | |
| 5731 | def _disabled_completer(self, *_args: Any, **_kwargs: Any) -> Completions: |
| 5732 | """Completer function for a disabled command. |