You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: db-version.md
+4-16Lines changed: 4 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -607,24 +607,12 @@ On desktop, it is easy to modify an existing DB graph with a script and see the
607
607
608
608
## CLI
609
609
610
-
NOTE: This refers to the old CLI which will soon be replaced by https://github.com/logseq/logseq/pull/12340
610
+
The `logseq`[CLI](https://en.wikipedia.org/wiki/Command-line_interface) provides commands to interact with DB graphs from the command line. The CLI works independent of the Logseq app and makes Logseq features available for automation on CI/CD platforms like [Github Actions](https://github.com/features/actions). For example, a DB graph could have a query run on every push to Github.
611
611
612
-
TODO: Update this section
612
+
Install the CLI by installing the application from https://github.com/logseq/logseq/releases/tag/nightly. Read the [CLI's homepage](https://github.com/logseq/logseq/blob/master/docs/cli/logseq-cli.md) to learn more.
613
613
614
-
The `logseq`[CLI](https://en.wikipedia.org/wiki/Command-line_interface) provides commands to interact with desktop DB graphs and local graphs from the command line. The CLI works independent of the Logseq app and makes Logseq features available for automation on CI/CD platforms like [Github Actions](https://github.com/features/actions). For example, a DB graph could have a Markdown export created on every push to Github. Some CLI commands also interact with the current DB graph if the [HTTP API Server](https://docs.logseq.com/#/page/local%20http%20server) is turned on. The CLI provides the following commands including:
615
-
616
-
* list - List local graphs
617
-
* show - Show DB graph(s) info
618
-
* search - Search DB graph like grep
619
-
* query - Query DB graph(s)
620
-
* export - Export DB graph as Markdown
621
-
* export-edn - Export DB graph as EDN
622
-
* import-edn Import into DB graph with EDN
623
-
* append - Append text to current page
624
-
* mcp-server - Run a MCP server
625
-
* validate - Validate DB graph
626
-
627
-
Read the [CLI's homepage](https://www.npmjs.com/package/@logseq/cli) to learn more.
614
+
NOTE: There was an [old CLI](https://www.npmjs.com/package/@logseq/cli) which has some capabilities
615
+
that may not be found in the current CLI.
628
616
629
617
## Additional Links
630
618
*https://discuss.logseq.com/t/introducing-newtags-with-examples/32310 - Helpful tutorial on tags
0 commit comments