aboutsummaryrefslogtreecommitdiffstats
path: root/cli.py
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-18 22:08:55 +0000
committerAlex Schofield <git@ajschof.me>2025-02-18 22:08:55 +0000
commit125225291481a7e9d383c037dc8c0fc720de48cd (patch)
tree6cdcac7528ffaf7ece49698bb81f64077bcc7656 /cli.py
parent0022dba517a82cf15477281d8d02e0d7da8dbbe1 (diff)
downloadgdpr-obfuscator-125225291481a7e9d383c037dc8c0fc720de48cd.tar.gz
gdpr-obfuscator-125225291481a7e9d383c037dc8c0fc720de48cd.zip
read data from S3 object path and debug log contents
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 9d003a7..974ac3c 100644
--- a/cli.py
+++ b/cli.py
@@ -37,6 +37,8 @@ def main():
logger.debug(data)
else:
logger.debug("User chose to read CSV from S3")
+ data = reader.read_s3(args.s3)
+ logger.debug(data)
# Obfuscate the data based on the user's choice of PII fields
obfuscated_data = obfuscate(data, args.pii)
git.ajschof.me — hosted by ajschofield — powered by cgit