CommandKitPluginRuntime
CommandKitPluginRuntime
new CommandKitPluginRuntime(commandkit)
Parameter | Type | Optional |
---|---|---|
commandkit | CommandKit | ❌ |
Properties
public commandkit: any
Methods
public capture(): void
public execute(f): Promise<undefined | true | R>
Parameter | Type | Optional |
---|---|---|
f | AsyncFunction<[ | CommandKitPluginRuntime |
public getPlugin(pluginName): null | RuntimePlugin
Parameter | Type | Optional |
---|---|---|
pluginName | string | ❌ |
public registerPlugin(plugin): Promise<void>
Parameter | Type | Optional |
---|---|---|
plugin | RuntimePlugin | ❌ |
public softRegisterPlugin(plugin): Promise<void>
Parameter | Type | Optional |
---|---|---|
plugin | RuntimePlugin | ❌ |
public unregisterAllPlugins(): Promise<void>
public unregisterPlugin(plugin): Promise<void>
Parameter | Type | Optional |
---|---|---|
plugin | RuntimePlugin | ❌ |