NativeScript / NativeScript/nativescript-cli
command to get app infos
未關閉
還沒有人認領這個 Issue。
feature
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
I know there is a ns config command to read project config. However it is not enough .
what s needed:
- command to get app id. This could be done with
ns configbut i cant find a way to read only theidkey ? - command to read build version and build number for iOS/Android. This is very important for plugins like sentry.
Right now i have some kind of a working implementation here https://github.com/farfromrefug/nativescript-set-version/blob/master/lib/get_version.js#L11.
However it would be much more suited inside the cli. For instance getting the location of info.plist and app.gradle is very ugly in my plugin while it is already implemented and elegant in the cli.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從現有的 ns config 命令開始,並將其行為與 lib/get_version.js 中的外掛程式實作進行比較。檢查 CLI 如何定位 info.plist 和 app.gradle,然後定義用於讀取 App ID、iOS/Android 建置版本和建置號碼的命令或選項。當 CLI 能夠可靠地為兩個平台提供這些值時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, ios, javascript
- 領域
- cli, mobile
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100