This page was generated approximately 25 days ago.
For copyright and licensing details please see the LICENSE file.
NAME:
firestore-manager - A new cli application
USAGE:
firestore-manager [global options] command [command options] [arguments...]
COMMANDS:
create, c create a document on firebase
set, s updates a document on firebase
delete, d deletes a document on firebase
read, r read a document from firebase
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
Lets generate GCP credentials from https://cloud.google.com/iam/docs/service-accounts-create
, Once you have your service account, your ready.
export GOOGLE_APPLICATION_CREDENTIALS=[PATH]
$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]
Download the latest firestore-manager
binary
go get -v github.com/complexorganizations/firestore-manager
Using firestore-manager
binary
firestore-manager read -auth [PATH] --collection contacts --document [DOCUMENT_ID] --file [PATH]