import { createCommand } from "../../../../types.js";
import { createSubcommand } from "./create.js";
import { listSubcommand } from "./list.js";
import { restoreSubcommand } from "./restore.js";
import { deleteSubcommand } from "./delete.js";
import { getCommand } from "../../../../command-prefix.js";
export const checkpointCommand = createCommand({
    name: 'checkpoint',
    aliases: ['ckpt', 'checkpoints'],
    description: 'Manage disk checkpoints for sandbox filesystem',
    tags: ['slow', 'requires-auth'],
    requires: { auth: true, apiClient: true },
    examples: [
        {
            command: getCommand('cloud sandbox checkpoint create sbx_abc123 my-checkpoint'),
            description: 'Create a disk checkpoint',
        },
        {
            command: getCommand('cloud sandbox checkpoint list sbx_abc123'),
            description: 'List disk checkpoints',
        },
        {
            command: getCommand('cloud sandbox checkpoint restore sbx_abc123 ckpt_def456'),
            description: 'Restore a disk checkpoint',
        },
        {
            command: getCommand('cloud sandbox checkpoint delete sbx_abc123 ckpt_def456'),
            description: 'Delete a disk checkpoint',
        },
    ],
    subcommands: [createSubcommand, listSubcommand, restoreSubcommand, deleteSubcommand],
});
//# sourceMappingURL=index.js.map