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

def entry_list_lists ( options ) : with Session ( ) as session : lists = get_entry_lists ( session = session ) header = [ u'#' , u'List Name' ] table_data = [ header ] for entry_list in lists : table_data . append ( [ entry_list . id , entry_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 entry lists .