feat: implement namespace management and improve build process

This commit is contained in:
2026-08-09 13:06:57 +07:00 Unverified
parent 8f331d4cc7
commit 58c26b735a
8 changed files with 202 additions and 48 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
import { defineCommand } from "citty";
import { Listr } from "listr2";
import { listManagedDeployments, scaleDeployment } from "../lib/shared";
import { assertManagedNamespace } from "../lib/apply";
import { getProject, listManagedDeployments, scaleDeployment } from "../lib/shared";
export const stop = defineCommand({
meta: {
@@ -8,6 +9,7 @@ export const stop = defineCommand({
description: "Scale managed deployments to zero",
},
async run() {
await assertManagedNamespace(getProject());
const deployments = await listManagedDeployments();
await new Listr([