import { defineCommand } from "politty";
import { z } from "zod";
import { executeCommand } from "../../../lib/command-result";
import { runAppProgressSchema } from "./schema";

export const schemaCommand = defineCommand({
  name: "schema",
  description: "Output JSON Schema for progress log input",
  args: z.object({}),
  run: () => {
    return executeCommand(() => runAppProgressSchema());
  },
});
