-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @schematics/angulararea: docsRelated to the documentationRelated to the documentationhelp wantedLabel noting an issue which the team is looking for contribution from the community to fixLabel noting an issue which the team is looking for contribution from the community to fix
Description
Which @angular/* package(s) are relevant/related to the feature request?
No response
Description
Some newcomers like me didn't know what happens when I run ng g component whatever and ng g service whatever:
The description is too vague and you get confused at first what these commands do to the file system and how they name the API item and the component selector, so can you add a little more detail to --help?
Proposed solution
Add more detail:
ng g component --help(<name>)- Generates a directory at
name. The last portion ofnameis the selector (or API item name), adding aapp-prefix by default.
- Generates a directory at
ng g service --help(<name>)- Generates a service and its spec at
name(not at a new directory).
- Generates a service and its spec at
Alternatives considered
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @schematics/angulararea: docsRelated to the documentationRelated to the documentationhelp wantedLabel noting an issue which the team is looking for contribution from the community to fixLabel noting an issue which the team is looking for contribution from the community to fix