@dokploy/cli 0.29.10 → 0.29.11
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 +48 -0
- package/package.json +1 -1
|
@@ -8276,6 +8276,54 @@ export function registerGeneratedCommands(program) {
|
|
|
8276
8276
|
printOutput(data);
|
|
8277
8277
|
}
|
|
8278
8278
|
});
|
|
8279
|
+
const g_scim = program.command('scim').description('scim commands');
|
|
8280
|
+
g_scim
|
|
8281
|
+
.command('delete-provider')
|
|
8282
|
+
.description('scim deleteProvider')
|
|
8283
|
+
.requiredOption('--providerId <value>', 'providerId')
|
|
8284
|
+
.option('--json', 'Output raw JSON')
|
|
8285
|
+
.action(async (opts) => {
|
|
8286
|
+
const jsonOutput = opts.json;
|
|
8287
|
+
delete opts.json;
|
|
8288
|
+
const data = await apiPost("scim.deleteProvider", opts);
|
|
8289
|
+
if (jsonOutput) {
|
|
8290
|
+
console.log(JSON.stringify(data, null, 2));
|
|
8291
|
+
}
|
|
8292
|
+
else {
|
|
8293
|
+
printOutput(data);
|
|
8294
|
+
}
|
|
8295
|
+
});
|
|
8296
|
+
g_scim
|
|
8297
|
+
.command('generate-token')
|
|
8298
|
+
.description('scim generateToken')
|
|
8299
|
+
.requiredOption('--providerId <value>', 'providerId')
|
|
8300
|
+
.option('--json', 'Output raw JSON')
|
|
8301
|
+
.action(async (opts) => {
|
|
8302
|
+
const jsonOutput = opts.json;
|
|
8303
|
+
delete opts.json;
|
|
8304
|
+
const data = await apiPost("scim.generateToken", opts);
|
|
8305
|
+
if (jsonOutput) {
|
|
8306
|
+
console.log(JSON.stringify(data, null, 2));
|
|
8307
|
+
}
|
|
8308
|
+
else {
|
|
8309
|
+
printOutput(data);
|
|
8310
|
+
}
|
|
8311
|
+
});
|
|
8312
|
+
g_scim
|
|
8313
|
+
.command('list-providers')
|
|
8314
|
+
.description('scim listProviders')
|
|
8315
|
+
.option('--json', 'Output raw JSON')
|
|
8316
|
+
.action(async (opts) => {
|
|
8317
|
+
const jsonOutput = opts.json;
|
|
8318
|
+
delete opts.json;
|
|
8319
|
+
const data = await apiGet("scim.listProviders", opts);
|
|
8320
|
+
if (jsonOutput) {
|
|
8321
|
+
console.log(JSON.stringify(data, null, 2));
|
|
8322
|
+
}
|
|
8323
|
+
else {
|
|
8324
|
+
printOutput(data);
|
|
8325
|
+
}
|
|
8326
|
+
});
|
|
8279
8327
|
const g_security = program.command('security').description('security commands');
|
|
8280
8328
|
g_security
|
|
8281
8329
|
.command('create')
|