8000 GitHub - cachapa/fireutil: Utility to manage Firestore databases
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cachapa/fireutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fireutil

A simple CLI utility to push key-value pairs to Firestore. Useful for scripting, e.g. logging system data using crontab.

This application is based on firedart.

Setup

To use, simply clone this repository:

git clone https://github.com/cachapa/fireutil

You'll need to provide your Firebase credentials. Simply rename config_EDIT.dart to config.dart and edit the file.

To test if everything is working try logging some data:

cd bin
dart main.dart update /test/log field1:content field2:more_content

For normal usage it's recommended that you compile an AOT binary:

dart2aot bin/main.dart fireutil

To run it:

dartaotruntime fireutil update /test/log field1:content field2:more_content

To check available commands simply run the command without arguments:

dartaotruntime fireutil

About

Utility to manage Firestore databases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0