Return a list of commands that have not been hidden or disabled.
(self)
| 2696 | ] |
| 2697 | |
| 2698 | def get_visible_commands(self) -> list[str]: |
| 2699 | """Return a list of commands that have not been hidden or disabled.""" |
| 2700 | return [ |
| 2701 | command |
| 2702 | for command in self.get_all_commands() |
| 2703 | if command not in self.hidden_commands and command not in self.disabled_commands |
| 2704 | ] |
| 2705 | |
| 2706 | def _get_alias_choices(self) -> Choices: |
| 2707 | """Return list of alias names and values as Choices.""" |