docs: def list(showgroups):
      """
      Show list of Anchore data feeds.
      """
  
      ecode = 0
      try:
          result = {}
          subscribed = {}
          available = {}
          unavailable = {}
          current_user_data = contexts['anchore_auth']['user_info']
          feedmeta = anchore_feeds.load_anchore_feedmeta()
  
          for feed in feedmeta.keys():
              if feedmeta[feed]['subscribed']:
                  subscribed[feed] = {}
                  subscribed[feed]['description'] = feedmeta[feed]['description']
                  if showgroups:
                      subscribed[feed]['groups'] = feedmeta[feed]['groups'].keys()
  
              else:
                  if current_user_data:
                      tier = int(current_user_data['tier'])
                  else:
                      tier = 0
  
                  if int(feedmeta[feed]['access_tier']) > tier:
                      collection = unavailable
                  else:
                      collection = available
  
                  collection[feed] = {}
  
                  collection[feed]['description'] = feedmeta[feed]['description']
                  if showgroups and collection == available:
                      collection[feed]['groups'] = feedmeta[feed]['groups'].keys()
  
          if available:
              result['Available'] = available
          if subscribed:
              result['Subscribed'] = subscribed
          if unavailable:
              result['Unavailable/Insufficient Access Tier'] = unavailable
  
          anchore_print(result, do_formatting=True)
      except Exception as err:
          anchore_print_err('operation failed')
          ecode = 1
  
      sys.exit(ecode)