Commit a4a10867fc
Unregistered key
Layout: unified · split
nba/cli.py +2 −2
| @@ -11,8 +11,8 @@ def nba() -> None: | ||
| 11 | 11 | Parse command-line arguments and display either scoreboard or standings. |
| 12 | 12 | """ |
| 13 | 13 | parser = argparse.ArgumentParser(description="NBA Scoreboard and Standings") |
| 14 | parser.add_argument('--scores', action='store_true', help='Display the scoreboard') | |
| 15 | parser.add_argument('--standings', action='store_true', help='Display the standings') | |
| 14 | parser.add_argument('--scores', '-sc', action='store_true', help='Display the scoreboard') | |
| 15 | parser.add_argument('--standings', '-st', action='store_true', help='Display the standings') | |
| 16 | 16 | args = parser.parse_args() |
| 17 | 17 | |
| 18 | 18 | games, ranks = fetch_data.fetch_data() |
pyproject.toml +1 −1
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | [project] |
| 2 | 2 | name = "nba-scores" |
| 3 | version = "0.1.6" | |
| 3 | version = "0.1.7" | |
| 4 | 4 | authors = [ |
| 5 | 5 | { name="Christian Cleberg", email="hello@cmc.pub" }, |
| 6 | 6 | ] |