Hello yarn berry

This commit is contained in:
undefined committed 2021-05-26 23:35:36 +08:00
1 parent 04a4306895
commit 782f334a27
62 files changed
+448 -239

No files matched your search

+3 -2
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env node
const { argv } = require('yargs');
const argv = require('cac')().parse();
if ((argv._ || [])[0] == 'cache') require('../dist/cache')()
if (argv.options.debug) process.env.DEV = 'on';
if (argv.args[0] === 'cache') require('../dist/cache')();
else require('../dist/daemon')();