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