mirror of
https://github.com/zadam/trilium.git
synced 2024-11-14 11:45:20 +08:00
7 lines
279 B
JavaScript
Executable file
7 lines
279 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
const anonymizationService = require('../src/services/anonymization.js');
|
|
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
fs.writeFileSync(path.resolve(__dirname, 'tpl', 'anonymize-database.sql'), anonymizationService.getFullAnonymizationScript());
|