@dokploy/cli 0.29.5 → 0.29.6

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.
@@ -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')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dokploy/cli",
3
3
  "description": "A CLI to manage dokploy server remotely",
4
- "version": "0.29.5",
4
+ "version": "0.29.6",
5
5
  "author": "Mauricio Siu",
6
6
  "licenses": [
7
7
  {