Skip to main content
Version: Next

CommandKitPluginRuntime

CommandKitPluginRuntime

Signature
class CommandKitPluginRuntime {
constructor(commandkit: CommandKit)
getPlugins() => ;
getPlugin(pluginName: string) => RuntimePlugin | null;
softRegisterPlugin(plugin: RuntimePlugin) => ;
registerPlugin(plugin: RuntimePlugin) => ;
unregisterPlugin(plugin: RuntimePlugin) => ;
unregisterAllPlugins() => ;
capture() => ;
execute(f: AsyncFunction<[CommandKitPluginRuntime, RuntimePlugin], R | undefined>) => ;
}

constructor

method
(commandkit: CommandKit) => CommandKitPluginRuntime

getPlugins

method
() =>

getPlugin

method
(pluginName: string) => RuntimePlugin | null

softRegisterPlugin

method
(plugin: RuntimePlugin) =>

registerPlugin

method
(plugin: RuntimePlugin) =>

unregisterPlugin

method
(plugin: RuntimePlugin) =>

unregisterAllPlugins

method
() =>

capture

method
() =>

execute

method