1 Star 0 Fork 0

qiutongxue/Sarasa-Gothic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run.js 520 Bytes
一键复制 编辑 原始数据 按行查看 历史
belleve 提交于 2018-04-01 13:57 . terminate process when error
"use strict";
const argv = require("yargs").argv;
const path = require("path");
const { Workflow } = require("megaminx");
function toSet(a) {
let o = {};
for (let k of a) {
o[k] = true;
}
return o;
}
const main = async function() {
const recipePath = path.resolve(argv.recipe);
const recipe = require(recipePath);
const config = {};
const flow = new Workflow(config);
await flow.run(recipe, config, argv);
};
main().catch(function(e) {
console.error(e);
process.exit(1);
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qiutongxue/Sarasa-Gothic.git
[email protected]:qiutongxue/Sarasa-Gothic.git
qiutongxue
Sarasa-Gothic
Sarasa-Gothic
master

搜索帮助