readme.....

This commit is contained in:
kalzu rekku 2024-10-03 21:04:07 +03:00
parent d74c75a6bb
commit 7bd13e08e5

View File

@ -7,15 +7,15 @@ The user can then select specific topics based on command-line arguments.
The script tracks changes using MD5 hashes and ensures the database The script tracks changes using MD5 hashes and ensures the database
reflects the current state of the markdown filarguments reflects the current state of the markdown filarguments
usage: usage:
$ python3.11 markdown_sqlite.py --bootstrap $ python3.11 markdown_sqlite.py --bootstrap
$ python3.11 markdown_sqlite.py September $ python3.11 markdown_sqlite.py September
$ nvim calendar.md $ nvim calendar.md
$ python3.11 markdown_sqlite.py $ python3.11 markdown_sqlite.py
arguments: arguments:
-m, --markdown: Path to markdown file (default: 'calendar.md'). -m, --markdown: Path to markdown file (default: 'calendar.md').
-d, --database: Path to SQLite database file (default: 'markdown.db'). -d, --database: Path to SQLite database file (default: 'markdown.db').
topic_title: Optional topic for content selection (fuzzy matching enabled). topic_title: Optional topic for content selection (fuzzy matching enabled).
--bootstrap: If provided, generates markdown calendar for the current year and loads it to the database. --bootstrap: If provided, generates markdown calendar for the current year and loads it to the database.
--ls: If provided, lists all available headings. --ls: If provided, lists all available headings.