Commit Graph

120 Commits

Author SHA1 Message Date
Gabriel Horner
8beb52e213 fix: bump to latest nbb-logseq to fix quirky datascript require 2025-08-11 17:05:39 -04:00
Gabriel Horner
3ae3ff2cd4 fix: CLI start time
Lazy load namespaces as start time goes up with more required namespaces
external to nbb-logseq or node. CLI now only loads ~6 namespaces instead
of 55 namespaces at start and then lazy loads a command ns as needed
2025-08-11 17:05:39 -04:00
Gabriel Horner
b135b9c880 enhance(dev): task to vendor nbb deps for release 2025-08-11 17:05:39 -04:00
Gabriel Horner
9c6b7a2a6d fix: correct api calls
Also update cli install instructions
2025-08-11 17:05:39 -04:00
Gabriel Horner
a60b1177d2 Add readme and confirm logseq installs as a local CLI 2025-08-11 17:05:39 -04:00
Gabriel Horner
c67e254b4a enhance: search cmd highlights search term and
allows for user specified limit of results.
Also enabled nbb-logseq tests for cli since first
test was introduced
2025-08-11 17:05:39 -04:00
Gabriel Horner
81b3c65d6a enhance: add api-based search cmd
Also add error handler for required option since
search cmd has one
2025-08-11 17:05:39 -04:00
Gabriel Horner
a0912b5fd9 fix: api query should return same as default query
Print as edn and unwrap nested datalog results
2025-08-11 17:05:39 -04:00
Gabriel Horner
fd0f54b9f9 enhance: query can optionally use api 2025-08-11 17:05:39 -04:00
Gabriel Horner
0dfcd64d2d enhance: help cmd prints args and options usage 2025-08-11 17:05:39 -04:00
Gabriel Horner
465dceae17 enhance: add export edn command
Also DRY up graph-dir related fns
2025-08-11 17:05:39 -04:00
Gabriel Horner
0ecc41e19e enhance: unexpected failures print more helpful stack and context 2025-08-11 17:05:39 -04:00
Gabriel Horner
cf02369a20 enhance: query DB graph(s) 2025-08-11 17:05:39 -04:00
Gabriel Horner
6f1d6bd437 chore: add clj-kondo config 2025-08-11 17:05:39 -04:00
Gabriel Horner
a64bea57c8 enhance: add --version
Also print global options in help and error if db version not installed
2025-08-11 17:05:39 -04:00
Gabriel Horner
f86a7558c8 chore: add workflow for cli linters 2025-08-11 17:05:39 -04:00
Gabriel Horner
1b1a4e5004 enhance: show can display multiple graphs
Also git-sha may not be present on older graphs
2025-08-11 17:05:39 -04:00
Gabriel Horner
38c6c99faa enhance: show graph cmd 2025-08-11 17:05:39 -04:00
Gabriel Horner
241c1c104e refactor: have one fn to fetch ~/logseq/graphs dir
Also add deps.edn to cli dep which is needed for reuse with frontend
2025-08-11 17:05:39 -04:00
Gabriel Horner
887d91d2ac enhance: start CLI dep and implement list command
Also move common db graph list to shared ns and move common prefix
constants to common-config
2025-08-11 17:05:39 -04:00