Commit Graph

16 Commits

Author SHA1 Message Date
Gabriel Horner
5153b0ba83 chore: add dev instructions to build+install CLI locally 2025-11-21 10:21:51 -05:00
Gabriel Horner
cb039a615d chore(cli): Prep for cli release
Also tweak readme and list command desc
2025-11-20 15:04:44 -05:00
Gabriel Horner
79e75060d6 enhance(cli): Add validate command for local graph(s)
Improves :errors of invalid errors to be more user friendly.
Also enable closed-value validation optionally as it is useful
to have higher data quality for non RTC graphs
2025-11-19 17:51:45 -05:00
Gabriel Horner
7b07116b41 enhance(cli): improve error messages for unspecified graphs
Introduced a breaking change for query and search commands where
graph(s) are specified as options instead of arguments. This
makes local graph usage consistent across all commands.
Also fixed in-app search not working and local query with multiple
graphs not querying from the right db
2025-11-17 17:40:23 -05:00
Gabriel Horner
62deed7e7f enhance(cli): add api mode for export-edn command
Also changes :graph from being a required arg to an option
2025-11-17 15:11:02 -05:00
Gabriel Horner
0bc0892b8a enhance(cli): Add import-edn command
Works for both current and local graphs. Addresses CLI and API for
https://discord.com/channels/725182569297215569/1365819617079066744/1365819617079066744
2025-11-06 16:42:46 -05:00
Gabriel Horner
9aaf5db25c enhance(cli): graph args+options can be local files or dirs
This affects all cli commands that take graph args.
Also tweaked mcp-server host+port defaults to match the app
2025-10-17 13:18:03 -04:00
Gabriel Horner
bf68783348 enhance: add append improvements based on feedback
* For append api call, default to today if app is not in a page context
* API relate commands can auth w/ env var
2025-08-26 11:49:02 -04:00
Gabriel Horner
58270ff934 enhance: add append command
Fixes https://test.logseq.com/#/page/689ca670-d93f-4fe0-a262-029d95f8450f
2025-08-26 11:27:34 -04:00
Gabriel Horner
610e77bb90 fix: rename api-query-token options to api-server-token
api-query-token doesn't make sense as a name as it the token isn't
specific to query. This was an accidental name while working on query
cmd
2025-08-26 11:27:34 -04:00
Gabriel Horner
ffaccbb33e enhance: export command can save to file option
Also update export-edn command to have same default behavior as
export command. Printing to stdout was ok for dev but is surprising and
possibly overwhelming for most graphs
2025-08-26 11:27:34 -04:00
Gabriel Horner
cc1093ac85 enhancement: add offline CLI search and predefined query
to address https://github.com/logseq/logseq/pull/12000#issuecomment-3177406045.
Also bump version for initial release
2025-08-13 10:59:08 -04:00
Gabriel Horner
5adc5dcdc6 enhance: entity queries per Tienson's feedback
Can use uuid string as shorthand identifier. Can make properties
readable with option. Also wire up local query to use default catch
handler
2025-08-11 17:05:39 -04:00
Gabriel Horner
bf6433ed7a chore: update readme 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