"use strict"; Object.defineProperty(exports, "__esModule", { value: true, }); exports.default = void 0; var _runServer = _interopRequireDefault(require("./runServer")); var _path = _interopRequireDefault(require("path")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } const startCommand = { name: "start", func: _runServer.default, description: "Start the React Native development server.", options: [ { name: "--port ", parse: Number, }, { name: "--host ", default: "", }, { name: "--projectRoot ", description: "Path to a custom project root", parse: (val) => _path.default.resolve(val), }, { name: "--watchFolders ", description: "Specify any additional folders to be added to the watch list", parse: (val) => val.split(",").map((folder) => _path.default.resolve(folder)), }, { name: "--assetPlugins ", description: "Specify any additional asset plugins to be used by the packager by full filepath", parse: (val) => val.split(","), }, { name: "--sourceExts ", description: "Specify any additional source extensions to be used by the packager", parse: (val) => val.split(","), }, { name: "--max-workers ", description: "Specifies the maximum number of workers the worker-pool " + "will spawn for transforming files. This defaults to the number of the " + "cores available on your machine.", parse: (workers) => Number(workers), }, { name: "--transformer ", description: "Specify a custom transformer to be used", }, { name: "--reset-cache, --resetCache", description: "Removes cached files", }, { name: "--custom-log-reporter-path, --customLogReporterPath ", description: "Path to a JavaScript file that exports a log reporter as a replacement for TerminalReporter", }, { name: "--https", description: "Enables https connections to the server", }, { name: "--key ", description: "Path to custom SSL key", }, { name: "--cert ", description: "Path to custom SSL cert", }, { name: "--config ", description: "Path to the CLI configuration file", parse: (val) => _path.default.resolve(val), }, { name: "--no-interactive", description: "Disables interactive mode", }, ], }; var _default = (exports.default = startCommand);