Packages

A spaced-repetition system based on Anki built in Phoenix LiveView which uses Markdown for flashcard content

Current section

Files

Jump to
memorex lib mix tasks memorex.read_notes.ex
Raw

lib/mix/tasks/memorex.read_notes.ex

defmodule Mix.Tasks.Memorex.ReadNotes do
@moduledoc """
Reads the notes from the notes dirs
```bash
$ mix memorex.read_notes
```
"""
alias Memorex.Parser
@shortdoc "Reads the notes from the notes dirs"
use Mix.Task
@impl Mix.Task
def run(_args) do
Mix.Task.run("app.start")
Parser.read_note_dirs()
end
end