Open OpenBagTwo opened 1 year ago
GIVEN Alex has gsb installed on her system and is using it to manage a game
gsb
WHEN she opens a terminal, navigates to the directory containing a gsb-managed save and runs the command:
$ gsb backup --tag
THEN her default* text editor will open up prompting her to provide a multiline message
SO that she can log all of the new and exciting things that happened between the last (tagged) backup and this one
*by "default" I mean:
--editor
git config core.editor
$EDITOR
Looks like click supports this out-of-the-box
click
So interestingly this already works in bash without any fanciness:
gsb backup --tag "Hello > this is a multi-line > > tag annotation"
GIVEN Alex has
gsb
installed on her system and is using it to manage a gameWHEN she opens a terminal, navigates to the directory containing a
gsb
-managed save and runs the command:THEN her default* text editor will open up prompting her to provide a multiline message
SO that she can log all of the new and exciting things that happened between the last (tagged) backup and this one
Notes
*by "default" I mean:
--editor
gsb
config (if such a thing exists)git config core.editor
)$EDITOR
(or whatever the Windows equivalent is)Looks like
click
supports this out-of-the-box