-
-
Notifications
You must be signed in to change notification settings - Fork 43
Add quiet routes, plain routes, refactor internal code, add more documentation #70
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
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/wareneutron/covid19-tracker-cli/7uVQVRBbi1ga32houspWW1K23tUa |
|
I'm gonna test this @scinscinscin |
|
Great work @scinscinscin! I'm going to merge this and work on updates. |
This pull request adds a lot of features such as the ability to prepend /quiet and /plain to requests to generate smaller outputs + outputs that don't use ANSI, you can even do both at the same time using /quiet/plain prepend.
Note: /plain is an alias of /cmd and /basic
The new routes have been added to the CLI as well.
I have documented more functions using JSDoc saying what the parameters control and what they return.
Example of a complex query

Generate a quiet version of the history of the deaths in the PH in basic mode
Same query but in CLI
