2.0.1 • Published 8 years ago

anki-apkg-export-cli v2.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

anki-apkg-export-cli

Build Status

CLI for generating Anki's decks

Install

$ npm install anki-apkg-export-cli -g

Usage

$ 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

One line example

$ cat dict.txt

Source 1 - Translation 1
Source 2 - Translation 2

$ anki-apkg-export *.txt

card 1

front:

Source 1

back:

Translation 1

card 2

front:

Source 2

back:

Translation 2

Groups 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 --groups

card 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-2

card 2

front:

Source 2

Example 2-1

back:

Translation 2

Example 2-1 - Example Translation 2-1

Related

License

MIT © ewnd9

2.0.1

8 years ago

2.0.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago