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 statsSubcommand from "./stats.js";
import { getCommand } from "../../../command-prefix.js";
export const streamCommand = createCommand({
    name: 'stream',
    aliases: ['streams'],
    description: 'Manage durable streams',
    tags: ['slow', 'requires-auth'],
    examples: [
        {
            command: getCommand('cloud stream create memory-share ./notes.md'),
            description: 'Create stream from file',
        },
        {
            command: `cat data.json | ${getCommand('cloud stream create memory-share -')}`,
            description: 'Create stream from stdin',
        },
        { command: getCommand('cloud stream list'), description: 'List all streams' },
        { command: getCommand('cloud stream get <id>'), description: 'Get stream details' },
    ],
    subcommands: [
        createSubcommand,
        listSubcommand,
        getSubcommand,
        deleteSubcommand,
        statsSubcommand,
    ],
});
export default streamCommand;
//# sourceMappingURL=index.js.map