code: def graph(ctx, path, metrics, output, x_axis, changes):
      
      config = ctx.obj["CONFIG"]
  
      if not exists(config):
          handle_no_cache(ctx)
  
      from wily.commands.graph import graph
  
      logger.debug(f"Running report on {path} for metrics {metrics}")
      graph(
          config=config,
          path=path,
          metrics=metrics,
          output=output,
          x_axis=x_axis,
          changes=changes,
      )
docs: Graph a specific metric for a given file, if a path is given, all files within path will be graphed.
  
      Some common examples:
  
      Graph all .py files within src/ for the raw.loc metric
  
          $ wily graph src/ raw.loc
  
      Graph test.py against raw.loc and cyclomatic.complexity metrics
  
          $ wily graph src/test.py raw.loc cyclomatic.complexity
  
      Graph test.py against raw.loc and raw.sloc on the x-axis
  
          $ wily graph src/test.py raw.loc --x-axis raw.sloc