/**
 * studiograph admin — owner-only ops surface.
 *
 * Subcommands accumulate here as Phase A lands:
 *   - admin token        (A4)
 *   - admin migrate      (A5)
 *   - admin backup       (A6)
 *   - admin restore      (A6)
 *   - admin transfer-ownership   (A8)
 *   - admin audit-workspace      (A8)
 *
 * In Phase D, the existing top-level user/folder/secrets/settings/audit
 * commands also move under this parent.
 */
import { Command } from 'commander';
import { adminTokenCommand } from './token.js';
import { adminMigrateCommand } from './migrate.js';
import { adminMigrateAssetsCommand } from './migrate-assets.js';
import { adminBackupCommand } from './backup.js';
import { adminRestoreCommand } from './restore.js';
import { adminTransferOwnershipCommand } from './transfer-ownership.js';
import { adminAuditWorkspaceCommand } from './audit-workspace.js';
import { userCommand } from './user.js';
import { folderCommand } from './folder.js';
import { secretsCommand } from './secrets.js';
import { settingsCommand } from './settings.js';
import { auditCommand } from './audit.js';
export const adminCommand = new Command('admin').description('Owner-only administrative commands');
// Phase D1: the five workspace-management subcommands (user, folder,
// secrets, settings, audit) moved from top-level into admin/. Top-level
// aliases stay for one release — see src/cli/index.ts argv shim. The
// next release drops the shim and these become admin-only.
adminCommand.addCommand(userCommand);
adminCommand.addCommand(folderCommand);
adminCommand.addCommand(secretsCommand);
adminCommand.addCommand(settingsCommand);
adminCommand.addCommand(auditCommand);
// New admin verbs added through Phase A.
adminCommand.addCommand(adminTokenCommand);
adminCommand.addCommand(adminMigrateCommand);
adminCommand.addCommand(adminMigrateAssetsCommand);
adminCommand.addCommand(adminBackupCommand);
adminCommand.addCommand(adminRestoreCommand);
adminCommand.addCommand(adminTransferOwnershipCommand);
adminCommand.addCommand(adminAuditWorkspaceCommand);
//# sourceMappingURL=index.js.map