Crates.io | vocab |
lib.rs | vocab |
version | 0.2.0 |
source | src |
created_at | 2020-02-25 12:27:50.394633 |
updated_at | 2020-03-03 21:50:47.386397 |
description | A command line tool for learning vocabulary in a new language |
homepage | |
repository | https://github.com/Gisleburt/vocab |
max_upload_size | |
id | 212379 |
size | 54,708 |
A command line application for learning vocabulary in new languages
cargo install vocab
init
will create a bew vocab.sqlite file in the current directory. We recommend you use
directories to label which language you're learning.
Example:
mkdir japanese
cd japanese
vocab init
This will help you separate and organise multiple languages.
add <local> <foreign>
will let you add a new word as you learn it. <local>
should be the
word in your own language, <foreign>
should be the word in the language you are learning.
Example:
vocab add japan 日本
You can try guessing a single word at a time
vocab single
When you run the program with no other arguments it will enter endless mode (use ctrl+c to quit)
vocab
You can export the database to csv file, either by naming it or via stdout
vocab export -f my_japanese_backup.csv
or
vocab export > my_japanese_backup.csv
You can import you old csv file in much the same way
vocab import -f my_japanese_backup.csv
or
cat my_japanese_backup.csv | vocab export
If the database already contains the vocabulary in the csv file it will attempt to reconcile the differences, choosing whichever set has more guesses against it.