Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
/ sixers Public archive

Go Sixers. A simple go project to explore the language

License

Notifications You must be signed in to change notification settings

grahamplata/sixers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go 76ers

Go Report Card

A Simple command line tool for my favorite team.

Current cli

A cli tool to get past and future statistics about the
Philadelphia 76ers basketball team.
        _____ __
        |___  / /_   ___ _ __ ___
           / / '_ \ / _ \ '__/ __|
          / /| (_) |  __/ |  \__ \
         /_/  \___/ \___|_|  |___/

Usage:
  sixers [command]

Available Commands:
  help        Help about any command
  next        Fetches the next available sixers game date and time.
  record      Fetches the record for the current season.
  schedule    An at a glance view of the Sixers NBA season.

Flags:
      --config string   config file (default is $HOME/.sixers.yaml)
  -h, --help            help for sixers

Use "sixers [command] --help" for more information about a command.

Commands

Next

sixers next
10,9 8 76ers! There is a game @ 7:00 PM ET

Record

sixers record
Wins: 2 Losses: 1 Win pct: 0.667

Schedule

sixers schedule
---------  ----------------------  -------------  -------------  ------------------------
    Game                    Date           Home           Away                    Winner
---------  ----------------------  -------------  -------------  ------------------------
       1       December 23, 2020       PHI: 113       WAS: 107        Philadelphia 76ers

       2       December 26, 2020        NYK: 89       PHI: 109        Philadelphia 76ers

       3       December 27, 2020       CLE: 118        PHI: 94       Cleveland Cavaliers

Running tests

# Test
go test -v ./cmd/...

# Run All tests
go test ./...

# Coverage
go test -cover ./...