perf(cli): slim route-first bootstrap with lazy route handlers

This commit is contained in:
Peter Steinberger
2026-02-14 00:12:15 +00:00
parent fecb3f326e
commit 2f49d8858c
4 changed files with 145 additions and 108 deletions

View File

@@ -4,8 +4,8 @@ import { VERSION } from "../version.js";
import { getCommandPath, hasHelpOrVersion } from "./argv.js";
import { emitCliBanner } from "./banner.js";
import { ensurePluginRegistryLoaded } from "./plugin-registry.js";
import { findRoutedCommand } from "./program/command-registry.js";
import { ensureConfigReady } from "./program/config-guard.js";
import { findRoutedCommand } from "./program/routes.js";
async function prepareRoutedCommand(params: {
argv: string[];