项目作者: ThatConference

项目描述 :
dev-that cli for gcp and other stuff we decide to throw in there
高级语言: JavaScript
项目地址: git://github.com/ThatConference/beam.git
创建时间: 2020-12-11T14:47:04Z
项目社区:https://github.com/ThatConference/beam

开源协议:GNU General Public License v3.0

下载


beam

dev-that cli for gcp and other stuff we decide to throw in there

Summary

beam is a nodejs-based cli for working with gcp PubSub and Firestore emulators. It will work against production end points as well though that support has not been added yet.

Getting started

The project uses Babel to transpile ES6 code to code usable by nodejs 12 & 14. This project targets $ cat .node-version. We recommend using nodenv to manage nodejs versions on your system. To load the running version for this project simply run the following from the root folder of this project, $ nodenv install $(cat .node-version)

Until something smoother is done, use the following line to execute the cli:

  1. npx babel-node -- ./src/index.js <command> <sub-command> [options]

For example to list topics:

  1. npx babel-node -- ./src/index.js list topic

Help is available for by using:

  1. # for a list of commands
  2. npx babel-node -- ./src/index.js -h
  3. # or for command-specific help
  4. npx babel-node -- ./src/index.js <command> -h