react-native-flip
Version:
31 lines (27 loc) • 658 B
JavaScript
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
*/
;
const yargs = require("yargs");
const _require = require("./index"),
runInspectorProxy = _require.runInspectorProxy;
const argv = yargs
.option("port", {
alias: "p",
describe: "port to run inspector proxy on",
type: "number",
default: 8081
})
.option("root", {
alias: "r",
describe: "root folder of metro project",
type: "string",
default: ""
}).argv;
runInspectorProxy(argv.port, argv.root);