@titicaca/firebase-remote-config-manager
v0.2.1
Published
Manages firebase remote config programmatically and via CLI
Downloads
17
Maintainers
Keywords
Readme
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]
firebase-remote-config help [COMMAND]
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