Skip to content

Commit

Permalink
Merge pull request #32 from Swiddis/osints/dev
Browse files Browse the repository at this point in the history
Add basic skeleton for Integrations CLI with type checking command
  • Loading branch information
seanneumann committed Jul 20, 2023
2 parents ba67b18 + 4f88a1b commit b91f5ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/diff/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def output_diff(difference: dict[str, object], prefix: str = "") -> None:
if "expected" not in value and "actual" not in value:
output_diff(value, f"{prefix}{key}.")
if value.get("actual") is not None:
click.echo(f"- {out_key}: {json.dumps(value.get('actual'))}")
click.secho(f"- {out_key}: {json.dumps(value.get('actual'))}", fg="red")
if value.get("expected") is not None:
click.echo(f"+ {out_key}: {json.dumps(value.get('expected'))}")
click.secho(f"+ {out_key}: {json.dumps(value.get('expected'))}", fg="green")


@click.command()
Expand Down

0 comments on commit b91f5ba

Please sign in to comment.