@codervisor/devlog-ai
Version:
AI Chat History Extractor & Docker-based Automation - TypeScript implementation for GitHub Copilot and other AI coding assistants with automated testing capabilities
52 lines • 1.59 kB
TypeScript
/**
* CLI utility functions for consistent command-line interface patterns
*/
/**
* Extract error message with consistent fallback pattern
*/
export declare function extractErrorMessage(error: unknown): string;
/**
* Display error message with consistent formatting
*/
export declare function displayError(operation: string, error: unknown): void;
/**
* Display success message with consistent formatting
*/
export declare function displaySuccess(message: string): void;
/**
* Display warning message with consistent formatting
*/
export declare function displayWarning(message: string): void;
/**
* Display info message with consistent formatting
*/
export declare function displayInfo(message: string): void;
/**
* Display section header with consistent formatting
*/
export declare function displayHeader(title: string): void;
/**
* Display numbered list item with consistent formatting
*/
export declare function displayListItem(index: number, content: string): void;
/**
* Display key-value pair with consistent formatting
*/
export declare function displayKeyValue(key: string, value: string | number): void;
/**
* Format file path for display
*/
export declare function formatPath(path: string): string;
/**
* Format count/number for display
*/
export declare function formatCount(count: number): string;
/**
* Display a separator line
*/
export declare function displaySeparator(): void;
/**
* Display progress indicator
*/
export declare function displayProgress(current: number, total: number, operation: string): void;
//# sourceMappingURL=cli.d.ts.map