Skip to content

Commit

Permalink
Merge pull request #19 from sahajsoft/vault
Browse files Browse the repository at this point in the history
print anonymizer and deanonymizer results in json so we can copy paste easily
  • Loading branch information
akshaykarle authored Sep 23, 2024
2 parents c78cba3 + 3967d4f commit e23bb23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def anonymize(args):
anonymizer = BatchAnonymizerEngine()
anonymized_results = anonymizer.anonymize_dict(analyzer_results)

print(anonymized_results)
print(anonymized_results.to_json())
return anonymized_results


Expand All @@ -55,7 +55,7 @@ def deanonymize(args):

deanonymized_result = vault.deanonymize(args.text, anonymized_results)

print(deanonymized_result)
print(deanonymized_result.to_json())
return deanonymized_result


Expand Down

0 comments on commit e23bb23

Please sign in to comment.