agp-cli
Version:
Agentic Programming Project CLI - Standardized knowledge layer for AI-assisted development
53 lines • 1.47 kB
TypeScript
interface LoggerOptions {
verbose?: boolean;
silent?: boolean;
}
declare class Logger {
private options;
private currentProgress;
private isProgressActive;
constructor(options?: LoggerOptions);
/**
* Print important messages that should always be visible
*/
info(message: string): void;
success(message: string): void;
warning(message: string): void;
error(message: string): void;
/**
* Show inline progress that gets replaced on next update
*/
progress(message: string): void;
/**
* Complete current progress and show final result
*/
progressDone(message?: string): void;
/**
* Show verbose/debug information (only if verbose mode is enabled)
*/
debug(message: string): void;
/**
* Show step information (slightly less prominent than info)
*/
step(message: string): void;
/**
* Clear current progress line
*/
clearProgress(): void;
/**
* Start a multi-step operation
*/
startGroup(title: string): void;
/**
* End a multi-step operation
*/
endGroup(message?: string): void;
/**
* Create a spinner-like effect for long operations
*/
withSpinner<T>(message: string, operation: () => Promise<T>): Promise<T>;
}
export declare const logger: Logger;
export { Logger };
export declare const createLogger: (options: LoggerOptions) => Logger;
//# sourceMappingURL=logger.d.ts.map