Initial Commit

This commit is contained in:
2026-08-08 22:23:27 +07:00 Unverified
commit c08fb36d2e
22 changed files with 6212 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { defineCommand, runMain } from "citty";
import { ps } from "./command/ps";
import { up } from "./command/up";
import { provideContext } from "./lib/context";
import z, { ZodError } from "zod";
const main = defineCommand({
meta: {
name: "kuber",
version: "1.0.0",
description: "Docker Compose -> K8s translation layer",
},
subCommands: { ps, up },
});
provideContext(() => runMain(main)).catch((e) => {
if (e instanceof ZodError) console.error(z.prettifyError(e));
else console.error(e);
});