add ascii card art

Dozens B. McCuzzins 2023-10-02 11:17:01 -06:00
parent 1346c0e63e
commit 01e20de9df
3 changed files with 1730 additions and 4 deletions

View File

@ -6,6 +6,10 @@ data from ekelen/tarot-api:
https://github.com/ekelen/tarot-api
ascii art from lawreka/ascii-tarot:
https://github.com/lawreka/ascii-tarot
## getting started
you will need:

View File

@ -4,11 +4,15 @@ default:
# draw n cards
draw n:
recsel -P name,meaning_up -m {{n}} tarot.rec
recsel -P name,ascii,meaning_up -m {{n}} tarot.rec
# show a cutup
cutup:
recsel -P desc tarot.rec | fold -sw 30 | sed '/^$/d' | shuf | head -n 5
recsel -P desc tarot.rec \
| fold -sw 30 \
| sed '/^$/d' \
| shuf \
| head -n 5
# example: group by type
type:

1722
tarot.rec

File diff suppressed because it is too large Load Diff