def action_all(options):
 lists = get_regexp_lists()
 header = [u'#', u'List Name']
 table_data = [header]
 for regexp_list in lists:
  table_data.append([regexp_list.id, regexp_list.name])
 table = TerminalTable(options.table_type, table_data)
 try:
  console(table.output)
 except TerminalTableError as e:
  console((u'ERROR: %s' % str(e)))

def action_all ( options ) : lists = get_regexp_lists ( ) header = [ u'#' , u'List Name' ] table_data = [ header ] for regexp_list in lists : table_data . append ( [ regexp_list . id , regexp_list . name ] ) table = TerminalTable ( options . table_type , table_data ) try : console ( table . output ) except TerminalTableError as e : console ( ( u'ERROR: %s' % str ( e ) ) )
show all regexp lists .