Hello everyone
It’s been a while since I gave an update on LSQ, the CLI compainion for Logseq. We have released version 1 of the application a few months back and have had new features added from members of the Logseq community that solve there use cases.
Here’s what LSQ can do now with command line arguments:
- -a: Append text directly to the current journal page
- -A: Append the contents of STDIN to the current journal page
- -d: Specify main directory path. (example: /home/jrswab/Documents/Notes)
- -e: Set editor to use while editing files. (Defaults to $EDITOR, then Vim if $EDITOR is not set)
- -f: Search pages and aliases. Must be followed by a string.
- -o: Automatically open the first result from the search.
- -p: Open a specific page from the pages directory.
- -r: Search pages and journals via regex pattern. Must be followed by a regex string.
- -s: Specify the journal date to open. (Must be yyyy-MM-dd formatted)
- -v: Display the version of lsq being executed.
- -y: Open yesterday’s journal file.
The source code is on Github at:
To download you can run go install github.com/jrswab/lsq@latest
.
If you have feature ideas or run into problems please open an issue on Github.