Small CLI application for repeating terms with a card system.
git clone git@github.com:ger-benjamin/cli-learning-cards.git
npm install
npm run buildAdd a source.json file with this structure in the data folder:
{
"items": [
{
"id": "My beautiful sentence",
"card": {
"front": {
"main": "My beautiful sentence"
},
"back": {
"main": "Ma belle phrase"
}
}
}
]
}
Or a more complete one, see the possibilities in the src/source-json.ts file.
Running the game and saving it will modify the source file placed in the data folder!
npm startOn cards, you can use the special key words "_hint", "_skip" or "_exit".
- Add a "help" scene.
- Add a possibility to select selection strategy.
- Add a possibility to edit answers.
- Add a possibility to start up with a configuration (args)
- Release and run it without compiling it.
- Move to deno ?
- Add import source script.
export VERSION={put your version here}
git checkout main
git pull origin main
vim package.json # change the version
git commit -a -m "Release $VERSION"
git tag $VERSION
git push origin $VERSION main