yargs 模块提供argv 对象,用来读取命令行参数。请看改写后的hello 。 #!/usr/bin/env node var argv = require('yargs').argv; console.log('hello ...
確定! 回上一頁