ng generate m help does not generate module but shows help menu
- 主要語言
- TypeScript
- 星號
- 27k
- 分支
- 11.8k
- 平均合併
- 14 小時 23 分鐘
- 30 天內合併 PR
- 162
描述
### 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_
貢獻指南
研究方向
使用 issue 中所描述的 Angular CLI 版本重現 `ng generate m help`,然後檢查 CLI 的 generate 命令如何處理 `m help` 引數。完成的標準是該命令產生一個名為 `help` 的模組,而不是顯示說明功能表。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- angular, typescript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100