@cli.command()<EOL>@click.argument("<STR_LIT>", type=click.Path(resolve_path=False), nargs=-<NUM_LIT:1>, required=True)<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>default=None,<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>default=False,<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.option(<EOL>"<STR_LIT>",<EOL>default=True,<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.pass_context<EOL>def diff(ctx, files, metrics, all, detail):
config = ctx.obj["<STR_LIT>"]<EOL>if not exists(config):<EOL><INDENT>handle_no_cache(ctx)<EOL><DEDENT>if not metrics:<EOL><INDENT>metrics = get_default_metrics(config)<EOL>logger.info(f"<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>metrics = metrics.split("<STR_LIT:U+002C>")<EOL>logger.info(f"<STR_LIT>")<EOL><DEDENT>from wily.commands.diff import diff<EOL>logger.debug(f"<STR_LIT>")<EOL>diff(<EOL>config=config, files=files, metrics=metrics, changes_only=not all, detail=detail<EOL>)<EOL>
Show the differences in metrics for each file.