mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
chore(cli): changelog for 0.4.2 and tweak option descriptions
This commit is contained in:
5
deps/cli/CHANGELOG.md
vendored
5
deps/cli/CHANGELOG.md
vendored
@@ -1,3 +1,8 @@
|
||||
## 0.4.2
|
||||
* Add `--validate` option to `export-edn` command
|
||||
* Fix cli can't run in CI environments
|
||||
* Fix `import-edn` and `mcp-server` commands not building refs for new or edited nodes
|
||||
|
||||
## 0.4.1
|
||||
* Add `--open-schema` option to `validate` command
|
||||
* Fix `append` command fails
|
||||
|
||||
10
deps/cli/src/logseq/cli/spec.cljs
vendored
10
deps/cli/src/logseq/cli/spec.cljs
vendored
@@ -17,10 +17,6 @@
|
||||
:desc "Include timestamps in export"}
|
||||
:file {:alias :f
|
||||
:desc "File to save export"}
|
||||
:validate {:alias :v
|
||||
:desc "Validates export by importing into a temp graph and validating it"}
|
||||
:catch-validation-errors? {:alias :c
|
||||
:desc "Catch validation errors for dev"}
|
||||
:exclude-namespaces {:alias :e
|
||||
:coerce #{}
|
||||
:desc "Namespaces to exclude from properties and classes"}
|
||||
@@ -31,7 +27,11 @@
|
||||
:export-type {:alias :t
|
||||
:coerce :keyword
|
||||
:desc "Export type"
|
||||
:default :graph}})
|
||||
:default :graph}
|
||||
:validate {:alias :v
|
||||
:desc "(Dev) Validate export with a temp graph built on exported EDN"}
|
||||
:catch-validation-errors? {:alias :c
|
||||
:desc "(Dev) Catch validation errors and still write invalid EDN"}})
|
||||
|
||||
(def import-edn
|
||||
{:api-server-token {:alias :a
|
||||
|
||||
Reference in New Issue
Block a user