worldcup
Forked from simoami/worldcup.
Inspired from the python version of worldcup.
The hacker's way to get worldcup scores!
Installation
Node.js and NPM are required in order to install the woldcup command.
npm install nodeworldcup -g
The flag -g
ensures that the worldcup command is installed and accessible globally.
Command usage
$ nodeworldcup -h Usage: nodeworldcup [current] [today] [tommorow] [groups] Options: -h, --help output usage information -V, --version output the version number
$ nodeworldcup current Current match: Uruguay 1 - 0 England-----------------------------------o-----------------------⚽ Being played now: an hour gone
$ nodeworldcup today Today's matches: Colombia 2 - 1 Ivory Coast-----------------------------------------------------------⚽ Played Today at 9:00 AM. Colombia won Japan 0 - 0 Greece-----------------------------------------------------------⚽ Will be played Today at 3:00 PM Uruguay 1 - 0 England----------------------------------o------------------------⚽ Being played now: an hour gone
$ nodeworldcup tomorrow Tomorrow's matches: Italy 0 - 0 Costa Rica-----------------------------------------------------------⚽ Will be played Tomorrow at 9:00 AM Switzerland 0 - 0 France-----------------------------------------------------------⚽ Will be played Tomorrow at 12:00 PM Honduras 0 - 0 Ecuador-----------------------------------------------------------⚽ Will be played Tomorrow at 3:00 PM
$ nodeworldcup groups W :WinsD :drawsL :lossesGF :Goals forGA :Goals againstKO :Knocked out GROUP ATeams W D L GF GA KO-----------------------------------------------------------Brazil 1 1 0 3 1 falseMexico 1 1 0 1 0 falseCroatia 1 0 1 5 3 falseCameroon 0 0 2 0 5 false GROUP BTeams W D L GF GA KO-----------------------------------------------------------Chile 2 0 0 5 1 falseNetherlands 2 0 0 8 3 falseAustralia 0 0 2 3 6 falseSpain 0 0 2 1 7 false ...
LICENSE
MIT License.