codev / src /cli /handlers /plugins.ts
chenbhao's picture
chore: remove obsolete test and vendor source, add CLI SDK docs
b7c4c8f
Raw
History Blame Contribute Delete
1.98 kB
/**
* Plugin command handlers
* These handlers are used by the CLI plugin commands
*/
export async function pluginInstallHandler(plugin: string, options: any): Promise<void> {
console.error('Plugin install handler not implemented');
process.exit(1);
}
export async function pluginUninstallHandler(plugin: string, options: any): Promise<void> {
console.error('Plugin uninstall handler not implemented');
process.exit(1);
}
export async function pluginEnableHandler(plugin: string, options: any): Promise<void> {
console.error('Plugin enable handler not implemented');
process.exit(1);
}
export async function pluginDisableHandler(plugin: string | undefined, options: any): Promise<void> {
console.error('Plugin disable handler not implemented');
process.exit(1);
}
export async function pluginUpdateHandler(plugin: string, options: any): Promise<void> {
console.error('Plugin update handler not implemented');
process.exit(1);
}
export async function pluginValidateHandler(manifestPath: string, options: any): Promise<void> {
console.error('Plugin validate handler not implemented');
process.exit(1);
}
export async function pluginListHandler(options: any): Promise<void> {
console.error('Plugin list handler not implemented');
process.exit(1);
}
export async function marketplaceAddHandler(source: string, options: any): Promise<void> {
console.error('Marketplace add handler not implemented');
process.exit(1);
}
export async function marketplaceListHandler(options: any): Promise<void> {
console.error('Marketplace list handler not implemented');
process.exit(1);
}
export async function marketplaceRemoveHandler(name: string, options: any): Promise<void> {
console.error('Marketplace remove handler not implemented');
process.exit(1);
}
export async function marketplaceUpdateHandler(name: string | undefined, options: any): Promise<void> {
console.error('Marketplace update handler not implemented');
process.exit(1);
}