Skip to content

Conversation

@CyberDracula
Copy link
Contributor

now you can filter by country with CLI if it's name is given as an argument.
corona Romania

@sagarkarira
Copy link
Owner

I thought of shifting this app from npm global command to a curl based app. I can add the country filter but for the country filter, there is a separate file /lib/byCountry.js.

Also, country filter checks needs to be done in /bin/index.js. If the argument is coming fetch data from /lib/byCountry.js file. I am using a module country-code-lookup to search the country from user input. Check app.js.

I am happy to make it a global npm app, which would also reduce some load on my server :)

@sagarkarira
Copy link
Owner

Closing this as this has been added in version 0.4.0
#19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants