Parcourir la source

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).
Turtle il y a 2 mois
Parent
commit
6a8049879e
1 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 2 4
      apps/cli/src/bin.ts

+ 2 - 4
apps/cli/src/bin.ts

@@ -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
  */