@sanity/cli 6.0.0-alpha.17 → 6.0.0-alpha.19
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 +833 -912
- package/dist/SanityHelp.js +74 -21
- package/dist/SanityHelp.js.map +1 -1
- package/dist/actions/build/buildApp.js +42 -15
- package/dist/actions/build/buildApp.js.map +1 -1
- package/dist/actions/build/buildStudio.js +21 -9
- package/dist/actions/build/buildStudio.js.map +1 -1
- package/dist/actions/build/buildVendorDependencies.js +3 -16
- package/dist/actions/build/buildVendorDependencies.js.map +1 -1
- package/dist/actions/build/checkStudioDependencyVersions.js +7 -7
- package/dist/actions/build/checkStudioDependencyVersions.js.map +1 -1
- package/dist/actions/build/createExternalFromImportMap.js +1 -1
- package/dist/actions/build/createExternalFromImportMap.js.map +1 -1
- package/dist/actions/build/determineBasePath.js +5 -2
- package/dist/actions/build/determineBasePath.js.map +1 -1
- package/dist/actions/build/getViteConfig.js +47 -4
- package/dist/actions/build/getViteConfig.js.map +1 -1
- package/dist/actions/build/handlePrereleaseVersions.js +44 -0
- package/dist/actions/build/handlePrereleaseVersions.js.map +1 -0
- package/dist/actions/build/renderDocumentWorker/components/GlobalErrorHandler.js +1 -0
- package/dist/actions/build/renderDocumentWorker/components/GlobalErrorHandler.js.map +1 -1
- package/dist/actions/build/types.js.map +1 -1
- package/dist/actions/build/writeSanityRuntime.js +4 -3
- package/dist/actions/build/writeSanityRuntime.js.map +1 -1
- package/dist/actions/dataset/create.js +7 -1
- package/dist/actions/dataset/create.js.map +1 -1
- package/dist/actions/dataset/resolveDataset.js +26 -0
- package/dist/actions/dataset/resolveDataset.js.map +1 -0
- package/dist/actions/deploy/deployApp.js +1 -8
- package/dist/actions/deploy/deployApp.js.map +1 -1
- package/dist/actions/deploy/deployStudio.js +1 -0
- package/dist/actions/deploy/deployStudio.js.map +1 -1
- package/dist/actions/dev/getDashboardAppUrl.js +48 -0
- package/dist/actions/dev/getDashboardAppUrl.js.map +1 -0
- package/dist/actions/dev/getDevServerConfig.js +7 -3
- package/dist/actions/dev/getDevServerConfig.js.map +1 -1
- package/dist/actions/dev/startAppDevServer.js +3 -3
- package/dist/actions/dev/startAppDevServer.js.map +1 -1
- package/dist/actions/dev/startStudioDevServer.js +12 -12
- package/dist/actions/dev/startStudioDevServer.js.map +1 -1
- package/dist/actions/documents/types.js.map +1 -1
- package/dist/actions/documents/validate.js +11 -2
- package/dist/actions/documents/validate.js.map +1 -1
- package/dist/actions/documents/validateDocuments.worker.js +2 -2
- package/dist/actions/documents/validateDocuments.worker.js.map +1 -1
- package/dist/actions/documents/validation/reporters/jsonReporter.js +1 -1
- package/dist/actions/documents/validation/reporters/jsonReporter.js.map +1 -1
- package/dist/actions/documents/validation/reporters/ndjsonReporter.js +1 -1
- package/dist/actions/documents/validation/reporters/ndjsonReporter.js.map +1 -1
- package/dist/actions/graphql/SchemaError.js +1 -1
- package/dist/actions/graphql/SchemaError.js.map +1 -1
- package/dist/actions/graphql/__tests__/fixtures/many-self-refs.js +540 -0
- package/dist/actions/graphql/__tests__/fixtures/many-self-refs.js.map +1 -0
- package/dist/actions/graphql/__tests__/fixtures/test-studio.js +1143 -0
- package/dist/actions/graphql/__tests__/fixtures/test-studio.js.map +1 -0
- package/dist/actions/graphql/__tests__/fixtures/union-refs.js +591 -0
- package/dist/actions/graphql/__tests__/fixtures/union-refs.js.map +1 -0
- package/dist/actions/graphql/__tests__/helpers.js +23 -0
- package/dist/actions/graphql/__tests__/helpers.js.map +1 -0
- package/dist/actions/graphql/extractFromSanitySchema.js +2 -1
- package/dist/actions/graphql/extractFromSanitySchema.js.map +1 -1
- package/dist/actions/graphql/gen1/generateTypeFilters.js +1 -1
- package/dist/actions/graphql/gen1/generateTypeFilters.js.map +1 -1
- package/dist/actions/graphql/gen1/generateTypeQueries.js +2 -1
- package/dist/actions/graphql/gen1/generateTypeQueries.js.map +1 -1
- package/dist/actions/graphql/gen2/generateTypeQueries.js +1 -1
- package/dist/actions/graphql/gen2/generateTypeQueries.js.map +1 -1
- package/dist/actions/graphql/gen3/generateTypeQueries.js +1 -1
- package/dist/actions/graphql/gen3/generateTypeQueries.js.map +1 -1
- package/dist/actions/graphql/getGraphQLAPIs.js +2 -10
- package/dist/actions/graphql/getGraphQLAPIs.js.map +1 -1
- package/dist/actions/graphql/getGraphQLAPIs.worker.js +1 -1
- package/dist/actions/graphql/getGraphQLAPIs.worker.js.map +1 -1
- package/dist/actions/graphql/types.js.map +1 -1
- package/dist/actions/init/bootstrapLocalTemplate.js +1 -1
- package/dist/actions/init/bootstrapLocalTemplate.js.map +1 -1
- package/dist/actions/manifest/extractAppManifest.js.map +1 -1
- package/dist/actions/manifest/extractManifest.js +1 -22
- package/dist/actions/manifest/extractManifest.js.map +1 -1
- package/dist/actions/manifest/types.js.map +1 -1
- package/dist/actions/schema/deploySchemas.js +57 -80
- package/dist/actions/schema/deploySchemas.js.map +1 -1
- package/dist/actions/schema/extractSanityWorkspace.worker.js +24 -0
- package/dist/actions/schema/extractSanityWorkspace.worker.js.map +1 -0
- package/dist/actions/schema/extractSchemaWatcher.js +9 -7
- package/dist/actions/schema/extractSchemaWatcher.js.map +1 -1
- package/dist/actions/schema/matchSchemaPattern.js +22 -0
- package/dist/actions/schema/matchSchemaPattern.js.map +1 -0
- package/dist/actions/schema/runSchemaExtraction.js.map +1 -1
- package/dist/actions/schema/types.js +4 -0
- package/dist/actions/schema/types.js.map +1 -1
- package/dist/actions/schema/utils/schemaStoreValidation.js +1 -7
- package/dist/actions/schema/utils/schemaStoreValidation.js.map +1 -1
- package/dist/actions/schema/utils/uniqByProjectIdDataset.js +1 -1
- package/dist/actions/schema/utils/uniqByProjectIdDataset.js.map +1 -1
- package/dist/actions/schema/watchExtractSchema.js +2 -1
- package/dist/actions/schema/watchExtractSchema.js.map +1 -1
- package/dist/actions/versions/getFormatters.js +1 -1
- package/dist/actions/versions/getFormatters.js.map +1 -1
- package/dist/commands/backup/disable.js +0 -6
- package/dist/commands/backup/disable.js.map +1 -1
- package/dist/commands/backup/download.js +0 -6
- package/dist/commands/backup/download.js.map +1 -1
- package/dist/commands/backup/enable.js +0 -6
- package/dist/commands/backup/enable.js.map +1 -1
- package/dist/commands/backup/list.js +4 -7
- package/dist/commands/backup/list.js.map +1 -1
- package/dist/commands/cors/add.js +0 -6
- package/dist/commands/cors/add.js.map +1 -1
- package/dist/commands/cors/delete.js +0 -6
- package/dist/commands/cors/delete.js.map +1 -1
- package/dist/commands/cors/list.js +0 -6
- package/dist/commands/cors/list.js.map +1 -1
- package/dist/commands/dataset/alias/create.js +23 -7
- package/dist/commands/dataset/alias/create.js.map +1 -1
- package/dist/commands/dataset/alias/delete.js +17 -7
- package/dist/commands/dataset/alias/delete.js.map +1 -1
- package/dist/commands/dataset/alias/link.js +17 -7
- package/dist/commands/dataset/alias/link.js.map +1 -1
- package/dist/commands/dataset/alias/unlink.js +17 -7
- package/dist/commands/dataset/alias/unlink.js.map +1 -1
- package/dist/commands/dataset/copy.js +42 -30
- package/dist/commands/dataset/copy.js.map +1 -1
- package/dist/commands/dataset/create.js +29 -7
- package/dist/commands/dataset/create.js.map +1 -1
- package/dist/commands/dataset/delete.js +13 -7
- package/dist/commands/dataset/delete.js.map +1 -1
- package/dist/commands/dataset/embeddings/disable.js +74 -0
- package/dist/commands/dataset/embeddings/disable.js.map +1 -0
- package/dist/commands/dataset/embeddings/enable.js +138 -0
- package/dist/commands/dataset/embeddings/enable.js.map +1 -0
- package/dist/commands/dataset/embeddings/status.js +69 -0
- package/dist/commands/dataset/embeddings/status.js.map +1 -0
- package/dist/commands/dataset/export.js +30 -18
- package/dist/commands/dataset/export.js.map +1 -1
- package/dist/commands/dataset/list.js +19 -7
- package/dist/commands/dataset/list.js.map +1 -1
- package/dist/commands/dataset/visibility/get.js +15 -7
- package/dist/commands/dataset/visibility/get.js.map +1 -1
- package/dist/commands/dataset/visibility/set.js +19 -7
- package/dist/commands/dataset/visibility/set.js.map +1 -1
- package/dist/commands/debug.js +2 -1
- package/dist/commands/debug.js.map +1 -1
- package/dist/commands/documents/create.js +2 -7
- package/dist/commands/documents/create.js.map +1 -1
- package/dist/commands/documents/delete.js +0 -6
- package/dist/commands/documents/delete.js.map +1 -1
- package/dist/commands/documents/get.js +0 -6
- package/dist/commands/documents/get.js.map +1 -1
- package/dist/commands/documents/query.js +0 -6
- package/dist/commands/documents/query.js.map +1 -1
- package/dist/commands/graphql/deploy.js +1 -1
- package/dist/commands/graphql/deploy.js.map +1 -1
- package/dist/commands/graphql/list.js +0 -6
- package/dist/commands/graphql/list.js.map +1 -1
- package/dist/commands/graphql/undeploy.js +0 -6
- package/dist/commands/graphql/undeploy.js.map +1 -1
- package/dist/commands/hook/attempt.js +0 -6
- package/dist/commands/hook/attempt.js.map +1 -1
- package/dist/commands/hook/create.js +0 -6
- package/dist/commands/hook/create.js.map +1 -1
- package/dist/commands/hook/delete.js +0 -6
- package/dist/commands/hook/delete.js.map +1 -1
- package/dist/commands/hook/list.js +0 -6
- package/dist/commands/hook/list.js.map +1 -1
- package/dist/commands/hook/logs.js +1 -7
- package/dist/commands/hook/logs.js.map +1 -1
- package/dist/commands/init.js +13 -7
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/manage.js +0 -1
- package/dist/commands/manage.js.map +1 -1
- package/dist/commands/media/create-aspect.js +1 -1
- package/dist/commands/media/create-aspect.js.map +1 -1
- package/dist/commands/media/delete-aspect.js +0 -6
- package/dist/commands/media/delete-aspect.js.map +1 -1
- package/dist/commands/media/deploy-aspect.js +1 -6
- package/dist/commands/media/deploy-aspect.js.map +1 -1
- package/dist/commands/media/export.js +0 -6
- package/dist/commands/media/export.js.map +1 -1
- package/dist/commands/media/import.js +0 -6
- package/dist/commands/media/import.js.map +1 -1
- package/dist/commands/projects/list.js +2 -1
- package/dist/commands/projects/list.js.map +1 -1
- package/dist/commands/schema/delete.js +0 -6
- package/dist/commands/schema/delete.js.map +1 -1
- package/dist/commands/schema/deploy.js +11 -27
- package/dist/commands/schema/deploy.js.map +1 -1
- package/dist/commands/tokens/add.js +0 -6
- package/dist/commands/tokens/add.js.map +1 -1
- package/dist/commands/tokens/delete.js +0 -6
- package/dist/commands/tokens/delete.js.map +1 -1
- package/dist/commands/tokens/list.js +0 -6
- package/dist/commands/tokens/list.js.map +1 -1
- package/dist/commands/users/invite.js +0 -6
- package/dist/commands/users/invite.js.map +1 -1
- package/dist/commands/users/list.js +1 -7
- package/dist/commands/users/list.js.map +1 -1
- package/dist/commands/versions.js +1 -1
- package/dist/commands/versions.js.map +1 -1
- package/dist/exports/index.d.ts +62 -2
- package/dist/exports/index.js.map +1 -1
- package/dist/prompts/promptForProject.js +64 -0
- package/dist/prompts/promptForProject.js.map +1 -0
- package/dist/prompts/selectMediaLibrary.js +1 -1
- package/dist/prompts/selectMediaLibrary.js.map +1 -1
- package/dist/server/devServer.js +4 -2
- package/dist/server/devServer.js.map +1 -1
- package/dist/server/vite/plugin-schema-extraction.js +201 -0
- package/dist/server/vite/plugin-schema-extraction.js.map +1 -0
- package/dist/server/vite/plugin-typegen.js +217 -0
- package/dist/server/vite/plugin-typegen.js.map +1 -0
- package/dist/services/datasets.js +7 -5
- package/dist/services/datasets.js.map +1 -1
- package/dist/services/embeddings.js +25 -0
- package/dist/services/embeddings.js.map +1 -0
- package/dist/services/grants.js +13 -0
- package/dist/services/grants.js.map +1 -0
- package/dist/services/graphql.js.map +1 -1
- package/dist/services/schemas.js +1 -1
- package/dist/services/schemas.js.map +1 -1
- package/dist/types/grants.js +3 -0
- package/dist/types/grants.js.map +1 -0
- package/dist/types.js.map +1 -1
- package/dist/util/checkProjectPermissions.js +21 -0
- package/dist/util/checkProjectPermissions.js.map +1 -0
- package/dist/util/compareDependencyVersions.js +28 -7
- package/dist/util/compareDependencyVersions.js.map +1 -1
- package/dist/util/errorMessages.js +0 -1
- package/dist/util/errorMessages.js.map +1 -1
- package/dist/util/getSharedServerConfig.js +1 -0
- package/dist/util/getSharedServerConfig.js.map +1 -1
- package/dist/util/packageManager/getPeerDependencies.js +44 -0
- package/dist/util/packageManager/getPeerDependencies.js.map +1 -0
- package/dist/util/sharedFlags.js +19 -0
- package/dist/util/sharedFlags.js.map +1 -0
- package/dist/util/toForwardSlashes.js +8 -0
- package/dist/util/toForwardSlashes.js.map +1 -0
- package/oclif.manifest.json +639 -379
- package/package.json +23 -22
- package/dist/actions/dev/getCoreAppUrl.js +0 -10
- package/dist/actions/dev/getCoreAppUrl.js.map +0 -1
- package/dist/actions/schema/schemaStoreTypes.js +0 -19
- package/dist/actions/schema/schemaStoreTypes.js.map +0 -1
- package/dist/actions/schema/utils/manifestExtractor.js +0 -29
- package/dist/actions/schema/utils/manifestExtractor.js.map +0 -1
- package/dist/actions/schema/utils/manifestReader.js +0 -71
- package/dist/actions/schema/utils/manifestReader.js.map +0 -1
- package/dist/util/workerChannels.js +0 -172
- package/dist/util/workerChannels.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -1265,6 +1265,14 @@
|
|
|
1265
1265
|
}
|
|
1266
1266
|
],
|
|
1267
1267
|
"flags": {
|
|
1268
|
+
"project-id": {
|
|
1269
|
+
"char": "p",
|
|
1270
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
1271
|
+
"name": "project-id",
|
|
1272
|
+
"hasDynamicHelp": false,
|
|
1273
|
+
"multiple": false,
|
|
1274
|
+
"type": "option"
|
|
1275
|
+
},
|
|
1268
1276
|
"attach": {
|
|
1269
1277
|
"description": "Attach to the running copy process to show progress",
|
|
1270
1278
|
"exclusive": [
|
|
@@ -1375,6 +1383,30 @@
|
|
|
1375
1383
|
}
|
|
1376
1384
|
],
|
|
1377
1385
|
"flags": {
|
|
1386
|
+
"project-id": {
|
|
1387
|
+
"char": "p",
|
|
1388
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
1389
|
+
"name": "project-id",
|
|
1390
|
+
"hasDynamicHelp": false,
|
|
1391
|
+
"multiple": false,
|
|
1392
|
+
"type": "option"
|
|
1393
|
+
},
|
|
1394
|
+
"embeddings": {
|
|
1395
|
+
"description": "Enable embeddings for this dataset",
|
|
1396
|
+
"name": "embeddings",
|
|
1397
|
+
"allowNo": false,
|
|
1398
|
+
"type": "boolean"
|
|
1399
|
+
},
|
|
1400
|
+
"embeddings-projection": {
|
|
1401
|
+
"dependsOn": [
|
|
1402
|
+
"embeddings"
|
|
1403
|
+
],
|
|
1404
|
+
"description": "GROQ projection for embeddings indexing (e.g. \"{ title, body }\")",
|
|
1405
|
+
"name": "embeddings-projection",
|
|
1406
|
+
"hasDynamicHelp": false,
|
|
1407
|
+
"multiple": false,
|
|
1408
|
+
"type": "option"
|
|
1409
|
+
},
|
|
1378
1410
|
"visibility": {
|
|
1379
1411
|
"description": "Set visibility for this dataset (custom/private/public)",
|
|
1380
1412
|
"name": "visibility",
|
|
@@ -1425,6 +1457,14 @@
|
|
|
1425
1457
|
}
|
|
1426
1458
|
],
|
|
1427
1459
|
"flags": {
|
|
1460
|
+
"project-id": {
|
|
1461
|
+
"char": "p",
|
|
1462
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
1463
|
+
"name": "project-id",
|
|
1464
|
+
"hasDynamicHelp": false,
|
|
1465
|
+
"multiple": false,
|
|
1466
|
+
"type": "option"
|
|
1467
|
+
},
|
|
1428
1468
|
"force": {
|
|
1429
1469
|
"description": "Do not prompt for delete confirmation - forcefully delete",
|
|
1430
1470
|
"name": "force",
|
|
@@ -1480,6 +1520,14 @@
|
|
|
1480
1520
|
}
|
|
1481
1521
|
],
|
|
1482
1522
|
"flags": {
|
|
1523
|
+
"project-id": {
|
|
1524
|
+
"char": "p",
|
|
1525
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
1526
|
+
"name": "project-id",
|
|
1527
|
+
"hasDynamicHelp": false,
|
|
1528
|
+
"multiple": false,
|
|
1529
|
+
"type": "option"
|
|
1530
|
+
},
|
|
1483
1531
|
"asset-concurrency": {
|
|
1484
1532
|
"description": "Concurrent number of asset downloads",
|
|
1485
1533
|
"name": "asset-concurrency",
|
|
@@ -1687,9 +1735,22 @@
|
|
|
1687
1735
|
{
|
|
1688
1736
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
1689
1737
|
"description": "List datasets of your project"
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
1741
|
+
"description": "List datasets for a specific project"
|
|
1690
1742
|
}
|
|
1691
1743
|
],
|
|
1692
|
-
"flags": {
|
|
1744
|
+
"flags": {
|
|
1745
|
+
"project-id": {
|
|
1746
|
+
"char": "p",
|
|
1747
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
1748
|
+
"name": "project-id",
|
|
1749
|
+
"hasDynamicHelp": false,
|
|
1750
|
+
"multiple": false,
|
|
1751
|
+
"type": "option"
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1693
1754
|
"hasDynamicHelp": false,
|
|
1694
1755
|
"hiddenAliases": [],
|
|
1695
1756
|
"id": "dataset:list",
|
|
@@ -2206,6 +2267,170 @@
|
|
|
2206
2267
|
"validate.js"
|
|
2207
2268
|
]
|
|
2208
2269
|
},
|
|
2270
|
+
"hook:attempt": {
|
|
2271
|
+
"aliases": [],
|
|
2272
|
+
"args": {
|
|
2273
|
+
"attemptId": {
|
|
2274
|
+
"description": "The delivery attempt ID to get details for",
|
|
2275
|
+
"name": "attemptId",
|
|
2276
|
+
"required": true
|
|
2277
|
+
}
|
|
2278
|
+
},
|
|
2279
|
+
"description": "Print details of a given webhook delivery attempt",
|
|
2280
|
+
"examples": [
|
|
2281
|
+
{
|
|
2282
|
+
"command": "<%= config.bin %> <%= command.id %> abc123",
|
|
2283
|
+
"description": "Print details of webhook delivery attempt with ID abc123"
|
|
2284
|
+
}
|
|
2285
|
+
],
|
|
2286
|
+
"flags": {},
|
|
2287
|
+
"hasDynamicHelp": false,
|
|
2288
|
+
"hiddenAliases": [],
|
|
2289
|
+
"id": "hook:attempt",
|
|
2290
|
+
"pluginAlias": "@sanity/cli",
|
|
2291
|
+
"pluginName": "@sanity/cli",
|
|
2292
|
+
"pluginType": "core",
|
|
2293
|
+
"strict": true,
|
|
2294
|
+
"isESM": true,
|
|
2295
|
+
"relativePath": [
|
|
2296
|
+
"dist",
|
|
2297
|
+
"commands",
|
|
2298
|
+
"hook",
|
|
2299
|
+
"attempt.js"
|
|
2300
|
+
]
|
|
2301
|
+
},
|
|
2302
|
+
"hook:create": {
|
|
2303
|
+
"aliases": [],
|
|
2304
|
+
"args": {},
|
|
2305
|
+
"description": "Create a new webhook for the current project",
|
|
2306
|
+
"examples": [
|
|
2307
|
+
{
|
|
2308
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2309
|
+
"description": "Create a new webhook for the current project"
|
|
2310
|
+
}
|
|
2311
|
+
],
|
|
2312
|
+
"flags": {},
|
|
2313
|
+
"hasDynamicHelp": false,
|
|
2314
|
+
"hiddenAliases": [],
|
|
2315
|
+
"id": "hook:create",
|
|
2316
|
+
"pluginAlias": "@sanity/cli",
|
|
2317
|
+
"pluginName": "@sanity/cli",
|
|
2318
|
+
"pluginType": "core",
|
|
2319
|
+
"strict": true,
|
|
2320
|
+
"isESM": true,
|
|
2321
|
+
"relativePath": [
|
|
2322
|
+
"dist",
|
|
2323
|
+
"commands",
|
|
2324
|
+
"hook",
|
|
2325
|
+
"create.js"
|
|
2326
|
+
]
|
|
2327
|
+
},
|
|
2328
|
+
"hook:delete": {
|
|
2329
|
+
"aliases": [],
|
|
2330
|
+
"args": {
|
|
2331
|
+
"name": {
|
|
2332
|
+
"description": "Name of hook to delete (will prompt if not provided)",
|
|
2333
|
+
"name": "name",
|
|
2334
|
+
"required": false
|
|
2335
|
+
}
|
|
2336
|
+
},
|
|
2337
|
+
"description": "Delete a hook within your project",
|
|
2338
|
+
"examples": [
|
|
2339
|
+
{
|
|
2340
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2341
|
+
"description": "Interactively select and delete a hook"
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"command": "<%= config.bin %> <%= command.id %> my-hook",
|
|
2345
|
+
"description": "Delete a specific hook by name"
|
|
2346
|
+
}
|
|
2347
|
+
],
|
|
2348
|
+
"flags": {},
|
|
2349
|
+
"hasDynamicHelp": false,
|
|
2350
|
+
"hiddenAliases": [],
|
|
2351
|
+
"id": "hook:delete",
|
|
2352
|
+
"pluginAlias": "@sanity/cli",
|
|
2353
|
+
"pluginName": "@sanity/cli",
|
|
2354
|
+
"pluginType": "core",
|
|
2355
|
+
"strict": true,
|
|
2356
|
+
"isESM": true,
|
|
2357
|
+
"relativePath": [
|
|
2358
|
+
"dist",
|
|
2359
|
+
"commands",
|
|
2360
|
+
"hook",
|
|
2361
|
+
"delete.js"
|
|
2362
|
+
]
|
|
2363
|
+
},
|
|
2364
|
+
"hook:list": {
|
|
2365
|
+
"aliases": [],
|
|
2366
|
+
"args": {},
|
|
2367
|
+
"description": "List hooks for a given project",
|
|
2368
|
+
"examples": [
|
|
2369
|
+
{
|
|
2370
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2371
|
+
"description": "List hooks for a given project"
|
|
2372
|
+
}
|
|
2373
|
+
],
|
|
2374
|
+
"flags": {},
|
|
2375
|
+
"hasDynamicHelp": false,
|
|
2376
|
+
"hiddenAliases": [],
|
|
2377
|
+
"id": "hook:list",
|
|
2378
|
+
"pluginAlias": "@sanity/cli",
|
|
2379
|
+
"pluginName": "@sanity/cli",
|
|
2380
|
+
"pluginType": "core",
|
|
2381
|
+
"strict": true,
|
|
2382
|
+
"isESM": true,
|
|
2383
|
+
"relativePath": [
|
|
2384
|
+
"dist",
|
|
2385
|
+
"commands",
|
|
2386
|
+
"hook",
|
|
2387
|
+
"list.js"
|
|
2388
|
+
]
|
|
2389
|
+
},
|
|
2390
|
+
"hook:logs": {
|
|
2391
|
+
"aliases": [],
|
|
2392
|
+
"args": {
|
|
2393
|
+
"name": {
|
|
2394
|
+
"description": "Name of the hook to show logs for",
|
|
2395
|
+
"name": "name",
|
|
2396
|
+
"required": false
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
"description": "List latest log entries for a given hook",
|
|
2400
|
+
"examples": [
|
|
2401
|
+
{
|
|
2402
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2403
|
+
"description": "List latest log entries for a given hook"
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
"command": "<%= config.bin %> <%= command.id %> [NAME]",
|
|
2407
|
+
"description": "List latest log entries for a specific hook by name"
|
|
2408
|
+
}
|
|
2409
|
+
],
|
|
2410
|
+
"flags": {
|
|
2411
|
+
"detailed": {
|
|
2412
|
+
"description": "Include detailed payload and attempts",
|
|
2413
|
+
"name": "detailed",
|
|
2414
|
+
"required": false,
|
|
2415
|
+
"allowNo": false,
|
|
2416
|
+
"type": "boolean"
|
|
2417
|
+
}
|
|
2418
|
+
},
|
|
2419
|
+
"hasDynamicHelp": false,
|
|
2420
|
+
"hiddenAliases": [],
|
|
2421
|
+
"id": "hook:logs",
|
|
2422
|
+
"pluginAlias": "@sanity/cli",
|
|
2423
|
+
"pluginName": "@sanity/cli",
|
|
2424
|
+
"pluginType": "core",
|
|
2425
|
+
"strict": true,
|
|
2426
|
+
"isESM": true,
|
|
2427
|
+
"relativePath": [
|
|
2428
|
+
"dist",
|
|
2429
|
+
"commands",
|
|
2430
|
+
"hook",
|
|
2431
|
+
"logs.js"
|
|
2432
|
+
]
|
|
2433
|
+
},
|
|
2209
2434
|
"graphql:deploy": {
|
|
2210
2435
|
"aliases": [],
|
|
2211
2436
|
"args": {},
|
|
@@ -2417,26 +2642,33 @@
|
|
|
2417
2642
|
"undeploy.js"
|
|
2418
2643
|
]
|
|
2419
2644
|
},
|
|
2420
|
-
"
|
|
2645
|
+
"manifest:extract": {
|
|
2421
2646
|
"aliases": [],
|
|
2422
|
-
"args": {
|
|
2423
|
-
|
|
2424
|
-
"description": "The delivery attempt ID to get details for",
|
|
2425
|
-
"name": "attemptId",
|
|
2426
|
-
"required": true
|
|
2427
|
-
}
|
|
2428
|
-
},
|
|
2429
|
-
"description": "Print details of a given webhook delivery attempt",
|
|
2647
|
+
"args": {},
|
|
2648
|
+
"description": "Extracts the studio configuration as one or more JSON manifest files.\n\n**Note**: This command is experimental and subject to change. It is currently intended for use with Create only.",
|
|
2430
2649
|
"examples": [
|
|
2431
2650
|
{
|
|
2432
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2433
|
-
"description": "
|
|
2651
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2652
|
+
"description": "Extracts manifests"
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"command": "<%= config.bin %> <%= command.id %> --path /public/static",
|
|
2656
|
+
"description": "Extracts manifests into /public/static"
|
|
2434
2657
|
}
|
|
2435
2658
|
],
|
|
2436
|
-
"flags": {
|
|
2659
|
+
"flags": {
|
|
2660
|
+
"path": {
|
|
2661
|
+
"description": "Optional path to specify destination directory of the manifest files",
|
|
2662
|
+
"name": "path",
|
|
2663
|
+
"default": "/dist/static",
|
|
2664
|
+
"hasDynamicHelp": false,
|
|
2665
|
+
"multiple": false,
|
|
2666
|
+
"type": "option"
|
|
2667
|
+
}
|
|
2668
|
+
},
|
|
2437
2669
|
"hasDynamicHelp": false,
|
|
2438
2670
|
"hiddenAliases": [],
|
|
2439
|
-
"id": "
|
|
2671
|
+
"id": "manifest:extract",
|
|
2440
2672
|
"pluginAlias": "@sanity/cli",
|
|
2441
2673
|
"pluginName": "@sanity/cli",
|
|
2442
2674
|
"pluginType": "core",
|
|
@@ -2445,24 +2677,24 @@
|
|
|
2445
2677
|
"relativePath": [
|
|
2446
2678
|
"dist",
|
|
2447
2679
|
"commands",
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2680
|
+
"manifest",
|
|
2681
|
+
"extract.js"
|
|
2450
2682
|
]
|
|
2451
2683
|
},
|
|
2452
|
-
"
|
|
2684
|
+
"mcp:configure": {
|
|
2453
2685
|
"aliases": [],
|
|
2454
2686
|
"args": {},
|
|
2455
|
-
"description": "
|
|
2687
|
+
"description": "Configure Sanity MCP server for AI editors (Claude Code, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, VS Code)",
|
|
2456
2688
|
"examples": [
|
|
2457
2689
|
{
|
|
2458
2690
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
2459
|
-
"description": "
|
|
2691
|
+
"description": "Configure Sanity MCP server for detected AI editors"
|
|
2460
2692
|
}
|
|
2461
2693
|
],
|
|
2462
2694
|
"flags": {},
|
|
2463
2695
|
"hasDynamicHelp": false,
|
|
2464
2696
|
"hiddenAliases": [],
|
|
2465
|
-
"id": "
|
|
2697
|
+
"id": "mcp:configure",
|
|
2466
2698
|
"pluginAlias": "@sanity/cli",
|
|
2467
2699
|
"pluginName": "@sanity/cli",
|
|
2468
2700
|
"pluginType": "core",
|
|
@@ -2471,182 +2703,11 @@
|
|
|
2471
2703
|
"relativePath": [
|
|
2472
2704
|
"dist",
|
|
2473
2705
|
"commands",
|
|
2474
|
-
"
|
|
2475
|
-
"
|
|
2706
|
+
"mcp",
|
|
2707
|
+
"configure.js"
|
|
2476
2708
|
]
|
|
2477
2709
|
},
|
|
2478
|
-
"
|
|
2479
|
-
"aliases": [],
|
|
2480
|
-
"args": {
|
|
2481
|
-
"name": {
|
|
2482
|
-
"description": "Name of hook to delete (will prompt if not provided)",
|
|
2483
|
-
"name": "name",
|
|
2484
|
-
"required": false
|
|
2485
|
-
}
|
|
2486
|
-
},
|
|
2487
|
-
"description": "Delete a hook within your project",
|
|
2488
|
-
"examples": [
|
|
2489
|
-
{
|
|
2490
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2491
|
-
"description": "Interactively select and delete a hook"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"command": "<%= config.bin %> <%= command.id %> my-hook",
|
|
2495
|
-
"description": "Delete a specific hook by name"
|
|
2496
|
-
}
|
|
2497
|
-
],
|
|
2498
|
-
"flags": {},
|
|
2499
|
-
"hasDynamicHelp": false,
|
|
2500
|
-
"hiddenAliases": [],
|
|
2501
|
-
"id": "hook:delete",
|
|
2502
|
-
"pluginAlias": "@sanity/cli",
|
|
2503
|
-
"pluginName": "@sanity/cli",
|
|
2504
|
-
"pluginType": "core",
|
|
2505
|
-
"strict": true,
|
|
2506
|
-
"isESM": true,
|
|
2507
|
-
"relativePath": [
|
|
2508
|
-
"dist",
|
|
2509
|
-
"commands",
|
|
2510
|
-
"hook",
|
|
2511
|
-
"delete.js"
|
|
2512
|
-
]
|
|
2513
|
-
},
|
|
2514
|
-
"hook:list": {
|
|
2515
|
-
"aliases": [],
|
|
2516
|
-
"args": {},
|
|
2517
|
-
"description": "List hooks for a given project",
|
|
2518
|
-
"examples": [
|
|
2519
|
-
{
|
|
2520
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2521
|
-
"description": "List hooks for a given project"
|
|
2522
|
-
}
|
|
2523
|
-
],
|
|
2524
|
-
"flags": {},
|
|
2525
|
-
"hasDynamicHelp": false,
|
|
2526
|
-
"hiddenAliases": [],
|
|
2527
|
-
"id": "hook:list",
|
|
2528
|
-
"pluginAlias": "@sanity/cli",
|
|
2529
|
-
"pluginName": "@sanity/cli",
|
|
2530
|
-
"pluginType": "core",
|
|
2531
|
-
"strict": true,
|
|
2532
|
-
"isESM": true,
|
|
2533
|
-
"relativePath": [
|
|
2534
|
-
"dist",
|
|
2535
|
-
"commands",
|
|
2536
|
-
"hook",
|
|
2537
|
-
"list.js"
|
|
2538
|
-
]
|
|
2539
|
-
},
|
|
2540
|
-
"hook:logs": {
|
|
2541
|
-
"aliases": [],
|
|
2542
|
-
"args": {
|
|
2543
|
-
"name": {
|
|
2544
|
-
"description": "Name of the hook to show logs for",
|
|
2545
|
-
"name": "name",
|
|
2546
|
-
"required": false
|
|
2547
|
-
}
|
|
2548
|
-
},
|
|
2549
|
-
"description": "List latest log entries for a given hook",
|
|
2550
|
-
"examples": [
|
|
2551
|
-
{
|
|
2552
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2553
|
-
"description": "List latest log entries for a given hook"
|
|
2554
|
-
},
|
|
2555
|
-
{
|
|
2556
|
-
"command": "<%= config.bin %> <%= command.id %> [NAME]",
|
|
2557
|
-
"description": "List latest log entries for a specific hook by name"
|
|
2558
|
-
}
|
|
2559
|
-
],
|
|
2560
|
-
"flags": {
|
|
2561
|
-
"detailed": {
|
|
2562
|
-
"description": "Include detailed payload and attempts",
|
|
2563
|
-
"name": "detailed",
|
|
2564
|
-
"required": false,
|
|
2565
|
-
"allowNo": false,
|
|
2566
|
-
"type": "boolean"
|
|
2567
|
-
}
|
|
2568
|
-
},
|
|
2569
|
-
"hasDynamicHelp": false,
|
|
2570
|
-
"hiddenAliases": [],
|
|
2571
|
-
"id": "hook:logs",
|
|
2572
|
-
"pluginAlias": "@sanity/cli",
|
|
2573
|
-
"pluginName": "@sanity/cli",
|
|
2574
|
-
"pluginType": "core",
|
|
2575
|
-
"strict": true,
|
|
2576
|
-
"isESM": true,
|
|
2577
|
-
"relativePath": [
|
|
2578
|
-
"dist",
|
|
2579
|
-
"commands",
|
|
2580
|
-
"hook",
|
|
2581
|
-
"logs.js"
|
|
2582
|
-
]
|
|
2583
|
-
},
|
|
2584
|
-
"manifest:extract": {
|
|
2585
|
-
"aliases": [],
|
|
2586
|
-
"args": {},
|
|
2587
|
-
"description": "Extracts the studio configuration as one or more JSON manifest files.\n\n**Note**: This command is experimental and subject to change. It is currently intended for use with Create only.",
|
|
2588
|
-
"examples": [
|
|
2589
|
-
{
|
|
2590
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2591
|
-
"description": "Extracts manifests"
|
|
2592
|
-
},
|
|
2593
|
-
{
|
|
2594
|
-
"command": "<%= config.bin %> <%= command.id %> --path /public/static",
|
|
2595
|
-
"description": "Extracts manifests into /public/static"
|
|
2596
|
-
}
|
|
2597
|
-
],
|
|
2598
|
-
"flags": {
|
|
2599
|
-
"path": {
|
|
2600
|
-
"description": "Optional path to specify destination directory of the manifest files",
|
|
2601
|
-
"name": "path",
|
|
2602
|
-
"default": "/dist/static",
|
|
2603
|
-
"hasDynamicHelp": false,
|
|
2604
|
-
"multiple": false,
|
|
2605
|
-
"type": "option"
|
|
2606
|
-
}
|
|
2607
|
-
},
|
|
2608
|
-
"hasDynamicHelp": false,
|
|
2609
|
-
"hiddenAliases": [],
|
|
2610
|
-
"id": "manifest:extract",
|
|
2611
|
-
"pluginAlias": "@sanity/cli",
|
|
2612
|
-
"pluginName": "@sanity/cli",
|
|
2613
|
-
"pluginType": "core",
|
|
2614
|
-
"strict": true,
|
|
2615
|
-
"isESM": true,
|
|
2616
|
-
"relativePath": [
|
|
2617
|
-
"dist",
|
|
2618
|
-
"commands",
|
|
2619
|
-
"manifest",
|
|
2620
|
-
"extract.js"
|
|
2621
|
-
]
|
|
2622
|
-
},
|
|
2623
|
-
"mcp:configure": {
|
|
2624
|
-
"aliases": [],
|
|
2625
|
-
"args": {},
|
|
2626
|
-
"description": "Configure Sanity MCP server for AI editors (Claude Code, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, VS Code)",
|
|
2627
|
-
"examples": [
|
|
2628
|
-
{
|
|
2629
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2630
|
-
"description": "Configure Sanity MCP server for detected AI editors"
|
|
2631
|
-
}
|
|
2632
|
-
],
|
|
2633
|
-
"flags": {},
|
|
2634
|
-
"hasDynamicHelp": false,
|
|
2635
|
-
"hiddenAliases": [],
|
|
2636
|
-
"id": "mcp:configure",
|
|
2637
|
-
"pluginAlias": "@sanity/cli",
|
|
2638
|
-
"pluginName": "@sanity/cli",
|
|
2639
|
-
"pluginType": "core",
|
|
2640
|
-
"strict": true,
|
|
2641
|
-
"isESM": true,
|
|
2642
|
-
"relativePath": [
|
|
2643
|
-
"dist",
|
|
2644
|
-
"commands",
|
|
2645
|
-
"mcp",
|
|
2646
|
-
"configure.js"
|
|
2647
|
-
]
|
|
2648
|
-
},
|
|
2649
|
-
"media:create-aspect": {
|
|
2710
|
+
"media:create-aspect": {
|
|
2650
2711
|
"aliases": [],
|
|
2651
2712
|
"args": {},
|
|
2652
2713
|
"description": "Create a new aspect definition file",
|
|
@@ -3008,82 +3069,62 @@
|
|
|
3008
3069
|
"list.js"
|
|
3009
3070
|
]
|
|
3010
3071
|
},
|
|
3011
|
-
"
|
|
3072
|
+
"schema:delete": {
|
|
3012
3073
|
"aliases": [],
|
|
3013
|
-
"args": {
|
|
3014
|
-
|
|
3015
|
-
"description": "Name of the project to create",
|
|
3016
|
-
"name": "projectName",
|
|
3017
|
-
"required": false
|
|
3018
|
-
}
|
|
3019
|
-
},
|
|
3020
|
-
"description": "Create a new Sanity project",
|
|
3074
|
+
"args": {},
|
|
3075
|
+
"description": "Delete schema documents by id",
|
|
3021
3076
|
"examples": [
|
|
3022
3077
|
{
|
|
3023
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3024
|
-
"description": "
|
|
3025
|
-
},
|
|
3026
|
-
{
|
|
3027
|
-
"command": "<%= config.bin %> <%= command.id %> \"My New Project\"",
|
|
3028
|
-
"description": "Create a project named \"My New Project\""
|
|
3029
|
-
},
|
|
3030
|
-
{
|
|
3031
|
-
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --organization=my-org",
|
|
3032
|
-
"description": "Create a project in a specific organization"
|
|
3033
|
-
},
|
|
3034
|
-
{
|
|
3035
|
-
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --dataset=staging --dataset-visibility=private",
|
|
3036
|
-
"description": "Create a project with a private dataset named \"staging\""
|
|
3078
|
+
"command": "<%= config.bin %> <%= command.id %> --ids sanity.workspace.schema.workspaceName",
|
|
3079
|
+
"description": "Delete a single schema"
|
|
3037
3080
|
},
|
|
3038
3081
|
{
|
|
3039
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
3040
|
-
"description": "
|
|
3082
|
+
"command": "<%= config.bin %> <%= command.id %> --ids sanity.workspace.schema.workspaceName,prefix.sanity.workspace.schema.otherWorkspace",
|
|
3083
|
+
"description": "Delete multiple schemas"
|
|
3041
3084
|
}
|
|
3042
3085
|
],
|
|
3043
3086
|
"flags": {
|
|
3044
3087
|
"dataset": {
|
|
3045
|
-
"description": "
|
|
3088
|
+
"description": "Delete schemas from a specific dataset",
|
|
3046
3089
|
"name": "dataset",
|
|
3047
3090
|
"hasDynamicHelp": false,
|
|
3048
3091
|
"multiple": false,
|
|
3049
3092
|
"type": "option"
|
|
3050
3093
|
},
|
|
3051
|
-
"
|
|
3052
|
-
"description": "
|
|
3053
|
-
"
|
|
3094
|
+
"extract-manifest": {
|
|
3095
|
+
"description": "Generate manifest file (disable with --no-extract-manifest)",
|
|
3096
|
+
"hidden": true,
|
|
3097
|
+
"name": "extract-manifest",
|
|
3098
|
+
"allowNo": true,
|
|
3099
|
+
"type": "boolean"
|
|
3100
|
+
},
|
|
3101
|
+
"ids": {
|
|
3102
|
+
"description": "Comma-separated list of schema ids to delete",
|
|
3103
|
+
"name": "ids",
|
|
3104
|
+
"required": true,
|
|
3054
3105
|
"hasDynamicHelp": false,
|
|
3055
3106
|
"multiple": false,
|
|
3056
|
-
"options": [
|
|
3057
|
-
"private",
|
|
3058
|
-
"public"
|
|
3059
|
-
],
|
|
3060
3107
|
"type": "option"
|
|
3061
3108
|
},
|
|
3062
|
-
"
|
|
3063
|
-
"description": "
|
|
3064
|
-
"
|
|
3065
|
-
"
|
|
3066
|
-
"
|
|
3067
|
-
},
|
|
3068
|
-
"organization": {
|
|
3069
|
-
"description": "Organization to create the project in",
|
|
3070
|
-
"name": "organization",
|
|
3109
|
+
"manifest-dir": {
|
|
3110
|
+
"description": "Directory containing manifest file",
|
|
3111
|
+
"hidden": true,
|
|
3112
|
+
"name": "manifest-dir",
|
|
3113
|
+
"default": "./dist/static",
|
|
3071
3114
|
"hasDynamicHelp": false,
|
|
3072
|
-
"helpValue": "<slug|id>",
|
|
3073
3115
|
"multiple": false,
|
|
3074
3116
|
"type": "option"
|
|
3075
3117
|
},
|
|
3076
|
-
"
|
|
3077
|
-
"
|
|
3078
|
-
"
|
|
3079
|
-
"name": "yes",
|
|
3118
|
+
"verbose": {
|
|
3119
|
+
"description": "Enable verbose logging",
|
|
3120
|
+
"name": "verbose",
|
|
3080
3121
|
"allowNo": false,
|
|
3081
3122
|
"type": "boolean"
|
|
3082
3123
|
}
|
|
3083
3124
|
},
|
|
3084
3125
|
"hasDynamicHelp": false,
|
|
3085
3126
|
"hiddenAliases": [],
|
|
3086
|
-
"id": "
|
|
3127
|
+
"id": "schema:delete",
|
|
3087
3128
|
"pluginAlias": "@sanity/cli",
|
|
3088
3129
|
"pluginName": "@sanity/cli",
|
|
3089
3130
|
"pluginType": "core",
|
|
@@ -3092,150 +3133,22 @@
|
|
|
3092
3133
|
"relativePath": [
|
|
3093
3134
|
"dist",
|
|
3094
3135
|
"commands",
|
|
3095
|
-
"
|
|
3096
|
-
"
|
|
3136
|
+
"schema",
|
|
3137
|
+
"delete.js"
|
|
3097
3138
|
]
|
|
3098
3139
|
},
|
|
3099
|
-
"
|
|
3140
|
+
"schema:deploy": {
|
|
3100
3141
|
"aliases": [],
|
|
3101
3142
|
"args": {},
|
|
3102
|
-
"description": "
|
|
3143
|
+
"description": "Deploy schema documents into workspace datasets.\n\n**Note**: This command is experimental and subject to change.\n\nThis operation (re-)generates a manifest file describing the sanity config workspace by default.\nTo re-use an existing manifest file, use --no-extract-manifest.",
|
|
3103
3144
|
"examples": [
|
|
3104
3145
|
{
|
|
3105
3146
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
3106
|
-
"description": "
|
|
3107
|
-
},
|
|
3108
|
-
{
|
|
3109
|
-
"command": "<%= config.bin %> <%= command.id %> --sort=members --order=asc",
|
|
3110
|
-
"description": "List all users of the project, but exclude pending invitations and robots"
|
|
3111
|
-
}
|
|
3112
|
-
],
|
|
3113
|
-
"flags": {
|
|
3114
|
-
"order": {
|
|
3115
|
-
"name": "order",
|
|
3116
|
-
"default": "desc",
|
|
3117
|
-
"hasDynamicHelp": false,
|
|
3118
|
-
"multiple": false,
|
|
3119
|
-
"options": [
|
|
3120
|
-
"asc",
|
|
3121
|
-
"desc"
|
|
3122
|
-
],
|
|
3123
|
-
"type": "option"
|
|
3124
|
-
},
|
|
3125
|
-
"sort": {
|
|
3126
|
-
"name": "sort",
|
|
3127
|
-
"default": "created",
|
|
3128
|
-
"hasDynamicHelp": false,
|
|
3129
|
-
"multiple": false,
|
|
3130
|
-
"options": [
|
|
3131
|
-
"id",
|
|
3132
|
-
"members",
|
|
3133
|
-
"name",
|
|
3134
|
-
"url",
|
|
3135
|
-
"created"
|
|
3136
|
-
],
|
|
3137
|
-
"type": "option"
|
|
3138
|
-
}
|
|
3139
|
-
},
|
|
3140
|
-
"hasDynamicHelp": false,
|
|
3141
|
-
"hiddenAliases": [],
|
|
3142
|
-
"id": "projects:list",
|
|
3143
|
-
"pluginAlias": "@sanity/cli",
|
|
3144
|
-
"pluginName": "@sanity/cli",
|
|
3145
|
-
"pluginType": "core",
|
|
3146
|
-
"strict": true,
|
|
3147
|
-
"isESM": true,
|
|
3148
|
-
"relativePath": [
|
|
3149
|
-
"dist",
|
|
3150
|
-
"commands",
|
|
3151
|
-
"projects",
|
|
3152
|
-
"list.js"
|
|
3153
|
-
]
|
|
3154
|
-
},
|
|
3155
|
-
"schema:delete": {
|
|
3156
|
-
"aliases": [],
|
|
3157
|
-
"args": {},
|
|
3158
|
-
"description": "Delete schema documents by id",
|
|
3159
|
-
"examples": [
|
|
3160
|
-
{
|
|
3161
|
-
"command": "<%= config.bin %> <%= command.id %> --ids sanity.workspace.schema.workspaceName",
|
|
3162
|
-
"description": "Delete a single schema"
|
|
3163
|
-
},
|
|
3164
|
-
{
|
|
3165
|
-
"command": "<%= config.bin %> <%= command.id %> --ids sanity.workspace.schema.workspaceName,prefix.sanity.workspace.schema.otherWorkspace",
|
|
3166
|
-
"description": "Delete multiple schemas"
|
|
3167
|
-
}
|
|
3168
|
-
],
|
|
3169
|
-
"flags": {
|
|
3170
|
-
"dataset": {
|
|
3171
|
-
"description": "Delete schemas from a specific dataset",
|
|
3172
|
-
"name": "dataset",
|
|
3173
|
-
"hasDynamicHelp": false,
|
|
3174
|
-
"multiple": false,
|
|
3175
|
-
"type": "option"
|
|
3176
|
-
},
|
|
3177
|
-
"extract-manifest": {
|
|
3178
|
-
"description": "Generate manifest file (disable with --no-extract-manifest)",
|
|
3179
|
-
"hidden": true,
|
|
3180
|
-
"name": "extract-manifest",
|
|
3181
|
-
"allowNo": true,
|
|
3182
|
-
"type": "boolean"
|
|
3183
|
-
},
|
|
3184
|
-
"ids": {
|
|
3185
|
-
"description": "Comma-separated list of schema ids to delete",
|
|
3186
|
-
"name": "ids",
|
|
3187
|
-
"required": true,
|
|
3188
|
-
"hasDynamicHelp": false,
|
|
3189
|
-
"multiple": false,
|
|
3190
|
-
"type": "option"
|
|
3191
|
-
},
|
|
3192
|
-
"manifest-dir": {
|
|
3193
|
-
"description": "Directory containing manifest file",
|
|
3194
|
-
"hidden": true,
|
|
3195
|
-
"name": "manifest-dir",
|
|
3196
|
-
"default": "./dist/static",
|
|
3197
|
-
"hasDynamicHelp": false,
|
|
3198
|
-
"multiple": false,
|
|
3199
|
-
"type": "option"
|
|
3200
|
-
},
|
|
3201
|
-
"verbose": {
|
|
3202
|
-
"description": "Enable verbose logging",
|
|
3203
|
-
"name": "verbose",
|
|
3204
|
-
"allowNo": false,
|
|
3205
|
-
"type": "boolean"
|
|
3206
|
-
}
|
|
3207
|
-
},
|
|
3208
|
-
"hasDynamicHelp": false,
|
|
3209
|
-
"hiddenAliases": [],
|
|
3210
|
-
"id": "schema:delete",
|
|
3211
|
-
"pluginAlias": "@sanity/cli",
|
|
3212
|
-
"pluginName": "@sanity/cli",
|
|
3213
|
-
"pluginType": "core",
|
|
3214
|
-
"strict": true,
|
|
3215
|
-
"isESM": true,
|
|
3216
|
-
"relativePath": [
|
|
3217
|
-
"dist",
|
|
3218
|
-
"commands",
|
|
3219
|
-
"schema",
|
|
3220
|
-
"delete.js"
|
|
3221
|
-
]
|
|
3222
|
-
},
|
|
3223
|
-
"schema:deploy": {
|
|
3224
|
-
"aliases": [],
|
|
3225
|
-
"args": {},
|
|
3226
|
-
"description": "Deploy schema documents into workspace datasets.\n\n**Note**: This command is experimental and subject to change.\n\nThis operation (re-)generates a manifest file describing the sanity config workspace by default.\nTo re-use an existing manifest file, use --no-extract-manifest.",
|
|
3227
|
-
"examples": [
|
|
3228
|
-
{
|
|
3229
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3230
|
-
"description": "Deploy all workspace schemas"
|
|
3147
|
+
"description": "Deploy all workspace schemas"
|
|
3231
3148
|
},
|
|
3232
3149
|
{
|
|
3233
3150
|
"command": "<%= config.bin %> <%= command.id %> --workspace default",
|
|
3234
3151
|
"description": "Deploy the schema for only the workspace \"default\""
|
|
3235
|
-
},
|
|
3236
|
-
{
|
|
3237
|
-
"command": "<%= config.bin %> <%= command.id %> --no-extract-manifest",
|
|
3238
|
-
"description": "Runs using a pre-existing manifest file. Config changes in sanity.config will not be picked up in this case."
|
|
3239
3152
|
}
|
|
3240
3153
|
],
|
|
3241
3154
|
"flags": {
|
|
@@ -3874,6 +3787,150 @@
|
|
|
3874
3787
|
"list.js"
|
|
3875
3788
|
]
|
|
3876
3789
|
},
|
|
3790
|
+
"projects:create": {
|
|
3791
|
+
"aliases": [],
|
|
3792
|
+
"args": {
|
|
3793
|
+
"projectName": {
|
|
3794
|
+
"description": "Name of the project to create",
|
|
3795
|
+
"name": "projectName",
|
|
3796
|
+
"required": false
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
"description": "Create a new Sanity project",
|
|
3800
|
+
"examples": [
|
|
3801
|
+
{
|
|
3802
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3803
|
+
"description": "Interactively create a project"
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
"command": "<%= config.bin %> <%= command.id %> \"My New Project\"",
|
|
3807
|
+
"description": "Create a project named \"My New Project\""
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --organization=my-org",
|
|
3811
|
+
"description": "Create a project in a specific organization"
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --dataset=staging --dataset-visibility=private",
|
|
3815
|
+
"description": "Create a project with a private dataset named \"staging\""
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"command": "<%= config.bin %> <%= command.id %> \"CI Project\" --yes --json",
|
|
3819
|
+
"description": "Create a project non-interactively with JSON output"
|
|
3820
|
+
}
|
|
3821
|
+
],
|
|
3822
|
+
"flags": {
|
|
3823
|
+
"dataset": {
|
|
3824
|
+
"description": "Create a dataset. Prompts for visibility unless specified or --yes used",
|
|
3825
|
+
"name": "dataset",
|
|
3826
|
+
"hasDynamicHelp": false,
|
|
3827
|
+
"multiple": false,
|
|
3828
|
+
"type": "option"
|
|
3829
|
+
},
|
|
3830
|
+
"dataset-visibility": {
|
|
3831
|
+
"description": "Dataset visibility: public or private",
|
|
3832
|
+
"name": "dataset-visibility",
|
|
3833
|
+
"hasDynamicHelp": false,
|
|
3834
|
+
"multiple": false,
|
|
3835
|
+
"options": [
|
|
3836
|
+
"private",
|
|
3837
|
+
"public"
|
|
3838
|
+
],
|
|
3839
|
+
"type": "option"
|
|
3840
|
+
},
|
|
3841
|
+
"json": {
|
|
3842
|
+
"description": "Output in JSON format",
|
|
3843
|
+
"name": "json",
|
|
3844
|
+
"allowNo": false,
|
|
3845
|
+
"type": "boolean"
|
|
3846
|
+
},
|
|
3847
|
+
"organization": {
|
|
3848
|
+
"description": "Organization to create the project in",
|
|
3849
|
+
"name": "organization",
|
|
3850
|
+
"hasDynamicHelp": false,
|
|
3851
|
+
"helpValue": "<slug|id>",
|
|
3852
|
+
"multiple": false,
|
|
3853
|
+
"type": "option"
|
|
3854
|
+
},
|
|
3855
|
+
"yes": {
|
|
3856
|
+
"char": "y",
|
|
3857
|
+
"description": "Skip prompts and use defaults (project: \"My Sanity Project\", dataset: production, visibility: public)",
|
|
3858
|
+
"name": "yes",
|
|
3859
|
+
"allowNo": false,
|
|
3860
|
+
"type": "boolean"
|
|
3861
|
+
}
|
|
3862
|
+
},
|
|
3863
|
+
"hasDynamicHelp": false,
|
|
3864
|
+
"hiddenAliases": [],
|
|
3865
|
+
"id": "projects:create",
|
|
3866
|
+
"pluginAlias": "@sanity/cli",
|
|
3867
|
+
"pluginName": "@sanity/cli",
|
|
3868
|
+
"pluginType": "core",
|
|
3869
|
+
"strict": true,
|
|
3870
|
+
"isESM": true,
|
|
3871
|
+
"relativePath": [
|
|
3872
|
+
"dist",
|
|
3873
|
+
"commands",
|
|
3874
|
+
"projects",
|
|
3875
|
+
"create.js"
|
|
3876
|
+
]
|
|
3877
|
+
},
|
|
3878
|
+
"projects:list": {
|
|
3879
|
+
"aliases": [],
|
|
3880
|
+
"args": {},
|
|
3881
|
+
"description": "Lists projects connected to your user",
|
|
3882
|
+
"examples": [
|
|
3883
|
+
{
|
|
3884
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3885
|
+
"description": "List projects"
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
"command": "<%= config.bin %> <%= command.id %> --sort=members --order=asc",
|
|
3889
|
+
"description": "List all users of the project, but exclude pending invitations and robots"
|
|
3890
|
+
}
|
|
3891
|
+
],
|
|
3892
|
+
"flags": {
|
|
3893
|
+
"order": {
|
|
3894
|
+
"name": "order",
|
|
3895
|
+
"default": "desc",
|
|
3896
|
+
"hasDynamicHelp": false,
|
|
3897
|
+
"multiple": false,
|
|
3898
|
+
"options": [
|
|
3899
|
+
"asc",
|
|
3900
|
+
"desc"
|
|
3901
|
+
],
|
|
3902
|
+
"type": "option"
|
|
3903
|
+
},
|
|
3904
|
+
"sort": {
|
|
3905
|
+
"name": "sort",
|
|
3906
|
+
"default": "created",
|
|
3907
|
+
"hasDynamicHelp": false,
|
|
3908
|
+
"multiple": false,
|
|
3909
|
+
"options": [
|
|
3910
|
+
"id",
|
|
3911
|
+
"members",
|
|
3912
|
+
"name",
|
|
3913
|
+
"url",
|
|
3914
|
+
"created"
|
|
3915
|
+
],
|
|
3916
|
+
"type": "option"
|
|
3917
|
+
}
|
|
3918
|
+
},
|
|
3919
|
+
"hasDynamicHelp": false,
|
|
3920
|
+
"hiddenAliases": [],
|
|
3921
|
+
"id": "projects:list",
|
|
3922
|
+
"pluginAlias": "@sanity/cli",
|
|
3923
|
+
"pluginName": "@sanity/cli",
|
|
3924
|
+
"pluginType": "core",
|
|
3925
|
+
"strict": true,
|
|
3926
|
+
"isESM": true,
|
|
3927
|
+
"relativePath": [
|
|
3928
|
+
"dist",
|
|
3929
|
+
"commands",
|
|
3930
|
+
"projects",
|
|
3931
|
+
"list.js"
|
|
3932
|
+
]
|
|
3933
|
+
},
|
|
3877
3934
|
"dataset:alias:create": {
|
|
3878
3935
|
"aliases": [],
|
|
3879
3936
|
"args": {
|
|
@@ -3890,6 +3947,10 @@
|
|
|
3890
3947
|
},
|
|
3891
3948
|
"description": "Create a dataset alias within your project",
|
|
3892
3949
|
"examples": [
|
|
3950
|
+
{
|
|
3951
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123 conference conf-2025",
|
|
3952
|
+
"description": "Create alias in a specific project"
|
|
3953
|
+
},
|
|
3893
3954
|
{
|
|
3894
3955
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
3895
3956
|
"description": "Create an alias with interactive prompts"
|
|
@@ -3907,7 +3968,16 @@
|
|
|
3907
3968
|
"description": "Create alias with explicit ~ prefix"
|
|
3908
3969
|
}
|
|
3909
3970
|
],
|
|
3910
|
-
"flags": {
|
|
3971
|
+
"flags": {
|
|
3972
|
+
"project-id": {
|
|
3973
|
+
"char": "p",
|
|
3974
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
3975
|
+
"name": "project-id",
|
|
3976
|
+
"hasDynamicHelp": false,
|
|
3977
|
+
"multiple": false,
|
|
3978
|
+
"type": "option"
|
|
3979
|
+
}
|
|
3980
|
+
},
|
|
3911
3981
|
"hasDynamicHelp": false,
|
|
3912
3982
|
"hiddenAliases": [],
|
|
3913
3983
|
"id": "dataset:alias:create",
|
|
@@ -3949,6 +4019,14 @@
|
|
|
3949
4019
|
}
|
|
3950
4020
|
],
|
|
3951
4021
|
"flags": {
|
|
4022
|
+
"project-id": {
|
|
4023
|
+
"char": "p",
|
|
4024
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
4025
|
+
"name": "project-id",
|
|
4026
|
+
"hasDynamicHelp": false,
|
|
4027
|
+
"multiple": false,
|
|
4028
|
+
"type": "option"
|
|
4029
|
+
},
|
|
3952
4030
|
"force": {
|
|
3953
4031
|
"description": "Skip confirmation prompt and delete immediately",
|
|
3954
4032
|
"name": "force",
|
|
@@ -4011,6 +4089,14 @@
|
|
|
4011
4089
|
}
|
|
4012
4090
|
],
|
|
4013
4091
|
"flags": {
|
|
4092
|
+
"project-id": {
|
|
4093
|
+
"char": "p",
|
|
4094
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
4095
|
+
"name": "project-id",
|
|
4096
|
+
"hasDynamicHelp": false,
|
|
4097
|
+
"multiple": false,
|
|
4098
|
+
"type": "option"
|
|
4099
|
+
},
|
|
4014
4100
|
"force": {
|
|
4015
4101
|
"description": "Skip confirmation prompt when relinking existing alias",
|
|
4016
4102
|
"name": "force",
|
|
@@ -4064,6 +4150,14 @@
|
|
|
4064
4150
|
}
|
|
4065
4151
|
],
|
|
4066
4152
|
"flags": {
|
|
4153
|
+
"project-id": {
|
|
4154
|
+
"char": "p",
|
|
4155
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
4156
|
+
"name": "project-id",
|
|
4157
|
+
"hasDynamicHelp": false,
|
|
4158
|
+
"multiple": false,
|
|
4159
|
+
"type": "option"
|
|
4160
|
+
},
|
|
4067
4161
|
"force": {
|
|
4068
4162
|
"description": "Skip confirmation prompt and unlink immediately",
|
|
4069
4163
|
"name": "force",
|
|
@@ -4088,6 +4182,154 @@
|
|
|
4088
4182
|
"unlink.js"
|
|
4089
4183
|
]
|
|
4090
4184
|
},
|
|
4185
|
+
"dataset:embeddings:disable": {
|
|
4186
|
+
"aliases": [],
|
|
4187
|
+
"args": {
|
|
4188
|
+
"dataset": {
|
|
4189
|
+
"description": "Dataset name to disable embeddings for",
|
|
4190
|
+
"name": "dataset",
|
|
4191
|
+
"required": false
|
|
4192
|
+
}
|
|
4193
|
+
},
|
|
4194
|
+
"description": "Disable embeddings for a dataset",
|
|
4195
|
+
"examples": [
|
|
4196
|
+
{
|
|
4197
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
4198
|
+
"description": "Disable embeddings for the production dataset"
|
|
4199
|
+
}
|
|
4200
|
+
],
|
|
4201
|
+
"flags": {
|
|
4202
|
+
"project-id": {
|
|
4203
|
+
"char": "p",
|
|
4204
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
4205
|
+
"name": "project-id",
|
|
4206
|
+
"hasDynamicHelp": false,
|
|
4207
|
+
"multiple": false,
|
|
4208
|
+
"type": "option"
|
|
4209
|
+
}
|
|
4210
|
+
},
|
|
4211
|
+
"hasDynamicHelp": false,
|
|
4212
|
+
"hiddenAliases": [],
|
|
4213
|
+
"id": "dataset:embeddings:disable",
|
|
4214
|
+
"pluginAlias": "@sanity/cli",
|
|
4215
|
+
"pluginName": "@sanity/cli",
|
|
4216
|
+
"pluginType": "core",
|
|
4217
|
+
"strict": true,
|
|
4218
|
+
"isESM": true,
|
|
4219
|
+
"relativePath": [
|
|
4220
|
+
"dist",
|
|
4221
|
+
"commands",
|
|
4222
|
+
"dataset",
|
|
4223
|
+
"embeddings",
|
|
4224
|
+
"disable.js"
|
|
4225
|
+
]
|
|
4226
|
+
},
|
|
4227
|
+
"dataset:embeddings:enable": {
|
|
4228
|
+
"aliases": [],
|
|
4229
|
+
"args": {
|
|
4230
|
+
"dataset": {
|
|
4231
|
+
"description": "Dataset name to enable embeddings for",
|
|
4232
|
+
"name": "dataset",
|
|
4233
|
+
"required": false
|
|
4234
|
+
}
|
|
4235
|
+
},
|
|
4236
|
+
"description": "Enable embeddings for a dataset",
|
|
4237
|
+
"examples": [
|
|
4238
|
+
{
|
|
4239
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
4240
|
+
"description": "Enable embeddings for the production dataset"
|
|
4241
|
+
},
|
|
4242
|
+
{
|
|
4243
|
+
"command": "<%= config.bin %> <%= command.id %> production --projection \"{ title, body }\"",
|
|
4244
|
+
"description": "Enable embeddings with a specific projection"
|
|
4245
|
+
},
|
|
4246
|
+
{
|
|
4247
|
+
"command": "<%= config.bin %> <%= command.id %> production --wait",
|
|
4248
|
+
"description": "Enable embeddings and wait for processing to complete"
|
|
4249
|
+
}
|
|
4250
|
+
],
|
|
4251
|
+
"flags": {
|
|
4252
|
+
"project-id": {
|
|
4253
|
+
"char": "p",
|
|
4254
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
4255
|
+
"name": "project-id",
|
|
4256
|
+
"hasDynamicHelp": false,
|
|
4257
|
+
"multiple": false,
|
|
4258
|
+
"type": "option"
|
|
4259
|
+
},
|
|
4260
|
+
"projection": {
|
|
4261
|
+
"description": "GROQ projection defining which fields to embed (e.g. \"{ title, body }\")",
|
|
4262
|
+
"name": "projection",
|
|
4263
|
+
"required": false,
|
|
4264
|
+
"hasDynamicHelp": false,
|
|
4265
|
+
"multiple": false,
|
|
4266
|
+
"type": "option"
|
|
4267
|
+
},
|
|
4268
|
+
"wait": {
|
|
4269
|
+
"description": "Wait for embeddings processing to complete before returning",
|
|
4270
|
+
"name": "wait",
|
|
4271
|
+
"allowNo": false,
|
|
4272
|
+
"type": "boolean"
|
|
4273
|
+
}
|
|
4274
|
+
},
|
|
4275
|
+
"hasDynamicHelp": false,
|
|
4276
|
+
"hiddenAliases": [],
|
|
4277
|
+
"id": "dataset:embeddings:enable",
|
|
4278
|
+
"pluginAlias": "@sanity/cli",
|
|
4279
|
+
"pluginName": "@sanity/cli",
|
|
4280
|
+
"pluginType": "core",
|
|
4281
|
+
"strict": true,
|
|
4282
|
+
"isESM": true,
|
|
4283
|
+
"relativePath": [
|
|
4284
|
+
"dist",
|
|
4285
|
+
"commands",
|
|
4286
|
+
"dataset",
|
|
4287
|
+
"embeddings",
|
|
4288
|
+
"enable.js"
|
|
4289
|
+
]
|
|
4290
|
+
},
|
|
4291
|
+
"dataset:embeddings:status": {
|
|
4292
|
+
"aliases": [],
|
|
4293
|
+
"args": {
|
|
4294
|
+
"dataset": {
|
|
4295
|
+
"description": "The name of the dataset to check embeddings status for",
|
|
4296
|
+
"name": "dataset",
|
|
4297
|
+
"required": false
|
|
4298
|
+
}
|
|
4299
|
+
},
|
|
4300
|
+
"description": "Show embeddings settings and status for a dataset",
|
|
4301
|
+
"examples": [
|
|
4302
|
+
{
|
|
4303
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
4304
|
+
"description": "Show embeddings status for the production dataset"
|
|
4305
|
+
}
|
|
4306
|
+
],
|
|
4307
|
+
"flags": {
|
|
4308
|
+
"project-id": {
|
|
4309
|
+
"char": "p",
|
|
4310
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
4311
|
+
"name": "project-id",
|
|
4312
|
+
"hasDynamicHelp": false,
|
|
4313
|
+
"multiple": false,
|
|
4314
|
+
"type": "option"
|
|
4315
|
+
}
|
|
4316
|
+
},
|
|
4317
|
+
"hasDynamicHelp": false,
|
|
4318
|
+
"hiddenAliases": [],
|
|
4319
|
+
"id": "dataset:embeddings:status",
|
|
4320
|
+
"pluginAlias": "@sanity/cli",
|
|
4321
|
+
"pluginName": "@sanity/cli",
|
|
4322
|
+
"pluginType": "core",
|
|
4323
|
+
"strict": true,
|
|
4324
|
+
"isESM": true,
|
|
4325
|
+
"relativePath": [
|
|
4326
|
+
"dist",
|
|
4327
|
+
"commands",
|
|
4328
|
+
"dataset",
|
|
4329
|
+
"embeddings",
|
|
4330
|
+
"status.js"
|
|
4331
|
+
]
|
|
4332
|
+
},
|
|
4091
4333
|
"dataset:visibility:get": {
|
|
4092
4334
|
"aliases": [],
|
|
4093
4335
|
"args": {
|
|
@@ -4104,7 +4346,16 @@
|
|
|
4104
4346
|
"description": "Check the visibility of a dataset"
|
|
4105
4347
|
}
|
|
4106
4348
|
],
|
|
4107
|
-
"flags": {
|
|
4349
|
+
"flags": {
|
|
4350
|
+
"project-id": {
|
|
4351
|
+
"char": "p",
|
|
4352
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
4353
|
+
"name": "project-id",
|
|
4354
|
+
"hasDynamicHelp": false,
|
|
4355
|
+
"multiple": false,
|
|
4356
|
+
"type": "option"
|
|
4357
|
+
}
|
|
4358
|
+
},
|
|
4108
4359
|
"hasDynamicHelp": false,
|
|
4109
4360
|
"hiddenAliases": [],
|
|
4110
4361
|
"id": "dataset:visibility:get",
|
|
@@ -4150,7 +4401,16 @@
|
|
|
4150
4401
|
"description": "Make a dataset public"
|
|
4151
4402
|
}
|
|
4152
4403
|
],
|
|
4153
|
-
"flags": {
|
|
4404
|
+
"flags": {
|
|
4405
|
+
"project-id": {
|
|
4406
|
+
"char": "p",
|
|
4407
|
+
"description": "Project ID to use. Overrides the project ID from the Sanity config.",
|
|
4408
|
+
"name": "project-id",
|
|
4409
|
+
"hasDynamicHelp": false,
|
|
4410
|
+
"multiple": false,
|
|
4411
|
+
"type": "option"
|
|
4412
|
+
}
|
|
4413
|
+
},
|
|
4154
4414
|
"hasDynamicHelp": false,
|
|
4155
4415
|
"hiddenAliases": [],
|
|
4156
4416
|
"id": "dataset:visibility:set",
|
|
@@ -4168,5 +4428,5 @@
|
|
|
4168
4428
|
]
|
|
4169
4429
|
}
|
|
4170
4430
|
},
|
|
4171
|
-
"version": "6.0.0-alpha.
|
|
4431
|
+
"version": "6.0.0-alpha.19"
|
|
4172
4432
|
}
|