Commit Graph

34 Commits

Author SHA1 Message Date
Mickaël Menu
eb095e5fc0
Add tesh test suite (#147) 2022-01-10 14:28:14 +01:00
Mickaël Menu
e317f0d879
Fix infinite loop when parsing a single-character hashtag (#119) 2021-12-17 13:07:21 +01:00
Mickaël Menu
16e1904096
Add a command to produce a graph of the indexed notes (#106) 2021-11-14 09:50:13 +01:00
Mickaël Menu
aea5308f66
Add a verbose mode to zk index (#103) 2021-11-13 16:56:32 +01:00
Mickaël Menu
d74cf52d1e
List note tags (#85) 2021-10-03 18:36:59 +02:00
Mickaël Menu
8c7ec93ca5
Allow setting the --working-dir and --notebook-dir flags before the subcommand when using aliases (#67) 2021-08-07 18:56:26 +02:00
Mickaël Menu
729dbe9760
Add JSON and JSON lines list formats (#52) 2021-06-20 21:08:18 +02:00
Mickaël Menu
aa68199df8
Publish LSP diagnostics for dead links and wiki-link titles (#42) 2021-05-16 22:11:31 +02:00
Mickaël Menu
6ba92a03b7
Add --working-dir option (#29) 2021-04-17 11:28:38 +02:00
Mickaël Menu
50855154e2
Architecture (#27)
* Move everything under the internal package.
* Better separation between core and adapter packages, for easier unit testing.
* Simplify data models.
* Support multiple opened notebooks during runtime (useful for the LSP server).
* Proper surface API which might be exposed later as a public Go package.
2021-04-14 20:14:01 +02:00
Mickaël Menu
ba41fe5a71
Experimental LSP server (#21) 2021-04-04 15:31:54 +02:00
Mickaël Menu
26ffc544f2
Fix missing import 2021-03-18 20:27:08 +01:00
Mickaël Menu
e653c71356
Specify the notebook directory explicitly (#14) 2021-03-18 19:47:49 +01:00
Mickaël Menu
be8b2d6289
Fix --version output 2021-03-18 19:39:06 +01:00
Mickaël Menu
b82f1f547c
Add a global configuration file (#12) 2021-03-17 18:04:27 +01:00
Mickaël Menu
f5b3102deb
Save additional metadata in the database (#7)
* YAML frontmatter as a JSON object in `notes.metadata`
    * Print metadata from the YAML frontmatter in `list` output using `{{metadata.<key>}}`, e.g. `{{metadata.description}}`. Keys are normalized to lower case.
* Start and end offsets for link snippets.
    * This could be useful to expand backlinks contexts.
2021-03-08 21:38:32 +01:00
Mickaël Menu
4c8a7b4105
Rename every occurrence of "slip box" into "notebook" 2021-02-15 22:44:31 +01:00
Mickaël Menu
e12d7cca42
Prevent recursive aliases 2021-02-13 21:07:06 +01:00
Mickaël Menu
aa87c570c2
Don't launch fzf or the pager when --no-input is set 2021-02-10 21:04:24 +01:00
Mickaël Menu
17c30a66e5
Improve help output and add --delimiter0 in list command 2021-02-10 20:27:34 +01:00
Mickaël Menu
aac1c17a13
Show help as the default command 2021-02-07 19:03:27 +01:00
Mickaël Menu
0b0e7dfd08
Add note links to the database 2021-01-25 21:44:44 +01:00
Mickaël Menu
225b0c2603
Add support for user aliases 2021-01-24 12:22:47 +01:00
Mickaël Menu
1b905dacfd
Don't prompt the user when the terminal is not interactive 2021-01-23 21:29:22 +01:00
Mickaël Menu
eb130a8107
Add the edit command 2021-01-23 21:15:36 +01:00
Mickaël Menu
72d9d6f8d4
Add user prompt/confirmation utilities 2021-01-23 21:15:17 +01:00
Mickaël Menu
2cd15aafe2
Proof of concept for listing notes 2021-01-03 21:22:34 +01:00
Mickaël Menu
0573852529
Index notes content 2021-01-03 14:43:27 +01:00
Mickaël Menu
6831823e5d
Edit newly created notes 2021-01-02 18:09:10 +01:00
Mickaël Menu
c89ff1e58a
Add the ./go shell script 2021-01-02 12:08:58 +01:00
Mickaël Menu
7c2e76a01c
Add the dependency container 2020-12-28 13:15:56 +01:00
Mickaël Menu
768939f3fe
Add the {{sh}} template helper 2020-12-27 19:07:57 +01:00
Mickaël Menu
9f4d2ac81b
Refactor init command and add errors util 2020-12-25 12:14:01 +01:00
Mickaël Menu
bdda74362f
Add init command 2020-12-24 16:02:19 +01:00