def walk_commands(self):
for command in tuple(self.all_commands.values()):<EOL><INDENT>yield command<EOL>if isinstance(command, GroupMixin):<EOL><INDENT>yield from command.walk_commands()<EOL><DEDENT><DEDENT>
An iterator that recursively walks through all commands and subcommands.