code for keeping track of my extreme number of itch bundles scripts ======= * s/setup DB-PATH sets up a new database * s/import DB-PATH DATAFILE ?DATAFILE ...? loads the datafiles as formatted by misc/scripts.js into DB-PATH, ignoring existing urls * s/mark DB-PATH ?-force? ?-timestamp TIMESTAMP? GAMEURL ?GAMEURL ...? marks each GAMEURL as played on TIMESTAMP, or YYYYMMDD by default. will not overwrite an existing timestamp without -force * s/unmark DB-PATH GAMEURL ?GAMEURL ...? unmarks each GAMEURL, as if it were never marked * s/stats DB-PATH ?GAMEURL ...? if no GAMEURLs are present, prints database stats. otherwise, prints the played status of each GAMEURL * s/ignore DB-PATH GAMEURL ?GAMEURL ...? marks each GAMEURL to be ignored by stats * s/unignore DB-PATH GAMEURL ?GAMEURL ...? unmarks each GAMEURL to be ignored by stats * s/table DB-PATH generates an html file with game info * s/pick DB-PATH picks a random, unplayed, unignored game from the database * s/comment DB-PATH COMMENT GAMEURL ?GAMEURL ...? sets the comment on GAMEURL to COMMENT