ng generate m help does not generate module but shows help menu
- Lenguaje dominante
- TypeScript
- Estrellas
- 27k
- Forks
- 11.8k
- Merge medio
- 14 h 23 min
- PR fusionados (30 d)
- 162
Descripción
### 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_
Guía de contribución
Línea de trabajo
Reproduce `ng generate m help` con la versión de Angular CLI descrita en el issue y, después, inspecciona cómo el comando generate de la CLI gestiona los argumentos `m help`. Se considera terminado cuando el comando genera un módulo llamado `help` en lugar de mostrar el menú de ayuda.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100