To run script with default arguments:
python main.py
Help with usage arguments for script:
python main.py -h
Example of using a script with custom arguments:
python main.py -p kotlin -d ./dest/kotlin_dest_folder -src ./graphQLExample.graphql
In this case, the script generates kotlin
files according to GraphQL samples from graphQLExample.graphql
file and put them in ./dest/kotlin_dest_folder
folder
To test code:
cd tests/
py.test
To see coverage report:
open coverage_html/index.html