File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ export async function create({
151151 getTemplateName,
152152 mapESLintTemplate,
153153 version,
154+ skipNote,
154155} : {
155156 name : string ;
156157 root : string ;
@@ -159,6 +160,7 @@ export async function create({
159160 getTemplateName : ( argv : Argv ) => Promise < string > ;
160161 mapESLintTemplate : ( templateName : string ) => ESLintTemplateName | null ;
161162 version ?: Record < string , string > | string ;
163+ skipNote ?: boolean ;
162164} ) {
163165 const argv = minimist < Argv > ( process . argv . slice ( 2 ) , {
164166 alias : { h : 'help' , d : 'dir' , t : 'template' } ,
@@ -299,7 +301,9 @@ export async function create({
299301 `4. ${ color . cyan ( `${ pkgManager } run dev` ) } ` ,
300302 ] ;
301303
302- note ( nextSteps . map ( ( step ) => color . reset ( step ) ) . join ( '\n' ) , 'Next steps' ) ;
304+ if ( ! skipNote ) {
305+ note ( nextSteps . map ( ( step ) => color . reset ( step ) ) . join ( '\n' ) , 'Next steps' ) ;
306+ }
303307
304308 outro ( 'All set, happy coding!' ) ;
305309}
You can’t perform that action at this time.
0 commit comments