feat: add plugins packages and add Test Plugin
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
14
packages/plugins/src/Test.ts
Normal file
14
packages/plugins/src/Test.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { plugin, interfaces } from '@ms/plugin'
|
||||
|
||||
@plugin({ name: 'Test', version: '1.0.0', author: 'MiaoWoo' })
|
||||
export class Test extends interfaces.Plugin {
|
||||
load() {
|
||||
this.logger.log('');
|
||||
}
|
||||
enable() {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
disable() {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user