docs: document cli utility helpers

This commit is contained in:
Peter Steinberger
2026-06-04 10:55:01 -04:00
parent 8946648ace
commit cb5d43ba95
10 changed files with 18 additions and 0 deletions
+2
View File
@@ -1,3 +1,4 @@
// Commander registration for device pairing and auth-token commands.
import type { Command } from "commander";
import { applyParentDefaultHelpAction } from "./program/parent-default-help.js";
@@ -22,6 +23,7 @@ type DevicesRuntimeModule = typeof import("./devices-cli.runtime.js");
let devicesRuntimePromise: Promise<DevicesRuntimeModule> | undefined;
function loadDevicesRuntime(): Promise<DevicesRuntimeModule> {
// Keep device-pairing crypto/table dependencies out of root help startup.
return (devicesRuntimePromise ??= import("./devices-cli.runtime.js"));
}