Group CLI modules into parse, run, output, and help

Move parser, tokenize, and area-aliases under cli/parse; runner and read-only under cli/run; printer under cli/output; help plus the docs/naming contract tests under cli/help. types.ts and helpers.ts stay at the cli root. Update imports, the app-root depth calculation, test fixtures, and the CLI doc generator path. No behavior change.
This commit is contained in:
gitea committed 2026-11-19 16:38:14 +08:00
1 parent 37b54065d9
commit ca9d87e13f
80 files changed
+196 -195

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ import {
numberOption,
splitOption,
stringOption
} from "../parser.js";
import { outputOptions, printJson } from "../printer.js";
} from "../parse/parser.js";
import { outputOptions, printJson } from "../output/printer.js";
import type { ParsedArgs } from "../types.js";
function contentFilePath(args: ParsedArgs): string | undefined {