aboutsummaryrefslogtreecommitdiffstats
path: root/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli.py')
-rw-r--r--cli.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli.py b/cli.py
index bd4f79d..a4ab4c3 100644
--- a/cli.py
+++ b/cli.py
@@ -7,6 +7,7 @@ from obfuscator.logger import get_logger
# Create the logger
logger = get_logger("CLI")
+
def main():
# Create an argument parser
parser = argparse.ArgumentParser(description="gdpr-obfuscator")
@@ -41,6 +42,7 @@ def main():
# For debug purposes, log the obfuscated data as JSON for readability
logger.debug(json.dumps(obfuscated_data, indent=4))
+
# If the script is run directly (as it should be), call the main function
if __name__ == "__main__":
main()
git.ajschof.me — hosted by ajschofield — powered by cgit