rinkreport

command module
v0.0.0-...-6d2a076 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 10 Imported by: 0

README

RinkReport

  • Live NHL scores in your terminal

Install

go get github.com/levy47358/rinkreport

Usage

$ rinkreport --help
Usage of rinkreport:
  -date string
    	Show Scores from a specific date
  -goals
    	Show scoring summary
  -team string
    	Show only the score where this team is playing
  • show all past, current & future games playing today:
$ rinkreport
+--------------------+-----------------+
| AMERANT BANK ARENA | 3RD PERIOD 3:59 |
+--------------------+-----------------+
| CHI                |               3 |
| FLA                |               4 |
+--------------------+-----------------+
+--------------------+---------+
| XCEL ENERGY CENTER | 6:00 PM |
+--------------------+---------+
| DAL                |       0 |
| MIN                |       0 |
+--------------------+---------+
  • include a scoring summary for each game:
$ rinkreport --goals
+--------------------+-------+
| AMERANT BANK ARENA | FINAL |
+--------------------+-------+
| CHI                |     3 |
| FLA                |     4 |
+--------------------+-------+
Scoring Summary:
+------+------------------+--------+-------+
| TEAM |      SCORER      | PERIOD | TIME  |
+------+------------------+--------+-------+
| FLA  | O. Ekman-Larsson |      1 | 00:39 |
| CHI  | J. Dickinson     |      1 | 07:04 |
| FLA  | S. Reinhart      |      1 | 11:54 |
| CHI  | C. Bedard        |      1 | 19:04 |
| FLA  | S. Reinhart      |      2 | 07:00 |
| CHI  | C. Bedard        |      2 | 08:18 |
| FLA  | C. Verhaeghe     |      3 | 02:44 |
+------+------------------+--------+-------+
  • view the score of a specific team (abbreviation):
$ rinkreport --team CHI 
+--------------------+-------+
| AMERANT BANK ARENA | FINAL |
+--------------------+-------+
| CHI                |     3 |
| FLA                |     4 |
+--------------------+-------+
  • view games on a previous date (fmt: YYY-MM-DD):
$ rinkreport --date 2023-11-11
+----------------------+-------+
| LITTLE CAESARS ARENA | FINAL |
+----------------------+-------+
| CBJ                  |     4 |
| DET                  |     5 |
+----------------------+-------+

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL