CLI for generating Anki's decks
$ npm install anki-apkg-export-cli -g
$ anki-apkg-export
Usage
$ anki-apkg-export "<glob-filter>"
Options
--groups Split files by empty lines
Examples
$ anki-apkg-export **/*.txt
$ anki-apkg-export **/*.txt --groups
$ cat dict.txt
Source 1 - Translation 1
Source 2 - Translation 2
$ anki-apkg-export *.txt
front:
Source 1
back:
Translation 1
front:
Source 2
back:
Translation 2
$ cat dict.txt
Source 1 - Translation 1
Example 1-1 - Example Translation 1-1
Example 1-2 - Example Translation 1-2
Source 2 - Translation 2
Example 2-1 - Example Translation 2-1
$ anki-apkg-export *.txt --groups
front:
Source 1
Example 1-1
Example 1-2
back:
Translation 1
Example 1-1 - Example Translation 1-1
Example 1-2 - Example Translation 1-2
front:
Source 2
Example 2-1
back:
Translation 2
Example 2-1 - Example Translation 2-1
anki-apkg-export
- apianki-apkg-export-app
- web app
MIT © ewnd9