Log in to GraphQL Editor
Projects Cloud

Schema fetching | GraphQL CLI

Fetch schema from a GraphQL Editor project. The schema will be compiled with all the GraphQL libraries you are using for this project.

Pull the schema

$ gecli schema pull

This command pulls the compiled schema ( schema + libraries ) and saves it in currentDir as schema.graphql

Additional flags

  • schemaDir: String schema directory