diary-cli
A powerful cli for documenting and keeping a diary.
How to install
- run
- Try it out
Anatomy of a Diary Entry
Entry Metadata
useful meta-data about that diary entry
= "<a unique identifier that is used for `MOC`s and also defines the file name the entry exports as"
= 1000-01-01 # date that it occured
= "<the title of the diary entry>"
= "<description>"
= [
"a",
"bunch",
"of",
"tags",
"to",
"attach",
"(used for both `Obsidian.md` and also for `MOC`s)"
]
= [
"a bunch of summaries of the entry",
"in case you're lazy",
]
Sections
a section is a paragraph or topic within a diary entry
[[]]
= "title of / the topic of this section"
= """
the string contents of this diary entry
yeah
"""
Anatomy of a MOC
a MOC or a 'Map of Contents' is a markdown file that contains links to other mocs or entries
sort of like a directory or folder
MOC Metadata
= true # tells `diary-cli` that this is a `MOC` file
[]
= "MOCs of 2023"
= "2023-mocs"
= "description about this MOC"
= ["notes about this MOC"]
= [
"Tags for this MOC that allow it to be searchable or indexed by other MOCs",
]
Collections
like an entry section, but with markdown links instead
[[]]
= "title / topic of the collection"
= ["notes about this collection section"]
= [ # tags of entries or `MOC`s to include in the collection
"interesting",
"moc",
]