Turtle
54dd75a969
refactor(cmdline): run the program's own commander action instead of a plan callback
...
parseCmdline(ctx, program): void only adapts commander control flow to
the launcher: it parses the immutable cmdlineArgs snapshot and turns
help, version, parse errors, and action rejections into a ctx.appExit
request. App validation and the ctx.provide of the app-owned service
live in the program's own synchronous .action(), which commander runs
inside parse — program.error(...) there shares the exit path with a
grammar rejection. Deletes the CmdlinePlan export, its unread ctx
parameter, the type-unsound (() => ({}) as T) default, and the
T | undefined return with its per-caller publish guard.
2026-08-12 13:07:41 +08:00
..
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 12:35:38 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-12 13:07:41 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-10 16:34:20 +08:00
2026-08-10 18:04:26 +08:00
2026-08-11 18:01:25 +08:00
2026-08-11 18:01:25 +08:00
2026-08-11 18:01:25 +08:00
2026-08-10 21:40:03 -07:00
2026-08-10 21:40:03 -07:00
2026-08-10 21:40:03 -07:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 18:01:25 +08:00
2026-08-11 18:01:25 +08:00
2026-08-11 18:01:25 +08:00
2026-07-31 15:54:36 +08:00
2026-08-10 23:45:04 +08:00
2026-08-10 23:45:04 +08:00
2026-08-10 23:45:04 +08:00
2026-08-10 16:34:20 +08:00
2026-08-10 16:34:20 +08:00
2026-08-10 16:34:20 +08:00
2026-08-11 11:22:08 +08:00
2026-08-11 11:22:08 +08:00
2026-08-11 11:22:08 +08:00
2026-08-11 14:52:49 +08:00
2026-08-11 14:52:49 +08:00
2026-08-11 14:52:49 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-09 17:26:57 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-10 16:34:20 +08:00
2026-08-11 17:19:51 +08:00
2026-08-11 17:19:51 +08:00
2026-08-11 17:19:51 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-10 22:04:10 +08:00
2026-08-10 22:04:10 +08:00
2026-08-10 22:04:10 +08:00
2026-08-11 14:20:53 +08:00
2026-08-11 14:20:53 +08:00
2026-08-11 14:20:53 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-11 15:23:05 +08:00
2026-08-10 16:34:20 +08:00
2026-08-10 16:34:20 +08:00
2026-08-05 16:16:57 +08:00
2026-08-10 16:34:20 +08:00