Help us shape the future of Go! Take the 2026 Go Developer Survey

nbaconsole

command module
v0.0.0-...-277e1fd Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: MIT Imports: 3 Imported by: 0

README

NBA Console

A minimal NBA scoreboard terminal application using the populer gocui library

Usage

git clone git@github.com:cnnrrss/nbaconsole

cd path/to/nbaconsole

go mod

make clean && make build

./bin/nbaconsole \
-d <YYYYMMDD> \ # optional: date flag
-tz <Timezone>  # optional: timezone flag
Controls
Screen Action Description
All Ctrl+q, Ctrl+c Quit NBAConsole
All Up Scroll up the current views' list
All Down Scroll down the current views' list
Scoreboard enter Expand the currently highlighted games' boxscore
BoxScore Ctrl+t View team stats for currently selected games' boxscore

Features

  • Scoreboard View: View summary info of all current date games (start time, current score, final score, etc.)
  • Background Refresh: Poll changes to scoreboard automatically using lightweight background goroutine
  • Specify Date: Optionally view scoreboard on any date
    • Pass in a flag -d 20190310 with a value in YYYYMMDD format to view games from a specific date
  • Developer Productivity: Track NBA scoress while you continue to live in the terminal
  • Game Box Score: View players box score from a selected game
  • Game Team Stats: View team statistics from a selected game

Go Report Card

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
examples command
common
pad

Jump to

Keyboard shortcuts

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