federer
Version:
Experiments in asynchronous federated learning and decentralized learning
14 lines • 472 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getArgs = void 0;
const tslib_1 = require("tslib");
const yargs_1 = tslib_1.__importDefault(require("yargs"));
function getArgs(yargsOptions) {
const argv = yargs_1.default.options(yargsOptions).argv;
if (argv instanceof Promise) {
throw new Error("Did not expect args to be a Promise");
}
return argv;
}
exports.getArgs = getArgs;
//# sourceMappingURL=cli.js.map