Skip to content

Commit aff838f

Browse files
committed
chore: style output on success
1 parent 83bbeeb commit aff838f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
writeFileSync,
1212
} from 'node:fs';
1313
import { join, resolve } from 'node:path';
14-
import { parseArgs } from 'node:util';
14+
import { parseArgs, styleText } from 'node:util';
1515
import { isCancel, select, text, log, tasks } from '@clack/prompts';
1616
import { kebabCase } from 'es-toolkit';
1717
import { execSync } from 'node:child_process';
@@ -228,7 +228,9 @@ async function main() {
228228
},
229229
]);
230230

231-
log.success(`✅ Template "${engine}" copied to "${targetDir}"`);
231+
log.success(
232+
`✅ Template ${styleText('cyan', engine)} initialized in ${styleText('cyan', targetDir)}.`,
233+
);
232234
}
233235

234236
main();

0 commit comments

Comments
 (0)