@@ -340,19 +340,35 @@ can skip this prompt next time using the --template option, or the --ng, --react
340340 }
341341
342342 public async postCommandAction ( args : string [ ] ) : Promise < void > {
343- const { projectDir } = this . createdProjectData ;
343+ const { projectDir, projectName } = this . createdProjectData ;
344344 const relativePath = path . relative ( process . cwd ( ) , projectDir ) ;
345- this . $logger . printMarkdown (
346- `Now you can navigate to your project with \`$ cd ${ relativePath } \` and then:`
347- ) ;
348- this . $logger . printMarkdown (
345+
346+ const greyDollarSign = "$" . grey ;
347+ this . $logger . clearScreen ( ) ;
348+ this . $logger . info (
349349 [
350- `- Run the project on iOS \`$ ns run ios\`` ,
351- `- Run the project on Android \`$ ns run android\`` ,
352- `- Debug the project on iOS \`$ ns debug ios\`` ,
353- `- Debug the project on Android \`$ ns debug android\`` ,
350+ [
351+ `Project` . green ,
352+ projectName . cyan ,
353+ `was successfully created.` . green ,
354+ ] . join ( " " ) ,
355+ "" ,
356+ `Now you can navigate to your project with ${
357+ `cd ${ relativePath } ` . cyan
358+ } and then:`,
359+ "" ,
360+ `Run the project on multiple devices:` ,
361+ "" ,
362+ ` ${ greyDollarSign } ${ "ns run ios" . green } ` ,
363+ ` ${ greyDollarSign } ${ "ns run android" . green } ` ,
364+ "" ,
365+ "Debug the project with Chrome DevTools:" ,
366+ "" ,
367+ ` ${ greyDollarSign } ${ "ns debug ios" . green } ` ,
368+ ` ${ greyDollarSign } ${ "ns debug android" . green } ` ,
354369 `` ,
355- `For more options consult the docs or run \`$ ns --help\`` ,
370+ `For more options consult the docs or run ${ "ns --help" . green } ` ,
371+ "" ,
356372 ] . join ( "\n" )
357373 ) ;
358374 // Commented as we may bring this back with a playground revision/rewrite
0 commit comments