angular / angular-cli

CLI tool for Angular
https://cli.angular.dev
MIT License
26.78k stars 11.98k forks source link

Add more description to ng generate subcommands #25571

Open hydroper opened 1 year ago

hydroper commented 1 year ago

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:

Alternatives considered

N/A

JeanMeche commented 1 year ago

Hi, could you point us to which description your are talking about ? The cli --help ?

hydroper commented 1 year ago

@JeanMeche Yeah, updated!

JeanMeche commented 1 year ago

@hydroper Let me transfer this to the CLI repo 👍

santoshyadavdev commented 11 months ago

Hey @alan-agius4 do we know what message we want to add, I can take this up.

santoshyadavdev commented 11 months ago

Hello @JeanMeche @alan-agius4 I am getting Cannot find module '/workspaces/angular-cli/lib/packages.js' imported from /workspaces/angular-cli/.ng-dev/commit-message.mjs I see there is packages.ts file inside lib bit not js, is there any extra step which I am missing to convert this to js?