Crates.io | studier |
lib.rs | studier |
version | 1.1.0 |
source | src |
created_at | 2022-05-19 06:56:47.426616 |
updated_at | 2023-09-15 22:55:33.796706 |
description | Command-line studying thing |
homepage | |
repository | https://github.com/Nv7-Github/studier |
max_upload_size | |
id | 589542 |
size | 118,952 |
Command-line studying thing
To install and update studier
, run the following command:
cargo install studier
The question file consists of a list of questions seperated by 2 line breaks:
question1
question2
question3
There are 3 types of questions:
A default question consists of the text followed by the answer:
What is 1 + 1?
2
A list question is similar to a default question, but there can be multiple answers. They are answered in any order:
What values, when multiplied by two, equal 2, 4, 6, or 8?
1
2
3
4
A blanks question has the user fill in the blanks in the order the answers are given:
In the year `year`, `king` was the king of Uruk.
king: Gilgamesh
year: 2750 BCE
A study set can be spread over multiple files by using the include
statement:
topic.txt:
include
topic1.txt
topic2.txt