mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 19:51:57 +08:00
8 lines
272 B
JavaScript
8 lines
272 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.getAnonymizationScript());
|