mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-09 14:30:12 -06:00
13 lines
299 B
JavaScript
13 lines
299 B
JavaScript
const backupService = require('./services/backup');
|
|
|
|
backupService.anonymize().then(resp => {
|
|
if (resp.success) {
|
|
console.log("Anonymization failed.");
|
|
}
|
|
else {
|
|
console.log("Anonymized file has been saved to: " + resp.anonymizedFilePath);
|
|
}
|
|
|
|
process.exit(0);
|
|
});
|