import { createCommand } from "../../../types.js";
import { getCommand } from "../../../command-prefix.js";
import { listSubcommand } from "./list.js";
import { getSubcommand } from "./get.js";
import { createSubcommand } from "./create.js";
import { deleteSubcommand } from "./delete.js";
import { rotateSecretSubcommand } from "./rotate-secret.js";
import { activitySubcommand } from "./activity.js";
import { usersSubcommand } from "./users.js";
export const command = createCommand({
    name: 'oidc',
    description: 'Manage OAuth applications',
    tags: ['fast', 'requires-auth'],
    examples: [
        { command: getCommand('cloud oidc list'), description: 'List all OAuth applications' },
        {
            command: getCommand('cloud oidc create --name "My App" --type confidential --redirect-uris "https://example.com/callback"'),
            description: 'Create a new OAuth application',
        },
    ],
    subcommands: [
        createSubcommand,
        listSubcommand,
        getSubcommand,
        deleteSubcommand,
        rotateSecretSubcommand,
        activitySubcommand,
        usersSubcommand,
    ],
});
export default command;
//# sourceMappingURL=index.js.map