@dokploy/cli 0.30.4 → 0.30.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.
- package/dist/generated/commands.js +83 -0
- package/package.json +1 -1
|
@@ -386,6 +386,23 @@ export function registerGeneratedCommands(program) {
|
|
|
386
386
|
printOutput(data);
|
|
387
387
|
}
|
|
388
388
|
});
|
|
389
|
+
g_application
|
|
390
|
+
.command('deploy-nginx-quickstart')
|
|
391
|
+
.description('application deployNginxQuickstart')
|
|
392
|
+
.requiredOption('--environmentId <value>', 'environmentId')
|
|
393
|
+
.option('--serverId <value>', 'serverId')
|
|
394
|
+
.option('--json', 'Output raw JSON')
|
|
395
|
+
.action(async (opts) => {
|
|
396
|
+
const jsonOutput = opts.json;
|
|
397
|
+
delete opts.json;
|
|
398
|
+
const data = await apiPost("application.deployNginxQuickstart", opts);
|
|
399
|
+
if (jsonOutput) {
|
|
400
|
+
console.log(JSON.stringify(data, null, 2));
|
|
401
|
+
}
|
|
402
|
+
else {
|
|
403
|
+
printOutput(data);
|
|
404
|
+
}
|
|
405
|
+
});
|
|
389
406
|
g_application
|
|
390
407
|
.command('disconnect-git-provider')
|
|
391
408
|
.description('application disconnectGitProvider')
|
|
@@ -1661,10 +1678,13 @@ export function registerGeneratedCommands(program) {
|
|
|
1661
1678
|
.requiredOption('--composeId <value>', 'composeId')
|
|
1662
1679
|
.option('--title <value>', 'title')
|
|
1663
1680
|
.option('--description <value>', 'description')
|
|
1681
|
+
.option('--freshVolumes', 'freshVolumes')
|
|
1664
1682
|
.option('--json', 'Output raw JSON')
|
|
1665
1683
|
.action(async (opts) => {
|
|
1666
1684
|
const jsonOutput = opts.json;
|
|
1667
1685
|
delete opts.json;
|
|
1686
|
+
if (opts["freshVolumes"] != null)
|
|
1687
|
+
opts["freshVolumes"] = opts["freshVolumes"] === true || opts["freshVolumes"] === "true";
|
|
1668
1688
|
const data = await apiPost("compose.deploy", opts);
|
|
1669
1689
|
if (jsonOutput) {
|
|
1670
1690
|
console.log(JSON.stringify(data, null, 2));
|
|
@@ -1969,10 +1989,13 @@ export function registerGeneratedCommands(program) {
|
|
|
1969
1989
|
.requiredOption('--composeId <value>', 'composeId')
|
|
1970
1990
|
.option('--title <value>', 'title')
|
|
1971
1991
|
.option('--description <value>', 'description')
|
|
1992
|
+
.option('--freshVolumes', 'freshVolumes')
|
|
1972
1993
|
.option('--json', 'Output raw JSON')
|
|
1973
1994
|
.action(async (opts) => {
|
|
1974
1995
|
const jsonOutput = opts.json;
|
|
1975
1996
|
delete opts.json;
|
|
1997
|
+
if (opts["freshVolumes"] != null)
|
|
1998
|
+
opts["freshVolumes"] = opts["freshVolumes"] === true || opts["freshVolumes"] === "true";
|
|
1976
1999
|
const data = await apiPost("compose.redeploy", opts);
|
|
1977
2000
|
if (jsonOutput) {
|
|
1978
2001
|
console.log(JSON.stringify(data, null, 2));
|
|
@@ -8317,6 +8340,21 @@ export function registerGeneratedCommands(program) {
|
|
|
8317
8340
|
printOutput(data);
|
|
8318
8341
|
}
|
|
8319
8342
|
});
|
|
8343
|
+
g_project
|
|
8344
|
+
.command('complete-onboarding')
|
|
8345
|
+
.description('project completeOnboarding')
|
|
8346
|
+
.option('--json', 'Output raw JSON')
|
|
8347
|
+
.action(async (opts) => {
|
|
8348
|
+
const jsonOutput = opts.json;
|
|
8349
|
+
delete opts.json;
|
|
8350
|
+
const data = await apiPost("project.completeOnboarding", opts);
|
|
8351
|
+
if (jsonOutput) {
|
|
8352
|
+
console.log(JSON.stringify(data, null, 2));
|
|
8353
|
+
}
|
|
8354
|
+
else {
|
|
8355
|
+
printOutput(data);
|
|
8356
|
+
}
|
|
8357
|
+
});
|
|
8320
8358
|
g_project
|
|
8321
8359
|
.command('create')
|
|
8322
8360
|
.description('project create')
|
|
@@ -8375,6 +8413,21 @@ export function registerGeneratedCommands(program) {
|
|
|
8375
8413
|
printOutput(data);
|
|
8376
8414
|
}
|
|
8377
8415
|
});
|
|
8416
|
+
g_project
|
|
8417
|
+
.command('onboarding-status')
|
|
8418
|
+
.description('project onboardingStatus')
|
|
8419
|
+
.option('--json', 'Output raw JSON')
|
|
8420
|
+
.action(async (opts) => {
|
|
8421
|
+
const jsonOutput = opts.json;
|
|
8422
|
+
delete opts.json;
|
|
8423
|
+
const data = await apiGet("project.onboardingStatus", opts);
|
|
8424
|
+
if (jsonOutput) {
|
|
8425
|
+
console.log(JSON.stringify(data, null, 2));
|
|
8426
|
+
}
|
|
8427
|
+
else {
|
|
8428
|
+
printOutput(data);
|
|
8429
|
+
}
|
|
8430
|
+
});
|
|
8378
8431
|
g_project
|
|
8379
8432
|
.command('one')
|
|
8380
8433
|
.description('project one')
|
|
@@ -10793,6 +10846,21 @@ export function registerGeneratedCommands(program) {
|
|
|
10793
10846
|
printOutput(data);
|
|
10794
10847
|
}
|
|
10795
10848
|
});
|
|
10849
|
+
g_stripe
|
|
10850
|
+
.command('get-billing-status')
|
|
10851
|
+
.description('stripe getBillingStatus')
|
|
10852
|
+
.option('--json', 'Output raw JSON')
|
|
10853
|
+
.action(async (opts) => {
|
|
10854
|
+
const jsonOutput = opts.json;
|
|
10855
|
+
delete opts.json;
|
|
10856
|
+
const data = await apiGet("stripe.getBillingStatus", opts);
|
|
10857
|
+
if (jsonOutput) {
|
|
10858
|
+
console.log(JSON.stringify(data, null, 2));
|
|
10859
|
+
}
|
|
10860
|
+
else {
|
|
10861
|
+
printOutput(data);
|
|
10862
|
+
}
|
|
10863
|
+
});
|
|
10796
10864
|
g_stripe
|
|
10797
10865
|
.command('get-current-plan')
|
|
10798
10866
|
.description('stripe getCurrentPlan')
|
|
@@ -10838,6 +10906,21 @@ export function registerGeneratedCommands(program) {
|
|
|
10838
10906
|
printOutput(data);
|
|
10839
10907
|
}
|
|
10840
10908
|
});
|
|
10909
|
+
g_stripe
|
|
10910
|
+
.command('start-free-trial')
|
|
10911
|
+
.description('stripe startFreeTrial')
|
|
10912
|
+
.option('--json', 'Output raw JSON')
|
|
10913
|
+
.action(async (opts) => {
|
|
10914
|
+
const jsonOutput = opts.json;
|
|
10915
|
+
delete opts.json;
|
|
10916
|
+
const data = await apiPost("stripe.startFreeTrial", opts);
|
|
10917
|
+
if (jsonOutput) {
|
|
10918
|
+
console.log(JSON.stringify(data, null, 2));
|
|
10919
|
+
}
|
|
10920
|
+
else {
|
|
10921
|
+
printOutput(data);
|
|
10922
|
+
}
|
|
10923
|
+
});
|
|
10841
10924
|
g_stripe
|
|
10842
10925
|
.command('update-invoice-notifications')
|
|
10843
10926
|
.description('stripe updateInvoiceNotifications')
|