You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elseif(args[0]==='--standard-install')cache.standardInstall=args[1]// if mkroosevelt is being used, type of installation in args[0] and the project name will be in args[1]
cache.standardInstall=args[1]// if mkroosevelt is being used, type of installation in args[0] and the project name will be in args[1]
26
+
cache.standardMpaInstall=args[1]// if mkroosevelt is being used, type of installation in args[0] and the project name will be in args[1]
27
+
}
28
+
if(args[0]==='--standard-static-install')cache.standardStaticInstall=args[1]// if mkroosevelt is being used, type of installation in args[0] and the project name will be in args[1]
29
+
if(args[0]==='--standard-spa-install')cache.standardSpaInstall=args[1]// if mkroosevelt is being used, type of installation in args[0] and the project name will be in args[1]
15
30
16
31
this.option('standard-install',{
17
32
alias: 's',
@@ -20,6 +35,24 @@ module.exports = class extends Generator {
20
35
desc: 'Skips all prompts and creates a Roosevelt app with all defaults.'
21
36
})
22
37
38
+
this.option('standard-mpa-install',{
39
+
type: String,
40
+
required: false,
41
+
desc: 'Skips all prompts and creates a Roosevelt multi-page app with all defaults.'
42
+
})
43
+
44
+
this.option('standard-static-install',{
45
+
type: String,
46
+
required: false,
47
+
desc: 'Skips all prompts and creates a Roosevelt static site generator with all defaults.'
48
+
})
49
+
50
+
this.option('standard-spa-install',{
51
+
type: String,
52
+
required: false,
53
+
desc: 'Skips all prompts and creates a Roosevelt single page app with all defaults.'
54
+
})
55
+
23
56
this.option('skip-closing-message',{
24
57
type: Boolean,
25
58
required: false,
@@ -29,9 +62,11 @@ module.exports = class extends Generator {
0 commit comments