Boilerplate for creating CLI apps that talk to GraphQL servers.
$ npm install
$ ./bin/run configure
What is your GraphQL endpoint?: https://movie-info.herokuapp.com/v1/graphql
Added https://movie-info.herokuapp.com/v1/graphql endpoint
Authenticate with Auth0? (y/n): y
What is your email?: [email protected]
What is your password?: ********
What is your Auth0 domain?: dev-m01wp346.auth0.com
What is your Auth0 clientId?: WiuLfZViErBjqVP4mHo6dNXkp8100e
What is your Auth0 clientSecret?: *********************************
Authenticated [email protected]
USAGE
$ talk [COMMAND]
COMMANDS
auth Supply Auth0 details
configure Supply GraphQL endpoint and Auth0 details
endpoint Supply GraphQL endpoint details
help Display help for talk
query Query some data