Generates GraphQL
schemas.
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
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>
To install, use go get
:
go get -d github.com/FINTLabs/fint-graphql-cli
go install github.com/FINTLabs/fint-graphql-cli