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

Đang mở
#277 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

  • #435 của @kevmoo — đã đóng, không merge

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
dart, firebase
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu bằng cách lần theo lệnh configure và các flag hiện có hỗ trợ đường dẫn như --android-out, --ios-out, --macos-out và --out. Công việc hoàn tất khi tùy chọn --firebase-out= ghi firebase.json được tạo vào vị trí được yêu cầu, bao gồm cả dạng lệnh được tài liệu hóa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Dart
Star
195
Fork
77
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của invertase/flutterfire_cli

Tất cả issue của invertase/flutterfire_cli

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.