Files
marqdo/lib/sys.mq.md
T
cflmyandCursor 63e5be80ab Add v0.2 surface syntax, writeback/subtask stdlib, and view input deferral.
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>
2026-08-06 17:52:33 +08:00

525 B

title, description
title description
lib/sys English system wrappers (load_dotenv accepts optional path via host alias)

env_get

+ `name`

> host_env_get name=name

env_set

+ `name`
+ `value`

> host_env_set name=name value=value

load_dotenv

Load .env (optional named arg path=). Existing process env is not overridden.

> host_dotenv_load

args

> host_args

cwd

> host_cwd

exit

+ `code`

> host_exit code=code

exec

+ `cmd`

> host_exec cmd=cmd