import { createCommand } from "../../../types.js";
import { listSubcommand } from "./list.js";
import { logsSubcommand } from "./logs.js";
import { showSubcommand } from "./show.js";
import { removeSubcommand } from "./remove.js";
import { rollbackSubcommand } from "./rollback.js";
import { undeploySubcommand } from "./undeploy.js";
import { waitSubcommand } from "./wait.js";
import { getCommand } from "../../../command-prefix.js";
export const deploymentCommand = createCommand({
    name: 'deployment',
    description: 'Manage deployments',
    tags: ['read-only', 'fast', 'requires-auth'],
    aliases: ['deployments', 'dep'],
    examples: [
        { command: getCommand('cloud deployment list'), description: 'List all deployments' },
        { command: getCommand('cloud deployment logs <id>'), description: 'Show deployment logs' },
        {
            command: getCommand('cloud deployment wait <id> --timeout 10m --json'),
            description: 'Wait for deployment readiness',
        },
    ],
    subcommands: [
        listSubcommand,
        logsSubcommand,
        showSubcommand,
        waitSubcommand,
        removeSubcommand,
        rollbackSubcommand,
        undeploySubcommand,
    ],
});
//# sourceMappingURL=index.js.map