2.0.1 • Published 9 years ago
anki-apkg-export-cli v2.0.1
anki-apkg-export-cli
CLI for generating Anki's decks
Install
$ npm install anki-apkg-export-cli -gUsage
$ 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 --groupsOne line example
$ cat dict.txt
Source 1 - Translation 1
Source 2 - Translation 2
$ anki-apkg-export *.txtcard 1
front:
Source 1
back:
Translation 1card 2
front:
Source 2
back:
Translation 2Groups example
$ 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 --groupscard 1:
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-2card 2
front:
Source 2
Example 2-1
back:
Translation 2
Example 2-1 - Example Translation 2-1Related
anki-apkg-export- apianki-apkg-export-app- web app
License
MIT © ewnd9