@depup/vercel 57.0.0-depup.0 → 58.4.4-depup.0
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/README.md +5 -5
- package/changes.json +4 -4
- package/dist/chunks/{add-YRZTDNXX.js → add-245XOFJO.js} +14 -9
- package/dist/chunks/{add-7M577U56.js → add-P7WBQMBW.js} +10 -8
- package/dist/chunks/add-XH24V5VU.js +187 -0
- package/dist/chunks/build-M7NJYJPE.js +243 -0
- package/dist/chunks/{chunk-HD7B425F.js → chunk-2FMPLU44.js} +4 -4
- package/dist/chunks/{chunk-LMHT3QR3.js → chunk-2LBVX2H3.js} +3 -3
- package/dist/chunks/{chunk-YOZCJHLZ.js → chunk-2MAPZXVV.js} +10 -8
- package/dist/chunks/{chunk-DWMH5M4Q.js → chunk-2SFMOCWR.js} +1 -1
- package/dist/chunks/{chunk-F5PQWDOC.js → chunk-2WILSD7J.js} +1 -1
- package/dist/chunks/{chunk-3PKFXNJZ.js → chunk-3KNPVXJ3.js} +7 -5
- package/dist/chunks/{chunk-A2TYQBX2.js → chunk-3QAUXPIR.js} +927 -518
- package/dist/chunks/chunk-3ZE5CFVM.js +346 -0
- package/dist/chunks/{chunk-555WJSO5.js → chunk-4BUPRO5B.js} +7 -5
- package/dist/chunks/{chunk-TBR2Q37Y.js → chunk-4CCY5OPH.js} +1232 -1216
- package/dist/chunks/{chunk-FHEMFAHB.js → chunk-4LDQIDRM.js} +15 -9
- package/dist/chunks/{chunk-R5FOIIHT.js → chunk-4N7XLXM2.js} +2 -2
- package/dist/chunks/{chunk-KCF6S3XF.js → chunk-4UYKSYKQ.js} +10 -6
- package/dist/chunks/{chunk-GP5VCTEU.js → chunk-62MH5KPX.js} +207 -4
- package/dist/chunks/{chunk-OGG6UBXK.js → chunk-7QVJTI5H.js} +1 -1
- package/dist/chunks/{chunk-FYQPTH5C.js → chunk-A5KP5HAI.js} +7 -5
- package/dist/chunks/{chunk-2EDWKVNP.js → chunk-AQDWMAPM.js} +32 -16
- package/dist/chunks/{chunk-3VS4DTAU.js → chunk-AW5YINX6.js} +106 -12
- package/dist/chunks/{chunk-GIL3VAUR.js → chunk-B3JTF4CF.js} +5 -3
- package/dist/chunks/{chunk-4QVAYRYH.js → chunk-BEQV3X2L.js} +16 -1
- package/dist/chunks/chunk-CPFNFVCL.js +85 -0
- package/dist/chunks/{chunk-4G6QZSBL.js → chunk-CSJBZKC5.js} +6 -4
- package/dist/chunks/{chunk-3PGXYIKC.js → chunk-EBLH23AQ.js} +2 -2
- package/dist/chunks/{chunk-YA3WQFLY.js → chunk-GFG6QDIE.js} +1 -1
- package/dist/chunks/{chunk-IOAZNR6Z.js → chunk-HSYF5SI3.js} +1 -1
- package/dist/chunks/{chunk-F7X55TOY.js → chunk-IEDUCUDV.js} +6 -5
- package/dist/chunks/chunk-J6LK45HT.js +163 -0
- package/dist/chunks/{chunk-ZVLPUREX.js → chunk-JLWQWYKO.js} +2 -2
- package/dist/chunks/{chunk-SZXT3PDQ.js → chunk-KBEX5MYS.js} +1 -136
- package/dist/chunks/{chunk-NZRWTCRM.js → chunk-KT4XXKJK.js} +1 -1
- package/dist/chunks/{chunk-VZSZBD4V.js → chunk-M22O6CYY.js} +1 -1
- package/dist/chunks/{chunk-3242RXCN.js → chunk-M5NOLAJ4.js} +1 -1
- package/dist/chunks/{chunk-2MJROFVC.js → chunk-MAHXF73X.js} +8 -5
- package/dist/chunks/{chunk-RYO6FJFB.js → chunk-NJ6QXKQD.js} +2 -2
- package/dist/chunks/{chunk-LHFNIZ2P.js → chunk-O5GNPPTU.js} +4 -2
- package/dist/chunks/chunk-RBIFXFZX.js +52 -0
- package/dist/chunks/{chunk-OF2GNB42.js → chunk-RQ7H43CJ.js} +1 -1
- package/dist/chunks/{chunk-4PGF367U.js → chunk-SJYAUEZR.js} +232 -50
- package/dist/chunks/{chunk-KSSNLCL4.js → chunk-SOFC4MLS.js} +2 -2
- package/dist/chunks/{chunk-UDWRZXIT.js → chunk-TJJ562C5.js} +18 -14
- package/dist/chunks/{chunk-NRNMT43R.js → chunk-UE3JUVUZ.js} +7 -13
- package/dist/chunks/chunk-V5P25P7F.js +22 -0
- package/dist/chunks/{chunk-MIFDRYTN.js → chunk-XE5VSQ25.js} +2 -2
- package/dist/chunks/{chunk-QZD5DKUR.js → chunk-XIG4GH62.js} +2 -2
- package/dist/chunks/chunk-XLKFJPMT.js +150 -0
- package/dist/chunks/{chunk-MAHINYBW.js → chunk-Y5GTPWXB.js} +2 -2
- package/dist/chunks/{chunk-NH43BFJ3.js → chunk-YCPUAG77.js} +2 -2
- package/dist/chunks/{chunk-T4NODP6Y.js → chunk-YDUINEII.js} +3 -3
- package/dist/chunks/{chunk-RAFH25WW.js → chunk-ZGBBPJ6B.js} +10 -6
- package/dist/chunks/{chunk-DMSLNAVH.js → chunk-ZX2FSPWV.js} +2 -2
- package/dist/chunks/clear-HWIKQ4NC.js +132 -0
- package/dist/chunks/{compile-vercel-config-3OHO3TJA.js → compile-vercel-config-U5NRIMZ2.js} +5 -4
- package/dist/chunks/config-validator.mjs +1 -1
- package/dist/chunks/{delete-3DZOCWCC.js → delete-FZCOUFGN.js} +7 -6
- package/dist/chunks/{delete-VOSJLNEA.js → delete-NVMGVD5Z.js} +7 -6
- package/dist/chunks/{disable-LQDEVRQF.js → disable-ERM2BWEQ.js} +7 -6
- package/dist/chunks/{discard-RGV4JKXQ.js → discard-KM5OLEN4.js} +7 -6
- package/dist/chunks/{edit-SFIEOQ24.js → edit-HT3UTATZ.js} +8 -7
- package/dist/chunks/{edit-UPZPI54L.js → edit-TOSB2EMI.js} +7 -6
- package/dist/chunks/{enable-6UVH35WC.js → enable-BQL6AOQV.js} +7 -6
- package/dist/chunks/{export-6CEG3CK7.js → export-UOWQHOG3.js} +7 -6
- package/dist/chunks/{image-CQRCD2OE.js → image-F5SC6Q7Y.js} +5 -5
- package/dist/chunks/{inspect-ZFRY3X3H.js → inspect-35FU5R62.js} +16 -13
- package/dist/chunks/{inspect-UM3LDRPV.js → inspect-5J5GSTOB.js} +14 -12
- package/dist/chunks/{inspect-K5ZMQG7X.js → inspect-GKJ6T5H4.js} +14 -12
- package/dist/chunks/{inspect-4ZAH3RFT.js → inspect-LGKOLH2O.js} +8 -7
- package/dist/chunks/{inspect-EXQBIAFF.js → inspect-PZJM2CWT.js} +13 -11
- package/dist/chunks/{list-KCUHD4OA.js → list-2IIE7CAP.js} +8 -7
- package/dist/chunks/{list-4DRVM7Q4.js → list-ITFJYYQ2.js} +13 -11
- package/dist/chunks/{list-FJCBOCCA.js → list-KZETH3ZE.js} +8 -6
- package/dist/chunks/{login-DFGYNU3K.js → login-BQPJCJEZ.js} +22 -51
- package/dist/chunks/{ls-RHEQ6YQB.js → ls-7GHDK4MD.js} +13 -11
- package/dist/chunks/{ls-CG6A7UXF.js → ls-DL2LA35C.js} +15 -13
- package/dist/chunks/{ls-34NCZKBE.js → ls-UXUEP54B.js} +15 -13
- package/dist/chunks/ls-YSFWSM6J.js +178 -0
- package/dist/chunks/{ls-4QHHVXXD.js → ls-ZZFLH7PK.js} +17 -14
- package/dist/chunks/{open-E3XADEMX.js → open-ADNJQN5E.js} +7 -6
- package/dist/chunks/permissions-72SZCBIY.js +95 -0
- package/dist/chunks/{publish-Z3AQRUCS.js → publish-OOAGSEBM.js} +7 -6
- package/dist/chunks/push-B6TZDXNF.js +183 -0
- package/dist/chunks/{query-3EV66DO3.js → query-LZWS5TDH.js} +12 -10
- package/dist/chunks/{reorder-VA5E5ZJT.js → reorder-MRHFKPMK.js} +7 -6
- package/dist/chunks/{reply-SNSCNKAW.js → reply-BKTJXO3B.js} +7 -6
- package/dist/chunks/{resolve-6ZX4RTXX.js → resolve-BKVGSGPN.js} +7 -6
- package/dist/chunks/{restore-NEHI5B5P.js → restore-USR7SKWV.js} +7 -6
- package/dist/chunks/{rm-FR6KE744.js → rm-2UO6BT3A.js} +10 -8
- package/dist/chunks/rm-37MKKV3I.js +186 -0
- package/dist/chunks/{rm-E5ZVLAKO.js → rm-KUWPNZIS.js} +15 -10
- package/dist/chunks/{rm-22B22E47.js → rm-VY3OHKFH.js} +12 -8
- package/dist/chunks/{rule-inspect-DMP2CKJQ.js → rule-inspect-JVDOOTWK.js} +13 -11
- package/dist/chunks/{rules-EYGXEI2Z.js → rules-NTBFZBIF.js} +8 -8
- package/dist/chunks/{schema-2IIWOBSQ.js → schema-6EZ72OVH.js} +11 -9
- package/dist/chunks/{tags-ZDVYRHAY.js → tags-HNPC63QA.js} +4 -4
- package/dist/chunks/{types-QKLIFDDP.js → types-QTOA2BTQ.js} +7 -5
- package/dist/chunks/{update-QH4DQMZV.js → update-LUYWNZP3.js} +10 -8
- package/dist/commands/build/index.js +16 -20
- package/dist/commands/deploy/index.js +39 -28
- package/dist/commands/dev/index.js +112 -20
- package/dist/commands/env/index.js +308 -36
- package/dist/commands/link/index.js +26 -23
- package/dist/commands/list/index.js +16 -9
- package/dist/commands-bulk.js +5414 -2654
- package/dist/help.js +1 -1
- package/dist/index.js +50 -44
- package/dist/version.mjs +1 -1
- package/package.json +47 -105
- package/dist/chunks/chunk-6OMC3HOW.js +0 -73
- package/dist/chunks/chunk-V4RMJKQP.js +0 -36
|
@@ -6,35 +6,35 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
vcrCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AW5YINX6.js";
|
|
10
10
|
import {
|
|
11
11
|
metricsCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CSJBZKC5.js";
|
|
13
13
|
import {
|
|
14
14
|
routesCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M22O6CYY.js";
|
|
16
16
|
import {
|
|
17
17
|
commentsCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4LDQIDRM.js";
|
|
19
19
|
import {
|
|
20
20
|
activityCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3KNPVXJ3.js";
|
|
22
22
|
import {
|
|
23
23
|
alertsCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MAHXF73X.js";
|
|
25
25
|
import {
|
|
26
26
|
devCommand
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7QVJTI5H.js";
|
|
28
28
|
import {
|
|
29
29
|
listCommand
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-O5GNPPTU.js";
|
|
31
31
|
import {
|
|
32
32
|
buildCommand,
|
|
33
33
|
pullCommand
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-YCPUAG77.js";
|
|
35
35
|
import {
|
|
36
36
|
envCommand
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4CCY5OPH.js";
|
|
38
38
|
import {
|
|
39
39
|
confirmOption,
|
|
40
40
|
deploymentOption,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
projectOption,
|
|
48
48
|
protectionBypassOption,
|
|
49
49
|
yesOption
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-SOFC4MLS.js";
|
|
51
51
|
import {
|
|
52
52
|
output_manager_default
|
|
53
53
|
} from "./chunk-OX7KI3LF.js";
|
|
@@ -364,7 +364,7 @@ var deployCommand = {
|
|
|
364
364
|
},
|
|
365
365
|
{
|
|
366
366
|
name: "Get every deployment file as JSON",
|
|
367
|
-
value: "vercel deploy --dry --
|
|
367
|
+
value: "vercel deploy --dry --json"
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
name: "Write Deployment URL to a file",
|
|
@@ -731,6 +731,22 @@ var createSubcommand = {
|
|
|
731
731
|
type: Boolean,
|
|
732
732
|
deprecated: false,
|
|
733
733
|
description: "Include BYOK usage in quota (default: false)"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
name: "alert-thresholds",
|
|
737
|
+
shorthand: null,
|
|
738
|
+
type: String,
|
|
739
|
+
argument: "LIST",
|
|
740
|
+
deprecated: false,
|
|
741
|
+
description: "Comma-separated spend percentages to alert at, a subset of 50,75,100 (e.g. 75,100)"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
name: "expiration",
|
|
745
|
+
shorthand: null,
|
|
746
|
+
type: String,
|
|
747
|
+
argument: "PERIOD",
|
|
748
|
+
deprecated: false,
|
|
749
|
+
description: "Expiry for the key: 7d, 30d, 60d, 90d, 1y, or none (default: none)"
|
|
734
750
|
}
|
|
735
751
|
],
|
|
736
752
|
examples: [
|
|
@@ -741,6 +757,49 @@ var createSubcommand = {
|
|
|
741
757
|
{
|
|
742
758
|
name: "Create an API key with a budget",
|
|
743
759
|
value: `${packageName} ai-gateway api-keys create --name my-key --budget 500 --refresh-period monthly`
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
name: "Create a key that expires and alerts on spend",
|
|
763
|
+
value: `${packageName} ai-gateway api-keys create --budget 500 --alert-thresholds 75,100 --expiration 90d`
|
|
764
|
+
}
|
|
765
|
+
]
|
|
766
|
+
};
|
|
767
|
+
var listSubcommand2 = {
|
|
768
|
+
name: "list",
|
|
769
|
+
aliases: ["ls"],
|
|
770
|
+
description: "List AI Gateway API keys",
|
|
771
|
+
arguments: [],
|
|
772
|
+
options: [formatOption],
|
|
773
|
+
examples: [
|
|
774
|
+
{
|
|
775
|
+
name: "List API keys",
|
|
776
|
+
value: `${packageName} ai-gateway api-keys ls`
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
|
+
};
|
|
780
|
+
var inspectSubcommand2 = {
|
|
781
|
+
name: "inspect",
|
|
782
|
+
aliases: [],
|
|
783
|
+
description: "Show details about an AI Gateway API key",
|
|
784
|
+
arguments: [{ name: "id", required: true }],
|
|
785
|
+
options: [formatOption],
|
|
786
|
+
examples: [
|
|
787
|
+
{
|
|
788
|
+
name: "Inspect an API key",
|
|
789
|
+
value: `${packageName} ai-gateway api-keys inspect key_123`
|
|
790
|
+
}
|
|
791
|
+
]
|
|
792
|
+
};
|
|
793
|
+
var removeSubcommand = {
|
|
794
|
+
name: "remove",
|
|
795
|
+
aliases: ["rm", "delete"],
|
|
796
|
+
description: "Remove an AI Gateway API key",
|
|
797
|
+
arguments: [{ name: "id", required: true }],
|
|
798
|
+
options: [yesOption, formatOption],
|
|
799
|
+
examples: [
|
|
800
|
+
{
|
|
801
|
+
name: "Remove an API key",
|
|
802
|
+
value: `${packageName} ai-gateway api-keys rm key_123`
|
|
744
803
|
}
|
|
745
804
|
]
|
|
746
805
|
};
|
|
@@ -749,7 +808,12 @@ var apiKeysSubcommand = {
|
|
|
749
808
|
aliases: [],
|
|
750
809
|
description: "Manage AI Gateway API keys",
|
|
751
810
|
arguments: [],
|
|
752
|
-
subcommands: [
|
|
811
|
+
subcommands: [
|
|
812
|
+
createSubcommand,
|
|
813
|
+
listSubcommand2,
|
|
814
|
+
inspectSubcommand2,
|
|
815
|
+
removeSubcommand
|
|
816
|
+
],
|
|
753
817
|
options: [],
|
|
754
818
|
examples: []
|
|
755
819
|
};
|
|
@@ -799,7 +863,8 @@ var rulesAddSubcommand = {
|
|
|
799
863
|
deprecated: false,
|
|
800
864
|
description: "Human-readable description of the rule"
|
|
801
865
|
},
|
|
802
|
-
formatOption
|
|
866
|
+
formatOption,
|
|
867
|
+
jsonOption
|
|
803
868
|
],
|
|
804
869
|
examples: [
|
|
805
870
|
{
|
|
@@ -825,7 +890,8 @@ var rulesListSubcommand = {
|
|
|
825
890
|
deprecated: false,
|
|
826
891
|
description: "Include disabled rules"
|
|
827
892
|
},
|
|
828
|
-
formatOption
|
|
893
|
+
formatOption,
|
|
894
|
+
jsonOption
|
|
829
895
|
],
|
|
830
896
|
examples: [
|
|
831
897
|
{
|
|
@@ -878,7 +944,8 @@ var rulesEditSubcommand = {
|
|
|
878
944
|
deprecated: false,
|
|
879
945
|
description: "Human-readable description of the rule"
|
|
880
946
|
},
|
|
881
|
-
formatOption
|
|
947
|
+
formatOption,
|
|
948
|
+
jsonOption
|
|
882
949
|
],
|
|
883
950
|
examples: [
|
|
884
951
|
{
|
|
@@ -892,7 +959,7 @@ var rulesRemoveSubcommand = {
|
|
|
892
959
|
aliases: ["rm", "delete"],
|
|
893
960
|
description: "Remove an AI Gateway routing rule",
|
|
894
961
|
arguments: [{ name: "ruleId", required: true }],
|
|
895
|
-
options: [yesOption, formatOption],
|
|
962
|
+
options: [yesOption, formatOption, jsonOption],
|
|
896
963
|
examples: [
|
|
897
964
|
{
|
|
898
965
|
name: "Remove a rule",
|
|
@@ -1034,6 +1101,14 @@ var setupSubcommand = {
|
|
|
1034
1101
|
deprecated: false,
|
|
1035
1102
|
description: "How to apply non-interactively: edit (write files, default) or prompt (emit an agent prompt on stdout; requires the macOS Keychain)"
|
|
1036
1103
|
},
|
|
1104
|
+
{
|
|
1105
|
+
name: "base-url",
|
|
1106
|
+
shorthand: null,
|
|
1107
|
+
type: String,
|
|
1108
|
+
argument: "URL",
|
|
1109
|
+
deprecated: false,
|
|
1110
|
+
description: "Override the AI Gateway base URL written into agent configs (advanced; e.g. a preview deployment). Written verbatim."
|
|
1111
|
+
},
|
|
1037
1112
|
yesOption
|
|
1038
1113
|
],
|
|
1039
1114
|
examples: [
|
|
@@ -1056,6 +1131,10 @@ var setupSubcommand = {
|
|
|
1056
1131
|
{
|
|
1057
1132
|
name: "Reuse an existing key and preview changes only",
|
|
1058
1133
|
value: `${packageName} ai-gateway coding-agents setup --key <key> --dry-run`
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
name: "Point an agent at a different gateway base URL",
|
|
1137
|
+
value: `${packageName} ai-gateway coding-agents setup --agent codex --base-url https://preview.ai-gateway.vercel.sh/v1`
|
|
1059
1138
|
}
|
|
1060
1139
|
]
|
|
1061
1140
|
};
|
|
@@ -1073,7 +1152,7 @@ var modelsListSubcommand = {
|
|
|
1073
1152
|
aliases: ["ls"],
|
|
1074
1153
|
description: "List AI Gateway models",
|
|
1075
1154
|
arguments: [],
|
|
1076
|
-
options: [formatOption],
|
|
1155
|
+
options: [formatOption, jsonOption],
|
|
1077
1156
|
examples: [
|
|
1078
1157
|
{
|
|
1079
1158
|
name: "List available models",
|
|
@@ -1086,7 +1165,7 @@ var modelsEndpointsSubcommand = {
|
|
|
1086
1165
|
aliases: [],
|
|
1087
1166
|
description: "List provider endpoints for an AI Gateway model",
|
|
1088
1167
|
arguments: [{ name: "model", required: true }],
|
|
1089
|
-
options: [formatOption],
|
|
1168
|
+
options: [formatOption, jsonOption],
|
|
1090
1169
|
examples: [
|
|
1091
1170
|
{
|
|
1092
1171
|
name: "List provider endpoints for a model",
|
|
@@ -1135,7 +1214,8 @@ var budgetsSetSubcommand = {
|
|
|
1135
1214
|
deprecated: false,
|
|
1136
1215
|
description: "Include BYOK usage in the budget (default: false)"
|
|
1137
1216
|
},
|
|
1138
|
-
formatOption
|
|
1217
|
+
formatOption,
|
|
1218
|
+
jsonOption
|
|
1139
1219
|
],
|
|
1140
1220
|
examples: [
|
|
1141
1221
|
{
|
|
@@ -1153,7 +1233,7 @@ var budgetsListSubcommand = {
|
|
|
1153
1233
|
aliases: ["ls"],
|
|
1154
1234
|
description: "List AI Gateway budgets",
|
|
1155
1235
|
arguments: [],
|
|
1156
|
-
options: [formatOption],
|
|
1236
|
+
options: [formatOption, jsonOption],
|
|
1157
1237
|
examples: [
|
|
1158
1238
|
{
|
|
1159
1239
|
name: "List budgets",
|
|
@@ -1169,7 +1249,7 @@ var budgetsRemoveSubcommand = {
|
|
|
1169
1249
|
{ name: "scope", required: true },
|
|
1170
1250
|
{ name: "name", required: false }
|
|
1171
1251
|
],
|
|
1172
|
-
options: [yesOption, formatOption],
|
|
1252
|
+
options: [yesOption, formatOption, jsonOption],
|
|
1173
1253
|
examples: [
|
|
1174
1254
|
{
|
|
1175
1255
|
name: "Remove the team budget",
|
|
@@ -1181,6 +1261,143 @@ var budgetsRemoveSubcommand = {
|
|
|
1181
1261
|
}
|
|
1182
1262
|
]
|
|
1183
1263
|
};
|
|
1264
|
+
var leaderboardFormatOption = {
|
|
1265
|
+
name: "format",
|
|
1266
|
+
shorthand: "F",
|
|
1267
|
+
type: String,
|
|
1268
|
+
argument: "FORMAT",
|
|
1269
|
+
deprecated: false,
|
|
1270
|
+
description: "Output format: table, json, or csv (default: table in a terminal, json otherwise)"
|
|
1271
|
+
};
|
|
1272
|
+
var leaderboardOutOption = {
|
|
1273
|
+
name: "out",
|
|
1274
|
+
shorthand: "o",
|
|
1275
|
+
type: String,
|
|
1276
|
+
argument: "FILE",
|
|
1277
|
+
deprecated: false,
|
|
1278
|
+
description: "Write the payload to a file instead of stdout (defaults to json; use --format csv for CSV)"
|
|
1279
|
+
};
|
|
1280
|
+
var leaderboardModalityOption = {
|
|
1281
|
+
name: "modality",
|
|
1282
|
+
shorthand: null,
|
|
1283
|
+
type: String,
|
|
1284
|
+
argument: "MODALITY",
|
|
1285
|
+
deprecated: false,
|
|
1286
|
+
description: "Filter by modality: all, text, image, or video (default: all)"
|
|
1287
|
+
};
|
|
1288
|
+
var leaderboardMetricOption = {
|
|
1289
|
+
name: "metric",
|
|
1290
|
+
shorthand: null,
|
|
1291
|
+
type: String,
|
|
1292
|
+
argument: "METRIC",
|
|
1293
|
+
deprecated: false,
|
|
1294
|
+
description: "Metric for the table view: requests, tokens, spend, imageCount, or videoCount (default: requests)"
|
|
1295
|
+
};
|
|
1296
|
+
var leaderboardDateOption = {
|
|
1297
|
+
name: "date",
|
|
1298
|
+
shorthand: null,
|
|
1299
|
+
type: String,
|
|
1300
|
+
argument: "YYYY-MM-DD",
|
|
1301
|
+
deprecated: false,
|
|
1302
|
+
description: "Day to show in the table view (default: most recent)"
|
|
1303
|
+
};
|
|
1304
|
+
var leaderboardModelsSubcommand = {
|
|
1305
|
+
name: "models",
|
|
1306
|
+
aliases: [],
|
|
1307
|
+
description: "Show the most-used models on AI Gateway",
|
|
1308
|
+
arguments: [],
|
|
1309
|
+
options: [
|
|
1310
|
+
leaderboardModalityOption,
|
|
1311
|
+
leaderboardMetricOption,
|
|
1312
|
+
leaderboardDateOption,
|
|
1313
|
+
leaderboardFormatOption,
|
|
1314
|
+
leaderboardOutOption
|
|
1315
|
+
],
|
|
1316
|
+
examples: [
|
|
1317
|
+
{
|
|
1318
|
+
name: "Show the top text models",
|
|
1319
|
+
value: `${packageName} ai-gateway leaderboard models --modality text`
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
name: "Export the full model data as CSV",
|
|
1323
|
+
value: `${packageName} ai-gateway leaderboard models --format csv --out models.csv`
|
|
1324
|
+
}
|
|
1325
|
+
]
|
|
1326
|
+
};
|
|
1327
|
+
var budgetsDefaultsListSubcommand = {
|
|
1328
|
+
name: "list",
|
|
1329
|
+
aliases: ["ls"],
|
|
1330
|
+
description: "List the team's AI Gateway budget defaults",
|
|
1331
|
+
arguments: [],
|
|
1332
|
+
options: [formatOption],
|
|
1333
|
+
examples: [
|
|
1334
|
+
{
|
|
1335
|
+
name: "List budget defaults",
|
|
1336
|
+
value: `${packageName} ai-gateway budgets defaults ls`
|
|
1337
|
+
}
|
|
1338
|
+
]
|
|
1339
|
+
};
|
|
1340
|
+
var budgetsDefaultsSetSubcommand = {
|
|
1341
|
+
name: "set",
|
|
1342
|
+
aliases: [],
|
|
1343
|
+
description: "Create or update the AI Gateway budget default for a scope (project or api-key), applied to resources of that scope without an explicit budget",
|
|
1344
|
+
arguments: [{ name: "scope", required: true }],
|
|
1345
|
+
options: [
|
|
1346
|
+
{
|
|
1347
|
+
name: "limit",
|
|
1348
|
+
shorthand: null,
|
|
1349
|
+
type: Number,
|
|
1350
|
+
argument: "AMOUNT",
|
|
1351
|
+
deprecated: false,
|
|
1352
|
+
description: "Default budget limit in dollars (minimum 1)"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
name: "refresh-period",
|
|
1356
|
+
shorthand: null,
|
|
1357
|
+
type: String,
|
|
1358
|
+
argument: "PERIOD",
|
|
1359
|
+
deprecated: false,
|
|
1360
|
+
description: "Budget refresh cadence: daily, weekly, monthly, or none (default: monthly)"
|
|
1361
|
+
},
|
|
1362
|
+
formatOption
|
|
1363
|
+
],
|
|
1364
|
+
examples: [
|
|
1365
|
+
{
|
|
1366
|
+
name: "Set the per-project default",
|
|
1367
|
+
value: `${packageName} ai-gateway budgets defaults set project --limit 200 --refresh-period monthly`
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
name: "Set the per-api-key default",
|
|
1371
|
+
value: `${packageName} ai-gateway budgets defaults set api-key --limit 50`
|
|
1372
|
+
}
|
|
1373
|
+
]
|
|
1374
|
+
};
|
|
1375
|
+
var budgetsDefaultsRemoveSubcommand = {
|
|
1376
|
+
name: "remove",
|
|
1377
|
+
aliases: ["rm", "delete"],
|
|
1378
|
+
description: "Remove the AI Gateway budget default for a scope (project or api-key)",
|
|
1379
|
+
arguments: [{ name: "scope", required: true }],
|
|
1380
|
+
options: [yesOption, formatOption],
|
|
1381
|
+
examples: [
|
|
1382
|
+
{
|
|
1383
|
+
name: "Remove the per-project default",
|
|
1384
|
+
value: `${packageName} ai-gateway budgets defaults rm project`
|
|
1385
|
+
}
|
|
1386
|
+
]
|
|
1387
|
+
};
|
|
1388
|
+
var budgetsDefaultsSubcommand = {
|
|
1389
|
+
name: "defaults",
|
|
1390
|
+
aliases: [],
|
|
1391
|
+
description: "Manage AI Gateway budget defaults (per-project and per-api-key spend limits applied by default)",
|
|
1392
|
+
arguments: [],
|
|
1393
|
+
subcommands: [
|
|
1394
|
+
budgetsDefaultsListSubcommand,
|
|
1395
|
+
budgetsDefaultsSetSubcommand,
|
|
1396
|
+
budgetsDefaultsRemoveSubcommand
|
|
1397
|
+
],
|
|
1398
|
+
options: [],
|
|
1399
|
+
examples: []
|
|
1400
|
+
};
|
|
1184
1401
|
var budgetsSubcommand = {
|
|
1185
1402
|
name: "budgets",
|
|
1186
1403
|
aliases: [],
|
|
@@ -1189,7 +1406,67 @@ var budgetsSubcommand = {
|
|
|
1189
1406
|
subcommands: [
|
|
1190
1407
|
budgetsSetSubcommand,
|
|
1191
1408
|
budgetsListSubcommand,
|
|
1192
|
-
budgetsRemoveSubcommand
|
|
1409
|
+
budgetsRemoveSubcommand,
|
|
1410
|
+
budgetsDefaultsSubcommand
|
|
1411
|
+
],
|
|
1412
|
+
options: [],
|
|
1413
|
+
examples: []
|
|
1414
|
+
};
|
|
1415
|
+
var leaderboardLabsSubcommand = {
|
|
1416
|
+
name: "labs",
|
|
1417
|
+
aliases: [],
|
|
1418
|
+
description: "Show the most-used model creators (labs) on AI Gateway",
|
|
1419
|
+
arguments: [],
|
|
1420
|
+
options: [
|
|
1421
|
+
leaderboardModalityOption,
|
|
1422
|
+
leaderboardMetricOption,
|
|
1423
|
+
leaderboardDateOption,
|
|
1424
|
+
leaderboardFormatOption,
|
|
1425
|
+
leaderboardOutOption
|
|
1426
|
+
],
|
|
1427
|
+
examples: [
|
|
1428
|
+
{
|
|
1429
|
+
name: "Show the top labs by spend",
|
|
1430
|
+
value: `${packageName} ai-gateway leaderboard labs --metric spend`
|
|
1431
|
+
}
|
|
1432
|
+
]
|
|
1433
|
+
};
|
|
1434
|
+
var leaderboardAppsSubcommand = {
|
|
1435
|
+
name: "apps",
|
|
1436
|
+
aliases: [],
|
|
1437
|
+
description: "Show the top apps built on AI Gateway",
|
|
1438
|
+
arguments: [],
|
|
1439
|
+
options: [leaderboardFormatOption, leaderboardOutOption],
|
|
1440
|
+
examples: [
|
|
1441
|
+
{
|
|
1442
|
+
name: "Show the top apps",
|
|
1443
|
+
value: `${packageName} ai-gateway leaderboard apps`
|
|
1444
|
+
}
|
|
1445
|
+
]
|
|
1446
|
+
};
|
|
1447
|
+
var leaderboardProvidersSubcommand = {
|
|
1448
|
+
name: "providers",
|
|
1449
|
+
aliases: [],
|
|
1450
|
+
description: "Show the top inference providers on AI Gateway",
|
|
1451
|
+
arguments: [],
|
|
1452
|
+
options: [leaderboardFormatOption, leaderboardOutOption],
|
|
1453
|
+
examples: [
|
|
1454
|
+
{
|
|
1455
|
+
name: "Show the top providers as JSON",
|
|
1456
|
+
value: `${packageName} ai-gateway leaderboard providers --format json`
|
|
1457
|
+
}
|
|
1458
|
+
]
|
|
1459
|
+
};
|
|
1460
|
+
var leaderboardSubcommand = {
|
|
1461
|
+
name: "leaderboard",
|
|
1462
|
+
aliases: ["leaderboards"],
|
|
1463
|
+
description: "Explore AI Gateway usage leaderboards (open, anonymized data under CC BY 4.0)",
|
|
1464
|
+
arguments: [],
|
|
1465
|
+
subcommands: [
|
|
1466
|
+
leaderboardModelsSubcommand,
|
|
1467
|
+
leaderboardLabsSubcommand,
|
|
1468
|
+
leaderboardAppsSubcommand,
|
|
1469
|
+
leaderboardProvidersSubcommand
|
|
1193
1470
|
],
|
|
1194
1471
|
options: [],
|
|
1195
1472
|
examples: []
|
|
@@ -1204,7 +1481,8 @@ var aiGatewayCommand = {
|
|
|
1204
1481
|
budgetsSubcommand,
|
|
1205
1482
|
rulesSubcommand,
|
|
1206
1483
|
codingAgentsSubcommand,
|
|
1207
|
-
modelsSubcommand
|
|
1484
|
+
modelsSubcommand,
|
|
1485
|
+
leaderboardSubcommand
|
|
1208
1486
|
],
|
|
1209
1487
|
options: [],
|
|
1210
1488
|
examples: []
|
|
@@ -1229,15 +1507,15 @@ var setSubcommand = {
|
|
|
1229
1507
|
options: [],
|
|
1230
1508
|
examples: []
|
|
1231
1509
|
};
|
|
1232
|
-
var
|
|
1510
|
+
var listSubcommand3 = {
|
|
1233
1511
|
name: "list",
|
|
1234
1512
|
aliases: ["ls"],
|
|
1235
1513
|
description: "Show all aliases",
|
|
1236
1514
|
arguments: [],
|
|
1237
|
-
options: [limitOption, nextOption, formatOption],
|
|
1515
|
+
options: [limitOption, nextOption, formatOption, jsonOption],
|
|
1238
1516
|
examples: []
|
|
1239
1517
|
};
|
|
1240
|
-
var
|
|
1518
|
+
var removeSubcommand2 = {
|
|
1241
1519
|
name: "remove",
|
|
1242
1520
|
aliases: ["rm"],
|
|
1243
1521
|
description: "Remove an alias using its hostname",
|
|
@@ -1260,7 +1538,7 @@ var aliasCommand = {
|
|
|
1260
1538
|
aliases: ["aliases", "ln"],
|
|
1261
1539
|
description: "Interact with deployment aliases",
|
|
1262
1540
|
arguments: [],
|
|
1263
|
-
subcommands: [
|
|
1541
|
+
subcommands: [listSubcommand3, removeSubcommand2, setSubcommand],
|
|
1264
1542
|
options: [],
|
|
1265
1543
|
examples: [
|
|
1266
1544
|
{
|
|
@@ -1287,13 +1565,14 @@ var specUrlOption = {
|
|
|
1287
1565
|
deprecated: false,
|
|
1288
1566
|
description: "Fetch endpoints from a custom OpenAPI spec URL instead of the public Vercel spec"
|
|
1289
1567
|
};
|
|
1290
|
-
var
|
|
1568
|
+
var listSubcommand4 = {
|
|
1291
1569
|
name: "list",
|
|
1292
1570
|
aliases: ["ls"],
|
|
1293
1571
|
description: "List all available API endpoints",
|
|
1294
1572
|
arguments: [],
|
|
1295
1573
|
options: [
|
|
1296
1574
|
formatOption,
|
|
1575
|
+
jsonOption,
|
|
1297
1576
|
specUrlOption,
|
|
1298
1577
|
{
|
|
1299
1578
|
name: "refresh",
|
|
@@ -1310,7 +1589,7 @@ var listSubcommand3 = {
|
|
|
1310
1589
|
},
|
|
1311
1590
|
{
|
|
1312
1591
|
name: "List all endpoints as JSON",
|
|
1313
|
-
value: `${packageName} api ls --
|
|
1592
|
+
value: `${packageName} api ls --json`
|
|
1314
1593
|
},
|
|
1315
1594
|
{
|
|
1316
1595
|
name: "List endpoints from a custom OpenAPI spec",
|
|
@@ -1328,7 +1607,7 @@ var apiCommand = {
|
|
|
1328
1607
|
required: false
|
|
1329
1608
|
}
|
|
1330
1609
|
],
|
|
1331
|
-
subcommands: [
|
|
1610
|
+
subcommands: [listSubcommand4],
|
|
1332
1611
|
options: [
|
|
1333
1612
|
{
|
|
1334
1613
|
name: "method",
|
|
@@ -1533,7 +1812,27 @@ var bisectCommand = {
|
|
|
1533
1812
|
]
|
|
1534
1813
|
};
|
|
1535
1814
|
|
|
1815
|
+
// src/util/buy/custom-environment-addon.ts
|
|
1816
|
+
var CUSTOM_ENVIRONMENTS_PER_PACK = 5;
|
|
1817
|
+
var CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT = 2;
|
|
1818
|
+
var CUSTOM_ENVIRONMENT_ADDON_ALIASES = /* @__PURE__ */ new Set([
|
|
1819
|
+
"customenvironment",
|
|
1820
|
+
"custom-environment",
|
|
1821
|
+
"custom-environments",
|
|
1822
|
+
"custom_environment",
|
|
1823
|
+
"custom_environments"
|
|
1824
|
+
]);
|
|
1825
|
+
function isCustomEnvironmentAddonAlias(name) {
|
|
1826
|
+
return CUSTOM_ENVIRONMENT_ADDON_ALIASES.has(name.toLowerCase());
|
|
1827
|
+
}
|
|
1828
|
+
function customEnvironmentPackEnvironments(packs) {
|
|
1829
|
+
return packs * CUSTOM_ENVIRONMENTS_PER_PACK;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1536
1832
|
// src/commands/buy/command.ts
|
|
1833
|
+
var EXAMPLE_CUSTOM_ENVIRONMENT_COUNT = customEnvironmentPackEnvironments(
|
|
1834
|
+
CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT
|
|
1835
|
+
);
|
|
1537
1836
|
var SUPPORTED_CREDIT_TYPES = ["v0", "gateway", "agent"];
|
|
1538
1837
|
var CREDIT_TYPE_LABELS = {
|
|
1539
1838
|
v0: "v0",
|
|
@@ -1580,12 +1879,12 @@ var creditsSubcommand = {
|
|
|
1580
1879
|
var SUPPORTED_ADDON_ALIASES = ["siem", "customEnvironment"];
|
|
1581
1880
|
var ADDON_LABELS = {
|
|
1582
1881
|
siem: "SIEM",
|
|
1583
|
-
customEnvironment: "Custom
|
|
1882
|
+
customEnvironment: "Custom Environment"
|
|
1584
1883
|
};
|
|
1585
1884
|
var addonSubcommand = {
|
|
1586
1885
|
name: "addon",
|
|
1587
|
-
aliases: ["addons"],
|
|
1588
|
-
description:
|
|
1886
|
+
aliases: ["addons", "add-on"],
|
|
1887
|
+
description: `Purchase a Vercel addon for your team. Supported addons: ${SUPPORTED_ADDON_ALIASES.join(", ")}. Custom environment purchases are per project and use packs (each pack adds ${CUSTOM_ENVIRONMENTS_PER_PACK} environments).`,
|
|
1589
1888
|
arguments: [
|
|
1590
1889
|
{
|
|
1591
1890
|
name: "addon-name",
|
|
@@ -1601,17 +1900,21 @@ var addonSubcommand = {
|
|
|
1601
1900
|
...yesOption,
|
|
1602
1901
|
description: "Skip the confirmation prompt"
|
|
1603
1902
|
},
|
|
1604
|
-
|
|
1605
|
-
|
|
1903
|
+
jsonOption,
|
|
1904
|
+
projectOption
|
|
1606
1905
|
],
|
|
1607
1906
|
examples: [
|
|
1608
1907
|
{
|
|
1609
|
-
name: "Purchase 1
|
|
1908
|
+
name: "Purchase 1 SIEM addon",
|
|
1610
1909
|
value: `${packageName} buy addon siem 1`
|
|
1611
1910
|
},
|
|
1612
1911
|
{
|
|
1613
|
-
name:
|
|
1614
|
-
value: `${packageName} buy addon customEnvironment
|
|
1912
|
+
name: `Purchase ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} custom environment packs (${EXAMPLE_CUSTOM_ENVIRONMENT_COUNT} environments) for a project`,
|
|
1913
|
+
value: `${packageName} buy addon customEnvironment ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} --project my-app`
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
name: "Remove purchased custom environment capacity",
|
|
1917
|
+
value: `${packageName} buy addon customEnvironment 0 --project my-app --yes`
|
|
1615
1918
|
}
|
|
1616
1919
|
]
|
|
1617
1920
|
};
|
|
@@ -1678,10 +1981,6 @@ var buyCommand = {
|
|
|
1678
1981
|
name: "Purchase the SIEM addon",
|
|
1679
1982
|
value: `${packageName} buy addon siem 1`
|
|
1680
1983
|
},
|
|
1681
|
-
{
|
|
1682
|
-
name: "Purchase the Custom Environments addon",
|
|
1683
|
-
value: `${packageName} buy addon customEnvironment 1`
|
|
1684
|
-
},
|
|
1685
1984
|
{
|
|
1686
1985
|
name: "Upgrade to Pro",
|
|
1687
1986
|
value: `${packageName} buy pro`
|
|
@@ -1833,7 +2132,7 @@ var cacheCommand = {
|
|
|
1833
2132
|
};
|
|
1834
2133
|
|
|
1835
2134
|
// src/commands/certs/command.ts
|
|
1836
|
-
var
|
|
2135
|
+
var removeSubcommand3 = {
|
|
1837
2136
|
name: "remove",
|
|
1838
2137
|
aliases: ["rm"],
|
|
1839
2138
|
description: "Remove a certificate by id",
|
|
@@ -1902,7 +2201,7 @@ var issueSubcommand = {
|
|
|
1902
2201
|
}
|
|
1903
2202
|
]
|
|
1904
2203
|
};
|
|
1905
|
-
var
|
|
2204
|
+
var listSubcommand5 = {
|
|
1906
2205
|
name: "list",
|
|
1907
2206
|
aliases: ["ls"],
|
|
1908
2207
|
description: "Show all available certificates",
|
|
@@ -1963,14 +2262,14 @@ var certsCommand = {
|
|
|
1963
2262
|
subcommands: [
|
|
1964
2263
|
addSubcommand2,
|
|
1965
2264
|
issueSubcommand,
|
|
1966
|
-
|
|
1967
|
-
|
|
2265
|
+
listSubcommand5,
|
|
2266
|
+
removeSubcommand3
|
|
1968
2267
|
],
|
|
1969
2268
|
options: [],
|
|
1970
2269
|
examples: [
|
|
1971
2270
|
...issueSubcommand.examples,
|
|
1972
|
-
...
|
|
1973
|
-
...
|
|
2271
|
+
...removeSubcommand3.examples,
|
|
2272
|
+
...listSubcommand5.examples
|
|
1974
2273
|
]
|
|
1975
2274
|
};
|
|
1976
2275
|
|
|
@@ -2041,7 +2340,8 @@ var createSubcommand2 = {
|
|
|
2041
2340
|
deprecated: false,
|
|
2042
2341
|
description: "Accent color for the connector icon (e.g. #1A2B3C)"
|
|
2043
2342
|
},
|
|
2044
|
-
formatOption
|
|
2343
|
+
formatOption,
|
|
2344
|
+
jsonOption
|
|
2045
2345
|
],
|
|
2046
2346
|
examples: [
|
|
2047
2347
|
{
|
|
@@ -2074,7 +2374,7 @@ var createSubcommand2 = {
|
|
|
2074
2374
|
},
|
|
2075
2375
|
{
|
|
2076
2376
|
name: "Output as JSON",
|
|
2077
|
-
value: `${packageName} connect create slack --
|
|
2377
|
+
value: `${packageName} connect create slack --json`
|
|
2078
2378
|
}
|
|
2079
2379
|
]
|
|
2080
2380
|
};
|
|
@@ -2113,7 +2413,8 @@ var updateSubcommand = {
|
|
|
2113
2413
|
deprecated: false,
|
|
2114
2414
|
description: "Accent color for the connector icon (e.g. #1A2B3C)"
|
|
2115
2415
|
},
|
|
2116
|
-
formatOption
|
|
2416
|
+
formatOption,
|
|
2417
|
+
jsonOption
|
|
2117
2418
|
],
|
|
2118
2419
|
examples: [
|
|
2119
2420
|
{
|
|
@@ -2126,11 +2427,11 @@ var updateSubcommand = {
|
|
|
2126
2427
|
},
|
|
2127
2428
|
{
|
|
2128
2429
|
name: "Output as JSON",
|
|
2129
|
-
value: `${packageName} connect update scl_abc123 --icon ./logo.png --
|
|
2430
|
+
value: `${packageName} connect update scl_abc123 --icon ./logo.png --json`
|
|
2130
2431
|
}
|
|
2131
2432
|
]
|
|
2132
2433
|
};
|
|
2133
|
-
var
|
|
2434
|
+
var listSubcommand6 = {
|
|
2134
2435
|
name: "list",
|
|
2135
2436
|
aliases: ["ls"],
|
|
2136
2437
|
description: "List connectors linked to the current project (falls back to every connector in the team when no project is linked or when --all-projects is set)",
|
|
@@ -2183,7 +2484,8 @@ var listSubcommand5 = {
|
|
|
2183
2484
|
deprecated: false,
|
|
2184
2485
|
description: "Filter by connector type (slack, github, oauth, custom). Repeatable."
|
|
2185
2486
|
},
|
|
2186
|
-
formatOption
|
|
2487
|
+
formatOption,
|
|
2488
|
+
jsonOption
|
|
2187
2489
|
],
|
|
2188
2490
|
examples: [
|
|
2189
2491
|
{
|
|
@@ -2224,11 +2526,11 @@ var listSubcommand5 = {
|
|
|
2224
2526
|
},
|
|
2225
2527
|
{
|
|
2226
2528
|
name: "Output as JSON",
|
|
2227
|
-
value: `${packageName} connect list --
|
|
2529
|
+
value: `${packageName} connect list --json`
|
|
2228
2530
|
}
|
|
2229
2531
|
]
|
|
2230
2532
|
};
|
|
2231
|
-
var
|
|
2533
|
+
var removeSubcommand4 = {
|
|
2232
2534
|
name: "remove",
|
|
2233
2535
|
aliases: ["rm"],
|
|
2234
2536
|
description: "Delete a connector",
|
|
@@ -2250,7 +2552,8 @@ var removeSubcommand3 = {
|
|
|
2250
2552
|
...yesOption,
|
|
2251
2553
|
description: "Skip the confirmation prompt when deleting a connector"
|
|
2252
2554
|
},
|
|
2253
|
-
formatOption
|
|
2555
|
+
formatOption,
|
|
2556
|
+
jsonOption
|
|
2254
2557
|
],
|
|
2255
2558
|
examples: [
|
|
2256
2559
|
{
|
|
@@ -2274,7 +2577,7 @@ var removeSubcommand3 = {
|
|
|
2274
2577
|
},
|
|
2275
2578
|
{
|
|
2276
2579
|
name: "Output as JSON",
|
|
2277
|
-
value: `${packageName} connect remove scl_abc123 --
|
|
2580
|
+
value: `${packageName} connect remove scl_abc123 --json --yes`
|
|
2278
2581
|
}
|
|
2279
2582
|
]
|
|
2280
2583
|
};
|
|
@@ -2314,7 +2617,8 @@ var tokenSubcommand = {
|
|
|
2314
2617
|
description: "Scopes (comma- or space-separated)"
|
|
2315
2618
|
},
|
|
2316
2619
|
yesOption,
|
|
2317
|
-
formatOption
|
|
2620
|
+
formatOption,
|
|
2621
|
+
jsonOption
|
|
2318
2622
|
],
|
|
2319
2623
|
examples: [
|
|
2320
2624
|
{
|
|
@@ -2339,7 +2643,7 @@ var tokenSubcommand = {
|
|
|
2339
2643
|
},
|
|
2340
2644
|
{
|
|
2341
2645
|
name: "Output as JSON (includes expiresAt, installationId, etc.)",
|
|
2342
|
-
value: `${packageName} connect token scl_abc123 --
|
|
2646
|
+
value: `${packageName} connect token scl_abc123 --json`
|
|
2343
2647
|
}
|
|
2344
2648
|
]
|
|
2345
2649
|
};
|
|
@@ -2372,7 +2676,8 @@ var revokeTokensSubcommand = {
|
|
|
2372
2676
|
...yesOption,
|
|
2373
2677
|
description: "Skip the confirmation prompt"
|
|
2374
2678
|
},
|
|
2375
|
-
formatOption
|
|
2679
|
+
formatOption,
|
|
2680
|
+
jsonOption
|
|
2376
2681
|
],
|
|
2377
2682
|
examples: [
|
|
2378
2683
|
{
|
|
@@ -2393,7 +2698,7 @@ var revokeTokensSubcommand = {
|
|
|
2393
2698
|
},
|
|
2394
2699
|
{
|
|
2395
2700
|
name: "Output as JSON",
|
|
2396
|
-
value: `${packageName} connect revoke-tokens scl_abc123 --my-tokens --yes --
|
|
2701
|
+
value: `${packageName} connect revoke-tokens scl_abc123 --my-tokens --yes --json`
|
|
2397
2702
|
}
|
|
2398
2703
|
]
|
|
2399
2704
|
};
|
|
@@ -2407,7 +2712,7 @@ var openSubcommand = {
|
|
|
2407
2712
|
required: true
|
|
2408
2713
|
}
|
|
2409
2714
|
],
|
|
2410
|
-
options: [formatOption],
|
|
2715
|
+
options: [formatOption, jsonOption],
|
|
2411
2716
|
examples: [
|
|
2412
2717
|
{
|
|
2413
2718
|
name: "Open a connector by ID",
|
|
@@ -2419,7 +2724,7 @@ var openSubcommand = {
|
|
|
2419
2724
|
},
|
|
2420
2725
|
{
|
|
2421
2726
|
name: "Print the dashboard URL as JSON",
|
|
2422
|
-
value: `${packageName} connect open scl_abc123 --
|
|
2727
|
+
value: `${packageName} connect open scl_abc123 --json`
|
|
2423
2728
|
}
|
|
2424
2729
|
]
|
|
2425
2730
|
};
|
|
@@ -2440,7 +2745,7 @@ var attachSubcommand = {
|
|
|
2440
2745
|
type: [String],
|
|
2441
2746
|
argument: "ENV",
|
|
2442
2747
|
deprecated: false,
|
|
2443
|
-
description: "Environments to enable. Repeatable and comma-separated
|
|
2748
|
+
description: "Environments to enable by system name, custom slug, or custom ID. Repeatable and comma-separated. Defaults to production, preview, and development."
|
|
2444
2749
|
},
|
|
2445
2750
|
{
|
|
2446
2751
|
...projectOption,
|
|
@@ -2462,6 +2767,14 @@ var attachSubcommand = {
|
|
|
2462
2767
|
deprecated: false,
|
|
2463
2768
|
description: "Target a specific git branch for the trigger destination (default: production). Only valid with --triggers."
|
|
2464
2769
|
},
|
|
2770
|
+
{
|
|
2771
|
+
name: "trigger-environment",
|
|
2772
|
+
shorthand: null,
|
|
2773
|
+
type: String,
|
|
2774
|
+
argument: "ENV",
|
|
2775
|
+
deprecated: false,
|
|
2776
|
+
description: "Target a custom environment by slug or stable ID. Mutually exclusive with --trigger-branch and only valid with --triggers."
|
|
2777
|
+
},
|
|
2465
2778
|
{
|
|
2466
2779
|
name: "trigger-path",
|
|
2467
2780
|
shorthand: null,
|
|
@@ -2474,17 +2787,26 @@ var attachSubcommand = {
|
|
|
2474
2787
|
...yesOption,
|
|
2475
2788
|
description: "Skip the confirmation prompt"
|
|
2476
2789
|
},
|
|
2477
|
-
formatOption
|
|
2790
|
+
formatOption,
|
|
2791
|
+
jsonOption
|
|
2478
2792
|
],
|
|
2479
2793
|
examples: [
|
|
2480
2794
|
{
|
|
2481
|
-
name: "Attach the current project
|
|
2795
|
+
name: "Attach the current project for all system environments",
|
|
2482
2796
|
value: `${packageName} connect attach scl_abc123`
|
|
2483
2797
|
},
|
|
2484
2798
|
{
|
|
2485
2799
|
name: "Restrict to specific environments",
|
|
2486
2800
|
value: `${packageName} connect attach scl_abc123 -e production -e preview`
|
|
2487
2801
|
},
|
|
2802
|
+
{
|
|
2803
|
+
name: "Attach to a custom environment by slug",
|
|
2804
|
+
value: `${packageName} connect attach scl_abc123 -e qa`
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
name: "Attach to a custom environment by stable ID",
|
|
2808
|
+
value: `${packageName} connect attach scl_abc123 -e env_qa123`
|
|
2809
|
+
},
|
|
2488
2810
|
{
|
|
2489
2811
|
name: "Attach a different project by name",
|
|
2490
2812
|
value: `${packageName} connect attach slack/my-bot --project my-app`
|
|
@@ -2497,9 +2819,13 @@ var attachSubcommand = {
|
|
|
2497
2819
|
name: "Attach and register a preview-branch trigger destination",
|
|
2498
2820
|
value: `${packageName} connect attach scl_abc123 --triggers --trigger-branch staging --trigger-path /slack`
|
|
2499
2821
|
},
|
|
2822
|
+
{
|
|
2823
|
+
name: "Attach and register a custom-environment trigger destination",
|
|
2824
|
+
value: `${packageName} connect attach scl_abc123 --triggers --trigger-environment qa --trigger-path /slack`
|
|
2825
|
+
},
|
|
2500
2826
|
{
|
|
2501
2827
|
name: "Non-interactive output as JSON",
|
|
2502
|
-
value: `${packageName} connect attach scl_abc123 --yes --
|
|
2828
|
+
value: `${packageName} connect attach scl_abc123 --yes --json`
|
|
2503
2829
|
}
|
|
2504
2830
|
]
|
|
2505
2831
|
};
|
|
@@ -2523,7 +2849,8 @@ var detachSubcommand = {
|
|
|
2523
2849
|
...yesOption,
|
|
2524
2850
|
description: "Skip the confirmation prompt"
|
|
2525
2851
|
},
|
|
2526
|
-
formatOption
|
|
2852
|
+
formatOption,
|
|
2853
|
+
jsonOption
|
|
2527
2854
|
],
|
|
2528
2855
|
examples: [
|
|
2529
2856
|
{
|
|
@@ -2536,7 +2863,7 @@ var detachSubcommand = {
|
|
|
2536
2863
|
},
|
|
2537
2864
|
{
|
|
2538
2865
|
name: "Non-interactive output as JSON",
|
|
2539
|
-
value: `${packageName} connect detach scl_abc123 --yes --
|
|
2866
|
+
value: `${packageName} connect detach scl_abc123 --yes --json`
|
|
2540
2867
|
}
|
|
2541
2868
|
]
|
|
2542
2869
|
};
|
|
@@ -2549,11 +2876,11 @@ var connexCommand = {
|
|
|
2549
2876
|
subcommands: [
|
|
2550
2877
|
createSubcommand2,
|
|
2551
2878
|
updateSubcommand,
|
|
2552
|
-
|
|
2879
|
+
listSubcommand6,
|
|
2553
2880
|
tokenSubcommand,
|
|
2554
2881
|
attachSubcommand,
|
|
2555
2882
|
detachSubcommand,
|
|
2556
|
-
|
|
2883
|
+
removeSubcommand4,
|
|
2557
2884
|
revokeTokensSubcommand,
|
|
2558
2885
|
openSubcommand
|
|
2559
2886
|
],
|
|
@@ -2595,7 +2922,7 @@ var contractCommand = {
|
|
|
2595
2922
|
},
|
|
2596
2923
|
{
|
|
2597
2924
|
name: "Show contract information for all billing periods as JSON",
|
|
2598
|
-
value: `${packageName} contract --
|
|
2925
|
+
value: `${packageName} contract --json`
|
|
2599
2926
|
}
|
|
2600
2927
|
]
|
|
2601
2928
|
};
|
|
@@ -2635,13 +2962,13 @@ var addSubcommand3 = {
|
|
|
2635
2962
|
}
|
|
2636
2963
|
]
|
|
2637
2964
|
};
|
|
2638
|
-
var
|
|
2965
|
+
var listSubcommand7 = {
|
|
2639
2966
|
name: "list",
|
|
2640
2967
|
aliases: ["ls"],
|
|
2641
2968
|
description: "List all cron jobs for a project",
|
|
2642
2969
|
default: true,
|
|
2643
2970
|
arguments: [],
|
|
2644
|
-
options: [formatOption, projectOption],
|
|
2971
|
+
options: [formatOption, jsonOption, projectOption],
|
|
2645
2972
|
examples: [
|
|
2646
2973
|
{
|
|
2647
2974
|
name: "List all cron jobs",
|
|
@@ -2649,7 +2976,7 @@ var listSubcommand6 = {
|
|
|
2649
2976
|
},
|
|
2650
2977
|
{
|
|
2651
2978
|
name: "List all cron jobs as JSON",
|
|
2652
|
-
value: `${packageName} crons ls --
|
|
2979
|
+
value: `${packageName} crons ls --json`
|
|
2653
2980
|
}
|
|
2654
2981
|
]
|
|
2655
2982
|
};
|
|
@@ -2676,7 +3003,7 @@ var cronsCommand = {
|
|
|
2676
3003
|
aliases: ["cron"],
|
|
2677
3004
|
description: "Manage cron jobs for a project",
|
|
2678
3005
|
arguments: [],
|
|
2679
|
-
subcommands: [addSubcommand3,
|
|
3006
|
+
subcommands: [addSubcommand3, listSubcommand7, runSubcommand],
|
|
2680
3007
|
options: [],
|
|
2681
3008
|
examples: []
|
|
2682
3009
|
};
|
|
@@ -2685,7 +3012,7 @@ var cronsCommand = {
|
|
|
2685
3012
|
var curlCommand = {
|
|
2686
3013
|
name: "curl",
|
|
2687
3014
|
aliases: [],
|
|
2688
|
-
description: "
|
|
3015
|
+
description: "Make curl requests to Vercel deployments with automatic protection bypass.",
|
|
2689
3016
|
arguments: [
|
|
2690
3017
|
{
|
|
2691
3018
|
name: "path",
|
|
@@ -2715,6 +3042,10 @@ var curlCommand = {
|
|
|
2715
3042
|
}
|
|
2716
3043
|
],
|
|
2717
3044
|
examples: [
|
|
3045
|
+
{
|
|
3046
|
+
name: "Access a protected deployment URL",
|
|
3047
|
+
value: `${packageName} curl https://your-project-abc123.vercel.app/api/hello`
|
|
3048
|
+
},
|
|
2718
3049
|
{
|
|
2719
3050
|
name: "Make a GET request to an API endpoint",
|
|
2720
3051
|
value: `${packageName} curl /api/hello`
|
|
@@ -2751,16 +3082,16 @@ var projectOption3 = {
|
|
|
2751
3082
|
...projectOption,
|
|
2752
3083
|
shorthand: "p"
|
|
2753
3084
|
};
|
|
2754
|
-
var
|
|
3085
|
+
var listSubcommand8 = {
|
|
2755
3086
|
name: "list",
|
|
2756
3087
|
aliases: ["ls"],
|
|
2757
3088
|
description: "List deploy hooks for a project",
|
|
2758
3089
|
arguments: [],
|
|
2759
|
-
options: [formatOption, projectOption3],
|
|
3090
|
+
options: [formatOption, jsonOption, projectOption3],
|
|
2760
3091
|
examples: [
|
|
2761
3092
|
{
|
|
2762
3093
|
name: "List deploy hooks as JSON",
|
|
2763
|
-
value: `${packageName} deploy-hooks ls --
|
|
3094
|
+
value: `${packageName} deploy-hooks ls --json`
|
|
2764
3095
|
}
|
|
2765
3096
|
]
|
|
2766
3097
|
};
|
|
@@ -2792,7 +3123,7 @@ var createSubcommand3 = {
|
|
|
2792
3123
|
}
|
|
2793
3124
|
]
|
|
2794
3125
|
};
|
|
2795
|
-
var
|
|
3126
|
+
var removeSubcommand5 = {
|
|
2796
3127
|
name: "remove",
|
|
2797
3128
|
aliases: ["rm", "delete"],
|
|
2798
3129
|
description: "Remove a deploy hook by id",
|
|
@@ -2816,7 +3147,7 @@ var deployHooksCommand = {
|
|
|
2816
3147
|
aliases: ["deploy-hook"],
|
|
2817
3148
|
description: "Manage deploy hooks for Git-triggered builds",
|
|
2818
3149
|
arguments: [],
|
|
2819
|
-
subcommands: [
|
|
3150
|
+
subcommands: [listSubcommand8, createSubcommand3, removeSubcommand5],
|
|
2820
3151
|
options: [],
|
|
2821
3152
|
examples: []
|
|
2822
3153
|
};
|
|
@@ -2839,7 +3170,7 @@ var importSubcommand = {
|
|
|
2839
3170
|
options: [],
|
|
2840
3171
|
examples: []
|
|
2841
3172
|
};
|
|
2842
|
-
var
|
|
3173
|
+
var listSubcommand9 = {
|
|
2843
3174
|
name: "list",
|
|
2844
3175
|
aliases: ["ls"],
|
|
2845
3176
|
description: "List DNS entries. Pass a domain to list its records, or omit the argument to list records across every domain on the scope",
|
|
@@ -2870,7 +3201,7 @@ var addSubcommand4 = {
|
|
|
2870
3201
|
options: [],
|
|
2871
3202
|
examples: []
|
|
2872
3203
|
};
|
|
2873
|
-
var
|
|
3204
|
+
var removeSubcommand6 = {
|
|
2874
3205
|
name: "remove",
|
|
2875
3206
|
aliases: ["rm"],
|
|
2876
3207
|
description: "Remove a DNS entry using its ID",
|
|
@@ -2896,8 +3227,8 @@ var dnsCommand = {
|
|
|
2896
3227
|
subcommands: [
|
|
2897
3228
|
addSubcommand4,
|
|
2898
3229
|
importSubcommand,
|
|
2899
|
-
|
|
2900
|
-
|
|
3230
|
+
listSubcommand9,
|
|
3231
|
+
removeSubcommand6
|
|
2901
3232
|
],
|
|
2902
3233
|
options: [],
|
|
2903
3234
|
examples: [
|
|
@@ -2947,13 +3278,13 @@ var dnsCommand = {
|
|
|
2947
3278
|
};
|
|
2948
3279
|
|
|
2949
3280
|
// src/commands/domains/command.ts
|
|
2950
|
-
var
|
|
3281
|
+
var listSubcommand10 = {
|
|
2951
3282
|
name: "list",
|
|
2952
3283
|
aliases: ["ls"],
|
|
2953
3284
|
description: "Show all domains in a list",
|
|
2954
3285
|
default: true,
|
|
2955
3286
|
arguments: [],
|
|
2956
|
-
options: [limitOption, nextOption, formatOption],
|
|
3287
|
+
options: [limitOption, nextOption, formatOption, jsonOption],
|
|
2957
3288
|
examples: [
|
|
2958
3289
|
{
|
|
2959
3290
|
name: "Paginate results, where `1584722256178` is the time in milliseconds since the UNIX epoch",
|
|
@@ -2961,7 +3292,7 @@ var listSubcommand9 = {
|
|
|
2961
3292
|
}
|
|
2962
3293
|
]
|
|
2963
3294
|
};
|
|
2964
|
-
var
|
|
3295
|
+
var inspectSubcommand3 = {
|
|
2965
3296
|
name: "inspect",
|
|
2966
3297
|
aliases: [],
|
|
2967
3298
|
description: "Displays information related to a domain",
|
|
@@ -3006,7 +3337,7 @@ var addSubcommand5 = {
|
|
|
3006
3337
|
}
|
|
3007
3338
|
]
|
|
3008
3339
|
};
|
|
3009
|
-
var
|
|
3340
|
+
var removeSubcommand7 = {
|
|
3010
3341
|
name: "remove",
|
|
3011
3342
|
aliases: ["rm"],
|
|
3012
3343
|
description: "Remove ownership of a domain name from a Vercel Team",
|
|
@@ -3035,7 +3366,7 @@ var priceSubcommand = {
|
|
|
3035
3366
|
multiple: true
|
|
3036
3367
|
}
|
|
3037
3368
|
],
|
|
3038
|
-
options: [formatOption],
|
|
3369
|
+
options: [formatOption, jsonOption],
|
|
3039
3370
|
examples: [
|
|
3040
3371
|
{
|
|
3041
3372
|
name: "Price quote for a domain",
|
|
@@ -3047,7 +3378,7 @@ var priceSubcommand = {
|
|
|
3047
3378
|
},
|
|
3048
3379
|
{
|
|
3049
3380
|
name: "JSON output",
|
|
3050
|
-
value: `${packageName} domains price example.com --
|
|
3381
|
+
value: `${packageName} domains price example.com --json`
|
|
3051
3382
|
}
|
|
3052
3383
|
]
|
|
3053
3384
|
};
|
|
@@ -3101,7 +3432,8 @@ var searchSubcommand = {
|
|
|
3101
3432
|
description: "Show the next page of candidates",
|
|
3102
3433
|
deprecated: false
|
|
3103
3434
|
},
|
|
3104
|
-
formatOption
|
|
3435
|
+
formatOption,
|
|
3436
|
+
jsonOption
|
|
3105
3437
|
],
|
|
3106
3438
|
examples: [
|
|
3107
3439
|
{
|
|
@@ -3122,7 +3454,7 @@ var searchSubcommand = {
|
|
|
3122
3454
|
},
|
|
3123
3455
|
{
|
|
3124
3456
|
name: "JSON output",
|
|
3125
|
-
value: `${packageName} domains search acme --
|
|
3457
|
+
value: `${packageName} domains search acme --json`
|
|
3126
3458
|
}
|
|
3127
3459
|
]
|
|
3128
3460
|
};
|
|
@@ -3150,7 +3482,7 @@ var checkSubcommand = {
|
|
|
3150
3482
|
multiple: true
|
|
3151
3483
|
}
|
|
3152
3484
|
],
|
|
3153
|
-
options: [formatOption],
|
|
3485
|
+
options: [formatOption, jsonOption],
|
|
3154
3486
|
examples: [
|
|
3155
3487
|
{
|
|
3156
3488
|
name: "Check if a domain is available",
|
|
@@ -3162,7 +3494,7 @@ var checkSubcommand = {
|
|
|
3162
3494
|
},
|
|
3163
3495
|
{
|
|
3164
3496
|
name: "JSON output",
|
|
3165
|
-
value: `${packageName} domains check example.com --
|
|
3497
|
+
value: `${packageName} domains check example.com --json`
|
|
3166
3498
|
}
|
|
3167
3499
|
]
|
|
3168
3500
|
};
|
|
@@ -3228,7 +3560,8 @@ var verifySubcommand = {
|
|
|
3228
3560
|
deprecated: false,
|
|
3229
3561
|
description: "Check DNS for the exact domain only, without falling back to the parent zone configuration"
|
|
3230
3562
|
},
|
|
3231
|
-
formatOption
|
|
3563
|
+
formatOption,
|
|
3564
|
+
jsonOption
|
|
3232
3565
|
],
|
|
3233
3566
|
examples: [
|
|
3234
3567
|
{
|
|
@@ -3241,7 +3574,7 @@ var verifySubcommand = {
|
|
|
3241
3574
|
},
|
|
3242
3575
|
{
|
|
3243
3576
|
name: "JSON output (the exit code is non-zero when the domain is misconfigured or unverified)",
|
|
3244
|
-
value: `${packageName} domains verify example.com --
|
|
3577
|
+
value: `${packageName} domains verify example.com --json`
|
|
3245
3578
|
},
|
|
3246
3579
|
{
|
|
3247
3580
|
name: "Agent-friendly output with status, reason, and suggested next commands",
|
|
@@ -3255,8 +3588,8 @@ var domainsCommand = {
|
|
|
3255
3588
|
description: "Manage domains",
|
|
3256
3589
|
arguments: [],
|
|
3257
3590
|
subcommands: [
|
|
3258
|
-
|
|
3259
|
-
|
|
3591
|
+
listSubcommand10,
|
|
3592
|
+
inspectSubcommand3,
|
|
3260
3593
|
addSubcommand5,
|
|
3261
3594
|
buySubcommand,
|
|
3262
3595
|
checkSubcommand,
|
|
@@ -3264,254 +3597,11 @@ var domainsCommand = {
|
|
|
3264
3597
|
priceSubcommand,
|
|
3265
3598
|
searchSubcommand,
|
|
3266
3599
|
transferInSubcommand,
|
|
3267
|
-
removeSubcommand6,
|
|
3268
|
-
verifySubcommand
|
|
3269
|
-
],
|
|
3270
|
-
options: [],
|
|
3271
|
-
examples: []
|
|
3272
|
-
};
|
|
3273
|
-
|
|
3274
|
-
// src/commands/edge-config/command.ts
|
|
3275
|
-
var listSubcommand10 = {
|
|
3276
|
-
name: "list",
|
|
3277
|
-
aliases: ["ls"],
|
|
3278
|
-
description: "List Edge Config stores for the current team",
|
|
3279
|
-
default: true,
|
|
3280
|
-
arguments: [],
|
|
3281
|
-
options: [formatOption],
|
|
3282
|
-
examples: [
|
|
3283
|
-
{
|
|
3284
|
-
name: "List Edge Configs as JSON",
|
|
3285
|
-
value: `${packageName} edge-config list --format json`
|
|
3286
|
-
}
|
|
3287
|
-
]
|
|
3288
|
-
};
|
|
3289
|
-
var addSubcommand6 = {
|
|
3290
|
-
name: "add",
|
|
3291
|
-
aliases: ["create"],
|
|
3292
|
-
description: "Create an Edge Config store",
|
|
3293
|
-
arguments: [
|
|
3294
|
-
{
|
|
3295
|
-
name: "slug",
|
|
3296
|
-
required: true
|
|
3297
|
-
}
|
|
3298
|
-
],
|
|
3299
|
-
options: [
|
|
3300
|
-
formatOption,
|
|
3301
|
-
{
|
|
3302
|
-
name: "items",
|
|
3303
|
-
shorthand: null,
|
|
3304
|
-
type: String,
|
|
3305
|
-
argument: "JSON",
|
|
3306
|
-
deprecated: false,
|
|
3307
|
-
description: 'Optional JSON object of initial items `{ "key": <value>, ... }`'
|
|
3308
|
-
}
|
|
3309
|
-
],
|
|
3310
|
-
examples: [
|
|
3311
|
-
{
|
|
3312
|
-
name: "Create a store with slug `flags`",
|
|
3313
|
-
value: `${packageName} edge-config add flags`
|
|
3314
|
-
}
|
|
3315
|
-
]
|
|
3316
|
-
};
|
|
3317
|
-
var getSubcommand = {
|
|
3318
|
-
name: "get",
|
|
3319
|
-
aliases: ["inspect"],
|
|
3320
|
-
description: "Show metadata for an Edge Config (id `ecfg_\u2026` or slug)",
|
|
3321
|
-
arguments: [
|
|
3322
|
-
{
|
|
3323
|
-
name: "id-or-slug",
|
|
3324
|
-
required: true
|
|
3325
|
-
}
|
|
3326
|
-
],
|
|
3327
|
-
options: [formatOption],
|
|
3328
|
-
examples: []
|
|
3329
|
-
};
|
|
3330
|
-
var updateSubcommand2 = {
|
|
3331
|
-
name: "update",
|
|
3332
|
-
aliases: [],
|
|
3333
|
-
description: "Rename an Edge Config (`--slug`) and/or patch items (`--patch` JSON)",
|
|
3334
|
-
arguments: [
|
|
3335
|
-
{
|
|
3336
|
-
name: "id-or-slug",
|
|
3337
|
-
required: true
|
|
3338
|
-
}
|
|
3339
|
-
],
|
|
3340
|
-
options: [
|
|
3341
|
-
formatOption,
|
|
3342
|
-
{
|
|
3343
|
-
name: "slug",
|
|
3344
|
-
shorthand: null,
|
|
3345
|
-
type: String,
|
|
3346
|
-
argument: "SLUG",
|
|
3347
|
-
deprecated: false,
|
|
3348
|
-
description: "New slug for the Edge Config"
|
|
3349
|
-
},
|
|
3350
|
-
{
|
|
3351
|
-
name: "patch",
|
|
3352
|
-
shorthand: null,
|
|
3353
|
-
type: String,
|
|
3354
|
-
argument: "JSON",
|
|
3355
|
-
deprecated: false,
|
|
3356
|
-
description: 'JSON for `PATCH /v1/edge-config/:id/items`: `{"items":[...]}` or a bare array. Each item needs `operation` (create | update | upsert | delete), `key`, and usually `value` (see REST API: update-edge-config-items-in-batch)'
|
|
3357
|
-
}
|
|
3358
|
-
],
|
|
3359
|
-
examples: []
|
|
3360
|
-
};
|
|
3361
|
-
var removeSubcommand7 = {
|
|
3362
|
-
name: "remove",
|
|
3363
|
-
aliases: ["rm", "delete"],
|
|
3364
|
-
description: "Delete an Edge Config store",
|
|
3365
|
-
arguments: [
|
|
3366
|
-
{
|
|
3367
|
-
name: "id-or-slug",
|
|
3368
|
-
required: true
|
|
3369
|
-
}
|
|
3370
|
-
],
|
|
3371
|
-
options: [yesOption, formatOption],
|
|
3372
|
-
examples: []
|
|
3373
|
-
};
|
|
3374
|
-
var itemsSubcommand = {
|
|
3375
|
-
name: "items",
|
|
3376
|
-
aliases: [],
|
|
3377
|
-
description: "List items in an Edge Config, or fetch one item with `--key`",
|
|
3378
|
-
arguments: [
|
|
3379
|
-
{
|
|
3380
|
-
name: "id-or-slug",
|
|
3381
|
-
required: true
|
|
3382
|
-
}
|
|
3383
|
-
],
|
|
3384
|
-
options: [
|
|
3385
|
-
formatOption,
|
|
3386
|
-
{
|
|
3387
|
-
name: "key",
|
|
3388
|
-
shorthand: "k",
|
|
3389
|
-
type: String,
|
|
3390
|
-
argument: "KEY",
|
|
3391
|
-
deprecated: false,
|
|
3392
|
-
description: "When set, fetch a single item by key"
|
|
3393
|
-
}
|
|
3394
|
-
],
|
|
3395
|
-
examples: []
|
|
3396
|
-
};
|
|
3397
|
-
var tokensSubcommand = {
|
|
3398
|
-
name: "tokens",
|
|
3399
|
-
aliases: [],
|
|
3400
|
-
description: "List, create (`--add`), or revoke (`--remove`) read tokens for an Edge Config",
|
|
3401
|
-
arguments: [
|
|
3402
|
-
{
|
|
3403
|
-
name: "id-or-slug",
|
|
3404
|
-
required: true
|
|
3405
|
-
}
|
|
3406
|
-
],
|
|
3407
|
-
options: [
|
|
3408
|
-
formatOption,
|
|
3409
|
-
yesOption,
|
|
3410
|
-
{
|
|
3411
|
-
name: "add",
|
|
3412
|
-
shorthand: null,
|
|
3413
|
-
type: String,
|
|
3414
|
-
argument: "LABEL",
|
|
3415
|
-
deprecated: false,
|
|
3416
|
-
description: "Create a token with this label (1\u201352 characters)"
|
|
3417
|
-
},
|
|
3418
|
-
{
|
|
3419
|
-
name: "remove",
|
|
3420
|
-
shorthand: null,
|
|
3421
|
-
type: [String],
|
|
3422
|
-
argument: "ID_OR_TOKEN",
|
|
3423
|
-
deprecated: false,
|
|
3424
|
-
description: "Revoke one or more tokens by id or plaintext token (repeatable). Requires `--yes` in non-interactive mode"
|
|
3425
|
-
}
|
|
3426
|
-
],
|
|
3427
|
-
examples: []
|
|
3428
|
-
};
|
|
3429
|
-
var backupsSubcommand = {
|
|
3430
|
-
name: "backups",
|
|
3431
|
-
aliases: [],
|
|
3432
|
-
description: "List, inspect, or restore Edge Config backups",
|
|
3433
|
-
arguments: [
|
|
3434
|
-
{
|
|
3435
|
-
name: "id-or-slug",
|
|
3436
|
-
required: true
|
|
3437
|
-
}
|
|
3438
|
-
],
|
|
3439
|
-
options: [
|
|
3440
|
-
formatOption,
|
|
3441
|
-
{
|
|
3442
|
-
...yesOption,
|
|
3443
|
-
description: "Skip the confirmation prompt when restoring"
|
|
3444
|
-
},
|
|
3445
|
-
{
|
|
3446
|
-
name: "backup-version",
|
|
3447
|
-
shorthand: null,
|
|
3448
|
-
type: String,
|
|
3449
|
-
argument: "VERSION_ID",
|
|
3450
|
-
deprecated: false,
|
|
3451
|
-
description: "Fetch a single backup by version id"
|
|
3452
|
-
},
|
|
3453
|
-
{
|
|
3454
|
-
name: "restore",
|
|
3455
|
-
shorthand: null,
|
|
3456
|
-
type: String,
|
|
3457
|
-
argument: "VERSION_ID",
|
|
3458
|
-
deprecated: false,
|
|
3459
|
-
description: "Restore items from the backup version id. Requires confirmation because it updates live Edge Config items"
|
|
3460
|
-
},
|
|
3461
|
-
{
|
|
3462
|
-
name: "limit",
|
|
3463
|
-
shorthand: null,
|
|
3464
|
-
type: Number,
|
|
3465
|
-
argument: "NUMBER",
|
|
3466
|
-
deprecated: false,
|
|
3467
|
-
description: "Maximum number of backups to list (0-50)"
|
|
3468
|
-
},
|
|
3469
|
-
{
|
|
3470
|
-
name: "next",
|
|
3471
|
-
shorthand: null,
|
|
3472
|
-
type: String,
|
|
3473
|
-
argument: "CURSOR",
|
|
3474
|
-
deprecated: false,
|
|
3475
|
-
description: "Pagination cursor from a previous backup list response"
|
|
3476
|
-
}
|
|
3477
|
-
],
|
|
3478
|
-
examples: [
|
|
3479
|
-
{
|
|
3480
|
-
name: "List backups for an Edge Config",
|
|
3481
|
-
value: `${packageName} edge-config backups my-store`
|
|
3482
|
-
},
|
|
3483
|
-
{
|
|
3484
|
-
name: "Inspect a backup as JSON",
|
|
3485
|
-
value: `${packageName} edge-config backups my-store --backup-version <version-id> --format json`
|
|
3486
|
-
},
|
|
3487
|
-
{
|
|
3488
|
-
name: "Restore a backup",
|
|
3489
|
-
value: `${packageName} edge-config backups my-store --restore <version-id> --yes`
|
|
3490
|
-
}
|
|
3491
|
-
]
|
|
3492
|
-
};
|
|
3493
|
-
var edgeConfigCommand = {
|
|
3494
|
-
name: "edge-config",
|
|
3495
|
-
aliases: [],
|
|
3496
|
-
description: "Manage Edge Config stores (dashboard API parity)",
|
|
3497
|
-
arguments: [],
|
|
3498
|
-
subcommands: [
|
|
3499
|
-
listSubcommand10,
|
|
3500
|
-
addSubcommand6,
|
|
3501
|
-
getSubcommand,
|
|
3502
|
-
updateSubcommand2,
|
|
3503
3600
|
removeSubcommand7,
|
|
3504
|
-
|
|
3505
|
-
tokensSubcommand,
|
|
3506
|
-
backupsSubcommand
|
|
3601
|
+
verifySubcommand
|
|
3507
3602
|
],
|
|
3508
3603
|
options: [],
|
|
3509
|
-
examples: [
|
|
3510
|
-
{
|
|
3511
|
-
name: "List stores",
|
|
3512
|
-
value: `${packageName} edge-config list`
|
|
3513
|
-
}
|
|
3514
|
-
]
|
|
3604
|
+
examples: []
|
|
3515
3605
|
};
|
|
3516
3606
|
|
|
3517
3607
|
// src/commands/firewall/command.ts
|
|
@@ -4583,7 +4673,7 @@ var listSubcommand11 = {
|
|
|
4583
4673
|
}
|
|
4584
4674
|
]
|
|
4585
4675
|
};
|
|
4586
|
-
var
|
|
4676
|
+
var inspectSubcommand4 = {
|
|
4587
4677
|
name: "inspect",
|
|
4588
4678
|
aliases: [],
|
|
4589
4679
|
description: "Display information about a feature flag",
|
|
@@ -4859,7 +4949,7 @@ var openSubcommand2 = {
|
|
|
4859
4949
|
}
|
|
4860
4950
|
]
|
|
4861
4951
|
};
|
|
4862
|
-
var
|
|
4952
|
+
var updateSubcommand2 = {
|
|
4863
4953
|
name: "update",
|
|
4864
4954
|
aliases: [],
|
|
4865
4955
|
description: "Update an existing feature flag",
|
|
@@ -4895,6 +4985,22 @@ var updateSubcommand3 = {
|
|
|
4895
4985
|
description: "New variant label",
|
|
4896
4986
|
argument: "LABEL"
|
|
4897
4987
|
},
|
|
4988
|
+
{
|
|
4989
|
+
name: "add-variant",
|
|
4990
|
+
shorthand: null,
|
|
4991
|
+
type: [String],
|
|
4992
|
+
deprecated: false,
|
|
4993
|
+
description: "Add a variant as VALUE[=LABEL] (repeatable for string, number, and json flags)",
|
|
4994
|
+
argument: "VALUE[=LABEL]"
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
name: "remove-variant",
|
|
4998
|
+
shorthand: null,
|
|
4999
|
+
type: [String],
|
|
5000
|
+
deprecated: false,
|
|
5001
|
+
description: "Remove a variant by ID or value (repeatable)",
|
|
5002
|
+
argument: "VARIANT"
|
|
5003
|
+
},
|
|
4898
5004
|
{
|
|
4899
5005
|
name: "message",
|
|
4900
5006
|
shorthand: null,
|
|
@@ -4902,6 +5008,10 @@ var updateSubcommand3 = {
|
|
|
4902
5008
|
deprecated: false,
|
|
4903
5009
|
description: "Optional revision message for the update",
|
|
4904
5010
|
argument: "TEXT"
|
|
5011
|
+
},
|
|
5012
|
+
{
|
|
5013
|
+
...yesOption,
|
|
5014
|
+
description: "Skip the confirmation prompt when removing a variant"
|
|
4905
5015
|
}
|
|
4906
5016
|
],
|
|
4907
5017
|
examples: [
|
|
@@ -4916,6 +5026,14 @@ var updateSubcommand3 = {
|
|
|
4916
5026
|
{
|
|
4917
5027
|
name: "Rename a boolean variant label",
|
|
4918
5028
|
value: `${packageName} flags update my-feature --variant false --label "Disabled"`
|
|
5029
|
+
},
|
|
5030
|
+
{
|
|
5031
|
+
name: "Add a new variant",
|
|
5032
|
+
value: `${packageName} flags update my-feature --add-variant treatment="New onboarding"`
|
|
5033
|
+
},
|
|
5034
|
+
{
|
|
5035
|
+
name: "Remove variants by value or ID",
|
|
5036
|
+
value: `${packageName} flags update my-feature --remove-variant control --remove-variant var_123 --yes`
|
|
4919
5037
|
}
|
|
4920
5038
|
]
|
|
4921
5039
|
};
|
|
@@ -6009,12 +6127,12 @@ var flagsCommand = {
|
|
|
6009
6127
|
arguments: [],
|
|
6010
6128
|
subcommands: [
|
|
6011
6129
|
listSubcommand11,
|
|
6012
|
-
|
|
6130
|
+
inspectSubcommand4,
|
|
6013
6131
|
versionsSubcommand,
|
|
6014
6132
|
evaluationsSubcommand,
|
|
6015
6133
|
createSubcommand4,
|
|
6016
6134
|
openSubcommand2,
|
|
6017
|
-
|
|
6135
|
+
updateSubcommand2,
|
|
6018
6136
|
setSubcommand2,
|
|
6019
6137
|
splitSubcommand,
|
|
6020
6138
|
rolloutSubcommand,
|
|
@@ -6039,44 +6157,292 @@ var connectSubcommand = {
|
|
|
6039
6157
|
description: "Connect your Vercel Project to your Git repository or provide the remote URL to your Git repository",
|
|
6040
6158
|
arguments: [
|
|
6041
6159
|
{
|
|
6042
|
-
name: "git-url",
|
|
6043
|
-
required: false
|
|
6160
|
+
name: "git-url",
|
|
6161
|
+
required: false
|
|
6162
|
+
}
|
|
6163
|
+
],
|
|
6164
|
+
options: [projectOption, yesOption, confirmOption],
|
|
6165
|
+
examples: [
|
|
6166
|
+
{
|
|
6167
|
+
name: "Connect your Vercel Project to your Git repository defined in your local `.git` config",
|
|
6168
|
+
value: `${packageName} git connect`
|
|
6169
|
+
},
|
|
6170
|
+
{
|
|
6171
|
+
name: "Connect your Vercel Project to a Git repository using the remote URL",
|
|
6172
|
+
value: `${packageName} git connect https://github.com/user/repo.git`
|
|
6173
|
+
}
|
|
6174
|
+
]
|
|
6175
|
+
};
|
|
6176
|
+
var disconnectSubcommand = {
|
|
6177
|
+
name: "disconnect",
|
|
6178
|
+
aliases: [],
|
|
6179
|
+
description: "Disconnect the Git repository from your Vercel Project",
|
|
6180
|
+
arguments: [],
|
|
6181
|
+
options: [projectOption, yesOption, confirmOption],
|
|
6182
|
+
examples: [
|
|
6183
|
+
{
|
|
6184
|
+
name: "Disconnect the Git repository",
|
|
6185
|
+
value: `${packageName} git disconnect`
|
|
6186
|
+
}
|
|
6187
|
+
]
|
|
6188
|
+
};
|
|
6189
|
+
var gitCommand = {
|
|
6190
|
+
name: "git",
|
|
6191
|
+
aliases: [],
|
|
6192
|
+
description: "Manage your Git repository connection to the current Project",
|
|
6193
|
+
arguments: [],
|
|
6194
|
+
subcommands: [connectSubcommand, disconnectSubcommand],
|
|
6195
|
+
options: [],
|
|
6196
|
+
examples: []
|
|
6197
|
+
};
|
|
6198
|
+
|
|
6199
|
+
// src/commands/global-config/command.ts
|
|
6200
|
+
var listSubcommand12 = {
|
|
6201
|
+
name: "list",
|
|
6202
|
+
aliases: ["ls"],
|
|
6203
|
+
description: "List Global Config stores for the current team",
|
|
6204
|
+
default: true,
|
|
6205
|
+
arguments: [],
|
|
6206
|
+
options: [formatOption, jsonOption],
|
|
6207
|
+
examples: [
|
|
6208
|
+
{
|
|
6209
|
+
name: "List Global Configs as JSON",
|
|
6210
|
+
value: `${packageName} global-config list --json`
|
|
6211
|
+
}
|
|
6212
|
+
]
|
|
6213
|
+
};
|
|
6214
|
+
var addSubcommand6 = {
|
|
6215
|
+
name: "add",
|
|
6216
|
+
aliases: ["create"],
|
|
6217
|
+
description: "Create a Global Config store",
|
|
6218
|
+
arguments: [
|
|
6219
|
+
{
|
|
6220
|
+
name: "slug",
|
|
6221
|
+
required: true
|
|
6222
|
+
}
|
|
6223
|
+
],
|
|
6224
|
+
options: [
|
|
6225
|
+
formatOption,
|
|
6226
|
+
jsonOption,
|
|
6227
|
+
{
|
|
6228
|
+
name: "items",
|
|
6229
|
+
shorthand: null,
|
|
6230
|
+
type: String,
|
|
6231
|
+
argument: "JSON",
|
|
6232
|
+
deprecated: false,
|
|
6233
|
+
description: 'Optional JSON object of initial items `{ "key": <value>, ... }`'
|
|
6234
|
+
}
|
|
6235
|
+
],
|
|
6236
|
+
examples: [
|
|
6237
|
+
{
|
|
6238
|
+
name: "Create a store with slug `flags`",
|
|
6239
|
+
value: `${packageName} global-config add flags`
|
|
6240
|
+
}
|
|
6241
|
+
]
|
|
6242
|
+
};
|
|
6243
|
+
var getSubcommand = {
|
|
6244
|
+
name: "get",
|
|
6245
|
+
aliases: ["inspect"],
|
|
6246
|
+
description: "Show metadata for a Global Config (id `ecfg_\u2026` or slug)",
|
|
6247
|
+
arguments: [
|
|
6248
|
+
{
|
|
6249
|
+
name: "id-or-slug",
|
|
6250
|
+
required: true
|
|
6251
|
+
}
|
|
6252
|
+
],
|
|
6253
|
+
options: [formatOption, jsonOption],
|
|
6254
|
+
examples: []
|
|
6255
|
+
};
|
|
6256
|
+
var updateSubcommand3 = {
|
|
6257
|
+
name: "update",
|
|
6258
|
+
aliases: [],
|
|
6259
|
+
description: "Rename a Global Config (`--slug`) and/or patch items (`--patch` JSON)",
|
|
6260
|
+
arguments: [
|
|
6261
|
+
{
|
|
6262
|
+
name: "id-or-slug",
|
|
6263
|
+
required: true
|
|
6264
|
+
}
|
|
6265
|
+
],
|
|
6266
|
+
options: [
|
|
6267
|
+
formatOption,
|
|
6268
|
+
jsonOption,
|
|
6269
|
+
{
|
|
6270
|
+
name: "slug",
|
|
6271
|
+
shorthand: null,
|
|
6272
|
+
type: String,
|
|
6273
|
+
argument: "SLUG",
|
|
6274
|
+
deprecated: false,
|
|
6275
|
+
description: "New slug for the Global Config"
|
|
6276
|
+
},
|
|
6277
|
+
{
|
|
6278
|
+
name: "patch",
|
|
6279
|
+
shorthand: null,
|
|
6280
|
+
type: String,
|
|
6281
|
+
argument: "JSON",
|
|
6282
|
+
deprecated: false,
|
|
6283
|
+
description: 'JSON for `PATCH /v1/global-config/:id/items`: `{"items":[...]}` or a bare array. Each item needs `operation` (create | update | upsert | delete), `key`, and usually `value` (see REST API: update-edge-config-items-in-batch)'
|
|
6284
|
+
}
|
|
6285
|
+
],
|
|
6286
|
+
examples: []
|
|
6287
|
+
};
|
|
6288
|
+
var removeSubcommand9 = {
|
|
6289
|
+
name: "remove",
|
|
6290
|
+
aliases: ["rm", "delete"],
|
|
6291
|
+
description: "Delete a Global Config store",
|
|
6292
|
+
arguments: [
|
|
6293
|
+
{
|
|
6294
|
+
name: "id-or-slug",
|
|
6295
|
+
required: true
|
|
6296
|
+
}
|
|
6297
|
+
],
|
|
6298
|
+
options: [yesOption, formatOption, jsonOption],
|
|
6299
|
+
examples: []
|
|
6300
|
+
};
|
|
6301
|
+
var itemsSubcommand = {
|
|
6302
|
+
name: "items",
|
|
6303
|
+
aliases: [],
|
|
6304
|
+
description: "List items in a Global Config, or fetch one item with `--key`",
|
|
6305
|
+
arguments: [
|
|
6306
|
+
{
|
|
6307
|
+
name: "id-or-slug",
|
|
6308
|
+
required: true
|
|
6309
|
+
}
|
|
6310
|
+
],
|
|
6311
|
+
options: [
|
|
6312
|
+
formatOption,
|
|
6313
|
+
jsonOption,
|
|
6314
|
+
{
|
|
6315
|
+
name: "key",
|
|
6316
|
+
shorthand: "k",
|
|
6317
|
+
type: String,
|
|
6318
|
+
argument: "KEY",
|
|
6319
|
+
deprecated: false,
|
|
6320
|
+
description: "When set, fetch a single item by key"
|
|
6321
|
+
}
|
|
6322
|
+
],
|
|
6323
|
+
examples: []
|
|
6324
|
+
};
|
|
6325
|
+
var tokensSubcommand = {
|
|
6326
|
+
name: "tokens",
|
|
6327
|
+
aliases: [],
|
|
6328
|
+
description: "List, create (`--add`), or revoke (`--remove`) read tokens for a Global Config",
|
|
6329
|
+
arguments: [
|
|
6330
|
+
{
|
|
6331
|
+
name: "id-or-slug",
|
|
6332
|
+
required: true
|
|
6333
|
+
}
|
|
6334
|
+
],
|
|
6335
|
+
options: [
|
|
6336
|
+
formatOption,
|
|
6337
|
+
jsonOption,
|
|
6338
|
+
yesOption,
|
|
6339
|
+
{
|
|
6340
|
+
name: "add",
|
|
6341
|
+
shorthand: null,
|
|
6342
|
+
type: String,
|
|
6343
|
+
argument: "LABEL",
|
|
6344
|
+
deprecated: false,
|
|
6345
|
+
description: "Create a token with this label (1\u201352 characters)"
|
|
6346
|
+
},
|
|
6347
|
+
{
|
|
6348
|
+
name: "remove",
|
|
6349
|
+
shorthand: null,
|
|
6350
|
+
type: [String],
|
|
6351
|
+
argument: "ID_OR_TOKEN",
|
|
6352
|
+
deprecated: false,
|
|
6353
|
+
description: "Revoke one or more tokens by id or plaintext token (repeatable). Requires `--yes` in non-interactive mode"
|
|
6354
|
+
}
|
|
6355
|
+
],
|
|
6356
|
+
examples: []
|
|
6357
|
+
};
|
|
6358
|
+
var backupsSubcommand = {
|
|
6359
|
+
name: "backups",
|
|
6360
|
+
aliases: [],
|
|
6361
|
+
description: "List, inspect, or restore Global Config backups",
|
|
6362
|
+
arguments: [
|
|
6363
|
+
{
|
|
6364
|
+
name: "id-or-slug",
|
|
6365
|
+
required: true
|
|
6366
|
+
}
|
|
6367
|
+
],
|
|
6368
|
+
options: [
|
|
6369
|
+
formatOption,
|
|
6370
|
+
jsonOption,
|
|
6371
|
+
{
|
|
6372
|
+
...yesOption,
|
|
6373
|
+
description: "Skip the confirmation prompt when restoring"
|
|
6374
|
+
},
|
|
6375
|
+
{
|
|
6376
|
+
name: "backup-version",
|
|
6377
|
+
shorthand: null,
|
|
6378
|
+
type: String,
|
|
6379
|
+
argument: "VERSION_ID",
|
|
6380
|
+
deprecated: false,
|
|
6381
|
+
description: "Fetch a single backup by version id"
|
|
6382
|
+
},
|
|
6383
|
+
{
|
|
6384
|
+
name: "restore",
|
|
6385
|
+
shorthand: null,
|
|
6386
|
+
type: String,
|
|
6387
|
+
argument: "VERSION_ID",
|
|
6388
|
+
deprecated: false,
|
|
6389
|
+
description: "Restore items from the backup version id. Requires confirmation because it updates live Global Config items"
|
|
6390
|
+
},
|
|
6391
|
+
{
|
|
6392
|
+
name: "limit",
|
|
6393
|
+
shorthand: null,
|
|
6394
|
+
type: Number,
|
|
6395
|
+
argument: "NUMBER",
|
|
6396
|
+
deprecated: false,
|
|
6397
|
+
description: "Maximum number of backups to list (0-50)"
|
|
6398
|
+
},
|
|
6399
|
+
{
|
|
6400
|
+
name: "next",
|
|
6401
|
+
shorthand: null,
|
|
6402
|
+
type: String,
|
|
6403
|
+
argument: "CURSOR",
|
|
6404
|
+
deprecated: false,
|
|
6405
|
+
description: "Pagination cursor from a previous backup list response"
|
|
6044
6406
|
}
|
|
6045
6407
|
],
|
|
6046
|
-
options: [projectOption, yesOption, confirmOption],
|
|
6047
6408
|
examples: [
|
|
6048
6409
|
{
|
|
6049
|
-
name: "
|
|
6050
|
-
value: `${packageName}
|
|
6410
|
+
name: "List backups for a Global Config",
|
|
6411
|
+
value: `${packageName} global-config backups my-store`
|
|
6051
6412
|
},
|
|
6052
6413
|
{
|
|
6053
|
-
name: "
|
|
6054
|
-
value: `${packageName}
|
|
6414
|
+
name: "Inspect a backup as JSON",
|
|
6415
|
+
value: `${packageName} global-config backups my-store --backup-version <version-id> --json`
|
|
6416
|
+
},
|
|
6417
|
+
{
|
|
6418
|
+
name: "Restore a backup",
|
|
6419
|
+
value: `${packageName} global-config backups my-store --restore <version-id> --yes`
|
|
6055
6420
|
}
|
|
6056
6421
|
]
|
|
6057
6422
|
};
|
|
6058
|
-
var
|
|
6059
|
-
name: "
|
|
6060
|
-
aliases: [],
|
|
6061
|
-
description: "
|
|
6423
|
+
var globalConfigCommand = {
|
|
6424
|
+
name: "global-config",
|
|
6425
|
+
aliases: ["edge-config"],
|
|
6426
|
+
description: "Manage Global Config stores (dashboard API parity)",
|
|
6062
6427
|
arguments: [],
|
|
6063
|
-
|
|
6428
|
+
subcommands: [
|
|
6429
|
+
listSubcommand12,
|
|
6430
|
+
addSubcommand6,
|
|
6431
|
+
getSubcommand,
|
|
6432
|
+
updateSubcommand3,
|
|
6433
|
+
removeSubcommand9,
|
|
6434
|
+
itemsSubcommand,
|
|
6435
|
+
tokensSubcommand,
|
|
6436
|
+
backupsSubcommand
|
|
6437
|
+
],
|
|
6438
|
+
options: [],
|
|
6064
6439
|
examples: [
|
|
6065
6440
|
{
|
|
6066
|
-
name: "
|
|
6067
|
-
value: `${packageName}
|
|
6441
|
+
name: "List stores",
|
|
6442
|
+
value: `${packageName} global-config list`
|
|
6068
6443
|
}
|
|
6069
6444
|
]
|
|
6070
6445
|
};
|
|
6071
|
-
var gitCommand = {
|
|
6072
|
-
name: "git",
|
|
6073
|
-
aliases: [],
|
|
6074
|
-
description: "Manage your Git repository connection to the current Project",
|
|
6075
|
-
arguments: [],
|
|
6076
|
-
subcommands: [connectSubcommand, disconnectSubcommand],
|
|
6077
|
-
options: [],
|
|
6078
|
-
examples: []
|
|
6079
|
-
};
|
|
6080
6446
|
|
|
6081
6447
|
// src/commands/guidance/command.ts
|
|
6082
6448
|
var statusSubcommand = {
|
|
@@ -6272,13 +6638,13 @@ var inspectCommand = {
|
|
|
6272
6638
|
},
|
|
6273
6639
|
{
|
|
6274
6640
|
name: "Get deployment information as JSON",
|
|
6275
|
-
value: `${packageName} inspect my-deployment.vercel.app --
|
|
6641
|
+
value: `${packageName} inspect my-deployment.vercel.app --json`
|
|
6276
6642
|
}
|
|
6277
6643
|
]
|
|
6278
6644
|
};
|
|
6279
6645
|
|
|
6280
6646
|
// src/commands/integration-resource/command.ts
|
|
6281
|
-
var
|
|
6647
|
+
var removeSubcommand10 = {
|
|
6282
6648
|
name: "remove",
|
|
6283
6649
|
aliases: ["rm"],
|
|
6284
6650
|
description: "Delete an integration resource",
|
|
@@ -6300,7 +6666,8 @@ var removeSubcommand9 = {
|
|
|
6300
6666
|
...yesOption,
|
|
6301
6667
|
description: "Skip the confirmation prompt when deleting a resource"
|
|
6302
6668
|
},
|
|
6303
|
-
formatOption
|
|
6669
|
+
formatOption,
|
|
6670
|
+
jsonOption
|
|
6304
6671
|
],
|
|
6305
6672
|
examples: [
|
|
6306
6673
|
{
|
|
@@ -6320,7 +6687,7 @@ var removeSubcommand9 = {
|
|
|
6320
6687
|
},
|
|
6321
6688
|
{
|
|
6322
6689
|
name: "Output as JSON",
|
|
6323
|
-
value: `${packageName} integration-resource remove my-acme-resource --
|
|
6690
|
+
value: `${packageName} integration-resource remove my-acme-resource --json --yes`
|
|
6324
6691
|
}
|
|
6325
6692
|
]
|
|
6326
6693
|
};
|
|
@@ -6350,7 +6717,8 @@ var disconnectSubcommand2 = {
|
|
|
6350
6717
|
...yesOption,
|
|
6351
6718
|
description: "Skip the confirmation prompt when disconnecting a resource"
|
|
6352
6719
|
},
|
|
6353
|
-
formatOption
|
|
6720
|
+
formatOption,
|
|
6721
|
+
jsonOption
|
|
6354
6722
|
],
|
|
6355
6723
|
examples: [
|
|
6356
6724
|
{
|
|
@@ -6377,7 +6745,7 @@ var disconnectSubcommand2 = {
|
|
|
6377
6745
|
},
|
|
6378
6746
|
{
|
|
6379
6747
|
name: "Output as JSON",
|
|
6380
|
-
value: `${packageName} integration-resource disconnect my-acme-resource --
|
|
6748
|
+
value: `${packageName} integration-resource disconnect my-acme-resource --json --yes`
|
|
6381
6749
|
}
|
|
6382
6750
|
]
|
|
6383
6751
|
};
|
|
@@ -6416,7 +6784,8 @@ var connectSubcommand2 = {
|
|
|
6416
6784
|
...yesOption,
|
|
6417
6785
|
description: "Skip the confirmation prompt when connecting a resource"
|
|
6418
6786
|
},
|
|
6419
|
-
formatOption
|
|
6787
|
+
formatOption,
|
|
6788
|
+
jsonOption
|
|
6420
6789
|
],
|
|
6421
6790
|
examples: [
|
|
6422
6791
|
{
|
|
@@ -6446,7 +6815,7 @@ var connectSubcommand2 = {
|
|
|
6446
6815
|
},
|
|
6447
6816
|
{
|
|
6448
6817
|
name: "Output as JSON",
|
|
6449
|
-
value: `${packageName} integration resource connect my-acme-resource --
|
|
6818
|
+
value: `${packageName} integration resource connect my-acme-resource --json --yes`
|
|
6450
6819
|
}
|
|
6451
6820
|
]
|
|
6452
6821
|
};
|
|
@@ -6511,7 +6880,8 @@ var claimSubcommand = {
|
|
|
6511
6880
|
type: Boolean,
|
|
6512
6881
|
deprecated: false
|
|
6513
6882
|
},
|
|
6514
|
-
formatOption
|
|
6883
|
+
formatOption,
|
|
6884
|
+
jsonOption
|
|
6515
6885
|
],
|
|
6516
6886
|
examples: [
|
|
6517
6887
|
{
|
|
@@ -6527,11 +6897,11 @@ var claimSubcommand = {
|
|
|
6527
6897
|
},
|
|
6528
6898
|
{
|
|
6529
6899
|
name: "Print the claim URL as JSON without waiting",
|
|
6530
|
-
value: `${packageName} integration-resource claim my-stripe --
|
|
6900
|
+
value: `${packageName} integration-resource claim my-stripe --json --no-wait`
|
|
6531
6901
|
}
|
|
6532
6902
|
]
|
|
6533
6903
|
};
|
|
6534
|
-
var
|
|
6904
|
+
var inspectSubcommand5 = {
|
|
6535
6905
|
name: "inspect",
|
|
6536
6906
|
aliases: ["status"],
|
|
6537
6907
|
description: "Show live details and status for a marketplace integration resource, fetched fresh from the provider",
|
|
@@ -6541,7 +6911,7 @@ var inspectSubcommand4 = {
|
|
|
6541
6911
|
required: true
|
|
6542
6912
|
}
|
|
6543
6913
|
],
|
|
6544
|
-
options: [formatOption],
|
|
6914
|
+
options: [formatOption, jsonOption],
|
|
6545
6915
|
examples: [
|
|
6546
6916
|
{
|
|
6547
6917
|
name: "Show live details and status for a resource",
|
|
@@ -6556,7 +6926,7 @@ var inspectSubcommand4 = {
|
|
|
6556
6926
|
},
|
|
6557
6927
|
{
|
|
6558
6928
|
name: "Output as JSON",
|
|
6559
|
-
value: `${packageName} integration resource inspect my-acme-resource --
|
|
6929
|
+
value: `${packageName} integration resource inspect my-acme-resource --json`
|
|
6560
6930
|
}
|
|
6561
6931
|
]
|
|
6562
6932
|
};
|
|
@@ -6570,9 +6940,9 @@ var integrationResourceCommand = {
|
|
|
6570
6940
|
connectSubcommand2,
|
|
6571
6941
|
createThresholdSubcommand,
|
|
6572
6942
|
disconnectSubcommand2,
|
|
6573
|
-
|
|
6943
|
+
removeSubcommand10,
|
|
6574
6944
|
claimSubcommand,
|
|
6575
|
-
|
|
6945
|
+
inspectSubcommand5
|
|
6576
6946
|
],
|
|
6577
6947
|
examples: []
|
|
6578
6948
|
};
|
|
@@ -6665,7 +7035,8 @@ var addSubcommand7 = {
|
|
|
6665
7035
|
deprecated: false,
|
|
6666
7036
|
description: "If the new resource is a sandbox, skip the offer to claim it (only print a hint)"
|
|
6667
7037
|
},
|
|
6668
|
-
formatOption
|
|
7038
|
+
formatOption,
|
|
7039
|
+
jsonOption
|
|
6669
7040
|
],
|
|
6670
7041
|
examples: [
|
|
6671
7042
|
{
|
|
@@ -6733,7 +7104,7 @@ var addSubcommand7 = {
|
|
|
6733
7104
|
},
|
|
6734
7105
|
{
|
|
6735
7106
|
name: "Output as JSON",
|
|
6736
|
-
value: `${packageName} integration add acme --
|
|
7107
|
+
value: `${packageName} integration add acme --json`
|
|
6737
7108
|
},
|
|
6738
7109
|
{
|
|
6739
7110
|
name: "Show available products for an integration",
|
|
@@ -6755,7 +7126,7 @@ var acceptTermsSubcommand = {
|
|
|
6755
7126
|
required: true
|
|
6756
7127
|
}
|
|
6757
7128
|
],
|
|
6758
|
-
options: [formatOption],
|
|
7129
|
+
options: [formatOption, jsonOption],
|
|
6759
7130
|
examples: [
|
|
6760
7131
|
{
|
|
6761
7132
|
name: "Accept terms interactively, then install on the team",
|
|
@@ -6766,7 +7137,7 @@ var acceptTermsSubcommand = {
|
|
|
6766
7137
|
},
|
|
6767
7138
|
{
|
|
6768
7139
|
name: "Output result as JSON",
|
|
6769
|
-
value: `${packageName} integration accept-terms neon --
|
|
7140
|
+
value: `${packageName} integration accept-terms neon --json`
|
|
6770
7141
|
}
|
|
6771
7142
|
]
|
|
6772
7143
|
};
|
|
@@ -6784,7 +7155,7 @@ var openSubcommand3 = {
|
|
|
6784
7155
|
required: false
|
|
6785
7156
|
}
|
|
6786
7157
|
],
|
|
6787
|
-
options: [formatOption],
|
|
7158
|
+
options: [formatOption, jsonOption],
|
|
6788
7159
|
examples: [
|
|
6789
7160
|
{
|
|
6790
7161
|
name: "Open a marketplace integration's dashboard",
|
|
@@ -6803,8 +7174,8 @@ var openSubcommand3 = {
|
|
|
6803
7174
|
{
|
|
6804
7175
|
name: "Get the SSO link as JSON",
|
|
6805
7176
|
value: [
|
|
6806
|
-
`${packageName} integration open acme --
|
|
6807
|
-
`${packageName} integration open acme my-acme-store --
|
|
7177
|
+
`${packageName} integration open acme --json`,
|
|
7178
|
+
`${packageName} integration open acme my-acme-store --json`
|
|
6808
7179
|
]
|
|
6809
7180
|
}
|
|
6810
7181
|
]
|
|
@@ -6823,7 +7194,8 @@ var installationsSubcommand = {
|
|
|
6823
7194
|
deprecated: false,
|
|
6824
7195
|
argument: "SLUG_OR_ID"
|
|
6825
7196
|
},
|
|
6826
|
-
formatOption
|
|
7197
|
+
formatOption,
|
|
7198
|
+
jsonOption
|
|
6827
7199
|
],
|
|
6828
7200
|
examples: [
|
|
6829
7201
|
{
|
|
@@ -6836,11 +7208,11 @@ var installationsSubcommand = {
|
|
|
6836
7208
|
},
|
|
6837
7209
|
{
|
|
6838
7210
|
name: "JSON output",
|
|
6839
|
-
value: [`${packageName} integration installations --
|
|
7211
|
+
value: [`${packageName} integration installations --json`]
|
|
6840
7212
|
}
|
|
6841
7213
|
]
|
|
6842
7214
|
};
|
|
6843
|
-
var
|
|
7215
|
+
var listSubcommand13 = {
|
|
6844
7216
|
name: "list",
|
|
6845
7217
|
aliases: ["ls"],
|
|
6846
7218
|
description: "List resources from marketplace integrations for the current project",
|
|
@@ -6866,7 +7238,8 @@ var listSubcommand12 = {
|
|
|
6866
7238
|
type: Boolean,
|
|
6867
7239
|
deprecated: false
|
|
6868
7240
|
},
|
|
6869
|
-
formatOption
|
|
7241
|
+
formatOption,
|
|
7242
|
+
jsonOption
|
|
6870
7243
|
],
|
|
6871
7244
|
examples: [
|
|
6872
7245
|
{
|
|
@@ -6890,7 +7263,7 @@ var listSubcommand12 = {
|
|
|
6890
7263
|
},
|
|
6891
7264
|
{
|
|
6892
7265
|
name: "List resources as JSON",
|
|
6893
|
-
value: [`${packageName} integration list --
|
|
7266
|
+
value: [`${packageName} integration list --json`]
|
|
6894
7267
|
}
|
|
6895
7268
|
]
|
|
6896
7269
|
};
|
|
@@ -6913,7 +7286,8 @@ var discoverSubcommand = {
|
|
|
6913
7286
|
argument: "CATEGORY",
|
|
6914
7287
|
description: "Filter integrations by category (can be repeated; e.g., -c storage -c authentication). Run `vercel integration categories` for valid slugs."
|
|
6915
7288
|
},
|
|
6916
|
-
formatOption
|
|
7289
|
+
formatOption,
|
|
7290
|
+
jsonOption
|
|
6917
7291
|
],
|
|
6918
7292
|
examples: [
|
|
6919
7293
|
{
|
|
@@ -6947,7 +7321,7 @@ var discoverSubcommand = {
|
|
|
6947
7321
|
},
|
|
6948
7322
|
{
|
|
6949
7323
|
name: "Discover marketplace integrations as JSON",
|
|
6950
|
-
value: [`${packageName} integration discover --
|
|
7324
|
+
value: [`${packageName} integration discover --json`]
|
|
6951
7325
|
}
|
|
6952
7326
|
]
|
|
6953
7327
|
};
|
|
@@ -6956,7 +7330,7 @@ var categoriesSubcommand = {
|
|
|
6956
7330
|
aliases: [],
|
|
6957
7331
|
description: "List marketplace integration categories (slugs valid for `integration discover --category`)",
|
|
6958
7332
|
arguments: [],
|
|
6959
|
-
options: [formatOption],
|
|
7333
|
+
options: [formatOption, jsonOption],
|
|
6960
7334
|
examples: [
|
|
6961
7335
|
{
|
|
6962
7336
|
name: "List marketplace categories",
|
|
@@ -6964,7 +7338,7 @@ var categoriesSubcommand = {
|
|
|
6964
7338
|
},
|
|
6965
7339
|
{
|
|
6966
7340
|
name: "List categories as JSON",
|
|
6967
|
-
value: [`${packageName} integration categories --
|
|
7341
|
+
value: [`${packageName} integration categories --json`]
|
|
6968
7342
|
},
|
|
6969
7343
|
{
|
|
6970
7344
|
name: "Use a category slug to filter discover results",
|
|
@@ -6982,7 +7356,7 @@ var balanceSubcommand = {
|
|
|
6982
7356
|
required: true
|
|
6983
7357
|
}
|
|
6984
7358
|
],
|
|
6985
|
-
options: [formatOption],
|
|
7359
|
+
options: [formatOption, jsonOption],
|
|
6986
7360
|
examples: [
|
|
6987
7361
|
{
|
|
6988
7362
|
name: "Show the balance(s) & threshold(s) of a marketplace integration",
|
|
@@ -6993,7 +7367,7 @@ var balanceSubcommand = {
|
|
|
6993
7367
|
},
|
|
6994
7368
|
{
|
|
6995
7369
|
name: "Output as JSON",
|
|
6996
|
-
value: `${packageName} integration balance acme --
|
|
7370
|
+
value: `${packageName} integration balance acme --json`
|
|
6997
7371
|
}
|
|
6998
7372
|
]
|
|
6999
7373
|
};
|
|
@@ -7040,7 +7414,8 @@ var updateSubcommand4 = {
|
|
|
7040
7414
|
argument: "ID",
|
|
7041
7415
|
description: "Configuration ID when multiple marketplace installations exist for this integration"
|
|
7042
7416
|
},
|
|
7043
|
-
formatOption
|
|
7417
|
+
formatOption,
|
|
7418
|
+
jsonOption
|
|
7044
7419
|
],
|
|
7045
7420
|
examples: [
|
|
7046
7421
|
{
|
|
@@ -7064,7 +7439,7 @@ var updateSubcommand4 = {
|
|
|
7064
7439
|
},
|
|
7065
7440
|
{
|
|
7066
7441
|
name: "Output result as JSON",
|
|
7067
|
-
value: `${packageName} integration update neon --projects all --
|
|
7442
|
+
value: `${packageName} integration update neon --projects all --json`
|
|
7068
7443
|
},
|
|
7069
7444
|
{
|
|
7070
7445
|
name: "Non-interactive (JSON success and errors on stdout)",
|
|
@@ -7072,7 +7447,7 @@ var updateSubcommand4 = {
|
|
|
7072
7447
|
}
|
|
7073
7448
|
]
|
|
7074
7449
|
};
|
|
7075
|
-
var
|
|
7450
|
+
var removeSubcommand11 = {
|
|
7076
7451
|
name: "remove",
|
|
7077
7452
|
aliases: [],
|
|
7078
7453
|
description: "Uninstalls a marketplace integration. Resources must be removed first using `integration-resource remove`.",
|
|
@@ -7087,7 +7462,8 @@ var removeSubcommand10 = {
|
|
|
7087
7462
|
...yesOption,
|
|
7088
7463
|
description: "Skip the confirmation prompt when uninstalling an integration"
|
|
7089
7464
|
},
|
|
7090
|
-
formatOption
|
|
7465
|
+
formatOption,
|
|
7466
|
+
jsonOption
|
|
7091
7467
|
],
|
|
7092
7468
|
examples: [
|
|
7093
7469
|
{
|
|
@@ -7103,7 +7479,7 @@ var removeSubcommand10 = {
|
|
|
7103
7479
|
},
|
|
7104
7480
|
{
|
|
7105
7481
|
name: "Output as JSON",
|
|
7106
|
-
value: `${packageName} integration remove acme --
|
|
7482
|
+
value: `${packageName} integration remove acme --json --yes`
|
|
7107
7483
|
}
|
|
7108
7484
|
]
|
|
7109
7485
|
};
|
|
@@ -7162,9 +7538,9 @@ var resourceSubcommand = {
|
|
|
7162
7538
|
connectSubcommand2,
|
|
7163
7539
|
createThresholdSubcommand,
|
|
7164
7540
|
disconnectSubcommand2,
|
|
7165
|
-
|
|
7541
|
+
removeSubcommand10,
|
|
7166
7542
|
claimSubcommand,
|
|
7167
|
-
|
|
7543
|
+
inspectSubcommand5
|
|
7168
7544
|
],
|
|
7169
7545
|
examples: [
|
|
7170
7546
|
{
|
|
@@ -7195,11 +7571,11 @@ var integrationCommand = {
|
|
|
7195
7571
|
discoverSubcommand,
|
|
7196
7572
|
guideSubcommand,
|
|
7197
7573
|
installationsSubcommand,
|
|
7198
|
-
|
|
7574
|
+
listSubcommand13,
|
|
7199
7575
|
openSubcommand3,
|
|
7200
7576
|
resourceSubcommand,
|
|
7201
7577
|
updateSubcommand4,
|
|
7202
|
-
|
|
7578
|
+
removeSubcommand11
|
|
7203
7579
|
],
|
|
7204
7580
|
examples: [
|
|
7205
7581
|
{
|
|
@@ -7724,7 +8100,8 @@ var inspectGroupSubcommand = {
|
|
|
7724
8100
|
deprecated: false,
|
|
7725
8101
|
description: "Custom microfrontends config file path/name relative to the default app root (must end with .json or .jsonc)"
|
|
7726
8102
|
},
|
|
7727
|
-
formatOption
|
|
8103
|
+
formatOption,
|
|
8104
|
+
jsonOption
|
|
7728
8105
|
],
|
|
7729
8106
|
examples: [
|
|
7730
8107
|
{
|
|
@@ -7733,7 +8110,7 @@ var inspectGroupSubcommand = {
|
|
|
7733
8110
|
},
|
|
7734
8111
|
{
|
|
7735
8112
|
name: "Inspect a microfrontends group as JSON",
|
|
7736
|
-
value: `${packageName} mf inspect-group --group="My Group" --
|
|
8113
|
+
value: `${packageName} mf inspect-group --group="My Group" --json`
|
|
7737
8114
|
}
|
|
7738
8115
|
]
|
|
7739
8116
|
};
|
|
@@ -7802,6 +8179,7 @@ var checksBlocksOption = {
|
|
|
7802
8179
|
};
|
|
7803
8180
|
var checksAddFlags = [
|
|
7804
8181
|
formatOption,
|
|
8182
|
+
jsonOption,
|
|
7805
8183
|
checksBlocksOption,
|
|
7806
8184
|
{
|
|
7807
8185
|
name: "file",
|
|
@@ -7846,7 +8224,7 @@ var checksAddFlags = [
|
|
|
7846
8224
|
deprecated: false
|
|
7847
8225
|
}
|
|
7848
8226
|
];
|
|
7849
|
-
var checksRemoveFlags = [formatOption];
|
|
8227
|
+
var checksRemoveFlags = [formatOption, jsonOption];
|
|
7850
8228
|
var checksSubcommand = {
|
|
7851
8229
|
name: "checks",
|
|
7852
8230
|
aliases: [],
|
|
@@ -7881,7 +8259,7 @@ var checksSubcommand = {
|
|
|
7881
8259
|
}
|
|
7882
8260
|
]
|
|
7883
8261
|
};
|
|
7884
|
-
var
|
|
8262
|
+
var inspectSubcommand6 = {
|
|
7885
8263
|
name: "inspect",
|
|
7886
8264
|
aliases: [],
|
|
7887
8265
|
description: "Displays information related to a project",
|
|
@@ -7903,7 +8281,7 @@ var inspectSubcommand5 = {
|
|
|
7903
8281
|
}
|
|
7904
8282
|
]
|
|
7905
8283
|
};
|
|
7906
|
-
var
|
|
8284
|
+
var listSubcommand14 = {
|
|
7907
8285
|
name: "list",
|
|
7908
8286
|
aliases: ["ls"],
|
|
7909
8287
|
description: "Show all projects in the selected scope",
|
|
@@ -7937,7 +8315,7 @@ var listSubcommand13 = {
|
|
|
7937
8315
|
},
|
|
7938
8316
|
{
|
|
7939
8317
|
name: "List projects using a deprecated Node.js version in JSON format",
|
|
7940
|
-
value: `${packageName} project ls --update-required --
|
|
8318
|
+
value: `${packageName} project ls --update-required --json`
|
|
7941
8319
|
},
|
|
7942
8320
|
{
|
|
7943
8321
|
name: "Filter projects by name",
|
|
@@ -7945,7 +8323,7 @@ var listSubcommand13 = {
|
|
|
7945
8323
|
}
|
|
7946
8324
|
]
|
|
7947
8325
|
};
|
|
7948
|
-
var
|
|
8326
|
+
var removeSubcommand12 = {
|
|
7949
8327
|
name: "remove",
|
|
7950
8328
|
aliases: ["rm"],
|
|
7951
8329
|
description: "Delete a project",
|
|
@@ -8039,7 +8417,8 @@ var updateSubcommand5 = {
|
|
|
8039
8417
|
description: "Reset a setting to automatic detection; repeat for build-command, dev-command, install-command, or output-directory",
|
|
8040
8418
|
deprecated: false
|
|
8041
8419
|
},
|
|
8042
|
-
formatOption
|
|
8420
|
+
formatOption,
|
|
8421
|
+
jsonOption
|
|
8043
8422
|
],
|
|
8044
8423
|
examples: [
|
|
8045
8424
|
{
|
|
@@ -8060,7 +8439,7 @@ var updateSubcommand5 = {
|
|
|
8060
8439
|
},
|
|
8061
8440
|
{
|
|
8062
8441
|
name: "Clear the framework preset and return JSON",
|
|
8063
|
-
value: `${packageName} project update my-project --framework other --
|
|
8442
|
+
value: `${packageName} project update my-project --framework other --json`
|
|
8064
8443
|
}
|
|
8065
8444
|
]
|
|
8066
8445
|
};
|
|
@@ -8074,7 +8453,7 @@ var tokenSubcommand2 = {
|
|
|
8074
8453
|
required: false
|
|
8075
8454
|
}
|
|
8076
8455
|
],
|
|
8077
|
-
options: [yesOption, formatOption],
|
|
8456
|
+
options: [yesOption, formatOption, jsonOption],
|
|
8078
8457
|
examples: [
|
|
8079
8458
|
{
|
|
8080
8459
|
name: "Get a development OIDC token for the linked project",
|
|
@@ -8086,7 +8465,7 @@ var tokenSubcommand2 = {
|
|
|
8086
8465
|
},
|
|
8087
8466
|
{
|
|
8088
8467
|
name: "Get a development OIDC token as JSON",
|
|
8089
|
-
value: `${packageName} project token my-project --
|
|
8468
|
+
value: `${packageName} project token my-project --json`
|
|
8090
8469
|
}
|
|
8091
8470
|
]
|
|
8092
8471
|
};
|
|
@@ -8100,7 +8479,7 @@ var accessSummarySubcommand = {
|
|
|
8100
8479
|
required: false
|
|
8101
8480
|
}
|
|
8102
8481
|
],
|
|
8103
|
-
options: [formatOption],
|
|
8482
|
+
options: [formatOption, jsonOption],
|
|
8104
8483
|
examples: [
|
|
8105
8484
|
{
|
|
8106
8485
|
name: "Summary for the linked project",
|
|
@@ -8108,7 +8487,7 @@ var accessSummarySubcommand = {
|
|
|
8108
8487
|
},
|
|
8109
8488
|
{
|
|
8110
8489
|
name: "Summary as JSON",
|
|
8111
|
-
value: `${packageName} project access-summary my-app --
|
|
8490
|
+
value: `${packageName} project access-summary my-app --json`
|
|
8112
8491
|
}
|
|
8113
8492
|
]
|
|
8114
8493
|
};
|
|
@@ -8124,6 +8503,7 @@ var membersSubcommand = {
|
|
|
8124
8503
|
],
|
|
8125
8504
|
options: [
|
|
8126
8505
|
formatOption,
|
|
8506
|
+
jsonOption,
|
|
8127
8507
|
{
|
|
8128
8508
|
name: "search",
|
|
8129
8509
|
shorthand: null,
|
|
@@ -8146,7 +8526,7 @@ var membersSubcommand = {
|
|
|
8146
8526
|
},
|
|
8147
8527
|
{
|
|
8148
8528
|
name: "List members for a named project as JSON",
|
|
8149
|
-
value: `${packageName} project members my-project --
|
|
8529
|
+
value: `${packageName} project members my-project --json`
|
|
8150
8530
|
}
|
|
8151
8531
|
]
|
|
8152
8532
|
};
|
|
@@ -8160,6 +8540,7 @@ var protectionSubcommand = {
|
|
|
8160
8540
|
],
|
|
8161
8541
|
options: [
|
|
8162
8542
|
formatOption,
|
|
8543
|
+
jsonOption,
|
|
8163
8544
|
{
|
|
8164
8545
|
name: "sso",
|
|
8165
8546
|
shorthand: null,
|
|
@@ -8174,6 +8555,14 @@ var protectionSubcommand = {
|
|
|
8174
8555
|
description: "Apply action to password protection (requires eligible plan/permissions).",
|
|
8175
8556
|
deprecated: false
|
|
8176
8557
|
},
|
|
8558
|
+
{
|
|
8559
|
+
name: "protection-password",
|
|
8560
|
+
shorthand: null,
|
|
8561
|
+
type: String,
|
|
8562
|
+
argument: "PASSWORD",
|
|
8563
|
+
description: "Password value when enabling password protection (max 72 characters). Requires --password.",
|
|
8564
|
+
deprecated: false
|
|
8565
|
+
},
|
|
8177
8566
|
{
|
|
8178
8567
|
name: "customer-support-code-visibility",
|
|
8179
8568
|
shorthand: null,
|
|
@@ -8226,7 +8615,7 @@ var protectionSubcommand = {
|
|
|
8226
8615
|
},
|
|
8227
8616
|
{
|
|
8228
8617
|
name: "Named project as JSON",
|
|
8229
|
-
value: `${packageName} project protection my-app --
|
|
8618
|
+
value: `${packageName} project protection my-app --json`
|
|
8230
8619
|
},
|
|
8231
8620
|
{
|
|
8232
8621
|
name: "Disable password protection",
|
|
@@ -8236,6 +8625,10 @@ var protectionSubcommand = {
|
|
|
8236
8625
|
name: "Enable password protection",
|
|
8237
8626
|
value: `${packageName} project protection enable my-app --password`
|
|
8238
8627
|
},
|
|
8628
|
+
{
|
|
8629
|
+
name: "Enable password protection with a password",
|
|
8630
|
+
value: `${packageName} project protection enable my-app --password --protection-password <password>`
|
|
8631
|
+
},
|
|
8239
8632
|
{
|
|
8240
8633
|
name: "Enable customer support code visibility",
|
|
8241
8634
|
value: `${packageName} project protection enable my-app --customer-support-code-visibility`
|
|
@@ -8294,6 +8687,7 @@ var accessGroupsSubcommand = {
|
|
|
8294
8687
|
],
|
|
8295
8688
|
options: [
|
|
8296
8689
|
formatOption,
|
|
8690
|
+
jsonOption,
|
|
8297
8691
|
nextOption,
|
|
8298
8692
|
{
|
|
8299
8693
|
name: "search",
|
|
@@ -8317,7 +8711,7 @@ var accessGroupsSubcommand = {
|
|
|
8317
8711
|
},
|
|
8318
8712
|
{
|
|
8319
8713
|
name: "List access groups for a named project as JSON",
|
|
8320
|
-
value: `${packageName} project access-groups my-project --
|
|
8714
|
+
value: `${packageName} project access-groups my-project --json`
|
|
8321
8715
|
}
|
|
8322
8716
|
]
|
|
8323
8717
|
};
|
|
@@ -8331,7 +8725,7 @@ var webAnalyticsSubcommand = {
|
|
|
8331
8725
|
required: false
|
|
8332
8726
|
}
|
|
8333
8727
|
],
|
|
8334
|
-
options: [formatOption],
|
|
8728
|
+
options: [formatOption, jsonOption],
|
|
8335
8729
|
examples: [
|
|
8336
8730
|
{
|
|
8337
8731
|
name: "Enable Web Analytics for the linked project",
|
|
@@ -8343,7 +8737,7 @@ var webAnalyticsSubcommand = {
|
|
|
8343
8737
|
},
|
|
8344
8738
|
{
|
|
8345
8739
|
name: "Confirm enablement as JSON (non-interactive / agents)",
|
|
8346
|
-
value: `${packageName} project web-analytics --
|
|
8740
|
+
value: `${packageName} project web-analytics --json`
|
|
8347
8741
|
}
|
|
8348
8742
|
]
|
|
8349
8743
|
};
|
|
@@ -8357,7 +8751,7 @@ var speedInsightsSubcommand = {
|
|
|
8357
8751
|
required: false
|
|
8358
8752
|
}
|
|
8359
8753
|
],
|
|
8360
|
-
options: [formatOption],
|
|
8754
|
+
options: [formatOption, jsonOption],
|
|
8361
8755
|
examples: [
|
|
8362
8756
|
{
|
|
8363
8757
|
name: "Enable Speed Insights for the linked project",
|
|
@@ -8369,7 +8763,7 @@ var speedInsightsSubcommand = {
|
|
|
8369
8763
|
},
|
|
8370
8764
|
{
|
|
8371
8765
|
name: "Confirm enablement as JSON (non-interactive / agents)",
|
|
8372
|
-
value: `${packageName} project speed-insights --
|
|
8766
|
+
value: `${packageName} project speed-insights --json`
|
|
8373
8767
|
}
|
|
8374
8768
|
]
|
|
8375
8769
|
};
|
|
@@ -8382,8 +8776,8 @@ var projectCommand = {
|
|
|
8382
8776
|
addSubcommand8,
|
|
8383
8777
|
accessSummarySubcommand,
|
|
8384
8778
|
checksSubcommand,
|
|
8385
|
-
|
|
8386
|
-
|
|
8779
|
+
inspectSubcommand6,
|
|
8780
|
+
listSubcommand14,
|
|
8387
8781
|
membersSubcommand,
|
|
8388
8782
|
accessGroupsSubcommand,
|
|
8389
8783
|
protectionSubcommand,
|
|
@@ -8391,7 +8785,7 @@ var projectCommand = {
|
|
|
8391
8785
|
speedInsightsSubcommand,
|
|
8392
8786
|
updateSubcommand5,
|
|
8393
8787
|
renameSubcommand,
|
|
8394
|
-
|
|
8788
|
+
removeSubcommand12,
|
|
8395
8789
|
tokenSubcommand2
|
|
8396
8790
|
],
|
|
8397
8791
|
options: [],
|
|
@@ -8506,7 +8900,7 @@ var redeployCommand = {
|
|
|
8506
8900
|
};
|
|
8507
8901
|
|
|
8508
8902
|
// src/commands/redirects/command.ts
|
|
8509
|
-
var
|
|
8903
|
+
var listSubcommand15 = {
|
|
8510
8904
|
name: "list",
|
|
8511
8905
|
aliases: ["ls"],
|
|
8512
8906
|
description: "List all redirects for the current project. These redirects apply to all deployments and environments. There may also be redirects defined in a deployment that are not listed here.",
|
|
@@ -8698,7 +9092,7 @@ var uploadSubcommand = {
|
|
|
8698
9092
|
}
|
|
8699
9093
|
]
|
|
8700
9094
|
};
|
|
8701
|
-
var
|
|
9095
|
+
var removeSubcommand13 = {
|
|
8702
9096
|
name: "remove",
|
|
8703
9097
|
aliases: ["rm"],
|
|
8704
9098
|
description: "Remove a redirect",
|
|
@@ -8776,11 +9170,11 @@ var redirectsCommand = {
|
|
|
8776
9170
|
description: "Manage redirects for a project. Redirects managed at the project level apply to all deployments and environments and take effect immediately after being created and promoted to production.",
|
|
8777
9171
|
arguments: [],
|
|
8778
9172
|
subcommands: [
|
|
8779
|
-
|
|
9173
|
+
listSubcommand15,
|
|
8780
9174
|
listVersionsSubcommand,
|
|
8781
9175
|
addSubcommand9,
|
|
8782
9176
|
uploadSubcommand,
|
|
8783
|
-
|
|
9177
|
+
removeSubcommand13,
|
|
8784
9178
|
promoteSubcommand,
|
|
8785
9179
|
restoreSubcommand
|
|
8786
9180
|
],
|
|
@@ -9148,8 +9542,7 @@ var skillsCommand = {
|
|
|
9148
9542
|
shorthand: null,
|
|
9149
9543
|
type: String,
|
|
9150
9544
|
argument: "FORMAT",
|
|
9151
|
-
deprecated: false
|
|
9152
|
-
description: "Specify output format (json)"
|
|
9545
|
+
deprecated: false
|
|
9153
9546
|
},
|
|
9154
9547
|
yesOption
|
|
9155
9548
|
],
|
|
@@ -9166,13 +9559,14 @@ var skillsCommand = {
|
|
|
9166
9559
|
};
|
|
9167
9560
|
|
|
9168
9561
|
// src/commands/target/command.ts
|
|
9169
|
-
var
|
|
9562
|
+
var listSubcommand16 = {
|
|
9170
9563
|
name: "list",
|
|
9171
9564
|
aliases: ["ls"],
|
|
9172
9565
|
description: "List targets defined for the current Project",
|
|
9173
9566
|
arguments: [],
|
|
9174
9567
|
options: [
|
|
9175
9568
|
formatOption,
|
|
9569
|
+
jsonOption,
|
|
9176
9570
|
projectOption,
|
|
9177
9571
|
{
|
|
9178
9572
|
...yesOption,
|
|
@@ -9191,7 +9585,7 @@ var targetCommand = {
|
|
|
9191
9585
|
aliases: ["targets"],
|
|
9192
9586
|
description: `Manage your Vercel Project's "targets" (custom environments).`,
|
|
9193
9587
|
arguments: [],
|
|
9194
|
-
subcommands: [
|
|
9588
|
+
subcommands: [listSubcommand16],
|
|
9195
9589
|
options: [],
|
|
9196
9590
|
examples: []
|
|
9197
9591
|
};
|
|
@@ -9207,7 +9601,7 @@ var requestSubcommand = {
|
|
|
9207
9601
|
required: false
|
|
9208
9602
|
}
|
|
9209
9603
|
],
|
|
9210
|
-
options: [formatOption],
|
|
9604
|
+
options: [formatOption, jsonOption],
|
|
9211
9605
|
examples: [
|
|
9212
9606
|
{
|
|
9213
9607
|
name: "Status for your pending request",
|
|
@@ -9251,7 +9645,7 @@ var addSubcommand10 = {
|
|
|
9251
9645
|
}
|
|
9252
9646
|
]
|
|
9253
9647
|
};
|
|
9254
|
-
var
|
|
9648
|
+
var listSubcommand17 = {
|
|
9255
9649
|
name: "list",
|
|
9256
9650
|
aliases: ["ls"],
|
|
9257
9651
|
description: "Show all teams that you're a member of",
|
|
@@ -9260,6 +9654,7 @@ var listSubcommand16 = {
|
|
|
9260
9654
|
nextOption,
|
|
9261
9655
|
limitOption,
|
|
9262
9656
|
formatOption,
|
|
9657
|
+
jsonOption,
|
|
9263
9658
|
{ name: "since", shorthand: null, type: String, deprecated: true },
|
|
9264
9659
|
{ name: "until", shorthand: null, type: String, deprecated: true },
|
|
9265
9660
|
{ name: "count", shorthand: "C", type: Number, deprecated: true }
|
|
@@ -9318,7 +9713,7 @@ var ssoSubcommand = {
|
|
|
9318
9713
|
aliases: [],
|
|
9319
9714
|
description: "Show SAML / SSO configuration for the current team",
|
|
9320
9715
|
arguments: [],
|
|
9321
|
-
options: [formatOption],
|
|
9716
|
+
options: [formatOption, jsonOption],
|
|
9322
9717
|
examples: [
|
|
9323
9718
|
{
|
|
9324
9719
|
name: "Human-readable SAML summary",
|
|
@@ -9326,7 +9721,7 @@ var ssoSubcommand = {
|
|
|
9326
9721
|
},
|
|
9327
9722
|
{
|
|
9328
9723
|
name: "JSON",
|
|
9329
|
-
value: `${packageName} teams sso --
|
|
9724
|
+
value: `${packageName} teams sso --json`
|
|
9330
9725
|
}
|
|
9331
9726
|
]
|
|
9332
9727
|
};
|
|
@@ -9335,7 +9730,7 @@ var membersSubcommand2 = {
|
|
|
9335
9730
|
aliases: ["member"],
|
|
9336
9731
|
description: "List members for the currently scoped team",
|
|
9337
9732
|
arguments: [],
|
|
9338
|
-
options: [nextOption, limitOption, formatOption],
|
|
9733
|
+
options: [nextOption, limitOption, formatOption, jsonOption],
|
|
9339
9734
|
examples: [
|
|
9340
9735
|
{
|
|
9341
9736
|
name: "List team members",
|
|
@@ -9343,7 +9738,7 @@ var membersSubcommand2 = {
|
|
|
9343
9738
|
},
|
|
9344
9739
|
{
|
|
9345
9740
|
name: "List team members as JSON",
|
|
9346
|
-
value: `${packageName} teams members --
|
|
9741
|
+
value: `${packageName} teams members --json`
|
|
9347
9742
|
},
|
|
9348
9743
|
{
|
|
9349
9744
|
name: "Paginate results, where `1584722256178` is the time in milliseconds since the UNIX epoch",
|
|
@@ -9359,7 +9754,7 @@ var teamsCommand = {
|
|
|
9359
9754
|
subcommands: [
|
|
9360
9755
|
addSubcommand10,
|
|
9361
9756
|
inviteSubcommand,
|
|
9362
|
-
|
|
9757
|
+
listSubcommand17,
|
|
9363
9758
|
requestSubcommand,
|
|
9364
9759
|
switchSubcommand,
|
|
9365
9760
|
ssoSubcommand,
|
|
@@ -9370,7 +9765,7 @@ var teamsCommand = {
|
|
|
9370
9765
|
};
|
|
9371
9766
|
|
|
9372
9767
|
// src/commands/tokens/command.ts
|
|
9373
|
-
var
|
|
9768
|
+
var listSubcommand18 = {
|
|
9374
9769
|
name: "list",
|
|
9375
9770
|
aliases: ["ls"],
|
|
9376
9771
|
description: "List your personal authentication tokens",
|
|
@@ -9378,6 +9773,7 @@ var listSubcommand17 = {
|
|
|
9378
9773
|
arguments: [],
|
|
9379
9774
|
options: [
|
|
9380
9775
|
formatOption,
|
|
9776
|
+
jsonOption,
|
|
9381
9777
|
{
|
|
9382
9778
|
name: "limit",
|
|
9383
9779
|
shorthand: null,
|
|
@@ -9389,7 +9785,7 @@ var listSubcommand17 = {
|
|
|
9389
9785
|
examples: [
|
|
9390
9786
|
{
|
|
9391
9787
|
name: "List tokens as JSON",
|
|
9392
|
-
value: `${packageName} tokens ls --
|
|
9788
|
+
value: `${packageName} tokens ls --json`
|
|
9393
9789
|
}
|
|
9394
9790
|
]
|
|
9395
9791
|
};
|
|
@@ -9405,6 +9801,7 @@ var addSubcommand11 = {
|
|
|
9405
9801
|
],
|
|
9406
9802
|
options: [
|
|
9407
9803
|
formatOption,
|
|
9804
|
+
jsonOption,
|
|
9408
9805
|
{
|
|
9409
9806
|
...projectOption,
|
|
9410
9807
|
description: "Optional project ID to scope the token to"
|
|
@@ -9417,7 +9814,7 @@ var addSubcommand11 = {
|
|
|
9417
9814
|
}
|
|
9418
9815
|
]
|
|
9419
9816
|
};
|
|
9420
|
-
var
|
|
9817
|
+
var removeSubcommand14 = {
|
|
9421
9818
|
name: "remove",
|
|
9422
9819
|
aliases: ["rm", "delete"],
|
|
9423
9820
|
description: "Delete a personal authentication token by ID",
|
|
@@ -9427,7 +9824,7 @@ var removeSubcommand13 = {
|
|
|
9427
9824
|
required: true
|
|
9428
9825
|
}
|
|
9429
9826
|
],
|
|
9430
|
-
options: [formatOption],
|
|
9827
|
+
options: [formatOption, jsonOption],
|
|
9431
9828
|
examples: [
|
|
9432
9829
|
{
|
|
9433
9830
|
name: "Remove a token",
|
|
@@ -9440,7 +9837,7 @@ var tokensCommand = {
|
|
|
9440
9837
|
aliases: [],
|
|
9441
9838
|
description: "Manage your personal Vercel authentication tokens",
|
|
9442
9839
|
arguments: [],
|
|
9443
|
-
subcommands: [addSubcommand11,
|
|
9840
|
+
subcommands: [addSubcommand11, listSubcommand18, removeSubcommand14],
|
|
9444
9841
|
options: [],
|
|
9445
9842
|
examples: []
|
|
9446
9843
|
};
|
|
@@ -9660,10 +10057,7 @@ var upgradeCommand = {
|
|
|
9660
10057
|
type: Boolean,
|
|
9661
10058
|
deprecated: false
|
|
9662
10059
|
},
|
|
9663
|
-
|
|
9664
|
-
...formatOption,
|
|
9665
|
-
description: "Specify the output format (json) - implies --dry-run"
|
|
9666
|
-
},
|
|
10060
|
+
formatOption,
|
|
9667
10061
|
jsonOption
|
|
9668
10062
|
],
|
|
9669
10063
|
examples: [
|
|
@@ -9681,7 +10075,7 @@ var upgradeCommand = {
|
|
|
9681
10075
|
},
|
|
9682
10076
|
{
|
|
9683
10077
|
name: "Get upgrade information as JSON",
|
|
9684
|
-
value: `${packageName} upgrade --
|
|
10078
|
+
value: `${packageName} upgrade --json`
|
|
9685
10079
|
}
|
|
9686
10080
|
]
|
|
9687
10081
|
};
|
|
@@ -9755,7 +10149,7 @@ var usageCommand = {
|
|
|
9755
10149
|
},
|
|
9756
10150
|
{
|
|
9757
10151
|
name: "Output usage data as JSON",
|
|
9758
|
-
value: `${packageName} usage --
|
|
10152
|
+
value: `${packageName} usage --json`
|
|
9759
10153
|
}
|
|
9760
10154
|
]
|
|
9761
10155
|
};
|
|
@@ -9766,7 +10160,7 @@ var whoamiCommand = {
|
|
|
9766
10160
|
aliases: [],
|
|
9767
10161
|
description: "Shows the username of the currently logged in user.",
|
|
9768
10162
|
arguments: [],
|
|
9769
|
-
options: [formatOption],
|
|
10163
|
+
options: [formatOption, jsonOption],
|
|
9770
10164
|
examples: [
|
|
9771
10165
|
{
|
|
9772
10166
|
name: "Shows the username of the currently logged in user",
|
|
@@ -9809,7 +10203,7 @@ var environmentOption2 = {
|
|
|
9809
10203
|
argument: "ENV",
|
|
9810
10204
|
description: "Environment to connect (can be repeated: production, preview, development). Defaults to all when --yes is used."
|
|
9811
10205
|
};
|
|
9812
|
-
var
|
|
10206
|
+
var listSubcommand19 = {
|
|
9813
10207
|
name: "list",
|
|
9814
10208
|
aliases: ["ls"],
|
|
9815
10209
|
description: "List all files in the Blob store",
|
|
@@ -10309,7 +10703,7 @@ var blobCommand = {
|
|
|
10309
10703
|
description: "Interact with Vercel Blob",
|
|
10310
10704
|
arguments: [],
|
|
10311
10705
|
subcommands: [
|
|
10312
|
-
|
|
10706
|
+
listSubcommand19,
|
|
10313
10707
|
putSubcommand,
|
|
10314
10708
|
getSubcommand3,
|
|
10315
10709
|
delSubcommand,
|
|
@@ -10352,17 +10746,17 @@ var blobCommand = {
|
|
|
10352
10746
|
};
|
|
10353
10747
|
|
|
10354
10748
|
// src/commands/webhooks/command.ts
|
|
10355
|
-
var
|
|
10749
|
+
var listSubcommand20 = {
|
|
10356
10750
|
name: "list",
|
|
10357
10751
|
aliases: ["ls"],
|
|
10358
10752
|
description: "Show all webhooks",
|
|
10359
10753
|
default: true,
|
|
10360
10754
|
arguments: [],
|
|
10361
|
-
options: [formatOption],
|
|
10755
|
+
options: [formatOption, jsonOption],
|
|
10362
10756
|
examples: [
|
|
10363
10757
|
{
|
|
10364
10758
|
name: "List all webhooks as JSON",
|
|
10365
|
-
value: `${packageName} webhooks ls --
|
|
10759
|
+
value: `${packageName} webhooks ls --json`
|
|
10366
10760
|
}
|
|
10367
10761
|
]
|
|
10368
10762
|
};
|
|
@@ -10376,7 +10770,7 @@ var getSubcommand4 = {
|
|
|
10376
10770
|
required: true
|
|
10377
10771
|
}
|
|
10378
10772
|
],
|
|
10379
|
-
options: [formatOption],
|
|
10773
|
+
options: [formatOption, jsonOption],
|
|
10380
10774
|
examples: []
|
|
10381
10775
|
};
|
|
10382
10776
|
var createSubcommand6 = {
|
|
@@ -10414,7 +10808,7 @@ var createSubcommand6 = {
|
|
|
10414
10808
|
}
|
|
10415
10809
|
]
|
|
10416
10810
|
};
|
|
10417
|
-
var
|
|
10811
|
+
var removeSubcommand15 = {
|
|
10418
10812
|
name: "remove",
|
|
10419
10813
|
aliases: ["rm", "delete"],
|
|
10420
10814
|
description: "Remove a webhook",
|
|
@@ -10438,10 +10832,10 @@ var webhooksCommand = {
|
|
|
10438
10832
|
description: "Manage webhooks",
|
|
10439
10833
|
arguments: [],
|
|
10440
10834
|
subcommands: [
|
|
10441
|
-
|
|
10835
|
+
listSubcommand20,
|
|
10442
10836
|
getSubcommand4,
|
|
10443
10837
|
createSubcommand6,
|
|
10444
|
-
|
|
10838
|
+
removeSubcommand15
|
|
10445
10839
|
],
|
|
10446
10840
|
options: [],
|
|
10447
10841
|
examples: []
|
|
@@ -10471,11 +10865,11 @@ var commandsStructs = [
|
|
|
10471
10865
|
devCommand,
|
|
10472
10866
|
dnsCommand,
|
|
10473
10867
|
domainsCommand,
|
|
10474
|
-
edgeConfigCommand,
|
|
10475
10868
|
envCommand,
|
|
10476
10869
|
firewallCommand,
|
|
10477
10870
|
flagsCommand,
|
|
10478
10871
|
gitCommand,
|
|
10872
|
+
globalConfigCommand,
|
|
10479
10873
|
httpstatCommand,
|
|
10480
10874
|
initCommand,
|
|
10481
10875
|
inspectCommand,
|
|
@@ -10546,6 +10940,9 @@ export {
|
|
|
10546
10940
|
projectsSubcommand,
|
|
10547
10941
|
agentRunsCommand,
|
|
10548
10942
|
createSubcommand,
|
|
10943
|
+
listSubcommand2,
|
|
10944
|
+
inspectSubcommand2,
|
|
10945
|
+
removeSubcommand,
|
|
10549
10946
|
apiKeysSubcommand,
|
|
10550
10947
|
rulesAddSubcommand,
|
|
10551
10948
|
rulesListSubcommand,
|
|
@@ -10560,15 +10957,27 @@ export {
|
|
|
10560
10957
|
budgetsSetSubcommand,
|
|
10561
10958
|
budgetsListSubcommand,
|
|
10562
10959
|
budgetsRemoveSubcommand,
|
|
10960
|
+
leaderboardModelsSubcommand,
|
|
10961
|
+
budgetsDefaultsListSubcommand,
|
|
10962
|
+
budgetsDefaultsSetSubcommand,
|
|
10963
|
+
budgetsDefaultsRemoveSubcommand,
|
|
10964
|
+
budgetsDefaultsSubcommand,
|
|
10563
10965
|
budgetsSubcommand,
|
|
10966
|
+
leaderboardLabsSubcommand,
|
|
10967
|
+
leaderboardAppsSubcommand,
|
|
10968
|
+
leaderboardProvidersSubcommand,
|
|
10969
|
+
leaderboardSubcommand,
|
|
10564
10970
|
aiGatewayCommand,
|
|
10565
10971
|
setSubcommand,
|
|
10566
|
-
listSubcommand2,
|
|
10567
|
-
removeSubcommand,
|
|
10568
|
-
aliasCommand,
|
|
10569
10972
|
listSubcommand3,
|
|
10973
|
+
removeSubcommand2,
|
|
10974
|
+
aliasCommand,
|
|
10975
|
+
listSubcommand4,
|
|
10570
10976
|
apiCommand,
|
|
10571
10977
|
bisectCommand,
|
|
10978
|
+
CUSTOM_ENVIRONMENTS_PER_PACK,
|
|
10979
|
+
CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT,
|
|
10980
|
+
isCustomEnvironmentAddonAlias,
|
|
10572
10981
|
SUPPORTED_CREDIT_TYPES,
|
|
10573
10982
|
CREDIT_TYPE_LABELS,
|
|
10574
10983
|
creditsSubcommand,
|
|
@@ -10582,15 +10991,15 @@ export {
|
|
|
10582
10991
|
invalidateSubcommand,
|
|
10583
10992
|
dangerouslyDeleteSubcommand,
|
|
10584
10993
|
cacheCommand,
|
|
10585
|
-
|
|
10994
|
+
removeSubcommand3,
|
|
10586
10995
|
issueSubcommand,
|
|
10587
|
-
|
|
10996
|
+
listSubcommand5,
|
|
10588
10997
|
addSubcommand2 as addSubcommand,
|
|
10589
10998
|
certsCommand,
|
|
10590
10999
|
createSubcommand2,
|
|
10591
11000
|
updateSubcommand,
|
|
10592
|
-
|
|
10593
|
-
|
|
11001
|
+
listSubcommand6,
|
|
11002
|
+
removeSubcommand4,
|
|
10594
11003
|
tokenSubcommand,
|
|
10595
11004
|
revokeTokensSubcommand,
|
|
10596
11005
|
openSubcommand,
|
|
@@ -10599,7 +11008,7 @@ export {
|
|
|
10599
11008
|
connexCommand,
|
|
10600
11009
|
contractCommand,
|
|
10601
11010
|
addSubcommand3 as addSubcommand2,
|
|
10602
|
-
|
|
11011
|
+
listSubcommand7,
|
|
10603
11012
|
runSubcommand,
|
|
10604
11013
|
cronsCommand,
|
|
10605
11014
|
curlCommand,
|
|
@@ -10607,19 +11016,19 @@ export {
|
|
|
10607
11016
|
initSubcommand,
|
|
10608
11017
|
continueSubcommand,
|
|
10609
11018
|
deployCommand,
|
|
10610
|
-
|
|
11019
|
+
listSubcommand8,
|
|
10611
11020
|
createSubcommand3,
|
|
10612
|
-
|
|
11021
|
+
removeSubcommand5,
|
|
10613
11022
|
deployHooksCommand,
|
|
10614
11023
|
importSubcommand,
|
|
10615
|
-
|
|
11024
|
+
listSubcommand9,
|
|
10616
11025
|
addSubcommand4 as addSubcommand3,
|
|
10617
|
-
|
|
11026
|
+
removeSubcommand6,
|
|
10618
11027
|
dnsCommand,
|
|
10619
|
-
|
|
10620
|
-
|
|
11028
|
+
listSubcommand10,
|
|
11029
|
+
inspectSubcommand3,
|
|
10621
11030
|
addSubcommand5 as addSubcommand4,
|
|
10622
|
-
|
|
11031
|
+
removeSubcommand7,
|
|
10623
11032
|
priceSubcommand,
|
|
10624
11033
|
searchSubcommand,
|
|
10625
11034
|
buySubcommand,
|
|
@@ -10628,15 +11037,6 @@ export {
|
|
|
10628
11037
|
transferInSubcommand,
|
|
10629
11038
|
verifySubcommand,
|
|
10630
11039
|
domainsCommand,
|
|
10631
|
-
listSubcommand10,
|
|
10632
|
-
addSubcommand6 as addSubcommand5,
|
|
10633
|
-
getSubcommand,
|
|
10634
|
-
updateSubcommand2,
|
|
10635
|
-
removeSubcommand7,
|
|
10636
|
-
itemsSubcommand,
|
|
10637
|
-
tokensSubcommand,
|
|
10638
|
-
backupsSubcommand,
|
|
10639
|
-
edgeConfigCommand,
|
|
10640
11040
|
overviewSubcommand,
|
|
10641
11041
|
diffSubcommand,
|
|
10642
11042
|
publishSubcommand,
|
|
@@ -10672,14 +11072,14 @@ export {
|
|
|
10672
11072
|
FLAG_EVALUATIONS_GRANULARITIES,
|
|
10673
11073
|
isFlagEvaluationsGranularity,
|
|
10674
11074
|
listSubcommand11,
|
|
10675
|
-
|
|
11075
|
+
inspectSubcommand4,
|
|
10676
11076
|
versionsListSubcommand,
|
|
10677
11077
|
versionsDiffSubcommand,
|
|
10678
11078
|
versionsSubcommand,
|
|
10679
11079
|
evaluationsSubcommand,
|
|
10680
11080
|
createSubcommand4,
|
|
10681
11081
|
openSubcommand2,
|
|
10682
|
-
|
|
11082
|
+
updateSubcommand2,
|
|
10683
11083
|
setSubcommand2,
|
|
10684
11084
|
splitSubcommand,
|
|
10685
11085
|
rolloutSubcommand,
|
|
@@ -10709,6 +11109,15 @@ export {
|
|
|
10709
11109
|
connectSubcommand,
|
|
10710
11110
|
disconnectSubcommand,
|
|
10711
11111
|
gitCommand,
|
|
11112
|
+
listSubcommand12,
|
|
11113
|
+
addSubcommand6 as addSubcommand5,
|
|
11114
|
+
getSubcommand,
|
|
11115
|
+
updateSubcommand3,
|
|
11116
|
+
removeSubcommand9,
|
|
11117
|
+
itemsSubcommand,
|
|
11118
|
+
tokensSubcommand,
|
|
11119
|
+
backupsSubcommand,
|
|
11120
|
+
globalConfigCommand,
|
|
10712
11121
|
statusSubcommand,
|
|
10713
11122
|
enableSubcommand2,
|
|
10714
11123
|
disableSubcommand2,
|
|
@@ -10716,23 +11125,23 @@ export {
|
|
|
10716
11125
|
httpstatCommand,
|
|
10717
11126
|
initCommand,
|
|
10718
11127
|
inspectCommand,
|
|
10719
|
-
|
|
11128
|
+
removeSubcommand10,
|
|
10720
11129
|
disconnectSubcommand2,
|
|
10721
11130
|
connectSubcommand2,
|
|
10722
11131
|
createThresholdSubcommand,
|
|
10723
11132
|
claimSubcommand,
|
|
10724
|
-
|
|
11133
|
+
inspectSubcommand5,
|
|
10725
11134
|
integrationResourceCommand,
|
|
10726
11135
|
addSubcommand7 as addSubcommand6,
|
|
10727
11136
|
acceptTermsSubcommand,
|
|
10728
11137
|
openSubcommand3,
|
|
10729
11138
|
installationsSubcommand,
|
|
10730
|
-
|
|
11139
|
+
listSubcommand13,
|
|
10731
11140
|
discoverSubcommand,
|
|
10732
11141
|
categoriesSubcommand,
|
|
10733
11142
|
balanceSubcommand,
|
|
10734
11143
|
updateSubcommand4,
|
|
10735
|
-
|
|
11144
|
+
removeSubcommand11,
|
|
10736
11145
|
guideSubcommand,
|
|
10737
11146
|
resourceSubcommand,
|
|
10738
11147
|
integrationCommand,
|
|
@@ -10756,9 +11165,9 @@ export {
|
|
|
10756
11165
|
checksAddFlags,
|
|
10757
11166
|
checksRemoveFlags,
|
|
10758
11167
|
checksSubcommand,
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
11168
|
+
inspectSubcommand6,
|
|
11169
|
+
listSubcommand14,
|
|
11170
|
+
removeSubcommand12,
|
|
10762
11171
|
renameSubcommand,
|
|
10763
11172
|
updateSubcommand5,
|
|
10764
11173
|
tokenSubcommand2,
|
|
@@ -10772,11 +11181,11 @@ export {
|
|
|
10772
11181
|
statusSubcommand2,
|
|
10773
11182
|
promoteCommand,
|
|
10774
11183
|
redeployCommand,
|
|
10775
|
-
|
|
11184
|
+
listSubcommand15,
|
|
10776
11185
|
listVersionsSubcommand,
|
|
10777
11186
|
addSubcommand9,
|
|
10778
11187
|
uploadSubcommand,
|
|
10779
|
-
|
|
11188
|
+
removeSubcommand13,
|
|
10780
11189
|
promoteSubcommand,
|
|
10781
11190
|
restoreSubcommand,
|
|
10782
11191
|
redirectsCommand,
|
|
@@ -10791,19 +11200,19 @@ export {
|
|
|
10791
11200
|
fetchSubcommand,
|
|
10792
11201
|
rollingReleaseCommand,
|
|
10793
11202
|
skillsCommand,
|
|
10794
|
-
|
|
11203
|
+
listSubcommand16,
|
|
10795
11204
|
targetCommand,
|
|
10796
11205
|
requestSubcommand,
|
|
10797
11206
|
addSubcommand10,
|
|
10798
|
-
|
|
11207
|
+
listSubcommand17,
|
|
10799
11208
|
switchSubcommand,
|
|
10800
11209
|
inviteSubcommand,
|
|
10801
11210
|
ssoSubcommand,
|
|
10802
11211
|
membersSubcommand2,
|
|
10803
11212
|
teamsCommand,
|
|
10804
|
-
|
|
11213
|
+
listSubcommand18,
|
|
10805
11214
|
addSubcommand11,
|
|
10806
|
-
|
|
11215
|
+
removeSubcommand14,
|
|
10807
11216
|
tokensCommand,
|
|
10808
11217
|
statusSubcommand4,
|
|
10809
11218
|
enableSubcommand3,
|
|
@@ -10816,7 +11225,7 @@ export {
|
|
|
10816
11225
|
upgradeCommand,
|
|
10817
11226
|
usageCommand,
|
|
10818
11227
|
whoamiCommand,
|
|
10819
|
-
|
|
11228
|
+
listSubcommand19,
|
|
10820
11229
|
putSubcommand,
|
|
10821
11230
|
delSubcommand,
|
|
10822
11231
|
copySubcommand,
|
|
@@ -10829,10 +11238,10 @@ export {
|
|
|
10829
11238
|
getStoreInfoSubcommand,
|
|
10830
11239
|
listStoresSubcommand,
|
|
10831
11240
|
blobCommand,
|
|
10832
|
-
|
|
11241
|
+
listSubcommand20,
|
|
10833
11242
|
getSubcommand4,
|
|
10834
11243
|
createSubcommand6,
|
|
10835
|
-
|
|
11244
|
+
removeSubcommand15,
|
|
10836
11245
|
webhooksCommand,
|
|
10837
11246
|
getCommandAliases,
|
|
10838
11247
|
commands,
|