@dokploy/cli 0.29.8 → 0.29.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/commands.js +37 -0
- package/package.json +1 -1
|
@@ -8607,6 +8607,25 @@ export function registerGeneratedCommands(program) {
|
|
|
8607
8607
|
printOutput(data);
|
|
8608
8608
|
}
|
|
8609
8609
|
});
|
|
8610
|
+
g_server
|
|
8611
|
+
.command('update-builds-concurrency')
|
|
8612
|
+
.description('server updateBuildsConcurrency')
|
|
8613
|
+
.requiredOption('--serverId <value>', 'serverId')
|
|
8614
|
+
.requiredOption('--buildsConcurrency <value>', 'buildsConcurrency')
|
|
8615
|
+
.option('--json', 'Output raw JSON')
|
|
8616
|
+
.action(async (opts) => {
|
|
8617
|
+
const jsonOutput = opts.json;
|
|
8618
|
+
delete opts.json;
|
|
8619
|
+
if (opts["buildsConcurrency"] != null)
|
|
8620
|
+
opts["buildsConcurrency"] = Number(opts["buildsConcurrency"]);
|
|
8621
|
+
const data = await apiPost("server.updateBuildsConcurrency", opts);
|
|
8622
|
+
if (jsonOutput) {
|
|
8623
|
+
console.log(JSON.stringify(data, null, 2));
|
|
8624
|
+
}
|
|
8625
|
+
else {
|
|
8626
|
+
printOutput(data);
|
|
8627
|
+
}
|
|
8628
|
+
});
|
|
8610
8629
|
g_server
|
|
8611
8630
|
.command('validate')
|
|
8612
8631
|
.description('server validate')
|
|
@@ -9283,6 +9302,24 @@ export function registerGeneratedCommands(program) {
|
|
|
9283
9302
|
printOutput(data);
|
|
9284
9303
|
}
|
|
9285
9304
|
});
|
|
9305
|
+
g_settings
|
|
9306
|
+
.command('update-builds-concurrency')
|
|
9307
|
+
.description('settings updateBuildsConcurrency')
|
|
9308
|
+
.requiredOption('--buildsConcurrency <value>', 'buildsConcurrency')
|
|
9309
|
+
.option('--json', 'Output raw JSON')
|
|
9310
|
+
.action(async (opts) => {
|
|
9311
|
+
const jsonOutput = opts.json;
|
|
9312
|
+
delete opts.json;
|
|
9313
|
+
if (opts["buildsConcurrency"] != null)
|
|
9314
|
+
opts["buildsConcurrency"] = Number(opts["buildsConcurrency"]);
|
|
9315
|
+
const data = await apiPost("settings.updateBuildsConcurrency", opts);
|
|
9316
|
+
if (jsonOutput) {
|
|
9317
|
+
console.log(JSON.stringify(data, null, 2));
|
|
9318
|
+
}
|
|
9319
|
+
else {
|
|
9320
|
+
printOutput(data);
|
|
9321
|
+
}
|
|
9322
|
+
});
|
|
9286
9323
|
g_settings
|
|
9287
9324
|
.command('update-docker-cleanup')
|
|
9288
9325
|
.description('settings updateDockerCleanup')
|