Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 957 Bytes

CLI.md

File metadata and controls

73 lines (49 loc) · 957 Bytes

Command Line Interface

Start GraphQL-Server (default port 3000)

graphql-pouch

Set HTTP port

graphql-pouch --port 3000

Show CLI help

graphql-pouch --help

Enable JWT Authentication

graphql-pouch --secret <string>

Enable GraphiQL, pretty print, debug development mode

graphql-pouch --development

Sync data with a CouchDB/PouchDB URL

graphql-pouch --remote http://username:[email protected]

Show current version

graphql-pouch --version

Disable GraphQL-Relay extentions

graphql-pouch --no-relay

Sign a JSON Web Token

graphql-pouch --sign <string>

Migrate a GraphQL-Schema file

graphql-pouch --schema <filename>

Migrate a custom JS function file

graphql-pouch --function <filename>

Migrate a static content file

graphql-pouch --static <filename>