judge: add cache cleaner

This commit is contained in:
undefined committed 2021-02-28 14:36:46 +08:00
1 parent c251cf33e8
commit 8c6f9a3b71
3 files changed
+49 -2

No files matched your search

+4 -1
View File
@@ -1,3 +1,6 @@
#!/usr/bin/env node
require('../dist/daemon')();
const { argv } = require('yargs');
if (argv._[0] == 'cache') require('../dist/cache')()
else if (!argv._) require('../dist/daemon')();