-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Add more description to ng generate subcommands #25571
Comments
Hi, could you point us to which description your are talking about ? The cli |
@JeanMeche Yeah, updated! |
@hydroper Let me transfer this to the CLI repo 👍 |
Hey @alan-agius4 do we know what message we want to add, I can take this up. |
Hello @JeanMeche @alan-agius4 |
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
andng 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>
)name
. The last portion ofname
is the selector (or API item name), adding aapp-
prefix by default.ng g service --help
(<name>
)name
(not at a new directory).Alternatives considered
N/A
The text was updated successfully, but these errors were encountered: