Simple Firebase Database Client CLI
https://devpost.com/software/firebase-realtime-database-rest-api-client
$ ./build.sh
Binary will be output to build/TrySwiftFIRDBClient.
Sample Firebase Database setting is preset, if you'd like to change the DB,
please set the DB Root URL and API secret key by --db-url and --api-secret.
# Show help
$ ./build/TrySwiftFIRDBClient --help
# Fetch / from default Firebase Database
$ ./build/TrySwiftFIRDBClient
# Fetch data by path
$ ./build/TrySwiftFIRDBClient get <path>
# Fetch / from another Firebase Database
$ ./build/TrySwiftFIRDBClient \
--db-url='https://friendlychat-deadbeef.firebaseio.com/' \
--api-secret='deadbeef' get /
# Post/Put/Patch data to the path specified
$ ./build/TrySwiftFIRDBClient post <path> '<<json string>>'
$ ./build/TrySwiftFIRDBClient put <path> '<<json string>>'
$ ./build/TrySwiftFIRDBClient patch <path> '<<json string>>'
# Delete data by given path
$ ./build/TrySwiftFIRDBClient delete <path>