@@ -276,6 +276,7 @@ ${chalk.cyan('[1]')}: ${chalk.bold('https://ionicframework.com/docs/cli/starters
276276
277277 async run ( inputs : CommandLineInputs , options : CommandLineOptions ) : Promise < void > {
278278 const { pkgManagerArgs } = await import ( '@ionic/cli-utils/lib/utils/npm' ) ;
279+ const { getIonicDevAppText, getIonicProText } = await import ( '@ionic/cli-utils/lib/start' ) ;
279280 const config = await this . env . config . load ( ) ;
280281 const { npmClient } = config ;
281282
@@ -319,7 +320,7 @@ ${chalk.cyan('[1]')}: ${chalk.bold('https://ionicframework.com/docs/cli/starters
319320 // autogenerated when the CLI booted up. This has worked thus far?
320321 this . env . project = await getProject ( projectDir , this . env ) ;
321322
322- const shellOptions = { cwd : projectDir } ;
323+ const shellOptions = { cwd : projectDir , stdio : [ 'inherit' , 'ignore' , 'ignore' ] } ;
323324
324325 if ( ! clonedApp ) {
325326 if ( ! options [ 'cordova' ] ) {
@@ -349,14 +350,7 @@ ${chalk.cyan('[1]')}: ${chalk.bold('https://ionicframework.com/docs/cli/starters
349350 if ( options [ 'deps' ] ) {
350351 this . env . log . msg ( 'Installing dependencies may take several minutes.' ) ;
351352
352- this . env . log . nl ( ) ;
353- this . env . log . rawmsg (
354- ` ${ chalk . bold ( `${ emoji ( '✨' , '*' ) } IONIC DEVAPP ${ emoji ( '✨' , '*' ) } ` ) } \n\n` +
355- ` Speed up development with the ${ chalk . bold ( 'Ionic DevApp' ) } , our fast, on-device testing mobile app\n\n` +
356- ` - ${ emoji ( '🔑' , '' ) } Test on iOS and Android without Native SDKs\n` +
357- ` - ${ emoji ( '🚀' , '' ) } LiveReload for instant style and JS updates\n\n` +
358- ` ️--> Install DevApp: ${ chalk . bold ( 'https://bit.ly/ionic-dev-app' ) } <--\n\n`
359- ) ;
353+ this . env . log . rawmsg ( await getIonicDevAppText ( ) ) ;
360354
361355 const [ installer , ...installerArgs ] = await pkgManagerArgs ( { npmClient, shell : this . env . shell } , { command : 'install' } ) ;
362356 await this . env . shell . run ( installer , installerArgs , shellOptions ) ;
@@ -368,14 +362,7 @@ ${chalk.cyan('[1]')}: ${chalk.bold('https://ionicframework.com/docs/cli/starters
368362 }
369363
370364 if ( options [ 'link' ] && ! linkConfirmed ) {
371- this . env . log . nl ( ) ;
372- this . env . log . rawmsg (
373- ` ${ chalk . bold ( `${ emoji ( '🔥' , '*' ) } IONIC PRO ${ emoji ( '🔥' , '*' ) } ` ) } \n\n` +
374- ` Supercharge your Ionic development with the ${ chalk . bold ( 'Ionic Pro' ) } SDK\n\n` +
375- ` - ${ emoji ( '⚠️' , '' ) } Track runtime errors in real-time, back to your original TypeScript\n` +
376- ` - ${ emoji ( '📲' , '' ) } Push remote updates and skip the app store queue\n\n` +
377- ` Learn more about Ionic Pro: ${ chalk . bold ( 'https://ionicframework.com/pro' ) } \n`
378- ) ;
365+ this . env . log . rawmsg ( await getIonicProText ( ) ) ;
379366
380367 const confirm = await this . env . prompt ( {
381368 type : 'confirm' ,
@@ -384,8 +371,6 @@ ${chalk.cyan('[1]')}: ${chalk.bold('https://ionicframework.com/docs/cli/starters
384371 noninteractiveValue : false ,
385372 } ) ;
386373
387- this . env . log . msg ( '\n-----------------------------------\n\n' ) ;
388-
389374 if ( confirm ) {
390375 linkConfirmed = true ;
391376 }
0 commit comments