aboutsummaryrefslogtreecommitdiff
path: root/tests/test_vgstash_cli.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-10-16vgstash_cli: 'export' with no filename prints to stdoutzlg1-0/+49
ZLG-Bug: 6
2020-08-02vgstash_cli: Show what happens to note datazlg1-0/+21
The 'notes -e' command used to always tell the user that the notes had been updated. This was incorrect. Now 'notes -e' will detect three states: * The note has been changed * The note has not been changed * The editor can't be loaded (set via EDITOR) ZLG-Bug: 3
2020-03-02Avoid a backtrace when editing notes on an invalid gamezlg1-0/+17
ZLG-Bug: 4
2019-04-30Release version 0.3 beta 4zlg1-1/+42
This release brings JSON import and export support.
2018-10-18cli: show msg if game to be deleted is not in DBzlg1-2/+10
2018-10-18cli: Tell the user when a game lacks noteszlg1-0/+9
2018-10-18Catch when an invalid list filter is passedzlg1-0/+7
Before, vgstash.DB.list_games() would default to 'allgames' and silently hide it when a filter wasn't found. This commit ensures that the vgstash package and CLI both indicate when an invalid filter is passed to them: * vgstash.DB.list_games() will return False on a failure to match; * vgstash_cli uses Click's Choice object to enforce the constraint
2018-10-12cli: Add zero-game import/export messageszlg1-4/+4
2018-10-10Move tests and data to dedicated directoryzlg1-0/+258
Also tweaked the export command to report correctly.