vocab

Crates.iovocab
lib.rsvocab
version0.2.0
sourcesrc
created_at2020-02-25 12:27:50.394633
updated_at2020-03-03 21:50:47.386397
descriptionA command line tool for learning vocabulary in a new language
homepage
repositoryhttps://github.com/Gisleburt/vocab
max_upload_size
id212379
size54,708
Daniel Mason (Gisleburt)

documentation

README

Vocab

A command line application for learning vocabulary in new languages

Usage:

Installation

cargo install vocab

Initialising:

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.

Adding new words

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 日本

Try a single word

You can try guessing a single word at a time

vocab single

Endless Mode

When you run the program with no other arguments it will enter endless mode (use ctrl+c to quit)

vocab

Export the database

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

Import your backup

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.

Commit count: 32

cargo fmt