feat: improve deployment workflows

This commit is contained in:
2026-08-29 06:38:37 +00:00 Unverified
parent a1705487f2
commit 6ab5123f00
23 changed files with 1392 additions and 111 deletions
+39
View File
@@ -0,0 +1,39 @@
import tab from "@bomb.sh/tab/citty";
import { defineCommand } from "citty";
import { db } from "./db";
import { down } from "./down";
import { exec } from "./exec";
import { exportCommand } from "./export";
import { logs } from "./logs";
import { ps } from "./ps";
import { restart } from "./restart";
import { start } from "./start";
import { stop } from "./stop";
import { up } from "./up";
export const main = defineCommand({
meta: {
name: "kuber",
version: "1.0.0",
description: "Docker Compose -> K8s translation layer",
},
subCommands: {
db,
down,
export: exportCommand,
exec,
logs,
ps,
restart,
start,
stop,
up,
},
});
let completion: ReturnType<typeof tab> | undefined;
export function initializeCompletion() {
completion ??= tab(main);
return completion;
}