feat: implement namespace management and improve build process
This commit is contained in:
+3
-1
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user