@logistically/i18n-cli
Version:
Enterprise-grade CLI tool for extracting and managing translations in Logistically microservices
20 lines (19 loc) • 591 B
TypeScript
import { TranslationKey, ExtractionOptions } from '../types';
export declare class TranslationExtractor {
private logger;
private validator;
private performanceMonitor;
private configManager;
private defaultPatterns;
constructor();
extract(options: ExtractionOptions): Promise<TranslationKey[]>;
private extractFromFile;
private extractComments;
private findNearbyComment;
private determinePriority;
private determineCategory;
private filterFilesBySize;
private generateKey;
private removeDuplicates;
private groupByService;
}