docs: def sync(since, do_compact):
      """
      Sync (download) latest data for all subscribed feeds from the Anchore service.
      """
  
      ecode = 0
      try:
          rc, ret = anchore_feeds.sync_feedmeta()
          if not rc:
              anchore_print_err(ret['text'])
              ecode = 1
          else:
              rc, ret = anchore_feeds.sync_feeds(force_since=since, do_combine=do_compact)
              if not rc:
                  anchore_print_err(ret['text'])
                  ecode = 1
      except Exception as err:
          anchore_print_err('operation failed')
          ecode = 1
  
      sys.exit(ecode)