Skip to content

Commit 08f855f

Browse files
update cli section to point to new
1 parent a97697b commit 08f855f

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

db-version.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -607,24 +607,12 @@ On desktop, it is easy to modify an existing DB graph with a script and see the
607607

608608
## CLI
609609

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.
611611

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.
613613

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.
628616

629617
## Additional Links
630618
* https://discuss.logseq.com/t/introducing-newtags-with-examples/32310 - Helpful tutorial on tags

0 commit comments

Comments
 (0)