-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improved gql-cli script #148
improved gql-cli script #148
Conversation
Codecov Report
@@ Coverage Diff @@
## master #148 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 13 14 +1
Lines 806 906 +100
==========================================
+ Hits 806 906 +100
Continue to review full report at Codecov.
|
Still need to add tests for the script code coverage |
Better docs Now returning results as json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides getting no output while testing on my conda environment, I see the other arguments working (like help, debug, verbose). Need some time to checkout what's the correct usage on my case but overall looks great!
EDIT Finally:
$ echo query { continent(code:"AF") { name } } | python scripts/gql-cli https://countries.trevorblades.com
{"continent": {"name": "Africa"}}
// Some error related to asyncio issues with windows
🚀
Breaking changes:
Improvements of the gql-cli script: