Compare commits
2 Commits
01e20de9df
...
d089e8ebb6
Author | SHA1 | Date |
---|---|---|
Dozens B. McCuzzins | d089e8ebb6 | |
Dozens B. McCuzzins | ff5c1ffce9 |
|
@ -6,6 +6,10 @@ data from ekelen/tarot-api:
|
||||||
|
|
||||||
https://github.com/ekelen/tarot-api
|
https://github.com/ekelen/tarot-api
|
||||||
|
|
||||||
|
ascii art from lawreka/ascii-tarot:
|
||||||
|
|
||||||
|
https://github.com/lawreka/ascii-tarot
|
||||||
|
|
||||||
## getting started
|
## getting started
|
||||||
|
|
||||||
you will need:
|
you will need:
|
||||||
|
|
13
justfile
13
justfile
|
@ -3,12 +3,17 @@ default:
|
||||||
just --list --unsorted
|
just --list --unsorted
|
||||||
|
|
||||||
# draw n cards
|
# draw n cards
|
||||||
draw n:
|
@draw n:
|
||||||
recsel -P name,meaning_up -m {{n}} tarot.rec
|
recsel -P name,ascii,meaning_up -m {{n}} tarot.rec \
|
||||||
|
| fold -sw 60
|
||||||
|
|
||||||
# show a cutup
|
# show a cutup
|
||||||
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
|
# example: group by type
|
||||||
type:
|
type:
|
||||||
|
|
Loading…
Reference in New Issue