docs(cli): trim bin.ts module comment to the non-obvious contract

Review (turtle1999): the opening narrated control flow. Drop the argv-parse/
switch narration; keep only the two non-obvious facts (per-mode dynamic imports,
and that the adapter exits so only a valid mode reaches the switch).
This commit is contained in:
Turtle
2026-07-25 15:50:10 +08:00
parent fca2dda37d
commit 6a8049879e

View File

@@ -1,9 +1,7 @@
#!/usr/bin/env node
/**
* dsh — command-line entry. Parses argv once through the Commander adapter and
* switches on the resolved mode; dynamic imports keep unrelated modes out of
* each dispatch path. `web` and headless prompts run their own module;
* everything else opens the TUI. The adapter itself prints and exits for
* dsh — command-line entry. Dynamic imports per mode keep unrelated modes out
* of each dispatch path; the adapter prints and exits for
* `--help`/`--version`/a parse error, so only a valid mode reaches the switch.
* @module @deepseek-ai/dsh/bin
*/