A cli and desktop client for Firebase databases that makes querying and managing easy.
To install run
$ npm install -g @firemanjs/fireman
This package only contains Fireman API and CLI, for the Electron app refer to fireman-electron. (Not yet released)
Fireman uses a custom query language called FiremanQL. To learn more about it see FiremanQL Docs.
Once installed, this package exposes the fireman
command.
Adds a Firebase project to your environment.
Parameter | Description |
---|---|
serviceAccountKeyPath |
The absolute path of the service account key JSON file |
dbUrl |
The .firebaseio.com url of your database |
See add firebase to your app to know how to generate the service account file and to find the db url.
Starts an interactive shell that lets you choose which project to use from now on.
Starts an interactive shell that lets you choose which project to remove (locally).
If no query is provided, starts the Fireman interactive shell, otherwise performs query
.
If no query is provided, starts the Realtime interactive shell, otherwise performs query
.
The following options can be appended to queries:
-l
listens for changes in the queried data and updates the output in real time.
This project is licensed under the MIT License - see the LICENSE file for details