@sanity/runtime-cli 14.11.0 → 14.12.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.
@@ -60,6 +60,39 @@
60
60
  "allowNo": false,
61
61
  "type": "boolean"
62
62
  },
63
+ "stack": {
64
+ "description": "Stack name or ID to use instead of the locally configured Stack",
65
+ "hidden": true,
66
+ "name": "stack",
67
+ "hasDynamicHelp": false,
68
+ "multiple": false,
69
+ "type": "option"
70
+ },
71
+ "project-id": {
72
+ "aliases": [
73
+ "project",
74
+ "projectId"
75
+ ],
76
+ "description": "Sanity project ID used to scope Blueprint and Stack",
77
+ "hidden": true,
78
+ "name": "project-id",
79
+ "hasDynamicHelp": false,
80
+ "multiple": false,
81
+ "type": "option"
82
+ },
83
+ "organization-id": {
84
+ "aliases": [
85
+ "organization",
86
+ "organizationId",
87
+ "org"
88
+ ],
89
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
90
+ "hidden": true,
91
+ "name": "organization-id",
92
+ "hasDynamicHelp": false,
93
+ "multiple": false,
94
+ "type": "option"
95
+ },
63
96
  "example": {
64
97
  "aliases": [
65
98
  "recipe"
@@ -100,12 +133,13 @@
100
133
  "options": [
101
134
  "document-publish",
102
135
  "document-create",
103
- "document-update",
104
136
  "document-delete",
137
+ "document-update",
105
138
  "media-library-asset-create",
106
- "media-library-asset-update",
107
139
  "media-library-asset-delete",
108
- "scheduled-function"
140
+ "media-library-asset-update",
141
+ "scheduled-function",
142
+ "sync-tag-invalidate"
109
143
  ],
110
144
  "type": "option"
111
145
  },
@@ -185,6 +219,10 @@
185
219
  "strict": true,
186
220
  "summary": "Add a function resource to a Blueprint",
187
221
  "enableJsonFlag": true,
222
+ "needs": [
223
+ "token",
224
+ "blueprint"
225
+ ],
188
226
  "isESM": true,
189
227
  "relativePath": [
190
228
  "dist",
@@ -243,12 +281,19 @@
243
281
  "allowNo": false,
244
282
  "type": "boolean"
245
283
  },
246
- "edit": {
247
- "char": "e",
248
- "description": "Modify the configuration interactively, or directly when combined with ID flags.",
249
- "name": "edit",
250
- "allowNo": false,
251
- "type": "boolean"
284
+ "stack": {
285
+ "aliases": [
286
+ "stack-id",
287
+ "stackId"
288
+ ],
289
+ "dependsOn": [
290
+ "edit"
291
+ ],
292
+ "description": "Stack name or ID to set in the configuration. Requires --edit flag",
293
+ "name": "stack",
294
+ "hasDynamicHelp": false,
295
+ "multiple": false,
296
+ "type": "option"
252
297
  },
253
298
  "project-id": {
254
299
  "aliases": [
@@ -279,19 +324,12 @@
279
324
  "multiple": false,
280
325
  "type": "option"
281
326
  },
282
- "stack": {
283
- "aliases": [
284
- "stack-id",
285
- "stackId"
286
- ],
287
- "dependsOn": [
288
- "edit"
289
- ],
290
- "description": "Stack name or ID to set in the configuration. Requires --edit flag",
291
- "name": "stack",
292
- "hasDynamicHelp": false,
293
- "multiple": false,
294
- "type": "option"
327
+ "edit": {
328
+ "char": "e",
329
+ "description": "Modify the configuration interactively, or directly when combined with ID flags.",
330
+ "name": "edit",
331
+ "allowNo": false,
332
+ "type": "boolean"
295
333
  }
296
334
  },
297
335
  "hasDynamicHelp": false,
@@ -303,6 +341,10 @@
303
341
  "strict": true,
304
342
  "summary": "View or edit the local Blueprint configuration",
305
343
  "enableJsonFlag": true,
344
+ "needs": [
345
+ "token",
346
+ "blueprint"
347
+ ],
306
348
  "isESM": true,
307
349
  "relativePath": [
308
350
  "dist",
@@ -369,6 +411,31 @@
369
411
  "multiple": false,
370
412
  "type": "option"
371
413
  },
414
+ "project-id": {
415
+ "aliases": [
416
+ "project",
417
+ "projectId"
418
+ ],
419
+ "description": "Sanity project ID used to scope Blueprint and Stack",
420
+ "hidden": true,
421
+ "name": "project-id",
422
+ "hasDynamicHelp": false,
423
+ "multiple": false,
424
+ "type": "option"
425
+ },
426
+ "organization-id": {
427
+ "aliases": [
428
+ "organization",
429
+ "organizationId",
430
+ "org"
431
+ ],
432
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
433
+ "hidden": true,
434
+ "name": "organization-id",
435
+ "hasDynamicHelp": false,
436
+ "multiple": false,
437
+ "type": "option"
438
+ },
372
439
  "message": {
373
440
  "char": "m",
374
441
  "description": "Message describing the deployment (e.g. reason for change)",
@@ -418,6 +485,10 @@
418
485
  "strict": true,
419
486
  "summary": "Deploy the local Blueprint to the remote Stack",
420
487
  "enableJsonFlag": true,
488
+ "needs": [
489
+ "deployedStack",
490
+ "blueprint"
491
+ ],
421
492
  "isESM": true,
422
493
  "relativePath": [
423
494
  "dist",
@@ -474,14 +545,16 @@
474
545
  "allowNo": false,
475
546
  "type": "boolean"
476
547
  },
477
- "force": {
548
+ "stack": {
478
549
  "aliases": [
479
- "f"
550
+ "stack-id",
551
+ "stackId"
480
552
  ],
481
- "description": "Force Stack destruction (skip confirmation)",
482
- "name": "force",
483
- "allowNo": false,
484
- "type": "boolean"
553
+ "description": "Stack name or ID to destroy (defaults to the locally configured Stack)",
554
+ "name": "stack",
555
+ "hasDynamicHelp": false,
556
+ "multiple": false,
557
+ "type": "option"
485
558
  },
486
559
  "project-id": {
487
560
  "aliases": [
@@ -520,16 +593,14 @@
520
593
  "multiple": false,
521
594
  "type": "option"
522
595
  },
523
- "stack": {
596
+ "force": {
524
597
  "aliases": [
525
- "stack-id",
526
- "stackId"
598
+ "f"
527
599
  ],
528
- "description": "Stack name or ID to destroy (defaults to the locally configured Stack)",
529
- "name": "stack",
530
- "hasDynamicHelp": false,
531
- "multiple": false,
532
- "type": "option"
600
+ "description": "Force Stack destruction (skip confirmation)",
601
+ "name": "force",
602
+ "allowNo": false,
603
+ "type": "boolean"
533
604
  },
534
605
  "no-wait": {
535
606
  "description": "Do not wait for Stack destruction to complete",
@@ -547,6 +618,10 @@
547
618
  "strict": true,
548
619
  "summary": "Destroy a remote Stack deployment and its resources",
549
620
  "enableJsonFlag": true,
621
+ "needs": [
622
+ "token",
623
+ "blueprint"
624
+ ],
550
625
  "isESM": true,
551
626
  "relativePath": [
552
627
  "dist",
@@ -633,7 +708,8 @@
633
708
  "description": "Displays the current state and metadata of your remote Stack deployment, including deployed resources, status, and configuration.\n\nUse this command to verify a deployment succeeded, check what resources are live, or confirm which Stack your local Blueprint is connected to.\n\nRun 'blueprints stacks' to see all available Stacks in your project or organization.",
634
709
  "examples": [
635
710
  "<%= config.bin %> <%= command.id %>",
636
- "<%= config.bin %> <%= command.id %> --stack <name-or-id>"
711
+ "<%= config.bin %> <%= command.id %> --stack <name-or-id>",
712
+ "<%= config.bin %> <%= command.id %> --project-id <id> --stack <name-or-id>"
637
713
  ],
638
714
  "flags": {
639
715
  "json": {
@@ -679,11 +755,35 @@
679
755
  "aliases": [
680
756
  "id"
681
757
  ],
682
- "description": "Stack name or ID to use instead of the locally configured Stack",
758
+ "description": "Stack name or ID",
683
759
  "name": "stack",
684
760
  "hasDynamicHelp": false,
685
761
  "multiple": false,
686
762
  "type": "option"
763
+ },
764
+ "project-id": {
765
+ "aliases": [
766
+ "project",
767
+ "projectId"
768
+ ],
769
+ "description": "Sanity project ID used to scope Blueprint and Stack",
770
+ "name": "project-id",
771
+ "hasDynamicHelp": false,
772
+ "multiple": false,
773
+ "type": "option"
774
+ },
775
+ "organization-id": {
776
+ "aliases": [
777
+ "organization",
778
+ "organizationId",
779
+ "org"
780
+ ],
781
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
782
+ "hidden": true,
783
+ "name": "organization-id",
784
+ "hasDynamicHelp": false,
785
+ "multiple": false,
786
+ "type": "option"
687
787
  }
688
788
  },
689
789
  "hasDynamicHelp": false,
@@ -695,6 +795,9 @@
695
795
  "strict": true,
696
796
  "summary": "Display the status and resources of the remote Stack deployment",
697
797
  "enableJsonFlag": true,
798
+ "needs": [
799
+ "deployedStack"
800
+ ],
698
801
  "isESM": true,
699
802
  "relativePath": [
700
803
  "dist",
@@ -919,6 +1022,31 @@
919
1022
  "multiple": false,
920
1023
  "type": "option"
921
1024
  },
1025
+ "project-id": {
1026
+ "aliases": [
1027
+ "project",
1028
+ "projectId"
1029
+ ],
1030
+ "description": "Sanity project ID used to scope Blueprint and Stack",
1031
+ "hidden": true,
1032
+ "name": "project-id",
1033
+ "hasDynamicHelp": false,
1034
+ "multiple": false,
1035
+ "type": "option"
1036
+ },
1037
+ "organization-id": {
1038
+ "aliases": [
1039
+ "organization",
1040
+ "organizationId",
1041
+ "org"
1042
+ ],
1043
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
1044
+ "hidden": true,
1045
+ "name": "organization-id",
1046
+ "hasDynamicHelp": false,
1047
+ "multiple": false,
1048
+ "type": "option"
1049
+ },
922
1050
  "watch": {
923
1051
  "aliases": [
924
1052
  "follow"
@@ -939,6 +1067,10 @@
939
1067
  "strict": true,
940
1068
  "summary": "Display logs for the current Blueprint's Stack deployment",
941
1069
  "enableJsonFlag": true,
1070
+ "needs": [
1071
+ "deployedStack",
1072
+ "blueprint"
1073
+ ],
942
1074
  "isESM": true,
943
1075
  "relativePath": [
944
1076
  "dist",
@@ -1001,6 +1133,31 @@
1001
1133
  "hasDynamicHelp": false,
1002
1134
  "multiple": false,
1003
1135
  "type": "option"
1136
+ },
1137
+ "project-id": {
1138
+ "aliases": [
1139
+ "project",
1140
+ "projectId"
1141
+ ],
1142
+ "description": "Sanity project ID used to scope Blueprint and Stack",
1143
+ "hidden": true,
1144
+ "name": "project-id",
1145
+ "hasDynamicHelp": false,
1146
+ "multiple": false,
1147
+ "type": "option"
1148
+ },
1149
+ "organization-id": {
1150
+ "aliases": [
1151
+ "organization",
1152
+ "organizationId",
1153
+ "org"
1154
+ ],
1155
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
1156
+ "hidden": true,
1157
+ "name": "organization-id",
1158
+ "hasDynamicHelp": false,
1159
+ "multiple": false,
1160
+ "type": "option"
1004
1161
  }
1005
1162
  },
1006
1163
  "hasDynamicHelp": false,
@@ -1012,6 +1169,10 @@
1012
1169
  "strict": true,
1013
1170
  "summary": "Preview changes that will be applied to the remote Stack",
1014
1171
  "enableJsonFlag": true,
1172
+ "needs": [
1173
+ "token",
1174
+ "blueprint"
1175
+ ],
1015
1176
  "isESM": true,
1016
1177
  "relativePath": [
1017
1178
  "dist",
@@ -1078,6 +1239,31 @@
1078
1239
  "multiple": false,
1079
1240
  "type": "option"
1080
1241
  },
1242
+ "project-id": {
1243
+ "aliases": [
1244
+ "project",
1245
+ "projectId"
1246
+ ],
1247
+ "description": "Sanity project ID used to scope Blueprint and Stack",
1248
+ "hidden": true,
1249
+ "name": "project-id",
1250
+ "hasDynamicHelp": false,
1251
+ "multiple": false,
1252
+ "type": "option"
1253
+ },
1254
+ "organization-id": {
1255
+ "aliases": [
1256
+ "organization",
1257
+ "organizationId",
1258
+ "org"
1259
+ ],
1260
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
1261
+ "hidden": true,
1262
+ "name": "organization-id",
1263
+ "hasDynamicHelp": false,
1264
+ "multiple": false,
1265
+ "type": "option"
1266
+ },
1081
1267
  "force": {
1082
1268
  "description": "Skip confirmation prompt",
1083
1269
  "name": "force",
@@ -1095,6 +1281,10 @@
1095
1281
  "strict": true,
1096
1282
  "summary": "Promote a Stack from project scope to organization scope",
1097
1283
  "enableJsonFlag": true,
1284
+ "needs": [
1285
+ "deployedStack",
1286
+ "blueprint"
1287
+ ],
1098
1288
  "isESM": true,
1099
1289
  "relativePath": [
1100
1290
  "dist",
@@ -1152,6 +1342,14 @@
1152
1342
  "allowNo": false,
1153
1343
  "type": "boolean"
1154
1344
  },
1345
+ "stack": {
1346
+ "description": "Stack name or ID to use instead of the locally configured Stack",
1347
+ "hidden": true,
1348
+ "name": "stack",
1349
+ "hasDynamicHelp": false,
1350
+ "multiple": false,
1351
+ "type": "option"
1352
+ },
1155
1353
  "project-id": {
1156
1354
  "aliases": [
1157
1355
  "project",
@@ -1191,6 +1389,10 @@
1191
1389
  "strict": true,
1192
1390
  "summary": "List remote Stack deployments for your project or organization",
1193
1391
  "enableJsonFlag": true,
1392
+ "needs": [
1393
+ "token",
1394
+ "blueprint"
1395
+ ],
1194
1396
  "isESM": true,
1195
1397
  "relativePath": [
1196
1398
  "dist",
@@ -1202,7 +1404,7 @@
1202
1404
  "functions:add": {
1203
1405
  "aliases": [],
1204
1406
  "args": {},
1205
- "description": "Scaffolds a new Function in the functions/ folder and templates a resource for your Blueprint manifest.\n\nFunctions are serverless handlers triggered by document events (create, update, delete, publish) or media library events.\n\nAfter adding, use 'functions dev' to test locally, then 'blueprints deploy' to publish.",
1407
+ "description": "Scaffolds a new Function in the functions/ folder and templates a resource for your Blueprint manifest.\n\nFunctions are serverless handlers triggered by document, live content or media-library events (create, update, delete, publish).\n\nAfter adding, use 'functions dev' to test locally, then 'blueprints deploy' to publish.",
1206
1408
  "examples": [
1207
1409
  "<%= config.bin %> <%= command.id %>",
1208
1410
  "<%= config.bin %> <%= command.id %> --helpers",
@@ -1250,6 +1452,39 @@
1250
1452
  "allowNo": false,
1251
1453
  "type": "boolean"
1252
1454
  },
1455
+ "stack": {
1456
+ "description": "Stack name or ID to use instead of the locally configured Stack",
1457
+ "hidden": true,
1458
+ "name": "stack",
1459
+ "hasDynamicHelp": false,
1460
+ "multiple": false,
1461
+ "type": "option"
1462
+ },
1463
+ "project-id": {
1464
+ "aliases": [
1465
+ "project",
1466
+ "projectId"
1467
+ ],
1468
+ "description": "Sanity project ID used to scope Blueprint and Stack",
1469
+ "hidden": true,
1470
+ "name": "project-id",
1471
+ "hasDynamicHelp": false,
1472
+ "multiple": false,
1473
+ "type": "option"
1474
+ },
1475
+ "organization-id": {
1476
+ "aliases": [
1477
+ "organization",
1478
+ "organizationId",
1479
+ "org"
1480
+ ],
1481
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
1482
+ "hidden": true,
1483
+ "name": "organization-id",
1484
+ "hasDynamicHelp": false,
1485
+ "multiple": false,
1486
+ "type": "option"
1487
+ },
1253
1488
  "example": {
1254
1489
  "aliases": [
1255
1490
  "recipe"
@@ -1287,12 +1522,13 @@
1287
1522
  "options": [
1288
1523
  "document-publish",
1289
1524
  "document-create",
1290
- "document-update",
1291
1525
  "document-delete",
1526
+ "document-update",
1292
1527
  "media-library-asset-create",
1293
- "media-library-asset-update",
1294
1528
  "media-library-asset-delete",
1295
- "scheduled-function"
1529
+ "media-library-asset-update",
1530
+ "scheduled-function",
1531
+ "sync-tag-invalidate"
1296
1532
  ],
1297
1533
  "type": "option"
1298
1534
  },
@@ -1362,6 +1598,10 @@
1362
1598
  "strict": true,
1363
1599
  "summary": "Add a Function to your Blueprint",
1364
1600
  "enableJsonFlag": true,
1601
+ "needs": [
1602
+ "token",
1603
+ "blueprint"
1604
+ ],
1365
1605
  "isESM": true,
1366
1606
  "relativePath": [
1367
1607
  "dist",
@@ -1419,6 +1659,39 @@
1419
1659
  "allowNo": false,
1420
1660
  "type": "boolean"
1421
1661
  },
1662
+ "stack": {
1663
+ "description": "Stack name or ID to use instead of the locally configured Stack",
1664
+ "hidden": true,
1665
+ "name": "stack",
1666
+ "hasDynamicHelp": false,
1667
+ "multiple": false,
1668
+ "type": "option"
1669
+ },
1670
+ "project-id": {
1671
+ "aliases": [
1672
+ "project",
1673
+ "projectId"
1674
+ ],
1675
+ "description": "Sanity project ID used to scope Blueprint and Stack",
1676
+ "hidden": true,
1677
+ "name": "project-id",
1678
+ "hasDynamicHelp": false,
1679
+ "multiple": false,
1680
+ "type": "option"
1681
+ },
1682
+ "organization-id": {
1683
+ "aliases": [
1684
+ "organization",
1685
+ "organizationId",
1686
+ "org"
1687
+ ],
1688
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
1689
+ "hidden": true,
1690
+ "name": "organization-id",
1691
+ "hasDynamicHelp": false,
1692
+ "multiple": false,
1693
+ "type": "option"
1694
+ },
1422
1695
  "fn-installer": {
1423
1696
  "aliases": [
1424
1697
  "function-installer",
@@ -1455,6 +1728,10 @@
1455
1728
  "strict": true,
1456
1729
  "summary": "Build Sanity Function(s) to zip archives",
1457
1730
  "enableJsonFlag": true,
1731
+ "needs": [
1732
+ "token",
1733
+ "blueprint"
1734
+ ],
1458
1735
  "isESM": true,
1459
1736
  "relativePath": [
1460
1737
  "dist",
@@ -1511,6 +1788,39 @@
1511
1788
  "allowNo": false,
1512
1789
  "type": "boolean"
1513
1790
  },
1791
+ "stack": {
1792
+ "description": "Stack name or ID to use instead of the locally configured Stack",
1793
+ "hidden": true,
1794
+ "name": "stack",
1795
+ "hasDynamicHelp": false,
1796
+ "multiple": false,
1797
+ "type": "option"
1798
+ },
1799
+ "project-id": {
1800
+ "aliases": [
1801
+ "project",
1802
+ "projectId"
1803
+ ],
1804
+ "description": "Sanity project ID used to scope Blueprint and Stack",
1805
+ "hidden": true,
1806
+ "name": "project-id",
1807
+ "hasDynamicHelp": false,
1808
+ "multiple": false,
1809
+ "type": "option"
1810
+ },
1811
+ "organization-id": {
1812
+ "aliases": [
1813
+ "organization",
1814
+ "organizationId",
1815
+ "org"
1816
+ ],
1817
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
1818
+ "hidden": true,
1819
+ "name": "organization-id",
1820
+ "hasDynamicHelp": false,
1821
+ "multiple": false,
1822
+ "type": "option"
1823
+ },
1514
1824
  "host": {
1515
1825
  "char": "h",
1516
1826
  "description": "The local network interface at which to listen. [default: \"localhost\"]",
@@ -1548,6 +1858,10 @@
1548
1858
  "strict": true,
1549
1859
  "summary": "Start the Sanity Function emulator",
1550
1860
  "enableJsonFlag": true,
1861
+ "needs": [
1862
+ "token",
1863
+ "blueprint"
1864
+ ],
1551
1865
  "isESM": true,
1552
1866
  "relativePath": [
1553
1867
  "dist",
@@ -1620,6 +1934,31 @@
1620
1934
  "multiple": false,
1621
1935
  "type": "option"
1622
1936
  },
1937
+ "project-id": {
1938
+ "aliases": [
1939
+ "project",
1940
+ "projectId"
1941
+ ],
1942
+ "description": "Sanity project ID used to scope Blueprint and Stack",
1943
+ "hidden": true,
1944
+ "name": "project-id",
1945
+ "hasDynamicHelp": false,
1946
+ "multiple": false,
1947
+ "type": "option"
1948
+ },
1949
+ "organization-id": {
1950
+ "aliases": [
1951
+ "organization",
1952
+ "organizationId",
1953
+ "org"
1954
+ ],
1955
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
1956
+ "hidden": true,
1957
+ "name": "organization-id",
1958
+ "hasDynamicHelp": false,
1959
+ "multiple": false,
1960
+ "type": "option"
1961
+ },
1623
1962
  "limit": {
1624
1963
  "char": "l",
1625
1964
  "description": "Total number of log entries to retrieve",
@@ -1681,6 +2020,10 @@
1681
2020
  "strict": true,
1682
2021
  "summary": "Retrieve or delete logs for a Sanity Function",
1683
2022
  "enableJsonFlag": true,
2023
+ "needs": [
2024
+ "deployedStack",
2025
+ "blueprint"
2026
+ ],
1684
2027
  "isESM": true,
1685
2028
  "relativePath": [
1686
2029
  "dist",
@@ -1745,6 +2088,37 @@
1745
2088
  "allowNo": false,
1746
2089
  "type": "boolean"
1747
2090
  },
2091
+ "stack": {
2092
+ "description": "Stack name or ID to use instead of the locally configured Stack",
2093
+ "hidden": true,
2094
+ "name": "stack",
2095
+ "hasDynamicHelp": false,
2096
+ "multiple": false,
2097
+ "type": "option"
2098
+ },
2099
+ "project-id": {
2100
+ "aliases": [
2101
+ "project",
2102
+ "projectId"
2103
+ ],
2104
+ "description": "Sanity project ID used to scope Blueprint and Stack",
2105
+ "name": "project-id",
2106
+ "hasDynamicHelp": false,
2107
+ "multiple": false,
2108
+ "type": "option"
2109
+ },
2110
+ "organization-id": {
2111
+ "aliases": [
2112
+ "organization",
2113
+ "organizationId",
2114
+ "org"
2115
+ ],
2116
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
2117
+ "name": "organization-id",
2118
+ "hasDynamicHelp": false,
2119
+ "multiple": false,
2120
+ "type": "option"
2121
+ },
1748
2122
  "data": {
1749
2123
  "char": "d",
1750
2124
  "description": "Data to send to the function",
@@ -1879,29 +2253,6 @@
1879
2253
  "multiple": false,
1880
2254
  "type": "option"
1881
2255
  },
1882
- "project-id": {
1883
- "aliases": [
1884
- "project",
1885
- "projectId"
1886
- ],
1887
- "description": "Sanity project ID used to scope Blueprint and Stack",
1888
- "name": "project-id",
1889
- "hasDynamicHelp": false,
1890
- "multiple": false,
1891
- "type": "option"
1892
- },
1893
- "organization-id": {
1894
- "aliases": [
1895
- "organization",
1896
- "organizationId",
1897
- "org"
1898
- ],
1899
- "description": "Sanity organization ID used to scope Blueprint and Stack",
1900
- "name": "organization-id",
1901
- "hasDynamicHelp": false,
1902
- "multiple": false,
1903
- "type": "option"
1904
- },
1905
2256
  "document-id": {
1906
2257
  "aliases": [
1907
2258
  "doc",
@@ -1983,6 +2334,10 @@
1983
2334
  "strict": true,
1984
2335
  "summary": "Invoke a local Sanity Function",
1985
2336
  "enableJsonFlag": true,
2337
+ "needs": [
2338
+ "token",
2339
+ "blueprint"
2340
+ ],
1986
2341
  "isESM": true,
1987
2342
  "relativePath": [
1988
2343
  "dist",
@@ -2061,6 +2416,31 @@
2061
2416
  "hasDynamicHelp": false,
2062
2417
  "multiple": false,
2063
2418
  "type": "option"
2419
+ },
2420
+ "project-id": {
2421
+ "aliases": [
2422
+ "project",
2423
+ "projectId"
2424
+ ],
2425
+ "description": "Sanity project ID used to scope Blueprint and Stack",
2426
+ "hidden": true,
2427
+ "name": "project-id",
2428
+ "hasDynamicHelp": false,
2429
+ "multiple": false,
2430
+ "type": "option"
2431
+ },
2432
+ "organization-id": {
2433
+ "aliases": [
2434
+ "organization",
2435
+ "organizationId",
2436
+ "org"
2437
+ ],
2438
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
2439
+ "hidden": true,
2440
+ "name": "organization-id",
2441
+ "hasDynamicHelp": false,
2442
+ "multiple": false,
2443
+ "type": "option"
2064
2444
  }
2065
2445
  },
2066
2446
  "hasDynamicHelp": false,
@@ -2072,6 +2452,10 @@
2072
2452
  "strict": true,
2073
2453
  "summary": "Add or set an environment variable for a deployed function",
2074
2454
  "enableJsonFlag": true,
2455
+ "needs": [
2456
+ "deployedStack",
2457
+ "blueprint"
2458
+ ],
2075
2459
  "isESM": true,
2076
2460
  "relativePath": [
2077
2461
  "dist",
@@ -2141,6 +2525,31 @@
2141
2525
  "hasDynamicHelp": false,
2142
2526
  "multiple": false,
2143
2527
  "type": "option"
2528
+ },
2529
+ "project-id": {
2530
+ "aliases": [
2531
+ "project",
2532
+ "projectId"
2533
+ ],
2534
+ "description": "Sanity project ID used to scope Blueprint and Stack",
2535
+ "hidden": true,
2536
+ "name": "project-id",
2537
+ "hasDynamicHelp": false,
2538
+ "multiple": false,
2539
+ "type": "option"
2540
+ },
2541
+ "organization-id": {
2542
+ "aliases": [
2543
+ "organization",
2544
+ "organizationId",
2545
+ "org"
2546
+ ],
2547
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
2548
+ "hidden": true,
2549
+ "name": "organization-id",
2550
+ "hasDynamicHelp": false,
2551
+ "multiple": false,
2552
+ "type": "option"
2144
2553
  }
2145
2554
  },
2146
2555
  "hasDynamicHelp": false,
@@ -2152,6 +2561,10 @@
2152
2561
  "strict": true,
2153
2562
  "summary": "List environment variables for a deployed function",
2154
2563
  "enableJsonFlag": true,
2564
+ "needs": [
2565
+ "deployedStack",
2566
+ "blueprint"
2567
+ ],
2155
2568
  "isESM": true,
2156
2569
  "relativePath": [
2157
2570
  "dist",
@@ -2226,6 +2639,31 @@
2226
2639
  "hasDynamicHelp": false,
2227
2640
  "multiple": false,
2228
2641
  "type": "option"
2642
+ },
2643
+ "project-id": {
2644
+ "aliases": [
2645
+ "project",
2646
+ "projectId"
2647
+ ],
2648
+ "description": "Sanity project ID used to scope Blueprint and Stack",
2649
+ "hidden": true,
2650
+ "name": "project-id",
2651
+ "hasDynamicHelp": false,
2652
+ "multiple": false,
2653
+ "type": "option"
2654
+ },
2655
+ "organization-id": {
2656
+ "aliases": [
2657
+ "organization",
2658
+ "organizationId",
2659
+ "org"
2660
+ ],
2661
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
2662
+ "hidden": true,
2663
+ "name": "organization-id",
2664
+ "hasDynamicHelp": false,
2665
+ "multiple": false,
2666
+ "type": "option"
2229
2667
  }
2230
2668
  },
2231
2669
  "hasDynamicHelp": false,
@@ -2237,6 +2675,10 @@
2237
2675
  "strict": true,
2238
2676
  "summary": "Remove an environment variable from a deployed function",
2239
2677
  "enableJsonFlag": true,
2678
+ "needs": [
2679
+ "deployedStack",
2680
+ "blueprint"
2681
+ ],
2240
2682
  "isESM": true,
2241
2683
  "relativePath": [
2242
2684
  "dist",
@@ -2247,5 +2689,5 @@
2247
2689
  ]
2248
2690
  }
2249
2691
  },
2250
- "version": "14.11.0"
2692
+ "version": "14.12.0"
2251
2693
  }