import { createCommand } from "../../../../types.js";
import { createSubcommand } from "./create.js";
import { listSubcommand } from "./list.js";
import { getSubcommand } from "./get.js";
import { deleteSubcommand } from "./delete.js";
import { tagSubcommand } from "./tag.js";
import { buildSubcommand } from "./build.js";
import { generateSubcommand } from "./generate.js";
import { getCommand } from "../../../../command-prefix.js";
export const snapshotCommand = createCommand({
    name: 'snapshot',
    aliases: ['snap', 'snapshots'],
    description: 'Manage sandbox snapshots',
    tags: ['slow', 'requires-auth'],
    examples: [
        {
            command: getCommand('cloud sandbox snapshot create <sandbox-id>'),
            description: 'Create a snapshot from a sandbox',
        },
        {
            command: getCommand('cloud sandbox snapshot list'),
            description: 'List all snapshots',
        },
        {
            command: getCommand('cloud sandbox snapshot build .'),
            description: 'Build a snapshot from a declarative file',
        },
        {
            command: getCommand('cloud sandbox snapshot generate > agentuity-snapshot.yaml'),
            description: 'Generate a template build file',
        },
    ],
    subcommands: [
        createSubcommand,
        listSubcommand,
        getSubcommand,
        deleteSubcommand,
        tagSubcommand,
        buildSubcommand,
        generateSubcommand,
    ],
    requires: { auth: true, org: true },
});
//# sourceMappingURL=index.js.map