"use strict";
var yargs = require("yargs");
const _ = require("lodash");
class OptionType {
}
OptionType.String = "string";
OptionType.Boolean = "boolean";
var knownOptions = {
    "debug": { type: OptionType.Boolean },
    "device": { type: OptionType.String },
    "args": { type: OptionType.String },
    "help": { type: OptionType.Boolean },
    "waitForDebugger": { type: OptionType.Boolean },
    "sdkVersion": { type: OptionType.String },
    "sdk": { type: OptionType.String },
    "skipInstall": { type: OptionType.Boolean }
};
var parsed = {};
var argv = yargs(process.argv.slice(2)).options(knownOptions).argv;
_.each(_.keys(argv), optionName => {
    parsed[optionName] = argv[optionName];
});
module.exports = parsed;
