Files
clawdbot/src/commands/configure.commands.ts
2026-01-14 05:39:47 +00:00

16 lines
563 B
TypeScript

import type { RuntimeEnv } from "../runtime.js";
import { defaultRuntime } from "../runtime.js";
import type { WizardSection } from "./configure.shared.js";
import { runConfigureWizard } from "./configure.wizard.js";
export async function configureCommand(runtime: RuntimeEnv = defaultRuntime) {
await runConfigureWizard({ command: "configure" }, runtime);
}
export async function configureCommandWithSections(
sections: WizardSection[],
runtime: RuntimeEnv = defaultRuntime,
) {
await runConfigureWizard({ command: "configure", sections }, runtime);
}