@casoon/auditmysite
Version:
Professional website analysis suite with robust accessibility testing, Core Web Vitals performance monitoring, SEO analysis, and content optimization insights. Features isolated browser contexts, retry mechanisms, and comprehensive API endpoints for profe
50 lines • 1.46 kB
TypeScript
/**
* 🔧 Audit Command
*
* Main command for running accessibility audits.
* Replaces the monolithic CLI logic with clean command structure.
*/
import { BaseCommand, CommandArgs, CommandResult } from './base-command';
type ReportFormat = 'html' | 'json' | 'markdown' | 'csv';
export interface AuditCommandArgs extends CommandArgs {
sitemapUrl: string;
full?: boolean;
maxPages?: number;
expert?: boolean;
format?: ReportFormat[];
outputDir?: string;
nonInteractive?: boolean;
verbose?: boolean;
budget?: string;
lcpBudget?: number;
clsBudget?: number;
fcpBudget?: number;
inpBudget?: number;
ttfbBudget?: number;
unifiedQueue?: boolean;
noPerformance?: boolean;
noSeo?: boolean;
noContentWeight?: boolean;
noMobile?: boolean;
}
export declare class AuditCommand extends BaseCommand {
constructor();
protected validate(args: AuditCommandArgs): {
valid: boolean;
errors: string[];
};
execute(args: AuditCommandArgs): Promise<CommandResult>;
private buildConfiguration;
private runExpertMode;
private buildPerformanceBudget;
private showConfigurationSummary;
private discoverSitemap;
private setupOutputDirectory;
private runAudit;
private runEnhancedAudit;
private generateEnhancedReports;
private generateSimpleEnhancedReport;
private showResults;
}
export {};
//# sourceMappingURL=audit-command.d.ts.map