don't allow args

This commit is contained in:
filifa committed 2024-07-20 12:30:13 -05:00
1 parent 0418d533dd
commit 02ddfbf2b9
2 files changed
+2

No files matched your search

+1
View File
@@ -80,6 +80,7 @@ var scheduleCmd = &cobra.Command{
Use: "schedule",
Short: "Retrieve daily schedules",
Long: `Retrieve a day's schedule for the whole league or a specific team.`,
Args: cobra.NoArgs,
Run: schedule,
}
+1
View File
@@ -97,6 +97,7 @@ var subscribeCmd = &cobra.Command{
Establish a websocket connection with ws.statsapi.mlb.com and output JSON with
live updates of a game.`,
Args: cobra.NoArgs,
Run: subscribe,
}