GIVEN Steve has gsb installed on their system and is using it to manage all saves for a particular game
BUT has those saves listed explicitly
AND has now created a new savegame
WHEN he navigates to the gsb repo root and runs the command `gsb track newsave"
THEN the pattern "newsave" should be added to the .gsb_manifest file
SO that future backups will include the new save
WITHOUT Steve having to manually edit the manifest file
Notes
The implementation should also include the ability:
to view the list of tracked patterns
to remove a pattern
to add a pattern to the ignore
though at this point I'm undecided whether those should be separate commands (gsb ignore <pattern>) or implemented as flags (gsb track --list)
GIVEN Steve has
gsb
installed on their system and is using it to manage all saves for a particular game BUT has those saves listed explicitly AND has now created a new savegameWHEN he navigates to the gsb repo root and runs the command `gsb track newsave"
THEN the pattern "newsave" should be added to the
.gsb_manifest
fileSO that future backups will include the new save WITHOUT Steve having to manually edit the manifest file
Notes
The implementation should also include the ability:
though at this point I'm undecided whether those should be separate commands (
gsb ignore <pattern>
) or implemented as flags (gsb track --list
)