kousiksatish / covidindia-cli

CLI application for tracking the corona status of indian states in the command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add sort by option to the CLI

kousiksatish opened this issue · comments

How will this sort by option work? Could you elaborate please?

covidindia-cli -s active
covidindia-cli -s deceased
covidindia-cli -s confirmed

Should sort appropriately based on those numbers.

Checkout options in yargs documentation.

Do you wish to work on this?

I'm not too familiar with yargs (or CLI-based nodejs apps in general) but I would love to assist you in any way possible.

I'll fork the repo on Sunday and see if I can do something.

@Drac5079 Sure! Please let me know if you need any help.

You can refer corona-cli project which has a similar feature

Okay, I will do so in the afternoon when I’m free.