Skip to content

izumin5210/dform

Repository files navigation

dform

Build Status codecov GoDoc Go Report Card license

CLI to manage Dgraph schema.

Usage

TBD

Development

with rid (run-in-docker)

You can develop dform with rid.

Getting started

# Bootstrap the project
$ rid bootstrap

# Start Dgraph server
$ rid dgraph start

Executing app

# `rid run` execute `go build` and `./bin/dform` in docker container
$ rid run
izumin5210dform_app_1 is up-to-date
make: Nothing to be done for 'all'.
CLI tool to manage Dgraph schema

Usage:
  dform [command]

Available Commands:
  export      Export schema information
  help        Help about any command
  version     Print version information

Flags:
      --config string   config file (default is $PWD/.dform.toml)
  -h, --help            help for dform

Use "dform [command] --help" for more information about a command.

Run tests

# Start Dgraph server for testing
$ rid dgraph test start

# Run tests
$ rid make test

Releases

No releases published

Packages

No packages published