OpenBagTwo / gsb

A tool for managing incremental backups of your save states using Git!
https://openbagtwo.github.io/gsb/
GNU General Public License v3.0
0 stars 0 forks source link

Automatically remove missing repos #12

Open OpenBagTwo opened 1 year ago

OpenBagTwo commented 1 year ago

GIVEN Steve completely uninstalled game-of-the-week, whose save state he was previously managing and did so in such a way so as to delete the folder where the save was stored

WHEN he next runs a gsb command

THEN gsb will print a (non-scary) warning that

game-of-the-week (located in directory /path/to/game-of-the-week/save) could not be found and is being removed fromgsb`'s registry

SO that operations like gsb list or gsb clean --all don't run into errors or whine all the time that the folder is gone

Notes