Is it possible to login to slash-graphql cli with a token or similar ?
I want to deploy schema and lambda’s through CI (github actions) and logging in with browser confirmation is not possible there.
Is it possible to login to slash-graphql cli with a token or similar ?
I want to deploy schema and lambda’s through CI (github actions) and logging in with browser confirmation is not possible there.
USAGE
$ slash-graphql update-schema [FILE]
ARGUMENTS
FILE [default: /dev/stdin] Input File
OPTIONS
-e, --endpoint=endpoint Slash GraphQL Endpoint
-q, --quiet Quiet Output
-t, --token=token Slash GraphQL Backend API Tokens
EXAMPLE
$ slash-graphql update-schema -e https://frozen-mango.cloud.dgraph.io/graphql -t <apiToken> schema-file.graphql
Use the -t
flag