dots/.bin/get-anki-decks

4 lines
106 B
Bash
Executable File

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