5 releases (stable)
1.1.0 | Sep 15, 2023 |
---|---|
1.0.2 | Dec 11, 2022 |
1.0.1 | Jun 7, 2022 |
1.0.0 | May 21, 2022 |
0.1.0 | May 19, 2022 |
#3 in #study
50KB
341 lines
studier
Command-line studying thing
Install
To install and update studier
, run the following command:
cargo install studier
Syntax
The question file consists of a list of questions seperated by 2 line breaks:
question1
question2
question3
There are 3 types of questions:
- Default
- List
- Blanks
Default Questions
A default question consists of the text followed by the answer:
What is 1 + 1?
2
List Questions
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
Blanks Questions
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
Includes
A study set can be spread over multiple files by using the include
statement:
topic.txt:
include
topic1.txt
topic2.txt
Dependencies
~310–780KB
~18K SLoC