Files
marqdo/tests/lib/sys-dotenv.mq.md
T
cflmyandCursor ecc92f473a Unify frontmatter imports as import bind:target and drop > imports.
`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format`
binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use`
now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples,
man-test and tests; adds a negative gold and updates view/catalog rendering.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 10:03:21 +08:00

16 lines
269 B
Markdown

---
title: sys dotenv
import sys:lib/sys.mq.md
import fs:lib/fs.mq.md
---
# main
> fs.write_text path=dotenv-fixture.env text=MARQDO_DOTENV_FIXTURE=loaded
> sys.load_dotenv path=dotenv-fixture.env
*`v` = > sys.env_get name=MARQDO_DOTENV_FIXTURE *
> print text=`v`