@titicaca/firebase-remote-config-manager
Manages firebase remote config programmatically and via CLI
Last updated 10 months ago by inbeom .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @titicaca/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)
@titicaca/firebase-remote-config-manager/0.2.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]

Fetches Firebase remote config entry of the specified key

USAGE
  $ firebase-remote-config get [KEY]

OPTIONS
  -a, --serviceAccount=serviceAccount
  -p, --projectId=projectId

EXAMPLE
  $ firebase-remote-config get [KEY]

See code: src/commands/get.ts

firebase-remote-config help [COMMAND]

display help for firebase-remote-config

USAGE
  $ firebase-remote-config help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

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

Adds or updates Firebase remote config entry of the specified key as value

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

OPTIONS
  -a, --serviceAccount=serviceAccount
  -p, --projectId=projectId

EXAMPLE
  $ firebase-remote-config set [KEY] [VALUE}

See code: src/commands/set.ts

Current Tags

  • 0.2.1                                ...           latest (10 months ago)

3 Versions

  • 0.2.1                                ...           10 months ago
  • 0.2.0                                ...           10 months ago
  • 0.1.0                                ...           10 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (7)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2018 © taobao.org |