Crate flashed

Source
Expand description

Flashed is a simple flashcard program written in rust. It also has an associative library.

It takes a deck as input which is written in json:

[
    {"question": "to, at", "answer": "ad" }
]

It contains simple controls.

After use it will save a adjacent file containing your progress:

$ flashed example.json

Would result in

$ ls

example.json
example.score.json

Structs§

App
App holds the state of the application
Card
A struct representing the card as a whole.
CardInner
A struct representing the serialisable information of a card
Deck
A deck type for storing cards, their scores and their due dates
Opts
The clap CLI options struct
Scores
A scores struct which serde can deal with to

Enums§

CardType
The input method of a card
DeckError

Statics§

DURATIONS
A list of durations which cards will be waiting by.

Type Aliases§

CardIdx
A convenience type representing an index of App::cards