worldcup-2018

CLI for World Cup 2018 Russia

Usage no npm install needed!

<script type="module">
  import worldcup2018 from 'https://cdn.skypack.dev/worldcup-2018';
</script>

README

worldcup

npm install worldcup-2018 -g
$ worldcup -f --team=england

Tunisia vs England
England vs Panama
England vs Belgium
$ worldcup --group=c

---------------
Group C
---------------
┌───────────────┬─────┬─────┬─────┬─────┬─────┐
│ Team          │ P   │ GF  │ GA  │ GD  │ P   │
├───────────────┼─────┼─────┼─────┼─────┼─────┤
│ France        │ 0   │ 0   │ 0   │ 0   │ 0   │
├───────────────┼─────┼─────┼─────┼─────┼─────┤
│ Australia     │ 0   │ 0   │ 0   │ 0   │ 0   │
├───────────────┼─────┼─────┼─────┼─────┼─────┤
│ Peru          │ 0   │ 0   │ 0   │ 0   │ 0   │
├───────────────┼─────┼─────┼─────┼─────┼─────┤
│ Denmark       │ 0   │ 0   │ 0   │ 0   │ 0   │
└───────────────┴─────┴─────┴─────┴─────┴─────┘
Usage: worldcup [options]

  Options:

    -f, --fixtures         fixtures
    -G, --groups           groups
    -g, --group [value]    group
    -t, --team [value]     team
    -p, --players [value]  team
    -h, --help             output usage information