提交 d6f0f7c6 编写于 作者: fxy060608's avatar fxy060608

fix(cli): converting file uniapp-cli.js to Unix format

上级 39b5f12a
#!/usr/bin/env node
const yargsParser = require('yargs-parser')
const argv = yargsParser(process.argv.slice(2))
const action = argv._[0]
if (action === 'custom') {
require('../lib/commands/custom')(argv)
} else if (action === 'invoke') {
require('../lib/commands/invoke')(argv)
} else {
process.exit(0)
#!/usr/bin/env node
const yargsParser = require('yargs-parser')
const argv = yargsParser(process.argv.slice(2))
const action = argv._[0]
if (action === 'custom') {
require('../lib/commands/custom')(argv)
} else if (action === 'invoke') {
require('../lib/commands/invoke')(argv)
} else {
process.exit(0)
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册