wgutils
Version:
Tools for managing working groups
21 lines • 727 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.run = exports.options = void 0;
const index_js_1 = require("./index.js");
const config_js_1 = require("../../config.js");
function options(yargs) {
return yargs
.positional("year", { type: "string", demandOption: true })
.positional("month", { type: "string", demandOption: true })
.example("$0 2024 1", "Generate agendas for Jan 2024");
}
exports.options = options;
async function run(args) {
const config = await (0, config_js_1.loadConfig)();
await (0, index_js_1.generateAgendas)(config, {
year: args.year,
month: args.month,
});
}
exports.run = run;
//# sourceMappingURL=cli.js.map