feat: dev

This commit is contained in:
Gab
2026-03-24 15:08:08 +11:00
parent ff2d13015d
commit 09156ea6d4
2 changed files with 5 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import { mkdir } from "fs/promises"
import { existsSync } from "fs"
import path from "path"
import { Global } from "@/global"
import * as prompts from "@clack/prompts"
const println = (msg: string) => UI.println(msg)
const printError = (msg: string) => UI.error(msg)
@@ -410,7 +411,6 @@ const ToolsCredentialsSetCommand = cmd({
}
if (args.set) {
const { default: prompts } = await import("@clack/prompts")
const value = await prompts.password({
message: `Enter API key for '${toolName}'`,
})
@@ -438,6 +438,7 @@ const ToolsCommand = cmd({
describe: "manage ToothFairyAI tools",
builder: (yargs) =>
yargs.command(ToolsListCommand).command(ToolsCredentialsSetCommand).demandCommand(),
async handler() {},
})
const ToolsDebugCommand = cmd({
@@ -539,6 +540,7 @@ export const ToolsMainCommand = cmd({
describe: "manage ToothFairyAI tools",
builder: (yargs) =>
yargs.command(ToolsListCommand).command(ToolsCredentialsSetCommand).command(ToolsDebugCommand).command(ToolsTestCommand).demandCommand(),
async handler() {},
})
export { ValidateCommand, SyncCommand, ToolsCommand }