tauri/cli/tauri.js/bin/tauri-dev.js
2019-12-27 20:34:24 -03:00

25 lines
347 B
JavaScript

const parseArgs = require('minimist')
const argv = parseArgs(process.argv.slice(2), {
alias: {
h: 'help'
},
boolean: ['h']
})
if (argv.help) {
console.log(`
Description
Tauri dev.
Usage
$ tauri dev
Options
--help, -h Displays this message
`)
process.exit(0)
}
const dev = require('../dist/api/dev')
dev()