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 { 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' },
    ],
    subcommands: [
        listSubcommand,
        logsSubcommand,
        showSubcommand,
        removeSubcommand,
        rollbackSubcommand,
        undeploySubcommand,
    ],
});
//# sourceMappingURL=index.js.map