# CLI

## GraphQL Editor CLI

Make your GraphQL schema your one and only source of truth by translating it to literally anything. The main goal is to provide an interactive experience creating GraphQL as a service. Our CLI is compatible with GraphQL editor projects (both free and paid tiers).

### Installation

#### Global

```
npm i -g graphql-editor-cli
```

#### Inside Repo

```
npm i -D graphql-editor-cli
```

then use with (for example) npx or as a `package.json` script

### Usage

All commands work in 3 ways:

* you can provide all arguments with flags
* you can get the arguments from a local config file
* you can complete the arguments in interactive modes

####


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.graphqleditor.com/tools/untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
