"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createPhaseCommand = createPhaseCommand;
const registration_1 = require("../registration");
const phase_new_1 = require("../phase-new");
const phase_review_1 = require("../phase-review");
const phase_scaffold_migrate_1 = require("../phase-scaffold-migrate");
const phase_update_1 = require("../phase-update");
async function createPhaseCommand() {
    const { Command } = await import("commander");
    const command = new Command("phase");
    command.description("Create and maintain planning phase workspaces.");
    (0, registration_1.registerCommand)(command, await (0, phase_new_1.createPhaseNewCommand)());
    (0, registration_1.registerCommand)(command, await (0, phase_review_1.createPhaseReviewCommand)());
    (0, registration_1.registerCommand)(command, await (0, phase_scaffold_migrate_1.createPhaseScaffoldMigrateCommand)());
    (0, registration_1.registerCommand)(command, await (0, phase_update_1.createPhaseUpdateCommand)());
    return command;
}
