code: def run(self):
          
          for rel_path in sorted(self.paths):
              file_path = join(self.data_dir, rel_path)
              self.minify(file_path)
  
          after = self.size_of(self.after_total)
          before = self.size_of(self.before_total)
          saved = self.size_of(self.before_total - self.after_total)
  
          template = '\nTotal: ' \
                     '\033[92m{}\033[0m -> \033[92m{}\033[0m. ' \
                     'Compressed: \033[92m{}\033[0m\n'
  
          print(template.format(before, after, saved))
docs: Start json minimizer and exit when all json files were minimized.