@sanity/cli 8.17.1 → 8.18.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/oclif.manifest.json +478 -478
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -1776,167 +1776,6 @@
|
|
|
1776
1776
|
"list.js"
|
|
1777
1777
|
]
|
|
1778
1778
|
},
|
|
1779
|
-
"cors:add": {
|
|
1780
|
-
"aliases": [],
|
|
1781
|
-
"args": {
|
|
1782
|
-
"origin": {
|
|
1783
|
-
"description": "Origin to allow (e.g., https://example.com)",
|
|
1784
|
-
"name": "origin",
|
|
1785
|
-
"required": true
|
|
1786
|
-
}
|
|
1787
|
-
},
|
|
1788
|
-
"description": "Add a CORS origin to the project",
|
|
1789
|
-
"examples": [
|
|
1790
|
-
{
|
|
1791
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
1792
|
-
"description": "Interactively add a CORS origin"
|
|
1793
|
-
},
|
|
1794
|
-
{
|
|
1795
|
-
"command": "<%= config.bin %> <%= command.id %> http://localhost:3000 --no-credentials",
|
|
1796
|
-
"description": "Add a localhost origin without credentials"
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
"command": "<%= config.bin %> <%= command.id %> https://myapp.com --credentials",
|
|
1800
|
-
"description": "Add a production origin with credentials allowed"
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
"command": "<%= config.bin %> <%= command.id %> https://myapp.com --project-id abc123",
|
|
1804
|
-
"description": "Add a CORS origin for a specific project"
|
|
1805
|
-
}
|
|
1806
|
-
],
|
|
1807
|
-
"flags": {
|
|
1808
|
-
"project-id": {
|
|
1809
|
-
"char": "p",
|
|
1810
|
-
"description": "Project ID to add CORS origin to (overrides CLI configuration)",
|
|
1811
|
-
"helpGroup": "OVERRIDE",
|
|
1812
|
-
"name": "project-id",
|
|
1813
|
-
"hasDynamicHelp": false,
|
|
1814
|
-
"helpValue": "<id>",
|
|
1815
|
-
"multiple": false,
|
|
1816
|
-
"type": "option"
|
|
1817
|
-
},
|
|
1818
|
-
"credentials": {
|
|
1819
|
-
"description": "Allow credentials (token/cookie) to be sent from this origin",
|
|
1820
|
-
"name": "credentials",
|
|
1821
|
-
"required": false,
|
|
1822
|
-
"allowNo": true,
|
|
1823
|
-
"type": "boolean"
|
|
1824
|
-
},
|
|
1825
|
-
"yes": {
|
|
1826
|
-
"char": "y",
|
|
1827
|
-
"description": "Confirm risky wildcard origins without prompting",
|
|
1828
|
-
"name": "yes",
|
|
1829
|
-
"allowNo": false,
|
|
1830
|
-
"type": "boolean"
|
|
1831
|
-
}
|
|
1832
|
-
},
|
|
1833
|
-
"hasDynamicHelp": false,
|
|
1834
|
-
"hiddenAliases": [],
|
|
1835
|
-
"id": "cors:add",
|
|
1836
|
-
"pluginAlias": "@sanity/cli",
|
|
1837
|
-
"pluginName": "@sanity/cli",
|
|
1838
|
-
"pluginType": "core",
|
|
1839
|
-
"strict": true,
|
|
1840
|
-
"isESM": true,
|
|
1841
|
-
"relativePath": [
|
|
1842
|
-
"dist",
|
|
1843
|
-
"commands",
|
|
1844
|
-
"cors",
|
|
1845
|
-
"add.js"
|
|
1846
|
-
]
|
|
1847
|
-
},
|
|
1848
|
-
"cors:delete": {
|
|
1849
|
-
"aliases": [],
|
|
1850
|
-
"args": {
|
|
1851
|
-
"origin": {
|
|
1852
|
-
"description": "Origin to delete (will prompt if not provided)",
|
|
1853
|
-
"name": "origin",
|
|
1854
|
-
"required": false
|
|
1855
|
-
}
|
|
1856
|
-
},
|
|
1857
|
-
"description": "Delete a CORS origin from the project",
|
|
1858
|
-
"examples": [
|
|
1859
|
-
{
|
|
1860
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
1861
|
-
"description": "Interactively select and delete a CORS origin"
|
|
1862
|
-
},
|
|
1863
|
-
{
|
|
1864
|
-
"command": "<%= config.bin %> <%= command.id %> https://example.com",
|
|
1865
|
-
"description": "Delete a specific CORS origin"
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
1869
|
-
"description": "Delete a CORS origin from a specific project"
|
|
1870
|
-
}
|
|
1871
|
-
],
|
|
1872
|
-
"flags": {
|
|
1873
|
-
"project-id": {
|
|
1874
|
-
"char": "p",
|
|
1875
|
-
"description": "Project ID to delete CORS origin from (overrides CLI configuration)",
|
|
1876
|
-
"helpGroup": "OVERRIDE",
|
|
1877
|
-
"name": "project-id",
|
|
1878
|
-
"hasDynamicHelp": false,
|
|
1879
|
-
"helpValue": "<id>",
|
|
1880
|
-
"multiple": false,
|
|
1881
|
-
"type": "option"
|
|
1882
|
-
}
|
|
1883
|
-
},
|
|
1884
|
-
"hasDynamicHelp": false,
|
|
1885
|
-
"hiddenAliases": [],
|
|
1886
|
-
"id": "cors:delete",
|
|
1887
|
-
"pluginAlias": "@sanity/cli",
|
|
1888
|
-
"pluginName": "@sanity/cli",
|
|
1889
|
-
"pluginType": "core",
|
|
1890
|
-
"strict": true,
|
|
1891
|
-
"isESM": true,
|
|
1892
|
-
"relativePath": [
|
|
1893
|
-
"dist",
|
|
1894
|
-
"commands",
|
|
1895
|
-
"cors",
|
|
1896
|
-
"delete.js"
|
|
1897
|
-
]
|
|
1898
|
-
},
|
|
1899
|
-
"cors:list": {
|
|
1900
|
-
"aliases": [],
|
|
1901
|
-
"args": {},
|
|
1902
|
-
"description": "List CORS origins for the project",
|
|
1903
|
-
"examples": [
|
|
1904
|
-
{
|
|
1905
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
1906
|
-
"description": "List CORS origins for the project"
|
|
1907
|
-
},
|
|
1908
|
-
{
|
|
1909
|
-
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
1910
|
-
"description": "List CORS origins for a specific project"
|
|
1911
|
-
}
|
|
1912
|
-
],
|
|
1913
|
-
"flags": {
|
|
1914
|
-
"project-id": {
|
|
1915
|
-
"char": "p",
|
|
1916
|
-
"description": "Project ID to list CORS origins for (overrides CLI configuration)",
|
|
1917
|
-
"helpGroup": "OVERRIDE",
|
|
1918
|
-
"name": "project-id",
|
|
1919
|
-
"hasDynamicHelp": false,
|
|
1920
|
-
"helpValue": "<id>",
|
|
1921
|
-
"multiple": false,
|
|
1922
|
-
"type": "option"
|
|
1923
|
-
}
|
|
1924
|
-
},
|
|
1925
|
-
"hasDynamicHelp": false,
|
|
1926
|
-
"hiddenAliases": [],
|
|
1927
|
-
"id": "cors:list",
|
|
1928
|
-
"pluginAlias": "@sanity/cli",
|
|
1929
|
-
"pluginName": "@sanity/cli",
|
|
1930
|
-
"pluginType": "core",
|
|
1931
|
-
"strict": true,
|
|
1932
|
-
"isESM": true,
|
|
1933
|
-
"relativePath": [
|
|
1934
|
-
"dist",
|
|
1935
|
-
"commands",
|
|
1936
|
-
"cors",
|
|
1937
|
-
"list.js"
|
|
1938
|
-
]
|
|
1939
|
-
},
|
|
1940
1779
|
"context:build": {
|
|
1941
1780
|
"aliases": [],
|
|
1942
1781
|
"args": {
|
|
@@ -2324,69 +2163,114 @@
|
|
|
2324
2163
|
"update.js"
|
|
2325
2164
|
]
|
|
2326
2165
|
},
|
|
2327
|
-
"
|
|
2166
|
+
"cors:add": {
|
|
2328
2167
|
"aliases": [],
|
|
2329
|
-
"args": {
|
|
2330
|
-
|
|
2331
|
-
|
|
2168
|
+
"args": {
|
|
2169
|
+
"origin": {
|
|
2170
|
+
"description": "Origin to allow (e.g., https://example.com)",
|
|
2171
|
+
"name": "origin",
|
|
2172
|
+
"required": true
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2175
|
+
"description": "Add a CORS origin to the project",
|
|
2176
|
+
"examples": [
|
|
2177
|
+
{
|
|
2178
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2179
|
+
"description": "Interactively add a CORS origin"
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"command": "<%= config.bin %> <%= command.id %> http://localhost:3000 --no-credentials",
|
|
2183
|
+
"description": "Add a localhost origin without credentials"
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"command": "<%= config.bin %> <%= command.id %> https://myapp.com --credentials",
|
|
2187
|
+
"description": "Add a production origin with credentials allowed"
|
|
2188
|
+
},
|
|
2189
|
+
{
|
|
2190
|
+
"command": "<%= config.bin %> <%= command.id %> https://myapp.com --project-id abc123",
|
|
2191
|
+
"description": "Add a CORS origin for a specific project"
|
|
2192
|
+
}
|
|
2193
|
+
],
|
|
2194
|
+
"flags": {
|
|
2195
|
+
"project-id": {
|
|
2196
|
+
"char": "p",
|
|
2197
|
+
"description": "Project ID to add CORS origin to (overrides CLI configuration)",
|
|
2198
|
+
"helpGroup": "OVERRIDE",
|
|
2199
|
+
"name": "project-id",
|
|
2200
|
+
"hasDynamicHelp": false,
|
|
2201
|
+
"helpValue": "<id>",
|
|
2202
|
+
"multiple": false,
|
|
2203
|
+
"type": "option"
|
|
2204
|
+
},
|
|
2205
|
+
"credentials": {
|
|
2206
|
+
"description": "Allow credentials (token/cookie) to be sent from this origin",
|
|
2207
|
+
"name": "credentials",
|
|
2208
|
+
"required": false,
|
|
2209
|
+
"allowNo": true,
|
|
2210
|
+
"type": "boolean"
|
|
2211
|
+
},
|
|
2212
|
+
"yes": {
|
|
2213
|
+
"char": "y",
|
|
2214
|
+
"description": "Confirm risky wildcard origins without prompting",
|
|
2215
|
+
"name": "yes",
|
|
2216
|
+
"allowNo": false,
|
|
2217
|
+
"type": "boolean"
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2332
2220
|
"hasDynamicHelp": false,
|
|
2333
2221
|
"hiddenAliases": [],
|
|
2334
|
-
"id": "
|
|
2222
|
+
"id": "cors:add",
|
|
2335
2223
|
"pluginAlias": "@sanity/cli",
|
|
2336
2224
|
"pluginName": "@sanity/cli",
|
|
2337
2225
|
"pluginType": "core",
|
|
2338
2226
|
"strict": true,
|
|
2339
|
-
"enableJsonFlag": false,
|
|
2340
2227
|
"isESM": true,
|
|
2341
2228
|
"relativePath": [
|
|
2342
2229
|
"dist",
|
|
2343
2230
|
"commands",
|
|
2344
|
-
"
|
|
2345
|
-
"
|
|
2231
|
+
"cors",
|
|
2232
|
+
"add.js"
|
|
2346
2233
|
]
|
|
2347
2234
|
},
|
|
2348
|
-
"
|
|
2235
|
+
"cors:delete": {
|
|
2349
2236
|
"aliases": [],
|
|
2350
2237
|
"args": {
|
|
2351
|
-
"
|
|
2352
|
-
"description": "
|
|
2353
|
-
"name": "
|
|
2354
|
-
"required":
|
|
2238
|
+
"origin": {
|
|
2239
|
+
"description": "Origin to delete (will prompt if not provided)",
|
|
2240
|
+
"name": "origin",
|
|
2241
|
+
"required": false
|
|
2355
2242
|
}
|
|
2356
2243
|
},
|
|
2357
|
-
"description": "
|
|
2244
|
+
"description": "Delete a CORS origin from the project",
|
|
2358
2245
|
"examples": [
|
|
2359
2246
|
{
|
|
2360
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2361
|
-
"description": "
|
|
2362
|
-
},
|
|
2363
|
-
{
|
|
2364
|
-
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation",
|
|
2365
|
-
"description": "Read using full URL"
|
|
2247
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2248
|
+
"description": "Interactively select and delete a CORS origin"
|
|
2366
2249
|
},
|
|
2367
2250
|
{
|
|
2368
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2369
|
-
"description": "
|
|
2251
|
+
"command": "<%= config.bin %> <%= command.id %> https://example.com",
|
|
2252
|
+
"description": "Delete a specific CORS origin"
|
|
2370
2253
|
},
|
|
2371
2254
|
{
|
|
2372
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2373
|
-
"description": "
|
|
2255
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2256
|
+
"description": "Delete a CORS origin from a specific project"
|
|
2374
2257
|
}
|
|
2375
2258
|
],
|
|
2376
2259
|
"flags": {
|
|
2377
|
-
"
|
|
2378
|
-
"
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
"
|
|
2382
|
-
"
|
|
2383
|
-
"
|
|
2384
|
-
"
|
|
2260
|
+
"project-id": {
|
|
2261
|
+
"char": "p",
|
|
2262
|
+
"description": "Project ID to delete CORS origin from (overrides CLI configuration)",
|
|
2263
|
+
"helpGroup": "OVERRIDE",
|
|
2264
|
+
"name": "project-id",
|
|
2265
|
+
"hasDynamicHelp": false,
|
|
2266
|
+
"helpValue": "<id>",
|
|
2267
|
+
"multiple": false,
|
|
2268
|
+
"type": "option"
|
|
2385
2269
|
}
|
|
2386
2270
|
},
|
|
2387
2271
|
"hasDynamicHelp": false,
|
|
2388
2272
|
"hiddenAliases": [],
|
|
2389
|
-
"id": "
|
|
2273
|
+
"id": "cors:delete",
|
|
2390
2274
|
"pluginAlias": "@sanity/cli",
|
|
2391
2275
|
"pluginName": "@sanity/cli",
|
|
2392
2276
|
"pluginType": "core",
|
|
@@ -2395,47 +2279,39 @@
|
|
|
2395
2279
|
"relativePath": [
|
|
2396
2280
|
"dist",
|
|
2397
2281
|
"commands",
|
|
2398
|
-
"
|
|
2399
|
-
"
|
|
2282
|
+
"cors",
|
|
2283
|
+
"delete.js"
|
|
2400
2284
|
]
|
|
2401
2285
|
},
|
|
2402
|
-
"
|
|
2286
|
+
"cors:list": {
|
|
2403
2287
|
"aliases": [],
|
|
2404
|
-
"args": {
|
|
2405
|
-
|
|
2406
|
-
"description": "Search query for documentation",
|
|
2407
|
-
"name": "query",
|
|
2408
|
-
"required": true
|
|
2409
|
-
}
|
|
2410
|
-
},
|
|
2411
|
-
"description": "Search Sanity docs",
|
|
2288
|
+
"args": {},
|
|
2289
|
+
"description": "List CORS origins for the project",
|
|
2412
2290
|
"examples": [
|
|
2413
2291
|
{
|
|
2414
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2415
|
-
"description": "
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
"command": "<%= config.bin %> <%= command.id %> \"groq functions\"",
|
|
2419
|
-
"description": "Search with phrase"
|
|
2292
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2293
|
+
"description": "List CORS origins for the project"
|
|
2420
2294
|
},
|
|
2421
2295
|
{
|
|
2422
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2423
|
-
"description": "
|
|
2296
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2297
|
+
"description": "List CORS origins for a specific project"
|
|
2424
2298
|
}
|
|
2425
2299
|
],
|
|
2426
2300
|
"flags": {
|
|
2427
|
-
"
|
|
2428
|
-
"
|
|
2429
|
-
"
|
|
2430
|
-
"
|
|
2301
|
+
"project-id": {
|
|
2302
|
+
"char": "p",
|
|
2303
|
+
"description": "Project ID to list CORS origins for (overrides CLI configuration)",
|
|
2304
|
+
"helpGroup": "OVERRIDE",
|
|
2305
|
+
"name": "project-id",
|
|
2431
2306
|
"hasDynamicHelp": false,
|
|
2307
|
+
"helpValue": "<id>",
|
|
2432
2308
|
"multiple": false,
|
|
2433
2309
|
"type": "option"
|
|
2434
2310
|
}
|
|
2435
2311
|
},
|
|
2436
2312
|
"hasDynamicHelp": false,
|
|
2437
2313
|
"hiddenAliases": [],
|
|
2438
|
-
"id": "
|
|
2314
|
+
"id": "cors:list",
|
|
2439
2315
|
"pluginAlias": "@sanity/cli",
|
|
2440
2316
|
"pluginName": "@sanity/cli",
|
|
2441
2317
|
"pluginType": "core",
|
|
@@ -2444,8 +2320,8 @@
|
|
|
2444
2320
|
"relativePath": [
|
|
2445
2321
|
"dist",
|
|
2446
2322
|
"commands",
|
|
2447
|
-
"
|
|
2448
|
-
"
|
|
2323
|
+
"cors",
|
|
2324
|
+
"list.js"
|
|
2449
2325
|
]
|
|
2450
2326
|
},
|
|
2451
2327
|
"datasets:copy": {
|
|
@@ -2978,43 +2854,161 @@
|
|
|
2978
2854
|
"multiple": false,
|
|
2979
2855
|
"type": "option"
|
|
2980
2856
|
},
|
|
2981
|
-
"replace": {
|
|
2982
|
-
"description": "Replace documents with the same IDs",
|
|
2983
|
-
"exclusive": [
|
|
2984
|
-
"missing"
|
|
2985
|
-
],
|
|
2986
|
-
"name": "replace",
|
|
2987
|
-
"allowNo": false,
|
|
2988
|
-
"type": "boolean"
|
|
2857
|
+
"replace": {
|
|
2858
|
+
"description": "Replace documents with the same IDs",
|
|
2859
|
+
"exclusive": [
|
|
2860
|
+
"missing"
|
|
2861
|
+
],
|
|
2862
|
+
"name": "replace",
|
|
2863
|
+
"allowNo": false,
|
|
2864
|
+
"type": "boolean"
|
|
2865
|
+
},
|
|
2866
|
+
"replace-assets": {
|
|
2867
|
+
"description": "Skip reuse of existing assets",
|
|
2868
|
+
"name": "replace-assets",
|
|
2869
|
+
"allowNo": false,
|
|
2870
|
+
"type": "boolean"
|
|
2871
|
+
},
|
|
2872
|
+
"skip-cross-dataset-references": {
|
|
2873
|
+
"description": "Skips references to other datasets",
|
|
2874
|
+
"name": "skip-cross-dataset-references",
|
|
2875
|
+
"allowNo": false,
|
|
2876
|
+
"type": "boolean"
|
|
2877
|
+
},
|
|
2878
|
+
"token": {
|
|
2879
|
+
"char": "t",
|
|
2880
|
+
"description": "Token to authenticate with",
|
|
2881
|
+
"env": "SANITY_IMPORT_TOKEN",
|
|
2882
|
+
"name": "token",
|
|
2883
|
+
"required": false,
|
|
2884
|
+
"hasDynamicHelp": false,
|
|
2885
|
+
"multiple": false,
|
|
2886
|
+
"type": "option"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
"hasDynamicHelp": false,
|
|
2890
|
+
"hiddenAliases": [
|
|
2891
|
+
"dataset:import"
|
|
2892
|
+
],
|
|
2893
|
+
"id": "datasets:import",
|
|
2894
|
+
"pluginAlias": "@sanity/cli",
|
|
2895
|
+
"pluginName": "@sanity/cli",
|
|
2896
|
+
"pluginType": "core",
|
|
2897
|
+
"strict": true,
|
|
2898
|
+
"isESM": true,
|
|
2899
|
+
"relativePath": [
|
|
2900
|
+
"dist",
|
|
2901
|
+
"commands",
|
|
2902
|
+
"datasets",
|
|
2903
|
+
"import.js"
|
|
2904
|
+
]
|
|
2905
|
+
},
|
|
2906
|
+
"datasets:list": {
|
|
2907
|
+
"aliases": [],
|
|
2908
|
+
"args": {},
|
|
2909
|
+
"description": "List datasets for the project",
|
|
2910
|
+
"examples": [
|
|
2911
|
+
{
|
|
2912
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2913
|
+
"description": "List datasets for the project"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2917
|
+
"description": "List datasets for a specific project"
|
|
2918
|
+
}
|
|
2919
|
+
],
|
|
2920
|
+
"flags": {
|
|
2921
|
+
"project-id": {
|
|
2922
|
+
"char": "p",
|
|
2923
|
+
"description": "Project ID to list datasets for (overrides CLI configuration)",
|
|
2924
|
+
"helpGroup": "OVERRIDE",
|
|
2925
|
+
"name": "project-id",
|
|
2926
|
+
"hasDynamicHelp": false,
|
|
2927
|
+
"helpValue": "<id>",
|
|
2928
|
+
"multiple": false,
|
|
2929
|
+
"type": "option"
|
|
2930
|
+
}
|
|
2931
|
+
},
|
|
2932
|
+
"hasDynamicHelp": false,
|
|
2933
|
+
"hiddenAliases": [
|
|
2934
|
+
"dataset:list"
|
|
2935
|
+
],
|
|
2936
|
+
"id": "datasets:list",
|
|
2937
|
+
"pluginAlias": "@sanity/cli",
|
|
2938
|
+
"pluginName": "@sanity/cli",
|
|
2939
|
+
"pluginType": "core",
|
|
2940
|
+
"strict": true,
|
|
2941
|
+
"isESM": true,
|
|
2942
|
+
"relativePath": [
|
|
2943
|
+
"dist",
|
|
2944
|
+
"commands",
|
|
2945
|
+
"datasets",
|
|
2946
|
+
"list.js"
|
|
2947
|
+
]
|
|
2948
|
+
},
|
|
2949
|
+
"docs:browse": {
|
|
2950
|
+
"aliases": [],
|
|
2951
|
+
"args": {},
|
|
2952
|
+
"description": "Open Sanity docs in your browser",
|
|
2953
|
+
"flags": {},
|
|
2954
|
+
"hasDynamicHelp": false,
|
|
2955
|
+
"hiddenAliases": [],
|
|
2956
|
+
"id": "docs:browse",
|
|
2957
|
+
"pluginAlias": "@sanity/cli",
|
|
2958
|
+
"pluginName": "@sanity/cli",
|
|
2959
|
+
"pluginType": "core",
|
|
2960
|
+
"strict": true,
|
|
2961
|
+
"enableJsonFlag": false,
|
|
2962
|
+
"isESM": true,
|
|
2963
|
+
"relativePath": [
|
|
2964
|
+
"dist",
|
|
2965
|
+
"commands",
|
|
2966
|
+
"docs",
|
|
2967
|
+
"browse.js"
|
|
2968
|
+
]
|
|
2969
|
+
},
|
|
2970
|
+
"docs:read": {
|
|
2971
|
+
"aliases": [],
|
|
2972
|
+
"args": {
|
|
2973
|
+
"path": {
|
|
2974
|
+
"description": "Path or URL to article, found in search results and docs content as links",
|
|
2975
|
+
"name": "path",
|
|
2976
|
+
"required": true
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
"description": "Read an article in terminal",
|
|
2980
|
+
"examples": [
|
|
2981
|
+
{
|
|
2982
|
+
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation",
|
|
2983
|
+
"description": "Read as markdown in terminal"
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation",
|
|
2987
|
+
"description": "Read using full URL"
|
|
2989
2988
|
},
|
|
2990
|
-
|
|
2991
|
-
"
|
|
2992
|
-
"
|
|
2993
|
-
"allowNo": false,
|
|
2994
|
-
"type": "boolean"
|
|
2989
|
+
{
|
|
2990
|
+
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation --web",
|
|
2991
|
+
"description": "Open in web browser"
|
|
2995
2992
|
},
|
|
2996
|
-
|
|
2997
|
-
"
|
|
2998
|
-
"
|
|
2993
|
+
{
|
|
2994
|
+
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation -w",
|
|
2995
|
+
"description": "Open using full URL in web browser"
|
|
2996
|
+
}
|
|
2997
|
+
],
|
|
2998
|
+
"flags": {
|
|
2999
|
+
"web": {
|
|
3000
|
+
"aliases": [
|
|
3001
|
+
"w"
|
|
3002
|
+
],
|
|
3003
|
+
"description": "Open in a web browser",
|
|
3004
|
+
"name": "web",
|
|
2999
3005
|
"allowNo": false,
|
|
3000
3006
|
"type": "boolean"
|
|
3001
|
-
},
|
|
3002
|
-
"token": {
|
|
3003
|
-
"char": "t",
|
|
3004
|
-
"description": "Token to authenticate with",
|
|
3005
|
-
"env": "SANITY_IMPORT_TOKEN",
|
|
3006
|
-
"name": "token",
|
|
3007
|
-
"required": false,
|
|
3008
|
-
"hasDynamicHelp": false,
|
|
3009
|
-
"multiple": false,
|
|
3010
|
-
"type": "option"
|
|
3011
3007
|
}
|
|
3012
3008
|
},
|
|
3013
3009
|
"hasDynamicHelp": false,
|
|
3014
|
-
"hiddenAliases": [
|
|
3015
|
-
|
|
3016
|
-
],
|
|
3017
|
-
"id": "datasets:import",
|
|
3010
|
+
"hiddenAliases": [],
|
|
3011
|
+
"id": "docs:read",
|
|
3018
3012
|
"pluginAlias": "@sanity/cli",
|
|
3019
3013
|
"pluginName": "@sanity/cli",
|
|
3020
3014
|
"pluginType": "core",
|
|
@@ -3023,41 +3017,47 @@
|
|
|
3023
3017
|
"relativePath": [
|
|
3024
3018
|
"dist",
|
|
3025
3019
|
"commands",
|
|
3026
|
-
"
|
|
3027
|
-
"
|
|
3020
|
+
"docs",
|
|
3021
|
+
"read.js"
|
|
3028
3022
|
]
|
|
3029
3023
|
},
|
|
3030
|
-
"
|
|
3024
|
+
"docs:search": {
|
|
3031
3025
|
"aliases": [],
|
|
3032
|
-
"args": {
|
|
3033
|
-
|
|
3026
|
+
"args": {
|
|
3027
|
+
"query": {
|
|
3028
|
+
"description": "Search query for documentation",
|
|
3029
|
+
"name": "query",
|
|
3030
|
+
"required": true
|
|
3031
|
+
}
|
|
3032
|
+
},
|
|
3033
|
+
"description": "Search Sanity docs",
|
|
3034
3034
|
"examples": [
|
|
3035
3035
|
{
|
|
3036
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3037
|
-
"description": "
|
|
3036
|
+
"command": "<%= config.bin %> <%= command.id %> schema",
|
|
3037
|
+
"description": "Search for documentation about schemas"
|
|
3038
3038
|
},
|
|
3039
3039
|
{
|
|
3040
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
3041
|
-
"description": "
|
|
3040
|
+
"command": "<%= config.bin %> <%= command.id %> \"groq functions\"",
|
|
3041
|
+
"description": "Search with phrase"
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"command": "<%= config.bin %> <%= command.id %> \"deployment\" --limit=5",
|
|
3045
|
+
"description": "Limit search results"
|
|
3042
3046
|
}
|
|
3043
3047
|
],
|
|
3044
3048
|
"flags": {
|
|
3045
|
-
"
|
|
3046
|
-
"
|
|
3047
|
-
"
|
|
3048
|
-
"
|
|
3049
|
-
"name": "project-id",
|
|
3049
|
+
"limit": {
|
|
3050
|
+
"description": "Maximum number of results to return",
|
|
3051
|
+
"name": "limit",
|
|
3052
|
+
"default": 10,
|
|
3050
3053
|
"hasDynamicHelp": false,
|
|
3051
|
-
"helpValue": "<id>",
|
|
3052
3054
|
"multiple": false,
|
|
3053
3055
|
"type": "option"
|
|
3054
3056
|
}
|
|
3055
3057
|
},
|
|
3056
3058
|
"hasDynamicHelp": false,
|
|
3057
|
-
"hiddenAliases": [
|
|
3058
|
-
|
|
3059
|
-
],
|
|
3060
|
-
"id": "datasets:list",
|
|
3059
|
+
"hiddenAliases": [],
|
|
3060
|
+
"id": "docs:search",
|
|
3061
3061
|
"pluginAlias": "@sanity/cli",
|
|
3062
3062
|
"pluginName": "@sanity/cli",
|
|
3063
3063
|
"pluginType": "core",
|
|
@@ -3066,8 +3066,8 @@
|
|
|
3066
3066
|
"relativePath": [
|
|
3067
3067
|
"dist",
|
|
3068
3068
|
"commands",
|
|
3069
|
-
"
|
|
3070
|
-
"
|
|
3069
|
+
"docs",
|
|
3070
|
+
"search.js"
|
|
3071
3071
|
]
|
|
3072
3072
|
},
|
|
3073
3073
|
"documents:create": {
|
|
@@ -4329,96 +4329,208 @@
|
|
|
4329
4329
|
"description": "Import a set of assets to the target media library.",
|
|
4330
4330
|
"examples": [
|
|
4331
4331
|
{
|
|
4332
|
-
"command": "<%= config.bin %> <%= command.id %> products",
|
|
4333
|
-
"description": "Import all assets from the \"products\" directory"
|
|
4334
|
-
},
|
|
4335
|
-
{
|
|
4336
|
-
"command": "<%= config.bin %> <%= command.id %> gallery.tar.gz",
|
|
4337
|
-
"description": "Import all assets from \"gallery\" archive"
|
|
4338
|
-
},
|
|
4339
|
-
{
|
|
4340
|
-
"command": "<%= config.bin %> <%= command.id %> products --replace-aspects",
|
|
4341
|
-
"description": "Import all assets from the \"products\" directory and replace aspects"
|
|
4332
|
+
"command": "<%= config.bin %> <%= command.id %> products",
|
|
4333
|
+
"description": "Import all assets from the \"products\" directory"
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
"command": "<%= config.bin %> <%= command.id %> gallery.tar.gz",
|
|
4337
|
+
"description": "Import all assets from \"gallery\" archive"
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
"command": "<%= config.bin %> <%= command.id %> products --replace-aspects",
|
|
4341
|
+
"description": "Import all assets from the \"products\" directory and replace aspects"
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"command": "<%= config.bin %> <%= command.id %> https://example.com/hero.png",
|
|
4345
|
+
"description": "Have Sanity fetch a single asset from a public URL"
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"command": "<%= config.bin %> <%= command.id %> https://example.com/hero.png --aspect department=Brand",
|
|
4349
|
+
"description": "Fetch an asset from a URL and set aspect data on it"
|
|
4350
|
+
}
|
|
4351
|
+
],
|
|
4352
|
+
"flags": {
|
|
4353
|
+
"project-id": {
|
|
4354
|
+
"char": "p",
|
|
4355
|
+
"description": "Project ID to import media to (overrides CLI configuration)",
|
|
4356
|
+
"helpGroup": "OVERRIDE",
|
|
4357
|
+
"name": "project-id",
|
|
4358
|
+
"hasDynamicHelp": false,
|
|
4359
|
+
"helpValue": "<id>",
|
|
4360
|
+
"multiple": false,
|
|
4361
|
+
"type": "option"
|
|
4362
|
+
},
|
|
4363
|
+
"aspect": {
|
|
4364
|
+
"description": "Aspect value to set on the imported asset, as key=value. Repeatable. Only applies when the source is a URL - directory and archive imports read aspects from their data.ndjson",
|
|
4365
|
+
"name": "aspect",
|
|
4366
|
+
"hasDynamicHelp": false,
|
|
4367
|
+
"helpValue": "<key=value>",
|
|
4368
|
+
"multiple": true,
|
|
4369
|
+
"type": "option"
|
|
4370
|
+
},
|
|
4371
|
+
"filename": {
|
|
4372
|
+
"description": "Original filename to store on the asset. Only applies when the source is a URL. Defaults to a name derived from the URL",
|
|
4373
|
+
"name": "filename",
|
|
4374
|
+
"hasDynamicHelp": false,
|
|
4375
|
+
"helpValue": "<filename>",
|
|
4376
|
+
"multiple": false,
|
|
4377
|
+
"type": "option"
|
|
4378
|
+
},
|
|
4379
|
+
"media-library-id": {
|
|
4380
|
+
"description": "The id of the target media library",
|
|
4381
|
+
"name": "media-library-id",
|
|
4382
|
+
"hasDynamicHelp": false,
|
|
4383
|
+
"multiple": false,
|
|
4384
|
+
"type": "option"
|
|
4385
|
+
},
|
|
4386
|
+
"replace-aspects": {
|
|
4387
|
+
"description": "Replace existing aspect data. All versions will be replaced (e.g. published and draft aspect data). Only applies to directory and archive imports",
|
|
4388
|
+
"name": "replace-aspects",
|
|
4389
|
+
"allowNo": false,
|
|
4390
|
+
"type": "boolean"
|
|
4391
|
+
}
|
|
4392
|
+
},
|
|
4393
|
+
"hasDynamicHelp": false,
|
|
4394
|
+
"hiddenAliases": [],
|
|
4395
|
+
"id": "media:import",
|
|
4396
|
+
"pluginAlias": "@sanity/cli",
|
|
4397
|
+
"pluginName": "@sanity/cli",
|
|
4398
|
+
"pluginType": "core",
|
|
4399
|
+
"strict": true,
|
|
4400
|
+
"telemetry": {
|
|
4401
|
+
"redactedFlags": [
|
|
4402
|
+
{
|
|
4403
|
+
"canonical": "--aspect",
|
|
4404
|
+
"flags": [
|
|
4405
|
+
"--aspect"
|
|
4406
|
+
]
|
|
4407
|
+
},
|
|
4408
|
+
{
|
|
4409
|
+
"canonical": "--filename",
|
|
4410
|
+
"flags": [
|
|
4411
|
+
"--filename"
|
|
4412
|
+
]
|
|
4413
|
+
}
|
|
4414
|
+
]
|
|
4415
|
+
},
|
|
4416
|
+
"isESM": true,
|
|
4417
|
+
"relativePath": [
|
|
4418
|
+
"dist",
|
|
4419
|
+
"commands",
|
|
4420
|
+
"media",
|
|
4421
|
+
"import.js"
|
|
4422
|
+
]
|
|
4423
|
+
},
|
|
4424
|
+
"openapi:get": {
|
|
4425
|
+
"aliases": [],
|
|
4426
|
+
"args": {
|
|
4427
|
+
"slug": {
|
|
4428
|
+
"description": "Slug of the OpenAPI specification to retrieve",
|
|
4429
|
+
"name": "slug",
|
|
4430
|
+
"required": true
|
|
4431
|
+
}
|
|
4432
|
+
},
|
|
4433
|
+
"description": "Get an OpenAPI specification by slug",
|
|
4434
|
+
"examples": [
|
|
4435
|
+
{
|
|
4436
|
+
"command": "<%= config.bin %> <%= command.id %> query",
|
|
4437
|
+
"description": "Get a specification (YAML format, default)"
|
|
4438
|
+
},
|
|
4439
|
+
{
|
|
4440
|
+
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
4441
|
+
"description": "Get specification in JSON format"
|
|
4442
|
+
},
|
|
4443
|
+
{
|
|
4444
|
+
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
4445
|
+
"description": "Open specification in browser"
|
|
4446
|
+
},
|
|
4447
|
+
{
|
|
4448
|
+
"command": "<%= config.bin %> <%= command.id %> query > query-api.yaml",
|
|
4449
|
+
"description": "Pipe to file"
|
|
4450
|
+
}
|
|
4451
|
+
],
|
|
4452
|
+
"flags": {
|
|
4453
|
+
"format": {
|
|
4454
|
+
"description": "Output format: yaml (default), json",
|
|
4455
|
+
"name": "format",
|
|
4456
|
+
"default": "yaml",
|
|
4457
|
+
"hasDynamicHelp": false,
|
|
4458
|
+
"multiple": false,
|
|
4459
|
+
"options": [
|
|
4460
|
+
"yaml",
|
|
4461
|
+
"json"
|
|
4462
|
+
],
|
|
4463
|
+
"type": "option"
|
|
4464
|
+
},
|
|
4465
|
+
"web": {
|
|
4466
|
+
"char": "w",
|
|
4467
|
+
"description": "Open in web browser",
|
|
4468
|
+
"name": "web",
|
|
4469
|
+
"allowNo": false,
|
|
4470
|
+
"type": "boolean"
|
|
4471
|
+
}
|
|
4472
|
+
},
|
|
4473
|
+
"hasDynamicHelp": false,
|
|
4474
|
+
"hiddenAliases": [],
|
|
4475
|
+
"id": "openapi:get",
|
|
4476
|
+
"pluginAlias": "@sanity/cli",
|
|
4477
|
+
"pluginName": "@sanity/cli",
|
|
4478
|
+
"pluginType": "core",
|
|
4479
|
+
"strict": true,
|
|
4480
|
+
"isESM": true,
|
|
4481
|
+
"relativePath": [
|
|
4482
|
+
"dist",
|
|
4483
|
+
"commands",
|
|
4484
|
+
"openapi",
|
|
4485
|
+
"get.js"
|
|
4486
|
+
]
|
|
4487
|
+
},
|
|
4488
|
+
"openapi:list": {
|
|
4489
|
+
"aliases": [],
|
|
4490
|
+
"args": {},
|
|
4491
|
+
"description": "List all available OpenAPI specifications",
|
|
4492
|
+
"examples": [
|
|
4493
|
+
{
|
|
4494
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
4495
|
+
"description": "List all available OpenAPI specs"
|
|
4342
4496
|
},
|
|
4343
4497
|
{
|
|
4344
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4345
|
-
"description": "
|
|
4498
|
+
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
4499
|
+
"description": "List with JSON output"
|
|
4346
4500
|
},
|
|
4347
4501
|
{
|
|
4348
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4349
|
-
"description": "
|
|
4502
|
+
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
4503
|
+
"description": "Open HTTP Reference in browser"
|
|
4350
4504
|
}
|
|
4351
4505
|
],
|
|
4352
4506
|
"flags": {
|
|
4353
|
-
"
|
|
4354
|
-
"
|
|
4355
|
-
"
|
|
4356
|
-
"
|
|
4357
|
-
"
|
|
4358
|
-
"hasDynamicHelp": false,
|
|
4359
|
-
"helpValue": "<id>",
|
|
4360
|
-
"multiple": false,
|
|
4361
|
-
"type": "option"
|
|
4362
|
-
},
|
|
4363
|
-
"aspect": {
|
|
4364
|
-
"description": "Aspect value to set on the imported asset, as key=value. Repeatable. Only applies when the source is a URL - directory and archive imports read aspects from their data.ndjson",
|
|
4365
|
-
"name": "aspect",
|
|
4366
|
-
"hasDynamicHelp": false,
|
|
4367
|
-
"helpValue": "<key=value>",
|
|
4368
|
-
"multiple": true,
|
|
4369
|
-
"type": "option"
|
|
4370
|
-
},
|
|
4371
|
-
"filename": {
|
|
4372
|
-
"description": "Original filename to store on the asset. Only applies when the source is a URL. Defaults to a name derived from the URL",
|
|
4373
|
-
"name": "filename",
|
|
4374
|
-
"hasDynamicHelp": false,
|
|
4375
|
-
"helpValue": "<filename>",
|
|
4376
|
-
"multiple": false,
|
|
4377
|
-
"type": "option"
|
|
4378
|
-
},
|
|
4379
|
-
"media-library-id": {
|
|
4380
|
-
"description": "The id of the target media library",
|
|
4381
|
-
"name": "media-library-id",
|
|
4382
|
-
"hasDynamicHelp": false,
|
|
4383
|
-
"multiple": false,
|
|
4384
|
-
"type": "option"
|
|
4507
|
+
"json": {
|
|
4508
|
+
"description": "Output JSON",
|
|
4509
|
+
"name": "json",
|
|
4510
|
+
"allowNo": false,
|
|
4511
|
+
"type": "boolean"
|
|
4385
4512
|
},
|
|
4386
|
-
"
|
|
4387
|
-
"
|
|
4388
|
-
"
|
|
4513
|
+
"web": {
|
|
4514
|
+
"char": "w",
|
|
4515
|
+
"description": "Open HTTP Reference in web browser",
|
|
4516
|
+
"name": "web",
|
|
4389
4517
|
"allowNo": false,
|
|
4390
4518
|
"type": "boolean"
|
|
4391
4519
|
}
|
|
4392
4520
|
},
|
|
4393
4521
|
"hasDynamicHelp": false,
|
|
4394
4522
|
"hiddenAliases": [],
|
|
4395
|
-
"id": "
|
|
4523
|
+
"id": "openapi:list",
|
|
4396
4524
|
"pluginAlias": "@sanity/cli",
|
|
4397
4525
|
"pluginName": "@sanity/cli",
|
|
4398
4526
|
"pluginType": "core",
|
|
4399
4527
|
"strict": true,
|
|
4400
|
-
"telemetry": {
|
|
4401
|
-
"redactedFlags": [
|
|
4402
|
-
{
|
|
4403
|
-
"canonical": "--aspect",
|
|
4404
|
-
"flags": [
|
|
4405
|
-
"--aspect"
|
|
4406
|
-
]
|
|
4407
|
-
},
|
|
4408
|
-
{
|
|
4409
|
-
"canonical": "--filename",
|
|
4410
|
-
"flags": [
|
|
4411
|
-
"--filename"
|
|
4412
|
-
]
|
|
4413
|
-
}
|
|
4414
|
-
]
|
|
4415
|
-
},
|
|
4416
4528
|
"isESM": true,
|
|
4417
4529
|
"relativePath": [
|
|
4418
4530
|
"dist",
|
|
4419
4531
|
"commands",
|
|
4420
|
-
"
|
|
4421
|
-
"
|
|
4532
|
+
"openapi",
|
|
4533
|
+
"list.js"
|
|
4422
4534
|
]
|
|
4423
4535
|
},
|
|
4424
4536
|
"migrations:create": {
|
|
@@ -4584,144 +4696,6 @@
|
|
|
4584
4696
|
"run.js"
|
|
4585
4697
|
]
|
|
4586
4698
|
},
|
|
4587
|
-
"openapi:get": {
|
|
4588
|
-
"aliases": [],
|
|
4589
|
-
"args": {
|
|
4590
|
-
"slug": {
|
|
4591
|
-
"description": "Slug of the OpenAPI specification to retrieve",
|
|
4592
|
-
"name": "slug",
|
|
4593
|
-
"required": true
|
|
4594
|
-
}
|
|
4595
|
-
},
|
|
4596
|
-
"description": "Get an OpenAPI specification by slug",
|
|
4597
|
-
"examples": [
|
|
4598
|
-
{
|
|
4599
|
-
"command": "<%= config.bin %> <%= command.id %> query",
|
|
4600
|
-
"description": "Get a specification (YAML format, default)"
|
|
4601
|
-
},
|
|
4602
|
-
{
|
|
4603
|
-
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
4604
|
-
"description": "Get specification in JSON format"
|
|
4605
|
-
},
|
|
4606
|
-
{
|
|
4607
|
-
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
4608
|
-
"description": "Open specification in browser"
|
|
4609
|
-
},
|
|
4610
|
-
{
|
|
4611
|
-
"command": "<%= config.bin %> <%= command.id %> query > query-api.yaml",
|
|
4612
|
-
"description": "Pipe to file"
|
|
4613
|
-
}
|
|
4614
|
-
],
|
|
4615
|
-
"flags": {
|
|
4616
|
-
"format": {
|
|
4617
|
-
"description": "Output format: yaml (default), json",
|
|
4618
|
-
"name": "format",
|
|
4619
|
-
"default": "yaml",
|
|
4620
|
-
"hasDynamicHelp": false,
|
|
4621
|
-
"multiple": false,
|
|
4622
|
-
"options": [
|
|
4623
|
-
"yaml",
|
|
4624
|
-
"json"
|
|
4625
|
-
],
|
|
4626
|
-
"type": "option"
|
|
4627
|
-
},
|
|
4628
|
-
"web": {
|
|
4629
|
-
"char": "w",
|
|
4630
|
-
"description": "Open in web browser",
|
|
4631
|
-
"name": "web",
|
|
4632
|
-
"allowNo": false,
|
|
4633
|
-
"type": "boolean"
|
|
4634
|
-
}
|
|
4635
|
-
},
|
|
4636
|
-
"hasDynamicHelp": false,
|
|
4637
|
-
"hiddenAliases": [],
|
|
4638
|
-
"id": "openapi:get",
|
|
4639
|
-
"pluginAlias": "@sanity/cli",
|
|
4640
|
-
"pluginName": "@sanity/cli",
|
|
4641
|
-
"pluginType": "core",
|
|
4642
|
-
"strict": true,
|
|
4643
|
-
"isESM": true,
|
|
4644
|
-
"relativePath": [
|
|
4645
|
-
"dist",
|
|
4646
|
-
"commands",
|
|
4647
|
-
"openapi",
|
|
4648
|
-
"get.js"
|
|
4649
|
-
]
|
|
4650
|
-
},
|
|
4651
|
-
"openapi:list": {
|
|
4652
|
-
"aliases": [],
|
|
4653
|
-
"args": {},
|
|
4654
|
-
"description": "List all available OpenAPI specifications",
|
|
4655
|
-
"examples": [
|
|
4656
|
-
{
|
|
4657
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
4658
|
-
"description": "List all available OpenAPI specs"
|
|
4659
|
-
},
|
|
4660
|
-
{
|
|
4661
|
-
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
4662
|
-
"description": "List with JSON output"
|
|
4663
|
-
},
|
|
4664
|
-
{
|
|
4665
|
-
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
4666
|
-
"description": "Open HTTP Reference in browser"
|
|
4667
|
-
}
|
|
4668
|
-
],
|
|
4669
|
-
"flags": {
|
|
4670
|
-
"json": {
|
|
4671
|
-
"description": "Output JSON",
|
|
4672
|
-
"name": "json",
|
|
4673
|
-
"allowNo": false,
|
|
4674
|
-
"type": "boolean"
|
|
4675
|
-
},
|
|
4676
|
-
"web": {
|
|
4677
|
-
"char": "w",
|
|
4678
|
-
"description": "Open HTTP Reference in web browser",
|
|
4679
|
-
"name": "web",
|
|
4680
|
-
"allowNo": false,
|
|
4681
|
-
"type": "boolean"
|
|
4682
|
-
}
|
|
4683
|
-
},
|
|
4684
|
-
"hasDynamicHelp": false,
|
|
4685
|
-
"hiddenAliases": [],
|
|
4686
|
-
"id": "openapi:list",
|
|
4687
|
-
"pluginAlias": "@sanity/cli",
|
|
4688
|
-
"pluginName": "@sanity/cli",
|
|
4689
|
-
"pluginType": "core",
|
|
4690
|
-
"strict": true,
|
|
4691
|
-
"isESM": true,
|
|
4692
|
-
"relativePath": [
|
|
4693
|
-
"dist",
|
|
4694
|
-
"commands",
|
|
4695
|
-
"openapi",
|
|
4696
|
-
"list.js"
|
|
4697
|
-
]
|
|
4698
|
-
},
|
|
4699
|
-
"mcp:configure": {
|
|
4700
|
-
"aliases": [],
|
|
4701
|
-
"args": {},
|
|
4702
|
-
"description": "Configure Sanity MCP server for AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, MCPorter, OpenCode, VS Code, VS Code Insiders, Zed)",
|
|
4703
|
-
"examples": [
|
|
4704
|
-
{
|
|
4705
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
4706
|
-
"description": "Configure Sanity MCP server for detected AI editors"
|
|
4707
|
-
}
|
|
4708
|
-
],
|
|
4709
|
-
"flags": {},
|
|
4710
|
-
"hasDynamicHelp": false,
|
|
4711
|
-
"hiddenAliases": [],
|
|
4712
|
-
"id": "mcp:configure",
|
|
4713
|
-
"pluginAlias": "@sanity/cli",
|
|
4714
|
-
"pluginName": "@sanity/cli",
|
|
4715
|
-
"pluginType": "core",
|
|
4716
|
-
"strict": true,
|
|
4717
|
-
"isESM": true,
|
|
4718
|
-
"relativePath": [
|
|
4719
|
-
"dist",
|
|
4720
|
-
"commands",
|
|
4721
|
-
"mcp",
|
|
4722
|
-
"configure.js"
|
|
4723
|
-
]
|
|
4724
|
-
},
|
|
4725
4699
|
"organizations:create": {
|
|
4726
4700
|
"aliases": [],
|
|
4727
4701
|
"args": {},
|
|
@@ -5927,6 +5901,32 @@
|
|
|
5927
5901
|
"rotate.js"
|
|
5928
5902
|
]
|
|
5929
5903
|
},
|
|
5904
|
+
"mcp:configure": {
|
|
5905
|
+
"aliases": [],
|
|
5906
|
+
"args": {},
|
|
5907
|
+
"description": "Configure Sanity MCP server for AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, MCPorter, OpenCode, VS Code, VS Code Insiders, Zed)",
|
|
5908
|
+
"examples": [
|
|
5909
|
+
{
|
|
5910
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5911
|
+
"description": "Configure Sanity MCP server for detected AI editors"
|
|
5912
|
+
}
|
|
5913
|
+
],
|
|
5914
|
+
"flags": {},
|
|
5915
|
+
"hasDynamicHelp": false,
|
|
5916
|
+
"hiddenAliases": [],
|
|
5917
|
+
"id": "mcp:configure",
|
|
5918
|
+
"pluginAlias": "@sanity/cli",
|
|
5919
|
+
"pluginName": "@sanity/cli",
|
|
5920
|
+
"pluginType": "core",
|
|
5921
|
+
"strict": true,
|
|
5922
|
+
"isESM": true,
|
|
5923
|
+
"relativePath": [
|
|
5924
|
+
"dist",
|
|
5925
|
+
"commands",
|
|
5926
|
+
"mcp",
|
|
5927
|
+
"configure.js"
|
|
5928
|
+
]
|
|
5929
|
+
},
|
|
5930
5930
|
"typegen:generate": {
|
|
5931
5931
|
"aliases": [],
|
|
5932
5932
|
"args": {},
|
|
@@ -7058,5 +7058,5 @@
|
|
|
7058
7058
|
]
|
|
7059
7059
|
}
|
|
7060
7060
|
},
|
|
7061
|
-
"version": "8.
|
|
7061
|
+
"version": "8.18.0"
|
|
7062
7062
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.18.0",
|
|
4
4
|
"description": "Sanity CLI tool for managing Sanity projects and organizations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@sanity/telemetry": "^1.1.0",
|
|
79
79
|
"@sanity/template-validator": "^3.1.1",
|
|
80
80
|
"@sanity/types": "^6.17.0",
|
|
81
|
-
"@sanity/workbench-cli": "^2.
|
|
81
|
+
"@sanity/workbench-cli": "^2.11.0",
|
|
82
82
|
"@sanity/worker-channels": "^2.0.0",
|
|
83
83
|
"@sanity/workflow-cli": "0.36.0",
|
|
84
84
|
"@sanity/workflow-engine": "0.36.0",
|