def format_commands(self, ctx, formatter):
rows = []<EOL>for subcommand in self.list_commands(ctx):<EOL><INDENT>cmd = self.get_command(ctx, subcommand)<EOL>if cmd is None:<EOL><INDENT>continue<EOL><DEDENT>help = cmd.short_help or '<STR_LIT>'<EOL>rows.append((subcommand, help))<EOL><DEDENT>if rows:<EOL><INDENT>with formatter.section('<STR_LIT>'):<EOL><INDENT>formatter.write_dl(rows)<EOL><DEDENT><DEDENT>
Extra format methods for multi methods that adds all the commands
        after the options.