# CLI

Poser provides a CLI tool to download GraphQL schemas.

# Usage

yarn poser fetch-schema --url "https://example.org/graphql" --output services/my-service/schema.graphql

The command above will download the schema at the specified URL and transform it into GSL.

# Options

Option Description
url Required The url to the GraphQL endpoint
output Required Path to output the schema (relative to cwd)
headers A JSON object to use as headers