style: format onboarding commands

This commit is contained in:
Peter Steinberger
2026-01-01 17:30:17 +00:00
parent c454f7ac0d
commit d642e90cdd
4 changed files with 40 additions and 14 deletions

View File

@@ -1,4 +1,11 @@
import { confirm, multiselect, note, select, spinner, text } from "@clack/prompts";
import {
confirm,
multiselect,
note,
select,
spinner,
text,
} from "@clack/prompts";
import { installSkill } from "../agents/skills-install.js";
import { buildWorkspaceSkillStatus } from "../agents/skills-status.js";
@@ -121,8 +128,8 @@ export async function setupSkills(
const apiKey = String(
guardCancel(
await text({
message: `Enter ${skill.primaryEnv}`,
validate: (value) => (value?.trim() ? undefined : "Required"),
message: `Enter ${skill.primaryEnv}`,
validate: (value) => (value?.trim() ? undefined : "Required"),
}),
runtime,
),