import { createCommand } from "../../../types.js";
import { pullSubcommand } from "./pull.js";
import { pushSubcommand } from "./push.js";
import { setSubcommand } from "./set.js";
import { getSubcommand } from "./get.js";
import { deleteSubcommand } from "./delete.js";
import { importSubcommand } from "./import.js";
import { listSubcommand } from "./list.js";
import { getCommand } from "../../../command-prefix.js";
export const command = createCommand({
    name: 'env',
    description: 'Manage environment variables and secrets for your project or organization',
    tags: ['fast', 'requires-auth'],
    examples: [
        { command: getCommand('cloud env list'), description: 'List all variables and secrets' },
        {
            command: getCommand('cloud env set NODE_ENV production'),
            description: 'Set environment variable',
        },
        {
            command: getCommand('cloud env set API_KEY "sk_..." --secret'),
            description: 'Set a secret',
        },
        {
            command: getCommand('cloud env set OPENAI_API_KEY "sk_..." --secret --org'),
            description: 'Set an organization-wide secret',
        },
    ],
    subcommands: [
        listSubcommand,
        pullSubcommand,
        pushSubcommand,
        setSubcommand,
        getSubcommand,
        deleteSubcommand,
        importSubcommand,
    ],
});
export default command;
//# sourceMappingURL=index.js.map