angular / angular/angular-cli

A flag to display a list of available parameters

未關閉
#12,152 4 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
area: @angular-devkit/schematics-cli feature feature: insufficient votes
主要語言
TypeScript
星號
27k
分支
11.8k
平均合併
14 小時 23 分鐘
30 天內合併 PR
162

描述

_From @sebawita on December 4, 2017 18:50_

### Bug Report or Feature Request (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [x] feature request
```

### Area
```
- [ ] devkit
- [x] schematics
```

### Desired functionality
Currently the only way to check the available parameters for a schematics is by looking into its json schema file.
It would be great to have a way in the CLI to display the list of params, like this:
```schematics @schematics:schematic --schema```

_Copied from original issue: angular/devkit#311_

貢獻指南

開啟貢獻指南

研究方向

首先追蹤 schematics CLI 的進入點,以及它如何讀取每個 schematic 的 JSON schema。執行建議的 `schematics @schematics:schematic --schema` 命令,同時檢查現有的 CLI 行為。完成的標準是,該 flag 能顯示某個 schematic 可用的參數,而不需要使用者檢查其 schema file。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript
領域
cli
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。