NativeScript / NativeScript/nativescript-cli

command to get app infos

オープン
#5,557 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

feature
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
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 config but i cant find a way to read only the id key ?
  • 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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

既存の ns config コマンドから始め、その動作を lib/get_version.js のプラグイン実装と比較します。CLI が info.plistapp.gradle をどのように見つけているかを確認し、アプリ ID、iOS/Android のビルドバージョン、ビルド番号を読み取るためのコマンドまたはオプションを定義します。CLI が両方のプラットフォームでこれらの値を確実に公開できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, ios, javascript
領域
cli, mobile
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。