1.0.0 • Published 4 years ago

esutility v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

EstateSpace node based helper utility

This project defines a utility for interacting with firebase server. Various commands are supported.

Usage

Loading a User in Firebase

The utility requires firebase configuration file to load a user and return its firebase id. Use the --file flag to specify the json file to load the firebase configuration from. e.g.

esutility --username abc --password xyz --tenantid 123 --file path/to/config-file firebase adduser

Options

Usage: esutility [options] [command]

A command line utility for interacting with firebase.
More information found on Github, https://github.com/GriffinGroupGlobal/esutil_helper

Options:
  -V, --version                               output the version number
  -u, --username <user>                       the username for the user. If not specified, you will be prompted.
  -p, --password <password>                   the password for the user. If not specified, you will be prompted.
  -t, --tenantid <tenantid>                   the tenant Id of a domain in firebase. If not specified, you will be prompted.
  -f, --file <filename>                       the firebase config file to
  -h, --help                                  output usage information

Commands:
  firebase|fb <action>         process firebase resources

node installation

npm install -g esutility
esutility --help

local development

npm run build
npm link
esutility --help

docker

docker pull g3dev/esutility
docker container run -it --rm -v `pwd`:/data --workdir=/data g3dev/esutility:latest --help