File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
packages/nx-python/src/schematics/nx-python Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ export interface NxPythonSchematicSchema {
2
2
name : string ;
3
3
tags ?: string ;
4
4
directory ?: string ;
5
+ template ?: string ;
5
6
}
Original file line number Diff line number Diff line change 22
22
"type" : " string" ,
23
23
"description" : " A directory where the project is placed" ,
24
24
"alias" : " d"
25
+ },
26
+ "template" : {
27
+ "type" : " string" ,
28
+ "alias" : " f" ,
29
+ "default" : " none" ,
30
+ "x-prompt" : {
31
+ "message" : " Which python framework would you like to use for the application?" ,
32
+ "type" : " list" ,
33
+ "items" : [
34
+ {
35
+ "value" : " (none)" ,
36
+ "label" : " none"
37
+ },
38
+ {
39
+ "value" : " django" ,
40
+ "label" : " django [ https://www.djangoproject.com/ ]"
41
+ },
42
+ {
43
+ "value" : " flask" ,
44
+ "label" : " Flask [ https://pypi.org/project/Flask/ ]"
45
+ }
46
+ ]
47
+ }
25
48
}
26
49
},
27
- "required" : [" name" ]
28
- }
50
+ "required" : [
51
+ " name"
52
+ ]
53
+ }
You can’t perform that action at this time.
0 commit comments