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/plugin.mq.md. Functions: load(path), unload(), list(). After load, registered plugin names are callable like other functions. C ABI: include/marqdo_abi.h — see doc/design/ext-abi.md. Path must stay under the program sandbox (cwd / fs root).
**`names` = [plugin.list]**
We first **names = [Compute names](plugin.list())** for the next step.
**`n` = [len] `names`**
We first **n = [Compute n](len(`names`))** for the next step.
1. `n` >= 0
> print text=plugin-ok
We now **[Display this step's result](> print text="plugin-ok")**.
2. *
> print text=plugin-bad
We now **[Display this step's result](> print text="plugin-bad")**.