def reduce_alias_table(alias_table):
    """
    Reduce the alias table to a tuple that contains the alias and the command that the alias points to.

    Args:
        The alias table to be reduced.

    Yields
        A tuple that contains the alias and the command that the alias points to.
    """
    for alias in alias_table.sections():
        if alias_table.has_option(alias, 'command'):
            yield (alias, alias_table.get(alias, 'command'))
Reduce the alias table to a tuple that contains the alias and the command that the alias points to.

    Args:
        The alias table to be reduced.

    Yields
        A tuple that contains the alias and the command that the alias points to.