Files
marqdo/tests/lib/cli-sort-smoke.mq.md
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

630 B

markup, title, import
markup title import
occlusion table sort_by + cli
table csv cli
lib/table.mq.md lib/csv.mq.md lib/cli.mq.md

main

raw = "name,score\nbob,2\nalice,10\n" rows = > csv.parse text=raw rows = > table.sort_by list=rows key="name" r0 = > at value=rows index=0

print text=name)

args = > split value="--input,data.csv,rest,--verbose" sep="," flags = > cli.parse args=args

print text=input) print text=verbose) pos = _) p0 = > at value=pos index=0 print text=p0