# scores
A command-line tool that displays football scores and league standings from football-data.org.
## Features
* Display upcoming and recent match results
* Show league standings/tables
* Filter matches by team
* Support for multiple leagues (Premier League, Championship, La Liga, Champions League)
## Building
To build the project, run:
```sh
cargo build --release
```
## Usage
```sh
./target/release/scores [OPTIONS]
```
### Options
* `-h`, `--help`: Print help information.
* `-s`, `--standings`: Show league standings/table.
* `-t`, `--token <TOKEN>`: API token from football-data.org (required).
* `-f`, `--filter <TEAM>`: Filter by team name or abbreviation.
* `--all`: Show all matches (past and future).
* `-l`, `--league <LEAGUE>`: League to display (default: epl).
### Leagues
* `epl`: Premier League (default)
* `efl`: Championship
* `laliga`: La Liga
* `ucl`: Champions League
### Example
```sh
# Show upcoming Premier League matches
./target/release/scores -t <TOKEN>
# Show Premier League table
./target/release/scores -s -t <TOKEN>
# Show upcoming Arsenal matches
./target/release/scores -f arsenal -t <TOKEN>
# Show all Arsenal matches this season
./target/release/scores -l epl -f ars -a -t <TOKEN>
# Show La Liga standings
./target/release/scores -s -l laliga -t <TOKEN>
# Show upcoming Champions League matches
./target/release/scores -l ucl -t <TOKEN>
```