@dokploy/cli 0.30.2 → 0.30.3
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 +17 -1
- package/package.json +1 -1
|
@@ -3489,7 +3489,7 @@ export function registerGeneratedCommands(program) {
|
|
|
3489
3489
|
.command('validate-domain')
|
|
3490
3490
|
.description('domain validateDomain')
|
|
3491
3491
|
.requiredOption('--domain <value>', 'domain')
|
|
3492
|
-
.option('--
|
|
3492
|
+
.option('--serverId <value>', 'serverId')
|
|
3493
3493
|
.option('--json', 'Output raw JSON')
|
|
3494
3494
|
.action(async (opts) => {
|
|
3495
3495
|
const jsonOutput = opts.json;
|
|
@@ -5919,6 +5919,22 @@ export function registerGeneratedCommands(program) {
|
|
|
5919
5919
|
printOutput(data);
|
|
5920
5920
|
}
|
|
5921
5921
|
});
|
|
5922
|
+
g_network
|
|
5923
|
+
.command('resync')
|
|
5924
|
+
.description('network resync')
|
|
5925
|
+
.requiredOption('--networkId <value>', 'networkId')
|
|
5926
|
+
.option('--json', 'Output raw JSON')
|
|
5927
|
+
.action(async (opts) => {
|
|
5928
|
+
const jsonOutput = opts.json;
|
|
5929
|
+
delete opts.json;
|
|
5930
|
+
const data = await apiPost("network.resync", opts);
|
|
5931
|
+
if (jsonOutput) {
|
|
5932
|
+
console.log(JSON.stringify(data, null, 2));
|
|
5933
|
+
}
|
|
5934
|
+
else {
|
|
5935
|
+
printOutput(data);
|
|
5936
|
+
}
|
|
5937
|
+
});
|
|
5922
5938
|
const g_notification = program.command('notification').description('notification commands');
|
|
5923
5939
|
g_notification
|
|
5924
5940
|
.command('all')
|