@dokploy/cli 0.29.5 → 0.29.7
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 +53 -2
- package/package.json +1 -1
|
@@ -7987,7 +7987,7 @@ export function registerGeneratedCommands(program) {
|
|
|
7987
7987
|
.option('--applicationId <value>', 'applicationId')
|
|
7988
7988
|
.option('--composeId <value>', 'composeId')
|
|
7989
7989
|
.option('--serverId <value>', 'serverId')
|
|
7990
|
-
.option('--
|
|
7990
|
+
.option('--organizationId <value>', 'organizationId')
|
|
7991
7991
|
.option('--enabled', 'enabled')
|
|
7992
7992
|
.option('--timezone <value>', 'timezone')
|
|
7993
7993
|
.option('--createdAt <value>', 'createdAt')
|
|
@@ -8086,7 +8086,7 @@ export function registerGeneratedCommands(program) {
|
|
|
8086
8086
|
.option('--applicationId <value>', 'applicationId')
|
|
8087
8087
|
.option('--composeId <value>', 'composeId')
|
|
8088
8088
|
.option('--serverId <value>', 'serverId')
|
|
8089
|
-
.option('--
|
|
8089
|
+
.option('--organizationId <value>', 'organizationId')
|
|
8090
8090
|
.option('--enabled', 'enabled')
|
|
8091
8091
|
.option('--timezone <value>', 'timezone')
|
|
8092
8092
|
.option('--createdAt <value>', 'createdAt')
|
|
@@ -9124,6 +9124,24 @@ export function registerGeneratedCommands(program) {
|
|
|
9124
9124
|
printOutput(data);
|
|
9125
9125
|
}
|
|
9126
9126
|
});
|
|
9127
|
+
g_settings
|
|
9128
|
+
.command('update-enforce-sso')
|
|
9129
|
+
.description('settings updateEnforceSSO')
|
|
9130
|
+
.requiredOption('--enforceSSO', 'enforceSSO')
|
|
9131
|
+
.option('--json', 'Output raw JSON')
|
|
9132
|
+
.action(async (opts) => {
|
|
9133
|
+
const jsonOutput = opts.json;
|
|
9134
|
+
delete opts.json;
|
|
9135
|
+
if (opts["enforceSSO"] != null)
|
|
9136
|
+
opts["enforceSSO"] = opts["enforceSSO"] === true || opts["enforceSSO"] === "true";
|
|
9137
|
+
const data = await apiPost("settings.updateEnforceSSO", opts);
|
|
9138
|
+
if (jsonOutput) {
|
|
9139
|
+
console.log(JSON.stringify(data, null, 2));
|
|
9140
|
+
}
|
|
9141
|
+
else {
|
|
9142
|
+
printOutput(data);
|
|
9143
|
+
}
|
|
9144
|
+
});
|
|
9127
9145
|
g_settings
|
|
9128
9146
|
.command('update-log-cleanup')
|
|
9129
9147
|
.description('settings updateLogCleanup')
|
|
@@ -9156,6 +9174,24 @@ export function registerGeneratedCommands(program) {
|
|
|
9156
9174
|
printOutput(data);
|
|
9157
9175
|
}
|
|
9158
9176
|
});
|
|
9177
|
+
g_settings
|
|
9178
|
+
.command('update-remote-servers-only')
|
|
9179
|
+
.description('settings updateRemoteServersOnly')
|
|
9180
|
+
.requiredOption('--remoteServersOnly', 'remoteServersOnly')
|
|
9181
|
+
.option('--json', 'Output raw JSON')
|
|
9182
|
+
.action(async (opts) => {
|
|
9183
|
+
const jsonOutput = opts.json;
|
|
9184
|
+
delete opts.json;
|
|
9185
|
+
if (opts["remoteServersOnly"] != null)
|
|
9186
|
+
opts["remoteServersOnly"] = opts["remoteServersOnly"] === true || opts["remoteServersOnly"] === "true";
|
|
9187
|
+
const data = await apiPost("settings.updateRemoteServersOnly", opts);
|
|
9188
|
+
if (jsonOutput) {
|
|
9189
|
+
console.log(JSON.stringify(data, null, 2));
|
|
9190
|
+
}
|
|
9191
|
+
else {
|
|
9192
|
+
printOutput(data);
|
|
9193
|
+
}
|
|
9194
|
+
});
|
|
9159
9195
|
g_settings
|
|
9160
9196
|
.command('update-server')
|
|
9161
9197
|
.description('settings updateServer')
|
|
@@ -9422,6 +9458,21 @@ export function registerGeneratedCommands(program) {
|
|
|
9422
9458
|
printOutput(data);
|
|
9423
9459
|
}
|
|
9424
9460
|
});
|
|
9461
|
+
g_sso
|
|
9462
|
+
.command('enforce-sso')
|
|
9463
|
+
.description('sso enforceSSO')
|
|
9464
|
+
.option('--json', 'Output raw JSON')
|
|
9465
|
+
.action(async (opts) => {
|
|
9466
|
+
const jsonOutput = opts.json;
|
|
9467
|
+
delete opts.json;
|
|
9468
|
+
const data = await apiGet("sso.enforceSSO", opts);
|
|
9469
|
+
if (jsonOutput) {
|
|
9470
|
+
console.log(JSON.stringify(data, null, 2));
|
|
9471
|
+
}
|
|
9472
|
+
else {
|
|
9473
|
+
printOutput(data);
|
|
9474
|
+
}
|
|
9475
|
+
});
|
|
9425
9476
|
g_sso
|
|
9426
9477
|
.command('get-trusted-origins')
|
|
9427
9478
|
.description('sso getTrustedOrigins')
|