Compare commits

...

2 Commits

Author SHA1 Message Date
Dozens B. McCuzzins d089e8ebb6 add schema
do you wanna know why schemas are great? after adding this and running
`recfix` i found an error in my data i didn't know about!
2024-02-06 19:02:38 -07:00
Dozens B. McCuzzins ff5c1ffce9 add ascii card art 2023-10-12 07:44:50 -06:00
3 changed files with 1741 additions and 6 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

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

1730
tarot.rec

File diff suppressed because it is too large Load Diff