ng generate m help does not generate module but shows help menu
- Langage dominant
- TypeScript
- Étoiles
- 27k
- Forks
- 11.8k
- Merge moyen
- 14 h 23 min
- PR mergées (30 j)
- 162
Description
### Which @angular/* package(s) are the source of the bug?
compiler-cli, Don't known / other
### Is this a regression?
No
### Description
Today I was trying to generate a module called "help" using the CLI. I ran the command:
```
ng generate m help
```
This does not generate the module but shows up the angular cli help menu.

### Please provide a link to a minimal reproduction of the bug
_No response_
### Please provide the exception or error you saw
_No response_
### Please provide the environment you discovered this bug in (run `ng version`)
```true
Angular CLI: 16.0.0
Node: 18.15.0
Package Manager: npm 9.5.0
OS: win32 x64
Angular: 16.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, material, platform-browser, platform-browser-dynamic
... platform-server, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1600.0
@angular-devkit/build-angular 16.0.0
@angular-devkit/core 16.0.0
@angular-devkit/schematics 16.0.0
@nguniversal/builders 16.0.0
@nguniversal/express-engine 16.0.0
@schematics/angular 16.0.0
rxjs 7.8.1
typescript 5.0.4
```
### Anything else?
_No response_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduisez `ng generate m help` avec la version d’Angular CLI décrite dans l’issue, puis examinez la manière dont la commande generate de la CLI gère les arguments `m help`. Le travail est terminé lorsque la commande génère un module nommé `help` au lieu d’afficher le menu d’aide.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100