#! /usr/bin/env node

const argv = require('minimist')(process.argv.slice(2), {
  boolean: ['secure', 'runserver', 'injectserver', 'injectdebugger', 'desktop', 'revert'],
  default: {
    injectdebugger: true,
  },
});
const result = require('../lib/main')(argv);
if (!result) process.exit(1);

@@ -15,21 +15,19 @@
 v node%0A%0A
-const
+var
  argv = 
@@ -214,13 +214,236 @@
 %7D);%0A
-const
+%0Aargv.hostname = argv.hostname %7C%7C process.env.npm_package_remotedev_hostname;%0Aargv.port = Number(argv.port %7C%7C process.env.npm_package_remotedev_port);%0Aargv.secure = argv.secure %7C%7C !!process.env.npm_package_remotedev_secure;%0A%0Avar
  res

Support use `remotedev` npm package field