allow creating anonymized database from command line as well, fixes #200

This commit is contained in:
azivner
2018-10-25 18:03:28 +02:00
parent 9f0860edab
commit 18f2419bd6
3 changed files with 14 additions and 0 deletions

7
src/anonymize.js Normal file
View File

@@ -0,0 +1,7 @@
const anonymizationService = require('./services/anonymization');
anonymizationService.anonymize().then(filePath => {
console.log("Anonymized file has been saved to:", filePath);
process.exit(0);
});