mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
Hello yarn berry
This commit is contained in:
1 parent
04a4306895
commit
782f334a27
62 files changed
+448
-239
No files matched your search
@@ -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')();
|
||||
Reference in new issue
Block a user