@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
43 lines (42 loc) • 1.05 kB
TypeScript
import type { CommandModule } from "yargs";
/**
* Factory for creating Ollama CLI commands using the Factory Pattern
*/
export declare class OllamaCommandFactory {
/**
* Secure wrapper around spawnSync to prevent command injection.
*/
private static safeSpawn;
/**
* Create the Ollama command group
*/
static createOllamaCommands(): CommandModule;
/**
* Handler for listing installed models
*/
private static listModelsHandler;
/**
* Handler for pulling/downloading models
*/
private static pullModelHandler;
/**
* Handler for removing models
*/
private static removeModelHandler;
/**
* Handler for checking Ollama service status
*/
private static statusHandler;
/**
* Handler for starting Ollama service
*/
private static startHandler;
/**
* Handler for stopping Ollama service
*/
private static stopHandler;
/**
* Handler for interactive Ollama setup
*/
private static setupHandler;
}