Add command for listing anki decks

master
Hektor Misplon 2023-05-04 02:54:51 +02:00
parent fed7d836c3
commit 75e78e97ed
1 changed files with 3 additions and 0 deletions

3
.bin/get-anki-decks Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
curl localhost:8765 -X POST -d '{action: deckNames, version: 6}' | jq '.result[]' -r