lokalise-mcp
Version:
The Lokalise MCP Server brings Lokalise's localization power to Claude and AI assistants—manage projects, keys, and translations by chat.
29 lines (28 loc) • 817 B
TypeScript
/**
* Utility for testing CLI commands with real execution
*/
export declare const CliTestUtil: {
/**
* Executes a CLI command and returns the result
*
* @param args - CLI arguments to pass to the command
* @param options - Test options
* @returns Promise with stdout, stderr, and exit code
*/
runCommand(args: string[], options?: {
timeoutMs?: number;
env?: Record<string, string>;
}): Promise<{
stdout: string;
stderr: string;
exitCode: number;
}>;
/**
* Validates that stdout contains expected strings/patterns
*/
validateOutputContains(output: string, expectedPatterns: (string | RegExp)[]): void;
/**
* Validates Markdown output format
*/
validateMarkdownOutput(output: string): void;
};