UNPKG

@turbot/powerpipe-mcp

Version:

Powerpipe MCP server to run benchmarks, detections and controls using AI.

33 lines (32 loc) 1.1 kB
export declare class ConfigurationService { private static instance; private modLocation; private constructor(); static getInstance(): ConfigurationService; /** * Validate and resolve a mod location path * @param location Absolute or relative path to validate * @returns The resolved path if valid * @throws Error if the path is invalid or directory doesn't exist */ private validateModLocation; /** * Set the working directory for Powerpipe mods * @param location Absolute or relative path to the mod location * @returns Object containing success status and error message if failed */ setModLocation(location: string): { success: boolean; error?: string; }; /** * Get the current working directory for Powerpipe mods * @returns The absolute path to the current mod location */ getModLocation(): string; /** * Parse command line arguments for mod location configuration * @param args Command line arguments array */ parseCommandLineArgs(args: string[]): void; }