Reorganize repo structure and standards references

This commit is contained in:
david committed 2026-06-29 05:03:42 +02:00
1 parent 3cb93a81be
commit be2054274d
5885 files changed
+2588 -195

No files matched your search

@@ -0,0 +1,26 @@
/**
* `toolctrl ops` — operator subcommand group.
*
* Children:
* - `doctor` — local environment health-check
* - `migrate-tenant` — tenant migration between named envs (uses tenant snapshot infra)
* - `impersonate` — engineer debug magic-link with audit-event
*
* Refs: docs/improvement-plan/08-mobile-cli-storybook-sdk/cli-ops.md
*/
import { defineCommand } from "citty";
import { opsDoctorCommand } from "./doctor.js";
import { opsImpersonateCommand } from "./impersonate.js";
import { opsMigrateTenantCommand } from "./migrate-tenant.js";
export const opsCommand = defineCommand({
meta: {
name: "ops",
description: "Operator commands: doctor (health), migrate-tenant, impersonate (audit-logged).",
},
subCommands: {
doctor: opsDoctorCommand,
"migrate-tenant": opsMigrateTenantCommand,
impersonate: opsImpersonateCommand,
},
});