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
@@ -2,8 +2,8 @@ import type { CorpConfig } from "../../core/config/types.js";
import type { createSealClient } from "../../core/http/factory.js";
import { confirmationRequired, usageError } from "../../core/errors.js";
import { runCapability } from "../helpers.js";
import { booleanOption, dryRunOption, parseDelegationExpireHours, stringOption } from "../parser.js";
import { outputOptions } from "../printer.js";
import { booleanOption, dryRunOption, parseDelegationExpireHours, stringOption } from "../parse/parser.js";
import { outputOptions } from "../output/printer.js";
import type { ParsedArgs } from "../types.js";
export async function handleUsersCommand(