code: protected void handlePurgeCache() {
          reportable.output("Purging all resources from the cache");
  
          try {
              cacheMgrService.purgeResources();
          } catch (Exception e) {
              reportable.error("Unable to remove all resources in the cache");
              reportable.error("Reason: " + e.getMessage());
              bail(GENERAL_FAILURE);
          }
      }
docs: Handle the purge cache option.