'indices TABLE: Lists all indices on table TABLE'

def command_indices(self, cmd):

    if (len(cmd) != 1):
        raise self.Error('indices    takes    one    table    name')
    self.push_output()
    self.header = False
    self.output = self.output_list
    try:
        self.process_sql("SELECT    name    FROM    sqlite_master    WHERE    type='index'    AND    tbl_name    LIKE    ?1    UNION    ALL    SELECT    name    FROM    sqlite_temp_master    WHERE    type='index'    AND    tbl_name    LIKE    ?1    ORDER    by    name", cmd, internal=True)
    finally:
        self.pop_output()
