Commit Graph

52 Commits

Author SHA1 Message Date
filifa
610dd6898d simplify feed struct and move out of statsapi package 2024-08-01 22:35:12 -05:00
filifa
866ba4055d rename flag types 2024-07-29 00:30:32 -05:00
filifa
b97e95827c refactor flag set methods 2024-07-28 23:52:05 -05:00
filifa
adc8177a9b move flag error functions to common 2024-07-28 23:21:07 -05:00
filifa
e8d8805cd2 don't print flag name again 2024-07-28 23:18:21 -05:00
filifa
b04d5d3a24 remove unneeded ifs 2024-07-28 23:14:52 -05:00
filifa
b856ae50fb factor flag error handling into function 2024-07-28 23:10:50 -05:00
filifa
68b3268054 simplify setting teamId 2024-07-28 22:47:11 -05:00
filifa
e1e0225612 set default sport differently 2024-07-28 22:41:45 -05:00
filifa
f2fab5a904 sort valid flags 2024-07-28 22:13:33 -05:00
filifa
8ee2ff3467 make sportflag type 2024-07-28 22:07:28 -05:00
filifa
75f0d7652e make help text consistent 2024-07-28 21:34:11 -05:00
filifa
fc298fd72a remove old files 2024-07-28 21:10:46 -05:00
filifa
36fcbe4a76 display valid flag values on error 2024-07-28 19:49:10 -05:00
filifa
045d3dece7 move flag maps 2024-07-28 19:26:53 -05:00
filifa
0764493f5a make leagueflag type 2024-07-28 19:19:10 -05:00
filifa
30d52f5f25 add standings subcommand 2024-07-28 19:07:59 -05:00
filifa
5366cea515 change name of KBO sportId 2024-07-28 17:59:47 -05:00
filifa
0a76d7129b add leagueIds 2024-07-28 17:54:40 -05:00
filifa
c20a289c06 use sport abbrevs instead of ids 2024-07-28 17:35:56 -05:00
filifa
957077b581 add sportId consts 2024-07-28 17:35:07 -05:00
filifa
a84f31670b add sportId param 2024-07-28 16:00:37 -05:00
filifa
366e55146a add date param 2024-07-28 15:16:01 -05:00
filifa
3c4f51e94d add content subcommand 2024-07-23 19:04:57 -05:00
filifa
cc59c2bfc8 add feed command 2024-07-20 20:41:00 -05:00
filifa
a0a210a4e2 return pointer to websocket 2024-07-20 18:47:22 -05:00
filifa
1fe327c68c refactor 2024-07-20 18:47:18 -05:00
filifa
9238a8e03b change func signature 2024-07-20 15:30:05 -05:00
filifa
2fe2b615c9 format 2024-07-20 15:15:35 -05:00
filifa
bb58d07706 add helper function 2024-07-20 15:08:53 -05:00
filifa
be70ee7330 add exceptions for finished games 2024-07-20 15:08:34 -05:00
filifa
5e471f5c2c handle unexpected websocket closures 2024-07-20 13:11:10 -05:00
filifa
02ddfbf2b9 don't allow args 2024-07-20 12:30:13 -05:00
filifa
0418d533dd simplify get 2024-07-20 12:05:23 -05:00
filifa
0ac209dda9 make team flag optional 2024-07-19 22:21:50 -05:00
filifa
8051308692 update help text 2024-07-19 22:21:47 -05:00
filifa
9f528ab4ae move live data to subscribe subcommand 2024-07-19 21:59:25 -05:00
filifa
422e666d9f add schedule subcommand 2024-07-19 21:42:35 -05:00
filifa
16b7f42695 try to simplify extractpatches 2024-07-14 21:32:00 -05:00
filifa
adc5c592f2 unexport some types 2024-07-14 19:41:40 -05:00
filifa
343a15893d update long explain 2024-07-14 19:37:35 -05:00
filifa
8c03a8308a clarify usage 2024-07-14 19:29:38 -05:00
filifa
d544a1f052 add copyright header 2024-07-14 19:29:19 -05:00
filifa
d640214f0e list team codes in help 2024-07-14 19:25:18 -05:00
filifa
6480297c5c remove unneeded checks 2024-07-14 19:20:20 -05:00
filifa
dd11139d3d let team flag be any case 2024-07-14 19:14:56 -05:00
filifa
a0ae93a2b2 move teamids map to cmd 2024-07-14 19:12:55 -05:00
filifa
8be2e5de9e use teamids map 2024-07-14 18:12:24 -05:00
filifa
ca87734314 create custom type for team flag 2024-07-14 18:05:07 -05:00
filifa
3198577f50 fallback to feed if patch fails to apply 2024-07-14 17:14:10 -05:00