request: Configurable firebase.json output directory ("--firebase-out=<PATH>")

オープン
#277 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

  • #435 @kevmoo による — マージされずにクローズ

評価

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

調査の方向性

まず configure コマンドと、--android-out、--ios-out、--macos-out、--out など、既存のパス対応フラグを追跡します。--firebase-out= オプションによって、生成された firebase.json が要求された場所に書き込まれ、文書化されたコマンド形式も含まれていれば、作業は完了です。

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

説明

enhancement keep open Needs Attention
Is there an existing feature request for this?
  • I have searched the existing issues.
Command

flutterfire configure --yes --project=<FIREBASE_PROJECT_ID> --firebase-out=<PATH>

Description

As a developer, I want to be able to dictate where the firebase.json generated file is written to.

Reasoning

This feature is useful for compatibility with projects with abnormal file structures, multi-environments, or special CI/CD instructions.

Additional context and comments

The other generated outputs have path-supported flags:

flutterfire configure \ 
--yes \
--project=your-project-id \
--platforms=ios,macos,android,web \
**--android-out=android/app/src/release/google-services.json \**
--android-package-name=com.example.myapp.release \
--ios-build-config=Release \
**--ios-out=/ios/release/GoogleService-Info.plist \**
--ios-bundle-id=com.example.myApp.ios.release \
--macos-build-config=Release \
**--macos-out=/macos/release/GoogleService-Info.plist \**
--macos-bundle-id=com.example.myApp.macos.release \
--web-app-id=<1:XXX:web:XXX> \
**--out=lib/release/firebase_options.dart**

Supporting the firebase.json location would further future-proof the CLI.

主要言語
Dart
スター
195
フォーク
77
平均マージ
1日 8時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

invertase/flutterfire_cli のほかの issue

invertase/flutterfire_cli の issue をすべて見る

似ている issue

Dart の issue をもっと見る

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

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