novel-opds-now
Version:
按需生成 epub,此模組不使用排程任務來生成 epub
24 lines • 716 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
require("source-map-support/register");
const yargs_1 = (0, tslib_1.__importDefault)(require("yargs"));
const download_1 = (0, tslib_1.__importDefault)(require("../../lib/epub/download"));
let argv = yargs_1.default
.option('siteID', {
string: true,
demandOption: true,
})
.option('novel_id', {
string: true,
demandOption: true,
})
.option('outputDir', {
string: true,
demandOption: true,
})
.parseSync();
(0, download_1.default)(argv.novel_id, argv.siteID, argv.outputDir)
.then(v => console.log(true));
//# sourceMappingURL=download.js.map
;