diff options
author | zlg <zlg@zlg.space> | 2018-10-09 23:32:23 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-10-09 23:32:23 -0700 |
commit | 2fad4b705166d8bd8cd9783c16856d07c470d3e0 (patch) | |
tree | a0a38c216a926f165f001d2c4a50c49688a6a460 /tests/data/test_import.yml | |
parent | update_game: ensure notes are also saved (diff) | |
download | vgstash-2fad4b705166d8bd8cd9783c16856d07c470d3e0.tar.gz vgstash-2fad4b705166d8bd8cd9783c16856d07c470d3e0.tar.bz2 vgstash-2fad4b705166d8bd8cd9783c16856d07c470d3e0.tar.xz vgstash-2fad4b705166d8bd8cd9783c16856d07c470d3e0.zip |
cli: Add "notes" command
The "notes" command will show the user what their notes for a particular
game are. The output can be piped anywhere the user wants, such as a
pager or a file.
If "notes" is passed with the "--edit" or "-e" flag, vgstash will open a
temporary file with the game's notes already inside and edit it using
the program pointed to by the EDITOR environment variable. When the
editor is closed (with a successful exit status), vgstash updates the
game's notes and exits.
The defaults for the testing environment ("cat" for non-interactive,
"vim" for interactive) may need tweaking on other operating systems.
Patches for these platforms are very welcome.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions