gugahoi / firestore

Command line utility for interacting with Firestore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firestore CLI

Firestore is a command line utility to facilitate operations with Firestore from the command line.

Usage

export PROJECT_ID=my-project
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
firestore document cp /my-collection/my-document /my-collection/another-document

Supported Features

Documents

  • delete
  • move
  • copy
  • download
  • add

Collections

  • copy
  • delete
  • download
  • upload
  • query

Firestore Emulator

To use this tool with the Firestore Emulator you must set the FIRESTORE_EMULATOR_HOST environment variable to the appropriate value. For example:

export FIRESTORE_EMULATOR_HOST=localhost:9090

About

Command line utility for interacting with Firestore


Languages

Language:Go 100.0%