Skip to content

Commit 1ccaf4d

Browse files
m1gacb1kenobi
andauthored
Update cli/commands/create.js
Co-authored-by: Chris Barber <chris@cb1inc.com>
1 parent 243e49f commit 1ccaf4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/commands/create.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ export class CreateCommand {
187187
}
188188
if (cli.argv.alloy !== undefined || useAlloy) {
189189
try {
190-
execSync(`alloy new "${path.join(cli.argv['workspace-dir'], cli.argv.name)}"`, { stdio: 'ignore' });
190+
const output = execSync(`alloy new "${path.join(cli.argv['workspace-dir'], cli.argv.name)}"`, { encoding: 'utf8' });
191+
(output?.trim() || '').split('\n').forEach(line => logger.info(line));
191192
} catch (_alloyError) {
192193
logger.error('Alloy is not installed. Run "npm i -g alloy" to install it, then run "alloy new" inside the project folder.');
193194
}

0 commit comments

Comments
 (0)