Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// './command/fetch/collection', // 抓取收藏夹记录
// './command/generate/author', // 按用户生成电子书
// './command/generate/activity', // 按用户点赞回答&文章生成电子书
// './command/generate/column', // 按专栏生成电子书
// './command/generate/topic', // 按话题生成电子书
// './command/generate/collection', // 按收藏夹生成电子书
'./command/fetch/customer', // [抓取]执行自定义任务
'./command/generate/customer', // [生成]执行自定义任务
]
// register commands
for (const command of registedCommandList) {
ace.addCommand(require(command)['default'])
}
// Boot ace to execute commands
ace.wireUpWithCommander()
ace.invoke()
// 测试uc
'./commands/utils/testUC',
// 心跳
'./commands/utils/heart_beat',
// 初始化日报订阅表
'./commands/utils/init_daily_subscription'
]
// register commands
for (let command of registedCommandList) {
ace.addCommand(require(command)['default'])
}
// Boot ace to execute commands
ace.wireUpWithCommander()
ace.invoke()
makeItHappen () {
Ace.wireUpWithCommander()
Ace.invoke()
}
}