Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

chollier/graphqldownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install Guide

npm install -g graphqldownloader

Usage

  Usage: graphqldownloader [options] <endpoint>

  Options:

    -h, --help               output usage information
    -V, --version            output the version number
    -H, --headers [headers]  Custom headers encoded as a JSON string, default: "{}"
    -o, --output [output]    Output schema name, default: schema

Example

$ graphqldownloader \
-H "{ \"Accept\": \"application/json\", \"Content-Type\": \"application/json\", \"Authorization\": \"Bearer YourFancyAuthToken\" }" \
http://localhost:3000/graphql/queries
Schema dumped in schema.json and schema.json.

About

⚠️ this project is deprecrated, I recommend you use Apollo CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published