/worldcup

Get worldcup scores straight from the command line

Primary LanguageJavaScriptMIT LicenseMIT

worldcup

The hacker's way to get worldcup scores!

screen shot 2014-06-22 at 3 43 22 pm

Installation

Node.js and NPM are required in order to install the woldcup command.

npm install worldcup -g

The flag -g ensures that the worldcup command is installed and accessible globally.

Command usage

$ worldcup today

Today’s matches:

Belgium                    1 - 0                     Russia
-----------------------------------------------------------
Played Today at 12:00 PM. Belgium won

  88' ⚽  Origi                    

Korea Republic             0 - 0                    Algeria
--o--------------------------------------------------------
Being played now: 6 minutes gone


USA                        0 - 0                   Portugal
-----------------------------------------------------------
Will be played Today at 6:00 PM

$ worldcup current

Current match:

Korea Republic             0 - 0                    Algeria
-----o-----------------------------------------------------
Being played now: 10 minutes gone

$ worldcup tomorrow

Tomorrow’s matches:

Australia                  0 - 0                      Spain
-----------------------------------------------------------
Will be played Tomorrow at 12:00 PM


Netherlands                0 - 0                      Chile
-----------------------------------------------------------
Will be played Tomorrow at 12:00 PM


Cameroon                   0 - 0                     Brazil
-----------------------------------------------------------
Will be played Tomorrow at 4:00 PM


Croatia                    0 - 0                     Mexico
-----------------------------------------------------------
Will be played Tomorrow at 4:00 PM

Credits

Inspired from the python version of worldcup