Skip to content

feat(@schematics/angular): add prompts for all name options #12519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/schematics/angular/application/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the application?"
},
"experimentalIvy": {
"description": "EXPERIMENTAL: Specifies whether to create a new application which uses the Ivy rendering engine.",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/class/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the class?"
},
"path": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/component/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the component?"
},
"inlineStyle": {
"description": "Specifies if the style will be in the ts file.",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/directive/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the directive?"
},
"path": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/enum/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the enum?"
},
"path": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/guard/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the guard?"
},
"spec": {
"type": "boolean",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/interface/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the interface?"
},
"path": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/library/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the library?"
},
"entryFile": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/module/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the module?"
},
"path": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/pipe/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the pipe?"
},
"path": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/service/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"$default": {
"$source": "argv",
"index": 0
}
},
"x-prompt": "What name would you like to use for the service?"
},
"path": {
"type": "string",
Expand Down