From 75e78e97ed2ee5fa69ad53895ae5ee61e1e3b396 Mon Sep 17 00:00:00 2001 From: hektor Date: Thu, 4 May 2023 02:54:51 +0200 Subject: [PATCH] Add command for listing anki decks --- .bin/get-anki-decks | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .bin/get-anki-decks diff --git a/.bin/get-anki-decks b/.bin/get-anki-decks new file mode 100755 index 0000000..8cd51e3 --- /dev/null +++ b/.bin/get-anki-decks @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +curl localhost:8765 -X POST -d '{action: deckNames, version: 6}' | jq '.result[]' -r