code: def list(gandi, limit):
      
      options = {'items_per_page': limit}
      domains = gandi.domain.list(options)
      for domain in domains:
          gandi.echo(domain['fqdn'])
  
      return domains
docs: List domains.