NativeScript / NativeScript/nativescript-cli
CLI help when the wrong command is used
未關閉
還沒有人認領這個 Issue。
docs
severity: low
ux
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Today when trying to remove a platform, I used: tns platform rm android. This is wrong, but look at the response:

First, it doesn't say my command is wrong, just that the command doesn't accept parameters. Secondly it shows platform list, but why not the rest of the subcommands?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
重現 tns platform rm android,並檢查 CLI 對 platform 命令及其子命令的處理。完成的修改應明確報告該命令無效,並顯示可用的 platform 子命令,而不是只顯示 platform 清單。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100