feat: release 2.7.0
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ function cloneCommand<T extends object>(command: T): T {
|
||||
export const main = defineCommand({
|
||||
meta: {
|
||||
name: "kuber",
|
||||
version: "2.7.0-rc3",
|
||||
version: "2.7.0",
|
||||
description: "Docker Compose -> K8s translation layer",
|
||||
},
|
||||
args: {
|
||||
|
||||
+4
-1
@@ -105,7 +105,10 @@ export const trust = defineCommand({
|
||||
},
|
||||
}),
|
||||
},
|
||||
async run() {
|
||||
async run({ args }) {
|
||||
// citty runs a command's handler after its selected subcommand handler.
|
||||
// Only a bare `trust` invocation has no positional arguments here.
|
||||
if (args._.length > 0) return;
|
||||
await grantTrust(await current());
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user