@zxkane/quip-mcp-server
Version:
MCP server for interacting with Quip spreadsheets
40 lines (39 loc) • 1.01 kB
TypeScript
import { CommandLineOptions } from './types';
/**
* Parse command line arguments
*
* @returns Parsed command line options
*/
export declare function parseCommandLineArgs(): CommandLineOptions;
/**
* Get storage path from command line options or environment variables
*
* @param options Command line options
* @returns Storage path
*/
export declare function getStoragePath(options: {
storagePath?: string;
}): string;
/**
* Get storage configuration from command line options or environment variables
*
* @param options Command line options
* @returns Storage configuration
*/
export declare function getStorageConfig(options: CommandLineOptions): {
storageType: string;
s3Bucket?: string;
s3Region?: string;
s3Prefix?: string;
s3UrlExpiration?: number;
};
/**
* Configure logging based on options
*
* @param options Command line options
*/
export declare function configureLogging(options: {
debug: boolean;
json?: boolean;
logFile?: string;
}): void;