Skip to content

Commit a564d65

Browse files
refactor(@angular-devkit/schematics): add more description to ng generate
1 parent ac0af50 commit a564d65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/schematics/angular/component/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"name": {
2626
"type": "string",
27-
"description": "The name of the component.",
27+
"description": "The name of the component. The CLI creates a folder with provided name and creates component files inside the folder. The component selector uses {prexix}-{componentname} format. For new Angular apps {prefix} value is app.",
2828
"$default": {
2929
"$source": "argv",
3030
"index": 0

packages/schematics/angular/service/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"properties": {
99
"name": {
1010
"type": "string",
11-
"description": "The name of the service.",
11+
"description": "The name of the service. The CLI creates a service and spec files, the files are generated inside src folder if path is not provided.",
1212
"$default": {
1313
"$source": "argv",
1414
"index": 0

0 commit comments

Comments
 (0)