Files
marqdo/lib/sys.mq.md
T
cflmyandCursor b00b018056 Add object primitives, official ext/llm, and HTTPS/dotenv platform.
Introduce # objects with ## methods (handles + ` x.method `), ship OpenAI-compatible ext/llm, and upgrade net/sys for HTTPS headers and dotenv loading.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 11:53:14 +08:00

40 lines
515 B
Markdown

---
title: lib/sys
description: 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`**