docs(lib): narrate remaining stdlib modules (M2)
Add module intros and per-function purpose lines across EN/ZH libs, with callable examples on the smaller modules; keep + params and host bodies intact. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
53bc3538da
commit
fecaacd5be
49 files changed
+617
-21
No files matched your search
+5
-1
@@ -3,9 +3,13 @@ title: lib/cli
|
||||
description: Parse argv flags (Mid M5). --key value / --key=value / --flag; positionals under _.
|
||||
---
|
||||
|
||||
Parse process argv into a map. Flags and positionals (under _).
|
||||
|
||||
## parse
|
||||
+ `args`=None
|
||||
|
||||
Parse `--key value` / `--key=value` / `--flag`. A bare `--flag` must not be followed by a non-option token if you need it as boolean (put flags last, or use `--flag=true`). Positionals land under `_`.
|
||||
Parse --key value / --key=value / --flag. A bare --flag must not be followed by a non-option token if you need it as boolean (put flags last, or use --flag=true). Positionals land under _. Omit args to use process argv.
|
||||
|
||||
Caller: [cli.parse]
|
||||
|
||||
*> host_cli_parse args=`args`*
|
||||
Reference in new issue
Block a user