Find similar types
Get a list of similar types in order to find duplicates.
Usage
Run the following command:
graphql-inspector similar SCHEMA
Arguments
SCHEMA
- point to a schema
Flags
-n, --type <s>
- Check only a single type (checks all types by default)-t, --threshold <n>
- Threshold of similarity ratio (default: 0.4)-w, --write <s>
- Write a file with results-r, --require <s>
- require a module-t, --token <s>
- an access token-h, --header <s>
- set http header (`--header 'Auth: Basic 123')
Output
A list of similar types with the rating, grouped by a name.
Process always succeeds.