Using the Brain
If you need to import a new sqlar file, do it from directory the sqlar file is in.
Dumping and Loading
When any changes are made, be sure to dump:
If you don't, YOUR CHANGES MAY BE LOST.
Reconstruct the database with:
This script has the risk of OVERWRITING HISTORY, make sure to DUMP first.
weewiki crate import BRAIN_PATH/a.db brain.sqlar
Logs and messages
say stuff with
Messages can be tagged with various labels.
For general stuff, use
Technically speaking, labels are groups linked to the
labels group. But for all intents and purposes, they
can be used interchangeably.
In the brain, one often wants to "tag" things. It makes more sense to tag things with a label than to tag things with a group.
u/labels shows all the groups. Groups can be treated
as labels to "tag" stuff with.
Tag something using
To see messages under a certain tag, use
Append PDF and insert into crate
u/append PATH_TO_BRAIN_SQLAR PATH_TO_PDF
Blurbs are messages intended to describe something, and can be attached to any object. The neat thing about blurbs is that they can be updated!
To create or update a blurb, use:
$ u/blurb UUID say: this is something. <ENTER>
UUID can be UUID or partial UUID.
A "say" prompt will come up. Enter the message, and press ENTER.
To retrive a blurb, use: