File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ program
6666 ...( options . docsPath ? { docsPath : options . docsPath } : { } ) ,
6767 ...( options . max ? { max : options . max } : { } ) ,
6868 ...( options . concurrency ? { concurrency : options . concurrency } : { } ) ,
69+ verbose : options . verbose ,
6970 listOnly : options . listOnly ,
7071 targetLanguage : options . targetLanguage ,
7172 } ) ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export async function main({
2323 max = Number . POSITIVE_INFINITY ,
2424 targetLanguage,
2525 concurrency = 10 ,
26+ verbose,
2627} : MainConfig ) : Promise < void > {
2728 // Filter languages based on targetLanguage if specified
2829 const filteredLangs = targetLanguage
@@ -159,7 +160,7 @@ export async function main({
159160
160161 tableData . push ( {
161162 Source : sourcePath ,
162- Target : targetPath ,
163+ ... ( verbose ? { Target : targetPath } : { } ) ,
163164 'Should update?' : shouldUpdate ? '✅ Yes' : '❌ No' ,
164165 Chunks : chunks ,
165166 Reason : reason ,
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export interface MainConfig {
2828 listOnly ?: boolean ;
2929 targetLanguage ?: string ;
3030 concurrency ?: number ;
31+ verbose ?: boolean ;
3132}
3233
3334export interface TranslationResult {
You can’t perform that action at this time.
0 commit comments