aboutsummaryrefslogtreecommitdiff
path: root/scripts/updater.sh
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-10-09 23:32:23 -0700
committerzlg <zlg@zlg.space>2018-10-09 23:32:23 -0700
commit2fad4b705166d8bd8cd9783c16856d07c470d3e0 (patch)
treea0a38c216a926f165f001d2c4a50c49688a6a460 /scripts/updater.sh
parentupdate_game: ensure notes are also saved (diff)
downloadvgstash-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 'scripts/updater.sh')
0 files changed, 0 insertions, 0 deletions