nfirestore-cli 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global nfirestore-cli --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local nfirestore-cli --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=nfirestore-cli&version=1.0.1                
nuke :add-package nfirestore-cli --version 1.0.1                

nfirestore-cli

This is a dotnet tui for interacting with Firestore databases.

It is based on firestore-cli a Go application with similar remit.

Expanded functionality includes

  • Support for nested collections
  • Configurable query limit (defaults to 100)

demo gif

Install and Run

Install the tool by running

dotnet tool install --global nfirestore-cli

You can then run with

nfirestore-cli --help

Supports connecting to an emulator (e.g. a docker container running mtlynch/firestore-emulator) by using the -e parameter:

nfirestore-cli -e localhost:8200 -p test

To connect to Google Cloud you will need to run gcloud auth - see Google Docs for full details. For example:

gcloud auth application-default login
nfirestore-cli -p my-project
gcloud auth application-default revoke

Update/Remove

You can update to the latest version using

dotnet tool update --global nfirestore-cli

You can uninstall using

dotnet tool uninstall --global nfirestore-cli

Development

Enter the project root and start the firestore emulator:

docker-compose up

Build and run the program

dotnet run
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.3 220 4/14/2024
1.0.2 180 4/14/2024
1.0.1 196 4/14/2024
1.0.0 187 4/14/2024

v1.0.1
* Readme improvements
v1.0.0
* Initial Release