code: def diff(ctx, files, metrics, all, detail):
      
      config = ctx.obj["CONFIG"]
  
      if not exists(config):
          handle_no_cache(ctx)
  
      if not metrics:
          metrics = get_default_metrics(config)
          logger.info(f"Using default metrics {metrics}")
      else:
          metrics = metrics.split(",")
          logger.info(f"Using specified metrics {metrics}")
  
      from wily.commands.diff import diff
  
      logger.debug(f"Running diff on {files} for metric {metrics}")
      diff(
          config=config, files=files, metrics=metrics, changes_only=not all, detail=detail
      )
docs: Show the differences in metrics for each file.