Example usage
-------------
- $ fetch-case-count-usa-ny -h
- Usage: fetch-case-count-usa-ny [LOCATION]
+ $ ./fetch-case-count-usa-ny -h
+ Usage: ./fetch-case-count-usa-ny [OPTION | LOCATION]
+ OPTION = -h | --all
LOCATION =
Albany
+ Allegany
Broome
+ Clinton
Delaware
Dutchess
Erie
Monroe
Montgomery
Nassau
+ New York City
+ Onondaga
+ Ontario
Orange
Putnam
+ Rensselaer
Rockland
Saratoga
Schenectady
Suffolk
+ Sullivan
Tioga
Tompkins
Ulster
Westchester
- New York State (Outside of NYC)
- New York City:
- Total Positive Cases (Statewide)
+ Wyoming
Default LOCATION:
- New York City:
+ New York City
+
+ $ ./fetch-case-count-usa-ny 2> /dev/null
+ 644
+
+ $ ./fetch-case-count-usa-ny 'New York City' 2> /dev/null
+ 644
+
+ $ ./fetch-case-count-usa-ny --all 2> /dev/null
+ 1 Broome
+ 1 Clinton
+ 1 Delaware
+ 1 Herkimer
+ 1 Montgomery
+ 1 Ontario
+ 1 Rensselaer
+ 1 Sullivan
+ 1 Tioga
+ 1 Wyoming
+ 2 Allegany
+ 2 Greene
+ 2 Onondaga
+ 2 Putnam
+ 2 Tompkins
+ 5 Schenectady
+ 7 Erie
+ 8 Ulster
+ 9 Saratoga
+ 10 Monroe
+ 15 Orange
+ 16 Dutchess
+ 22 Rockland
+ 23 Albany
+ 84 Suffolk
+ 131 Nassau
+ 380 Westchester
+ 644 New York City
$ fetch-case-count-usa-ma -h
Usage: fetch-case-count-usa-ma [LOCATION]