import { createCommand } from "../../../types.js";
import { databaseSubcommand } from "./database.js";
import { domainSubcommand } from "./domain.js";
import { storageSubcommand } from "./storage.js";
import { getCommand } from "../../../command-prefix.js";
export const addCommand = createCommand({
    name: 'add',
    aliases: ['link'],
    description: 'Link existing cloud resources to the current project',
    tags: ['fast', 'requires-auth', 'requires-project'],
    examples: [
        {
            command: getCommand('project add database'),
            description: 'Link an existing database to the project',
        },
        {
            command: getCommand('project add storage'),
            description: 'Link an existing storage bucket to the project',
        },
        {
            command: getCommand('project add domain example.com'),
            description: 'Add a custom domain to the project',
        },
        {
            command: getCommand('project add database my-db'),
            description: 'Link a specific database by name',
        },
        {
            command: getCommand('project add storage my-bucket'),
            description: 'Link a specific storage bucket by name',
        },
    ],
    subcommands: [databaseSubcommand, domainSubcommand, storageSubcommand],
});
//# sourceMappingURL=index.js.map