UNPKG

@catladder/cli

Version:

Panter cli tool for cloud CI/CD and DevOps

13 lines (11 loc) 365 B
import { defineCommand } from "../../core/defineCommand"; import { getCurrentContext } from "../../utils/cluster"; export const commandKubeCurrentContext = defineCommand({ name: "k8s current-context", description: "show current kubernetes context", group: "general", inputs: {}, execute: async (ctx) => { ctx.log(await getCurrentContext()); }, });