gamelog/justfile

32 lines
533 B
Plaintext
Raw Normal View History

2021-12-23 21:52:43 +00:00
# show all commands
default:
just -l --unsorted
# how many games played
played:
recsel -e "Role = 'Player'" -P Module games.rec
# how many games ran
ran:
recsel -e "Role = 'DM'" -P Module games.rec
# ongoing
ongoing:
recsel -e 'Status = "Ongoing"' -p System,Module games.rec
# export csv
csv:
rec2csv games.rec
# get some json
json:
rec2csv games.rec | csvjson | jq
# create a new entry (WIP)
new:
node bin/cli.js
2022-01-06 23:43:11 +00:00
# refcmt demo
template:
recsel games.rec | recfmt -f games.templ | pandoc -t html | lynx -stdin