forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
21
node_modules/native-run/dist/utils/cli.js
generated
vendored
Normal file
21
node_modules/native-run/dist/utils/cli.js
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getOptionValues = exports.getOptionValue = void 0;
|
||||
function getOptionValue(args, arg, defaultValue) {
|
||||
const i = args.indexOf(arg);
|
||||
if (i >= 0) {
|
||||
return args[i + 1];
|
||||
}
|
||||
return defaultValue;
|
||||
}
|
||||
exports.getOptionValue = getOptionValue;
|
||||
function getOptionValues(args, arg) {
|
||||
const returnVal = [];
|
||||
args.map((entry, idx) => {
|
||||
if (entry === arg) {
|
||||
returnVal.push(args[idx + 1]);
|
||||
}
|
||||
});
|
||||
return returnVal;
|
||||
}
|
||||
exports.getOptionValues = getOptionValues;
|
||||
Loading…
Add table
Add a link
Reference in a new issue