https://github.com/staticf0x/gql-prompt
Quick introspection tool into a GQL schema
https://github.com/staticf0x/gql-prompt
Last synced: 9 months ago
JSON representation
Quick introspection tool into a GQL schema
- Host: GitHub
- URL: https://github.com/staticf0x/gql-prompt
- Owner: staticf0x
- Created: 2023-06-19T10:43:40.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-20T06:53:10.000Z (almost 3 years ago)
- Last Synced: 2025-02-23T18:33:26.524Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GQL prompt
This little project servers as a quick introspection tool into a GQL schema.
## Usage
`poetry run python3 main.py my_schema.graphql`
Inside the prompt, you can write:
- `.types` to list all types in the schema
- `.queries` to list all queries
- `.mutations` to list all mutations
- Any type/query/mutation name to display its fields, args, returns values
- `_` to print the return type of a method you previously displayed