18 lines
437 B
Plaintext
18 lines
437 B
Plaintext
# show all commands
|
|
default:
|
|
just --list --unsorted
|
|
|
|
# draw n cards
|
|
draw n:
|
|
recsel -P name,meaning_up -m {{n}} tarot.rec
|
|
|
|
# show a cutup
|
|
cutup:
|
|
recsel -P desc tarot.rec > /tmp/tarotdesc.txt && \
|
|
vim -es -c ":set tw=30" -c ":norm gggqGgg" -c ":g/^$/d" -c ":1,\$!shuf" -c ":wq!" /tmp/tarotdesc.txt && \
|
|
head -n 5 /tmp/tarotdesc.txt
|
|
|
|
# example: group by type
|
|
type:
|
|
recsel -G type -p "type:TYPE,name,Count(name):TOTAL" tarot.rec
|