firebase-remote-config-manager
Manages firebase remote config programmatically and via CLI
Last updated a year ago by inbeom .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install firebase-remote-config-manager 
SYNC missed versions from official npm registry.

firebase-remote-config-manager

Firebase remote config를 조회하거나 설정하는 API와 CLI를 제공합니다.

Usage

$ npm install -g @titicaca/firebase-remote-config-manager
$ firebase-remote-config COMMAND
running command...
$ firebase-remote-config (-v|--version|version)
firebase-remote-config-manager/0.1.0 darwin-x64 node-v9.2.0
$ firebase-remote-config --help [COMMAND]
USAGE
  $ firebase-remote-config COMMAND
...

Commands

Remote config 접근을 위해서는 project ID와 service account 경로를 반드시 명시해야 합니다. 이들은 각 command의 --project-id(혹은 -p), --service-account(혹은 -a) 인자로 전달하거나, 아래와 같이 환경변수를 설정하세요.

FIREBASE_PROJECT_ID=my-project
FIREBASE_SERVICE_ACCOUNT=/home/you/firebase-service-account.json

firebase-remote-config get [KEY]

KEY로 명시한 Firebase remote config 항목의 값을 조회합니다.

USAGE
  $ firebase-remote-config get [KEY]

ARGUMENTS
  KEY   조회할 entry 키

OPTIONS
  --project-id, -p  Firebase project ID
  --service-account, -a  Firebase service account JSON 파일 경로

EXAMPLE
  $ firebase-remote-config get latest_announcement_id
  1

See code: src/commands/get.ts

firebase-remote-config set [KEY] [VALUE]

KEY로 명시한 Firebase remote config 항목의 값을 VALUE로 설정합니다.

USAGE
  $ firebase-remote-config [KEY] [VALUE]

ARGUMENTS
  KEY   변경할 entry 키
  VALUE 변경할 값

OPTIONS
  --project-id, -p  Firebase project ID
  --service-account, -a  Firebase service account JSON 파일 경로

EXAMPLE
  $ firebase-remote-config set latest_announcement_id 2
  2

Current Tags

  • 0.1.0                                ...           latest (a year ago)

1 Versions

  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (7)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |