File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11import inquirer from 'inquirer' ;
2- import { StackConfig , LaravelWizard } from 'stacker-core' ;
2+ import { StackConfig , WordpressWizard , LaravelWizard } from 'stacker-core' ;
33
44import { getStackConfig , catchErrors } from '../utils' ;
55
@@ -10,6 +10,7 @@ async function getStackName() {
1010 name : 'stack' ,
1111 message : 'Select the stack' ,
1212 choices : [
13+ { value : 'wordpress' , name : 'Wordpress' } ,
1314 { value : 'laravel' , name : 'Laravel' } ,
1415 { value : 'rails' , name : 'Ruby on Rails' } ,
1516 { value : 'django' , name : 'Django' } ,
@@ -19,6 +20,7 @@ async function getStackName() {
1920}
2021
2122function getWizard ( stack ) {
23+ if ( stack === 'wordpress' ) return WordpressWizard ;
2224 if ( stack === 'laravel' ) return LaravelWizard ;
2325}
2426
You can’t perform that action at this time.
0 commit comments