code: def cli(obj):
      
      client = obj['client']
  
      if obj['output'] == 'json':
          r = client.http.get('/customers')
          click.echo(json.dumps(r['customers'], sort_keys=True, indent=4, ensure_ascii=False))
      else:
          headers = {'id': 'ID', 'customer': 'CUSTOMER', 'match': 'GROUP'}
          click.echo(tabulate([c.tabular() for c in client.get_customers()], headers=headers, tablefmt=obj['output']))
docs: List customer lookups.