Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
202 B
Markdown
18 lines
202 B
Markdown
---
|
|
title: fs read/exists
|
|
> lib/fs.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
*`ok` = > exists path=hello.txt *
|
|
|
|
1. `ok`
|
|
> print text=exists
|
|
2. *
|
|
> print text=missing
|
|
|
|
*`t` = > read_text path=hello.txt *
|
|
|
|
> print text=`t`
|