1.6.1 • Published 8 years ago

granate-cli v1.6.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

granate-cli

npm version Build Status

CLI for granate

Introduction

granate-cli provides several useful commands to use granate from the command line.

Commands

serve

Starts an HTTP GraphQL server with the given schema file.

> granate serve schema.graphql --port 4000 --graphiql true --root root-value.js --context context-value.js
granate serve [schema-file]

Options:
  --help          Show help                                            [boolean]
  --port, -p      the server port                       [number] [default: 4000]
  --graphiql, -g  deploy GraphiQL                      [boolean] [default: true]
  --root, -r      JS module to use as root value                        [string]
  --context, -c   JS module to use as context value                     [string]

Usage

For more information see granate-showcase.

1.6.1

8 years ago

1.6.0

8 years ago

1.5.0

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago