"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createWorkflowCommand = createWorkflowCommand;
const workflow_compile_1 = require("../workflow-compile");
const workflow_explain_1 = require("../workflow-explain");
const registration_1 = require("../registration");
async function createWorkflowCommand() {
    const { Command } = await import('commander');
    const command = new Command('workflow');
    command.description('Find read-only workflow and prompt handoffs for selected planning artifacts.');
    (0, registration_1.registerCommand)(command, await (0, workflow_compile_1.createWorkflowCompileCommand)());
    (0, registration_1.registerCommand)(command, await (0, workflow_explain_1.createWorkflowExplainCommand)());
    return command;
}
