Skip to content
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

Output: json / report / dir #11

Open
tunnckoCore opened this issue Mar 21, 2020 · 1 comment
Open

Output: json / report / dir #11

tunnckoCore opened this issue Mar 21, 2020 · 1 comment
Assignees
Labels

Comments

@tunnckoCore
Copy link

@tunnckoCore tunnckoCore commented Mar 21, 2020

Great one!

  1. a JSON output (through --json flag?) would be good
  2. A more clean output (only the table) would be good
  3. Add the date (plus time) the command is run to the output
  4. A --top flag or --limit one, to output only X number of countries.
    4.1. corona --top 10 or corona --limit 30
  5. "Report" feature, behind --report flag, meaning it will write the table to file at some location (also customizable through flag). Like ./report/corona-iso-date.txt (or .json if the (1) flag is present)
    5.1. corona --json --report ./corona-foobar.json
    5.2. corona --json --report -> to default location & default file name like ./report/corona-2020-04-21 with .json ext (because the --json flag, otherwise no)
    5.3. corona --report -> table output to default loc ./report/corona-2020-04-21

This way we can collect the data for each day and do more interesting stuff later in time.

@ahmadawais

This comment has been minimized.

Copy link
Owner

@ahmadawais ahmadawais commented Mar 21, 2020

👋 howdy!

Interesting ideas. I specifically like the reporting idea.

Feel free to help and contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.