问题
我输入
"dev_end": "set NODE_ENV=dev&&node ./build/server.dev.js --domain=http://192.168.8.194:8080 ",
how can i get domain
https://www.npmjs.com/package/yargs
install
npm i yargs --save
use
const argv = require('yargs').argv
console.log(argv)
const argv = require('yargs').argv
console.log(argv)
console.log(argv.domain)
网友评论