vibe-janitor
Version:
A CLI tool that cleans AI-generated JavaScript/TypeScript projects efficiently and intelligently
55 lines (54 loc) • 1.43 kB
TypeScript
/**
* Handles all console output with consistent styling
*/
export declare class Logger {
private static progressTimer;
private static currentProgress;
private static totalSteps;
private static currentPhase;
private static progressBarWidth;
/**
* Log a standard message
*/
static log(message: string): void;
/**
* Log an informational message (blue)
*/
static info(message: string): void;
/**
* Log a success message (green)
*/
static success(message: string): void;
/**
* Log a warning message (yellow)
*/
static warn(message: string): void;
/**
* Log an error message (red)
*/
static error(message: string): void;
/**
* Log a welcome message with vibe-janitor's banner
*/
static welcome(): void;
/**
* Start showing a progress bar with funny cleaning puns
*/
static startProgress(): void;
/**
* Stop showing the progress bar
*/
static stopProgress(): void;
/**
* Update the progress bar display
*/
private static updateProgressDisplay;
/**
* Show progress with different phases - for analysis, cleaning and reporting
*/
static runWithProgress<T>(task: () => Promise<T>, phases?: number, phaseLabels?: string[]): Promise<T>;
/**
* Format a file path for display
*/
static formatPath(path: string): string;
}