@firemanjs/fireman
Fireman API and CLI
Last updated a year ago by umbopepato .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @firemanjs/fireman 
SYNC missed versions from official npm registry.

A cli and desktop client for Firebase databases that makes querying and managing easy.

Install

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)

Usage

Fireman uses a custom query language called FiremanQL. To learn more about it see FiremanQL Docs.

Once installed, this package exposes the fireman command.

CLI documentation

fireman project:add <serviceAccountKeyPath> <dbUrl>

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.

fireman project:use

Starts an interactive shell that lets you choose which project to use from now on.

fireman project:remove

Starts an interactive shell that lets you choose which project to remove (locally).

fireman firestore [query]

If no query is provided, starts the Fireman interactive shell, otherwise performs query.

fireman realtime [query]

If no query is provided, starts the Realtime interactive shell, otherwise performs query.

Query options

The following options can be appended to queries:

-l listens for changes in the queried data and updates the output in real time.

License

This project is licensed under the MIT License - see the LICENSE file for details

Current Tags

  • 0.0.8                                ...           latest (a year ago)

3 Versions

  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 4
Dependencies (7)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |