Download src/cli/handlers/plugins.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 1.98 kB
-
https://huggingface.co/chenbhao/codev/resolve/main/src/cli/handlers/plugins.ts
- Command line
-
hf download hf://chenbhao/codev/src/cli/handlers/plugins.ts
-
curl -L -o plugins.ts https://huggingface.co/chenbhao/codev/resolve/main/src/cli/handlers/plugins.ts
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); | |
| } |