Release 2.7.0: executable handbooks and native user-site workflows

This commit is contained in:
cflmy committed 2026-11-10 17:03:06 +08:00
1 parent aa0c4d0f55
commit d9aef957f7
562 files changed
+21064 -20387

No files matched your search

+8 -4
View File
@@ -8,13 +8,17 @@ import:
# main
| 返回 | 类型 | 说明 |
|---|---|---|
| result | any | None; execute this page's documented steps in order and observe their output or stated effects |
Import lib/sys.mq.md. Functions: env_get, env_set, load_dotenv(optional path), args, cwd, exit(code), exec(cmd), stream_publish(event). load_dotenv does not override existing variables. Under view, exit soft-fails instead of killing the process. `stream_publish` feeds the view SSE EventBus.
**`d` = [sys.cwd]**
We first **d = [Compute d](sys.cwd())** for the next step.
**`n` = [len] `d`**
We first **n = [Compute n](len(`d`))** for the next step.
1. `n` > 0
> print text=cwd-ok
We now **[Display this step's result](> print text="cwd-ok")**.
2. *
> print text=cwd-empty
We now **[Display this step's result](> print text="cwd-empty")**.