fint-graphql-cli
Description
Generates GraphQL
schemas.
Usage
Exclude
To exclude classes, relations, and attributes, use the --exclude flag. It performs a case-insensitive match.
Example:
--exclude Fravar --exclude OTUngdom
To exclude from the schema, use the --exclude-schema flag.
Example:
--exclude-schema OTUngdom
Install
Binaries
Precompiled binaries are available as Docker images
Mount the directory where you want the generated source code to be written as /src
.
Linux / MacOS:
docker run -v $(pwd):/src ghcr.io/fintlabs/fint-graphql-cli:latest <ARGS>
Windows PowerShell:
docker run -v ${pwd}:/src ghcr.io/fintlabs/fint-graphql-cli:latest <ARGS>
Source
To install, use go get
:
go get -d github.com/FINTLabs/fint-graphql-cli
go install github.com/FINTLabs/fint-graphql-cli
Author
FINTLabs