0.0.1 • Published 2 years ago

diffgram-cli v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

diffgram-cli

Diffgram CLI is command line interface for developers who want to contribute to Diffgram

Installation

npm install -g diffgram-cli

Install dev version

npm i -g .

Run without installation:

node bin/index.js [command name]

Usage

Change your directory to the diffgram first. To see what's available on CLI, run:

diffgram --help

Commands:

  • action ActionName: creates and registers a new action template (both frontend and backend)
  • compose: creates a docker-compose-dev.yaml file, so you don't need to comment out anything in docker-compose
  • up: runs command docker-compose -f docker-compose-dev.yaml up
  • secrets: creates a secrets.py file

Development

Clone this repo and install dependencies. After, create .env file in the root folder and set next environmental variable:

DEV=true