Return a list of all commands.
(self)
| 2688 | return dir(self) |
| 2689 | |
| 2690 | def get_all_commands(self) -> list[str]: |
| 2691 | """Return a list of all commands.""" |
| 2692 | return [ |
| 2693 | name[len(constants.COMMAND_FUNC_PREFIX) :] |
| 2694 | for name in self.get_names() |
| 2695 | if name.startswith(constants.COMMAND_FUNC_PREFIX) and callable(getattr(self, name)) |
| 2696 | ] |
| 2697 | |
| 2698 | def get_visible_commands(self) -> list[str]: |
| 2699 | """Return a list of commands that have not been hidden or disabled.""" |
no test coverage detected