mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
allow creating anonymized database from command line as well, fixes #200
This commit is contained in:
7
src/anonymize.js
Normal file
7
src/anonymize.js
Normal 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);
|
||||
});
|
||||
Reference in New Issue
Block a user