mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
refactor: 重构
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
import { Executor } from '@certd/executor'
|
||||
import PluginAliyun from '@certd/plugin-aliyun'
|
||||
import PluginTencent from '@certd/plugin-tencent'
|
||||
import PluginHost from '@certd/plugin-host'
|
||||
import options from './options.json'
|
||||
|
||||
// 安装默认插件和授权提供者
|
||||
PluginAliyun.install()
|
||||
PluginTencent.install()
|
||||
PluginHost.install()
|
||||
const executor = new Executor()
|
||||
executor.run(options)
|
||||
|
||||
Reference in New Issue
Block a user