@graphql-markdown/cli
Version:
NodeJS CLI for generating Markdown documentation from a GraphQL schema.
36 lines (23 loc) • 2.13 kB
Markdown
# @graphql-markdown/cli
[](https://www.npmjs.com/package/@graphql-markdown/cli)
[](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE)
[](https://sonarcloud.io/summary/new_code?id=graphql-markdown_cli)
[](https://sonarcloud.io/summary/new_code?id=graphql-markdown_cli)
[](https://dashboard.stryker-mutator.io/reports/github.com/graphql-markdown/graphql-markdown/main?module=cli)
Command-line interface for generating **Markdown documentation** from **GraphQL schemas**. Part of the [GraphQL-Markdown](https://graphql-markdown.dev) toolset.
## Installation
```shell
npm install -g @graphql-markdown/cli
```
## Quick Start
Create a [GraphQL-Config file](https://graphql-markdown.dev/docs/configuration#graphql-config) and run:
```shell
npx gqlmd graphql-to-doc
```
## Documentation
- [Configuration Options](https://graphql-markdown.dev/docs/settings)
- [CLI Usage Guide](https://graphql-markdown.dev/docs/cli)
- [Troubleshooting](https://graphql-markdown.dev/docs/troubleshooting)
## License
GraphQL-Markdown packages are 100% free and open-source, under the [MIT license](https://github.com/graphql-markdown/graphql-markdown/blob/main/LICENSE).
This package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/graphql-markdown/graphql-markdown) to thank us for our work. By contributing to the Treeware forest you'll be creating employment for local families and restoring wildlife habitats.