feat(schematics): prompt for name when generating component (#13518)

* Since the CLI is able to prompt for required schema properties, we should automatically prompt for a name when a developer wants to generate a CDK or Material component.
This commit is contained in:
Paul Gschwendtner
2018-10-11 19:01:11 +02:00
committed by Andrew Seguin
parent 7ef88041c0
commit 9085de716a
6 changed files with 12 additions and 6 deletions
@@ -23,7 +23,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What should be the name of the component?"
},
"inlineStyle": {
"description": "Specifies if the style will be in the ts file.",
+2 -1
View File
@@ -23,7 +23,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What should be the name of the component?"
},
"inlineStyle": {
"description": "Specifies if the style will be in the ts file.",
+2 -1
View File
@@ -23,7 +23,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What should be the name of the component?"
},
"inlineStyle": {
"description": "Specifies if the style will be in the ts file.",
+2 -1
View File
@@ -23,7 +23,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What should be the name of the component?"
},
"inlineStyle": {
"description": "Specifies if the style will be in the ts file.",
+2 -1
View File
@@ -23,7 +23,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What should be the name of the component?"
},
"inlineStyle": {
"description": "Specifies if the style will be in the ts file.",
+2 -1
View File
@@ -23,7 +23,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What should be the name of the component?"
},
"inlineStyle": {
"description": "Specifies if the style will be in the ts file.",