Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @titicaca/firebase-remote-config-manager with all npm packages installed. Try it out:

var firebaseRemoteConfigManager = require("@titicaca/firebase-remote-config-manager")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@titicaca/firebase-remote-config-manager v0.2.1

Manages firebase remote config programmatically and via CLI

firebase-remote-config-manager

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

* [Usage](#usage) * [Commands](#commands)

Usage

```sh-session $ 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.1 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]`](#firebase-remote-config-get-key) * [`firebase-remote-config help [COMMAND]`](#firebase-remote-config-help-command) * [`firebase-remote-config set [KEY] [VALUE]`](#firebase-remote-config-set-key-value)

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free