@sanity/cli 6.2.1 → 6.3.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.
Files changed (83) hide show
  1. package/README.md +107 -116
  2. package/dist/SanityHelp.js +38 -0
  3. package/dist/SanityHelp.js.map +1 -1
  4. package/dist/actions/auth/login/getProvider.js +9 -4
  5. package/dist/actions/auth/login/getProvider.js.map +1 -1
  6. package/dist/actions/auth/login/getSSOProvider.js +21 -2
  7. package/dist/actions/auth/login/getSSOProvider.js.map +1 -1
  8. package/dist/actions/auth/login/login.js +5 -4
  9. package/dist/actions/auth/login/login.js.map +1 -1
  10. package/dist/actions/build/buildApp.js +1 -0
  11. package/dist/actions/build/buildApp.js.map +1 -1
  12. package/dist/actions/build/buildStaticFiles.js +2 -1
  13. package/dist/actions/build/buildStaticFiles.js.map +1 -1
  14. package/dist/actions/build/renderDocument.js.map +1 -1
  15. package/dist/actions/build/renderDocumentWorker/components/BasicDocument.js +2 -2
  16. package/dist/actions/build/renderDocumentWorker/components/BasicDocument.js.map +1 -1
  17. package/dist/actions/build/renderDocumentWorker/types.js.map +1 -1
  18. package/dist/actions/build/writeSanityRuntime.js +3 -2
  19. package/dist/actions/build/writeSanityRuntime.js.map +1 -1
  20. package/dist/actions/deploy/deployStudio.js +53 -3
  21. package/dist/actions/deploy/deployStudio.js.map +1 -1
  22. package/dist/actions/deploy/findUserApplicationForStudio.js +10 -4
  23. package/dist/actions/deploy/findUserApplicationForStudio.js.map +1 -1
  24. package/dist/actions/dev/startAppDevServer.js +2 -0
  25. package/dist/actions/dev/startAppDevServer.js.map +1 -1
  26. package/dist/actions/init/git.js +5 -2
  27. package/dist/actions/init/git.js.map +1 -1
  28. package/dist/actions/init/remoteTemplate.js +3 -1
  29. package/dist/actions/init/remoteTemplate.js.map +1 -1
  30. package/dist/actions/init/templates/nextjs/index.js +1 -1
  31. package/dist/actions/init/templates/nextjs/index.js.map +1 -1
  32. package/dist/actions/manifest/extractAppManifest.js +3 -1
  33. package/dist/actions/manifest/extractAppManifest.js.map +1 -1
  34. package/dist/actions/telemetry/setConsent.js +6 -2
  35. package/dist/actions/telemetry/setConsent.js.map +1 -1
  36. package/dist/commands/datasets/alias/create.js +0 -4
  37. package/dist/commands/datasets/alias/create.js.map +1 -1
  38. package/dist/commands/datasets/alias/delete.js +1 -5
  39. package/dist/commands/datasets/alias/delete.js.map +1 -1
  40. package/dist/commands/datasets/alias/link.js +0 -4
  41. package/dist/commands/datasets/alias/link.js.map +1 -1
  42. package/dist/commands/datasets/alias/unlink.js +0 -4
  43. package/dist/commands/datasets/alias/unlink.js.map +1 -1
  44. package/dist/commands/datasets/copy.js +1 -1
  45. package/dist/commands/datasets/copy.js.map +1 -1
  46. package/dist/commands/datasets/import.js +34 -5
  47. package/dist/commands/datasets/import.js.map +1 -1
  48. package/dist/commands/deploy.js +3 -0
  49. package/dist/commands/deploy.js.map +1 -1
  50. package/dist/commands/init.js +10 -9
  51. package/dist/commands/init.js.map +1 -1
  52. package/dist/commands/login.js +14 -2
  53. package/dist/commands/login.js.map +1 -1
  54. package/dist/commands/logout.js +6 -8
  55. package/dist/commands/logout.js.map +1 -1
  56. package/dist/hooks/prerun/setupTelemetry.js +1 -1
  57. package/dist/hooks/prerun/setupTelemetry.js.map +1 -1
  58. package/dist/server/devServer.js +2 -1
  59. package/dist/server/devServer.js.map +1 -1
  60. package/dist/util/compareDependencyVersions.js +3 -1
  61. package/dist/util/compareDependencyVersions.js.map +1 -1
  62. package/dist/util/createExpiringConfig.js +0 -3
  63. package/dist/util/createExpiringConfig.js.map +1 -1
  64. package/dist/util/getCliVersion.js +3 -1
  65. package/dist/util/getCliVersion.js.map +1 -1
  66. package/dist/util/telemetry/logger.js +13 -0
  67. package/dist/util/telemetry/logger.js.map +1 -1
  68. package/oclif.manifest.json +275 -269
  69. package/package.json +21 -21
  70. package/dist/actions/graphql/__tests__/fixtures/many-self-refs.js +0 -540
  71. package/dist/actions/graphql/__tests__/fixtures/many-self-refs.js.map +0 -1
  72. package/dist/actions/graphql/__tests__/fixtures/test-studio.js +0 -1143
  73. package/dist/actions/graphql/__tests__/fixtures/test-studio.js.map +0 -1
  74. package/dist/actions/graphql/__tests__/fixtures/union-refs.js +0 -591
  75. package/dist/actions/graphql/__tests__/fixtures/union-refs.js.map +0 -1
  76. package/dist/actions/graphql/__tests__/helpers.js +0 -23
  77. package/dist/actions/graphql/__tests__/helpers.js.map +0 -1
  78. package/dist/actions/manifest/__tests__/resolveSchemaIcon.test.js +0 -157
  79. package/dist/actions/manifest/__tests__/resolveSchemaIcon.test.js.map +0 -1
  80. package/dist/actions/manifest/__tests__/testHelpers.js +0 -21
  81. package/dist/actions/manifest/__tests__/testHelpers.js.map +0 -1
  82. package/dist/actions/media/__tests__/createMockClient.js +0 -32
  83. package/dist/actions/media/__tests__/createMockClient.js.map +0 -1
package/README.md CHANGED
@@ -140,7 +140,7 @@ EXAMPLES
140
140
  $ sanity backups disable production
141
141
  ```
142
142
 
143
- _See code: [src/commands/backups/disable.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/backups/disable.ts)_
143
+ _See code: [src/commands/backups/disable.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/backups/disable.ts)_
144
144
 
145
145
  ## `sanity backups download [DATASET]`
146
146
 
@@ -184,7 +184,7 @@ EXAMPLES
184
184
  $ sanity backups download production --backup-id 2024-01-01-backup-3 --out /path/to/file --overwrite
185
185
  ```
186
186
 
187
- _See code: [src/commands/backups/download.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/backups/download.ts)_
187
+ _See code: [src/commands/backups/download.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/backups/download.ts)_
188
188
 
189
189
  ## `sanity backups enable [DATASET]`
190
190
 
@@ -213,7 +213,7 @@ EXAMPLES
213
213
  $ sanity backups enable production
214
214
  ```
215
215
 
216
- _See code: [src/commands/backups/enable.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/backups/enable.ts)_
216
+ _See code: [src/commands/backups/enable.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/backups/enable.ts)_
217
217
 
218
218
  ## `sanity backups list [DATASET]`
219
219
 
@@ -255,7 +255,7 @@ EXAMPLES
255
255
  $ sanity backups list production --after 2024-01-31 --limit 10
256
256
  ```
257
257
 
258
- _See code: [src/commands/backups/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/backups/list.ts)_
258
+ _See code: [src/commands/backups/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/backups/list.ts)_
259
259
 
260
260
  ## `sanity blueprints add TYPE`
261
261
 
@@ -307,7 +307,7 @@ EXAMPLES
307
307
  $ sanity blueprints add function --name my-function --fn-type document-create --fn-type document-update --lang js
308
308
  ```
309
309
 
310
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/add.ts)_
310
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/add.ts)_
311
311
 
312
312
  ## `sanity blueprints config`
313
313
 
@@ -342,7 +342,7 @@ EXAMPLES
342
342
  $ sanity blueprints config --edit --project-id <projectId> --stack <name-or-id>
343
343
  ```
344
344
 
345
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/config.ts)_
345
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/config.ts)_
346
346
 
347
347
  ## `sanity blueprints deploy`
348
348
 
@@ -379,7 +379,7 @@ EXAMPLES
379
379
  $ sanity blueprints deploy --fn-installer npm
380
380
  ```
381
381
 
382
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/deploy.ts)_
382
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/deploy.ts)_
383
383
 
384
384
  ## `sanity blueprints destroy`
385
385
 
@@ -411,7 +411,7 @@ EXAMPLES
411
411
  $ sanity blueprints destroy --stack <name-or-id> --project-id <projectId> --force --no-wait
412
412
  ```
413
413
 
414
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/destroy.ts)_
414
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/destroy.ts)_
415
415
 
416
416
  ## `sanity blueprints doctor`
417
417
 
@@ -437,7 +437,7 @@ DESCRIPTION
437
437
  issues.
438
438
  ```
439
439
 
440
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/doctor.ts)_
440
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/doctor.ts)_
441
441
 
442
442
  ## `sanity blueprints info`
443
443
 
@@ -467,7 +467,7 @@ EXAMPLES
467
467
  $ sanity blueprints info --stack <name-or-id>
468
468
  ```
469
469
 
470
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/info.ts)_
470
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/info.ts)_
471
471
 
472
472
  ## `sanity blueprints init [DIR]`
473
473
 
@@ -517,7 +517,7 @@ EXAMPLES
517
517
  $ sanity blueprints init --blueprint-type <json|js|ts> --stack-name <stackName>
518
518
  ```
519
519
 
520
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/init.ts)_
520
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/init.ts)_
521
521
 
522
522
  ## `sanity blueprints logs`
523
523
 
@@ -546,7 +546,7 @@ EXAMPLES
546
546
  $ sanity blueprints logs --watch
547
547
  ```
548
548
 
549
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/logs.ts)_
549
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/logs.ts)_
550
550
 
551
551
  ## `sanity blueprints plan`
552
552
 
@@ -572,7 +572,7 @@ EXAMPLES
572
572
  $ sanity blueprints plan
573
573
  ```
574
574
 
575
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/plan.ts)_
575
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/plan.ts)_
576
576
 
577
577
  ## `sanity blueprints stacks`
578
578
 
@@ -601,7 +601,7 @@ EXAMPLES
601
601
  $ sanity blueprints stacks --organization-id <organizationId>
602
602
  ```
603
603
 
604
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/blueprints/stacks.ts)_
604
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/blueprints/stacks.ts)_
605
605
 
606
606
  ## `sanity build [OUTPUTDIR]`
607
607
 
@@ -630,7 +630,7 @@ EXAMPLES
630
630
  $ sanity build --no-minify --source-maps
631
631
  ```
632
632
 
633
- _See code: [src/commands/build.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/build.ts)_
633
+ _See code: [src/commands/build.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/build.ts)_
634
634
 
635
635
  ## `sanity codemod [CODEMODNAME]`
636
636
 
@@ -661,7 +661,7 @@ EXAMPLES
661
661
  $ sanity codemod reactIconsV3 --dry
662
662
  ```
663
663
 
664
- _See code: [src/commands/codemod.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/codemod.ts)_
664
+ _See code: [src/commands/codemod.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/codemod.ts)_
665
665
 
666
666
  ## `sanity cors add ORIGIN`
667
667
 
@@ -701,7 +701,7 @@ EXAMPLES
701
701
  $ sanity cors add https://myapp.com --project-id abc123
702
702
  ```
703
703
 
704
- _See code: [src/commands/cors/add.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/cors/add.ts)_
704
+ _See code: [src/commands/cors/add.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/cors/add.ts)_
705
705
 
706
706
  ## `sanity cors delete [ORIGIN]`
707
707
 
@@ -734,7 +734,7 @@ EXAMPLES
734
734
  $ sanity cors delete --project-id abc123
735
735
  ```
736
736
 
737
- _See code: [src/commands/cors/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/cors/delete.ts)_
737
+ _See code: [src/commands/cors/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/cors/delete.ts)_
738
738
 
739
739
  ## `sanity cors list`
740
740
 
@@ -760,7 +760,7 @@ EXAMPLES
760
760
  $ sanity cors list --project-id abc123
761
761
  ```
762
762
 
763
- _See code: [src/commands/cors/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/cors/list.ts)_
763
+ _See code: [src/commands/cors/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/cors/list.ts)_
764
764
 
765
765
  ## `sanity datasets alias create [ALIASNAME] [TARGETDATASET]`
766
766
 
@@ -796,13 +796,9 @@ EXAMPLES
796
796
  Create alias "conference" linked to "conf-2025" dataset
797
797
 
798
798
  $ sanity datasets alias create conference conf-2025
799
-
800
- Create alias with explicit ~ prefix
801
-
802
- $ sanity datasets alias create ~conference conf-2025
803
799
  ```
804
800
 
805
- _See code: [src/commands/datasets/alias/create.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/alias/create.ts)_
801
+ _See code: [src/commands/datasets/alias/create.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/alias/create.ts)_
806
802
 
807
803
  ## `sanity datasets alias delete ALIASNAME`
808
804
 
@@ -829,16 +825,12 @@ EXAMPLES
829
825
 
830
826
  $ sanity datasets alias delete conference
831
827
 
832
- Delete alias with explicit ~ prefix
833
-
834
- $ sanity datasets alias delete ~conference
835
-
836
828
  Delete alias named "conference" without confirmation prompt
837
829
 
838
830
  $ sanity datasets alias delete conference --force
839
831
  ```
840
832
 
841
- _See code: [src/commands/datasets/alias/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/alias/delete.ts)_
833
+ _See code: [src/commands/datasets/alias/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/alias/delete.ts)_
842
834
 
843
835
  ## `sanity datasets alias link [ALIASNAME] [TARGETDATASET]`
844
836
 
@@ -874,16 +866,12 @@ EXAMPLES
874
866
 
875
867
  $ sanity datasets alias link conference conf-2025
876
868
 
877
- Link alias with explicit ~ prefix
878
-
879
- $ sanity datasets alias link ~conference conf-2025
880
-
881
869
  Force link without confirmation (skip relink prompt)
882
870
 
883
871
  $ sanity datasets alias link conference conf-2025 --force
884
872
  ```
885
873
 
886
- _See code: [src/commands/datasets/alias/link.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/alias/link.ts)_
874
+ _See code: [src/commands/datasets/alias/link.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/alias/link.ts)_
887
875
 
888
876
  ## `sanity datasets alias unlink [ALIASNAME]`
889
877
 
@@ -914,16 +902,12 @@ EXAMPLES
914
902
 
915
903
  $ sanity datasets alias unlink conference
916
904
 
917
- Unlink alias with explicit ~ prefix
918
-
919
- $ sanity datasets alias unlink ~conference
920
-
921
905
  Unlink alias "conference" without confirmation prompt
922
906
 
923
907
  $ sanity datasets alias unlink conference --force
924
908
  ```
925
909
 
926
- _See code: [src/commands/datasets/alias/unlink.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/alias/unlink.ts)_
910
+ _See code: [src/commands/datasets/alias/unlink.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/alias/unlink.ts)_
927
911
 
928
912
  ## `sanity datasets copy [SOURCE] [TARGET]`
929
913
 
@@ -987,7 +971,7 @@ EXAMPLES
987
971
  $ sanity datasets copy --list --offset 2 --limit 10
988
972
  ```
989
973
 
990
- _See code: [src/commands/datasets/copy.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/copy.ts)_
974
+ _See code: [src/commands/datasets/copy.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/copy.ts)_
991
975
 
992
976
  ## `sanity datasets create [NAME]`
993
977
 
@@ -1027,7 +1011,7 @@ EXAMPLES
1027
1011
  $ sanity datasets create my-dataset --visibility private
1028
1012
  ```
1029
1013
 
1030
- _See code: [src/commands/datasets/create.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/create.ts)_
1014
+ _See code: [src/commands/datasets/create.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/create.ts)_
1031
1015
 
1032
1016
  ## `sanity datasets delete DATASETNAME`
1033
1017
 
@@ -1059,7 +1043,7 @@ EXAMPLES
1059
1043
  $ sanity datasets delete my-dataset --force
1060
1044
  ```
1061
1045
 
1062
- _See code: [src/commands/datasets/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/delete.ts)_
1046
+ _See code: [src/commands/datasets/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/delete.ts)_
1063
1047
 
1064
1048
  ## `sanity datasets embeddings disable [DATASET]`
1065
1049
 
@@ -1084,7 +1068,7 @@ EXAMPLES
1084
1068
  $ sanity datasets embeddings disable production
1085
1069
  ```
1086
1070
 
1087
- _See code: [src/commands/datasets/embeddings/disable.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/embeddings/disable.ts)_
1071
+ _See code: [src/commands/datasets/embeddings/disable.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/embeddings/disable.ts)_
1088
1072
 
1089
1073
  ## `sanity datasets embeddings enable [DATASET]`
1090
1074
 
@@ -1121,7 +1105,7 @@ EXAMPLES
1121
1105
  $ sanity datasets embeddings enable production --wait
1122
1106
  ```
1123
1107
 
1124
- _See code: [src/commands/datasets/embeddings/enable.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/embeddings/enable.ts)_
1108
+ _See code: [src/commands/datasets/embeddings/enable.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/embeddings/enable.ts)_
1125
1109
 
1126
1110
  ## `sanity datasets embeddings status [DATASET]`
1127
1111
 
@@ -1146,7 +1130,7 @@ EXAMPLES
1146
1130
  $ sanity datasets embeddings status production
1147
1131
  ```
1148
1132
 
1149
- _See code: [src/commands/datasets/embeddings/status.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/embeddings/status.ts)_
1133
+ _See code: [src/commands/datasets/embeddings/status.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/embeddings/status.ts)_
1150
1134
 
1151
1135
  ## `sanity datasets export [NAME] [DESTINATION]`
1152
1136
 
@@ -1199,7 +1183,7 @@ EXAMPLES
1199
1183
  $ sanity datasets export staging staging.tar.gz --types products,shops
1200
1184
  ```
1201
1185
 
1202
- _See code: [src/commands/datasets/export.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/export.ts)_
1186
+ _See code: [src/commands/datasets/export.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/export.ts)_
1203
1187
 
1204
1188
  ## `sanity datasets import SOURCE [TARGETDATASET]`
1205
1189
 
@@ -1252,7 +1236,7 @@ EXAMPLES
1252
1236
  $ sanity datasets import -d staging -t someSecretToken my-dataset.ndjson
1253
1237
  ```
1254
1238
 
1255
- _See code: [src/commands/datasets/import.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/import.ts)_
1239
+ _See code: [src/commands/datasets/import.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/import.ts)_
1256
1240
 
1257
1241
  ## `sanity datasets list`
1258
1242
 
@@ -1278,7 +1262,7 @@ EXAMPLES
1278
1262
  $ sanity datasets list --project-id abc123
1279
1263
  ```
1280
1264
 
1281
- _See code: [src/commands/datasets/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/list.ts)_
1265
+ _See code: [src/commands/datasets/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/list.ts)_
1282
1266
 
1283
1267
  ## `sanity datasets visibility get DATASET`
1284
1268
 
@@ -1303,7 +1287,7 @@ EXAMPLES
1303
1287
  $ sanity datasets visibility get my-dataset
1304
1288
  ```
1305
1289
 
1306
- _See code: [src/commands/datasets/visibility/get.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/visibility/get.ts)_
1290
+ _See code: [src/commands/datasets/visibility/get.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/visibility/get.ts)_
1307
1291
 
1308
1292
  ## `sanity datasets visibility set DATASET MODE`
1309
1293
 
@@ -1333,7 +1317,7 @@ EXAMPLES
1333
1317
  $ sanity datasets visibility set my-dataset public
1334
1318
  ```
1335
1319
 
1336
- _See code: [src/commands/datasets/visibility/set.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/datasets/visibility/set.ts)_
1320
+ _See code: [src/commands/datasets/visibility/set.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/datasets/visibility/set.ts)_
1337
1321
 
1338
1322
  ## `sanity debug`
1339
1323
 
@@ -1356,7 +1340,7 @@ EXAMPLES
1356
1340
  $ sanity debug --secrets
1357
1341
  ```
1358
1342
 
1359
- _See code: [src/commands/debug.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/debug.ts)_
1343
+ _See code: [src/commands/debug.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/debug.ts)_
1360
1344
 
1361
1345
  ## `sanity deploy [SOURCEDIR]`
1362
1346
 
@@ -1365,7 +1349,7 @@ Builds and deploys Sanity Studio or application to Sanity hosting
1365
1349
  ```
1366
1350
  USAGE
1367
1351
  $ sanity deploy [SOURCEDIR] [--auto-updates] [--external | --source-maps | --minify | --build]
1368
- [--schema-required] [--verbose] [-y]
1352
+ [--schema-required] [--url <value>] [--verbose] [-y]
1369
1353
 
1370
1354
  ARGUMENTS
1371
1355
  [SOURCEDIR] Source directory
@@ -1378,6 +1362,8 @@ FLAGS
1378
1362
  --[no-]minify Skip minifying built JavaScript (speeds up build, increases size of bundle)
1379
1363
  --schema-required Fail-fast deployment if schema store fails
1380
1364
  --source-maps Enable source maps for built bundles (increases size of bundle)
1365
+ --url=<value> Studio URL for deployment. For external studios, the full URL. For hosted studios, the
1366
+ hostname (e.g. "my-studio" or "my-studio.sanity.studio")
1381
1367
  --verbose Enable verbose logging
1382
1368
 
1383
1369
  DESCRIPTION
@@ -1401,7 +1387,7 @@ EXAMPLES
1401
1387
  $ sanity deploy --external
1402
1388
  ```
1403
1389
 
1404
- _See code: [src/commands/deploy.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/deploy.ts)_
1390
+ _See code: [src/commands/deploy.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/deploy.ts)_
1405
1391
 
1406
1392
  ## `sanity dev`
1407
1393
 
@@ -1428,7 +1414,7 @@ EXAMPLES
1428
1414
  $ sanity dev --load-in-dashboard
1429
1415
  ```
1430
1416
 
1431
- _See code: [src/commands/dev.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/dev.ts)_
1417
+ _See code: [src/commands/dev.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/dev.ts)_
1432
1418
 
1433
1419
  ## `sanity docs browse`
1434
1420
 
@@ -1442,7 +1428,7 @@ DESCRIPTION
1442
1428
  Open Sanity docs in a web browser
1443
1429
  ```
1444
1430
 
1445
- _See code: [src/commands/docs/browse.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/docs/browse.ts)_
1431
+ _See code: [src/commands/docs/browse.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/docs/browse.ts)_
1446
1432
 
1447
1433
  ## `sanity docs read PATH`
1448
1434
 
@@ -1479,7 +1465,7 @@ EXAMPLES
1479
1465
  $ sanity docs read https://www.sanity.io/docs/studio/installation -w
1480
1466
  ```
1481
1467
 
1482
- _See code: [src/commands/docs/read.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/docs/read.ts)_
1468
+ _See code: [src/commands/docs/read.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/docs/read.ts)_
1483
1469
 
1484
1470
  ## `sanity docs search QUERY`
1485
1471
 
@@ -1512,7 +1498,7 @@ EXAMPLES
1512
1498
  $ sanity docs search "deployment" --limit=5
1513
1499
  ```
1514
1500
 
1515
- _See code: [src/commands/docs/search.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/docs/search.ts)_
1501
+ _See code: [src/commands/docs/search.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/docs/search.ts)_
1516
1502
 
1517
1503
  ## `sanity doctor [CHECKS]`
1518
1504
 
@@ -1543,7 +1529,7 @@ EXAMPLES
1543
1529
  $ sanity doctor cli
1544
1530
  ```
1545
1531
 
1546
- _See code: [src/commands/doctor.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/doctor.ts)_
1532
+ _See code: [src/commands/doctor.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/doctor.ts)_
1547
1533
 
1548
1534
  ## `sanity documents create [FILE]`
1549
1535
 
@@ -1594,7 +1580,7 @@ EXAMPLES
1594
1580
  $ sanity documents create myDocument.json --project-id abc123
1595
1581
  ```
1596
1582
 
1597
- _See code: [src/commands/documents/create.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/documents/create.ts)_
1583
+ _See code: [src/commands/documents/create.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/documents/create.ts)_
1598
1584
 
1599
1585
  ## `sanity documents delete ID [IDS]`
1600
1586
 
@@ -1637,7 +1623,7 @@ EXAMPLES
1637
1623
  $ sanity documents delete myDocId --project-id abc123
1638
1624
  ```
1639
1625
 
1640
- _See code: [src/commands/documents/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/documents/delete.ts)_
1626
+ _See code: [src/commands/documents/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/documents/delete.ts)_
1641
1627
 
1642
1628
  ## `sanity documents get DOCUMENTID`
1643
1629
 
@@ -1678,7 +1664,7 @@ EXAMPLES
1678
1664
  $ sanity documents get myDocId --project-id abc123
1679
1665
  ```
1680
1666
 
1681
- _See code: [src/commands/documents/get.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/documents/get.ts)_
1667
+ _See code: [src/commands/documents/get.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/documents/get.ts)_
1682
1668
 
1683
1669
  ## `sanity documents query QUERY`
1684
1670
 
@@ -1721,7 +1707,7 @@ EXAMPLES
1721
1707
  $ sanity documents query '*[_type == "post"]' --project-id abc123 --dataset production
1722
1708
  ```
1723
1709
 
1724
- _See code: [src/commands/documents/query.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/documents/query.ts)_
1710
+ _See code: [src/commands/documents/query.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/documents/query.ts)_
1725
1711
 
1726
1712
  ## `sanity documents validate`
1727
1713
 
@@ -1775,7 +1761,7 @@ EXAMPLES
1775
1761
  $ sanity documents validate --project-id abc123 --dataset production
1776
1762
  ```
1777
1763
 
1778
- _See code: [src/commands/documents/validate.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/documents/validate.ts)_
1764
+ _See code: [src/commands/documents/validate.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/documents/validate.ts)_
1779
1765
 
1780
1766
  ## `sanity exec SCRIPT`
1781
1767
 
@@ -1816,7 +1802,7 @@ EXAMPLES
1816
1802
  $ sanity exec --mock-browser-env myscript.js -- --dry-run positional-argument
1817
1803
  ```
1818
1804
 
1819
- _See code: [src/commands/exec.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/exec.ts)_
1805
+ _See code: [src/commands/exec.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/exec.ts)_
1820
1806
 
1821
1807
  ## `sanity functions add`
1822
1808
 
@@ -1865,7 +1851,7 @@ EXAMPLES
1865
1851
  $ sanity functions add --name my-function --type document-create --type document-update --lang js
1866
1852
  ```
1867
1853
 
1868
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/functions/add.ts)_
1854
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/functions/add.ts)_
1869
1855
 
1870
1856
  ## `sanity functions dev`
1871
1857
 
@@ -1899,7 +1885,7 @@ EXAMPLES
1899
1885
  $ sanity functions dev --timeout 60
1900
1886
  ```
1901
1887
 
1902
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/functions/dev.ts)_
1888
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/functions/dev.ts)_
1903
1889
 
1904
1890
  ## `sanity functions env add NAME KEY VALUE`
1905
1891
 
@@ -1926,7 +1912,7 @@ EXAMPLES
1926
1912
  $ sanity functions env add MyFunction API_URL https://api.example.com/
1927
1913
  ```
1928
1914
 
1929
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/functions/env/add.ts)_
1915
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/functions/env/add.ts)_
1930
1916
 
1931
1917
  ## `sanity functions env list NAME`
1932
1918
 
@@ -1950,7 +1936,7 @@ EXAMPLES
1950
1936
  $ sanity functions env list MyFunction
1951
1937
  ```
1952
1938
 
1953
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/functions/env/list.ts)_
1939
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/functions/env/list.ts)_
1954
1940
 
1955
1941
  ## `sanity functions env remove NAME KEY`
1956
1942
 
@@ -1976,7 +1962,7 @@ EXAMPLES
1976
1962
  $ sanity functions env remove MyFunction API_URL
1977
1963
  ```
1978
1964
 
1979
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/functions/env/remove.ts)_
1965
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/functions/env/remove.ts)_
1980
1966
 
1981
1967
  ## `sanity functions logs [NAME]`
1982
1968
 
@@ -2016,7 +2002,7 @@ EXAMPLES
2016
2002
  $ sanity functions logs <name> --delete
2017
2003
  ```
2018
2004
 
2019
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/functions/logs.ts)_
2005
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/functions/logs.ts)_
2020
2006
 
2021
2007
  ## `sanity functions test [NAME]`
2022
2008
 
@@ -2070,7 +2056,7 @@ EXAMPLES
2070
2056
  $ sanity functions test <name> --event update --data-before '{ "title": "before" }' --data-after '{ "title": "after" }'
2071
2057
  ```
2072
2058
 
2073
- _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.6.1/src/commands/functions/test.ts)_
2059
+ _See code: [@sanity/runtime-cli](https://github.com/sanity-io/runtime-cli/blob/v14.7.2/src/commands/functions/test.ts)_
2074
2060
 
2075
2061
  ## `sanity graphql deploy`
2076
2062
 
@@ -2115,7 +2101,7 @@ EXAMPLES
2115
2101
  $ sanity graphql deploy --playground
2116
2102
  ```
2117
2103
 
2118
- _See code: [src/commands/graphql/deploy.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/graphql/deploy.ts)_
2104
+ _See code: [src/commands/graphql/deploy.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/graphql/deploy.ts)_
2119
2105
 
2120
2106
  ## `sanity graphql list`
2121
2107
 
@@ -2141,7 +2127,7 @@ EXAMPLES
2141
2127
  $ sanity graphql list --project-id abc123
2142
2128
  ```
2143
2129
 
2144
- _See code: [src/commands/graphql/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/graphql/list.ts)_
2130
+ _See code: [src/commands/graphql/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/graphql/list.ts)_
2145
2131
 
2146
2132
  ## `sanity graphql undeploy`
2147
2133
 
@@ -2189,7 +2175,7 @@ EXAMPLES
2189
2175
  $ sanity graphql undeploy --project-id abc123 --dataset production
2190
2176
  ```
2191
2177
 
2192
- _See code: [src/commands/graphql/undeploy.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/graphql/undeploy.ts)_
2178
+ _See code: [src/commands/graphql/undeploy.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/graphql/undeploy.ts)_
2193
2179
 
2194
2180
  ## `sanity help [COMMAND]`
2195
2181
 
@@ -2209,7 +2195,7 @@ DESCRIPTION
2209
2195
  Display help for sanity.
2210
2196
  ```
2211
2197
 
2212
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.39/src/commands/help.ts)_
2198
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.40/src/commands/help.ts)_
2213
2199
 
2214
2200
  ## `sanity hooks attempt ATTEMPTID`
2215
2201
 
@@ -2238,7 +2224,7 @@ EXAMPLES
2238
2224
  $ sanity hooks attempt abc123 --project-id projectId
2239
2225
  ```
2240
2226
 
2241
- _See code: [src/commands/hooks/attempt.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/hooks/attempt.ts)_
2227
+ _See code: [src/commands/hooks/attempt.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/hooks/attempt.ts)_
2242
2228
 
2243
2229
  ## `sanity hooks create`
2244
2230
 
@@ -2264,7 +2250,7 @@ EXAMPLES
2264
2250
  $ sanity hooks create --project-id abc123
2265
2251
  ```
2266
2252
 
2267
- _See code: [src/commands/hooks/create.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/hooks/create.ts)_
2253
+ _See code: [src/commands/hooks/create.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/hooks/create.ts)_
2268
2254
 
2269
2255
  ## `sanity hooks delete [NAME]`
2270
2256
 
@@ -2297,7 +2283,7 @@ EXAMPLES
2297
2283
  $ sanity hooks delete --project-id abc123
2298
2284
  ```
2299
2285
 
2300
- _See code: [src/commands/hooks/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/hooks/delete.ts)_
2286
+ _See code: [src/commands/hooks/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/hooks/delete.ts)_
2301
2287
 
2302
2288
  ## `sanity hooks list`
2303
2289
 
@@ -2323,7 +2309,7 @@ EXAMPLES
2323
2309
  $ sanity hooks list --project-id abc123
2324
2310
  ```
2325
2311
 
2326
- _See code: [src/commands/hooks/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/hooks/list.ts)_
2312
+ _See code: [src/commands/hooks/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/hooks/list.ts)_
2327
2313
 
2328
2314
  ## `sanity hooks logs [NAME]`
2329
2315
 
@@ -2359,7 +2345,7 @@ EXAMPLES
2359
2345
  $ sanity hooks logs --project-id abc123
2360
2346
  ```
2361
2347
 
2362
- _See code: [src/commands/hooks/logs.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/hooks/logs.ts)_
2348
+ _See code: [src/commands/hooks/logs.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/hooks/logs.ts)_
2363
2349
 
2364
2350
  ## `sanity init`
2365
2351
 
@@ -2429,7 +2415,7 @@ EXAMPLES
2429
2415
  --output-path /Users/espenh/movies-unlimited
2430
2416
  ```
2431
2417
 
2432
- _See code: [src/commands/init.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/init.ts)_
2418
+ _See code: [src/commands/init.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/init.ts)_
2433
2419
 
2434
2420
  ## `sanity install [PACKAGES]`
2435
2421
 
@@ -2453,7 +2439,7 @@ EXAMPLES
2453
2439
  $ sanity install some-package another-package
2454
2440
  ```
2455
2441
 
2456
- _See code: [src/commands/install.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/install.ts)_
2442
+ _See code: [src/commands/install.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/install.ts)_
2457
2443
 
2458
2444
  ## `sanity learn`
2459
2445
 
@@ -2467,7 +2453,7 @@ DESCRIPTION
2467
2453
  Opens Sanity Learn in your web browser
2468
2454
  ```
2469
2455
 
2470
- _See code: [src/commands/learn.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/learn.ts)_
2456
+ _See code: [src/commands/learn.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/learn.ts)_
2471
2457
 
2472
2458
  ## `sanity login`
2473
2459
 
@@ -2475,12 +2461,13 @@ Authenticates the CLI for access to Sanity projects
2475
2461
 
2476
2462
  ```
2477
2463
  USAGE
2478
- $ sanity login [--open] [--provider <providerId> | --sso <slug>]
2464
+ $ sanity login [--open] [--provider <providerId> | --sso <slug>] [--sso-provider <name> ]
2479
2465
 
2480
2466
  FLAGS
2481
2467
  --[no-]open Open a browser window to log in (`--no-open` only prints URL)
2482
2468
  --provider=<providerId> Log in using the given provider
2483
2469
  --sso=<slug> Log in using Single Sign-On, using the given organization slug
2470
+ --sso-provider=<name> Select a specific SSO provider by name (use with --sso)
2484
2471
 
2485
2472
  DESCRIPTION
2486
2473
  Authenticates the CLI for access to Sanity projects
@@ -2490,16 +2477,20 @@ EXAMPLES
2490
2477
 
2491
2478
  $ sanity login
2492
2479
 
2480
+ Login with GitHub provider, but do not open a browser window automatically
2481
+
2482
+ $ sanity login --provider github --no-open
2483
+
2493
2484
  Log in using Single Sign-On with the "my-organization" slug
2494
2485
 
2495
2486
  $ sanity login --sso my-organization
2496
2487
 
2497
- Login with GitHub provider, but do not open a browser window automatically
2488
+ Log in using a specific SSO provider within an organization
2498
2489
 
2499
- $ sanity login --provider github --no-open
2490
+ $ sanity login --sso my-organization --sso-provider "Okta SSO"
2500
2491
  ```
2501
2492
 
2502
- _See code: [src/commands/login.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/login.ts)_
2493
+ _See code: [src/commands/login.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/login.ts)_
2503
2494
 
2504
2495
  ## `sanity logout`
2505
2496
 
@@ -2513,7 +2504,7 @@ DESCRIPTION
2513
2504
  Logs out the CLI from the current user session
2514
2505
  ```
2515
2506
 
2516
- _See code: [src/commands/logout.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/logout.ts)_
2507
+ _See code: [src/commands/logout.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/logout.ts)_
2517
2508
 
2518
2509
  ## `sanity manage`
2519
2510
 
@@ -2527,7 +2518,7 @@ DESCRIPTION
2527
2518
  Opens project management interface in your web browser
2528
2519
  ```
2529
2520
 
2530
- _See code: [src/commands/manage.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/manage.ts)_
2521
+ _See code: [src/commands/manage.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/manage.ts)_
2531
2522
 
2532
2523
  ## `sanity manifest extract`
2533
2524
 
@@ -2555,7 +2546,7 @@ EXAMPLES
2555
2546
  $ sanity manifest extract --path /public/static
2556
2547
  ```
2557
2548
 
2558
- _See code: [src/commands/manifest/extract.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/manifest/extract.ts)_
2549
+ _See code: [src/commands/manifest/extract.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/manifest/extract.ts)_
2559
2550
 
2560
2551
  ## `sanity mcp configure`
2561
2552
 
@@ -2574,7 +2565,7 @@ EXAMPLES
2574
2565
  $ sanity mcp configure
2575
2566
  ```
2576
2567
 
2577
- _See code: [src/commands/mcp/configure.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/mcp/configure.ts)_
2568
+ _See code: [src/commands/mcp/configure.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/mcp/configure.ts)_
2578
2569
 
2579
2570
  ## `sanity media create-aspect`
2580
2571
 
@@ -2593,7 +2584,7 @@ EXAMPLES
2593
2584
  $ sanity media create-aspect
2594
2585
  ```
2595
2586
 
2596
- _See code: [src/commands/media/create-aspect.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/media/create-aspect.ts)_
2587
+ _See code: [src/commands/media/create-aspect.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/media/create-aspect.ts)_
2597
2588
 
2598
2589
  ## `sanity media delete-aspect ASPECTNAME`
2599
2590
 
@@ -2622,7 +2613,7 @@ EXAMPLES
2622
2613
  $ sanity media delete-aspect someAspect
2623
2614
  ```
2624
2615
 
2625
- _See code: [src/commands/media/delete-aspect.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/media/delete-aspect.ts)_
2616
+ _See code: [src/commands/media/delete-aspect.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/media/delete-aspect.ts)_
2626
2617
 
2627
2618
  ## `sanity media deploy-aspect [ASPECTNAME]`
2628
2619
 
@@ -2655,7 +2646,7 @@ EXAMPLES
2655
2646
  $ sanity media deploy-aspect --all
2656
2647
  ```
2657
2648
 
2658
- _See code: [src/commands/media/deploy-aspect.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/media/deploy-aspect.ts)_
2649
+ _See code: [src/commands/media/deploy-aspect.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/media/deploy-aspect.ts)_
2659
2650
 
2660
2651
  ## `sanity media export [DESTINATION]`
2661
2652
 
@@ -2696,7 +2687,7 @@ EXAMPLES
2696
2687
  $ sanity media export --media-library-id my-library-id
2697
2688
  ```
2698
2689
 
2699
- _See code: [src/commands/media/export.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/media/export.ts)_
2690
+ _See code: [src/commands/media/export.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/media/export.ts)_
2700
2691
 
2701
2692
  ## `sanity media import SOURCE`
2702
2693
 
@@ -2734,7 +2725,7 @@ EXAMPLES
2734
2725
  $ sanity media import products --replace-aspects
2735
2726
  ```
2736
2727
 
2737
- _See code: [src/commands/media/import.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/media/import.ts)_
2728
+ _See code: [src/commands/media/import.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/media/import.ts)_
2738
2729
 
2739
2730
  ## `sanity migrations create [TITLE]`
2740
2731
 
@@ -2862,7 +2853,7 @@ EXAMPLES
2862
2853
  $ sanity openapi get query > query-api.yaml
2863
2854
  ```
2864
2855
 
2865
- _See code: [src/commands/openapi/get.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/openapi/get.ts)_
2856
+ _See code: [src/commands/openapi/get.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/openapi/get.ts)_
2866
2857
 
2867
2858
  ## `sanity openapi list`
2868
2859
 
@@ -2893,7 +2884,7 @@ EXAMPLES
2893
2884
  $ sanity openapi list --web
2894
2885
  ```
2895
2886
 
2896
- _See code: [src/commands/openapi/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/openapi/list.ts)_
2887
+ _See code: [src/commands/openapi/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/openapi/list.ts)_
2897
2888
 
2898
2889
  ## `sanity preview [OUTPUTDIR]`
2899
2890
 
@@ -2921,7 +2912,7 @@ EXAMPLES
2921
2912
  $ sanity preview some/build-output-dir
2922
2913
  ```
2923
2914
 
2924
- _See code: [src/commands/preview.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/preview.ts)_
2915
+ _See code: [src/commands/preview.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/preview.ts)_
2925
2916
 
2926
2917
  ## `sanity projects create [PROJECTNAME]`
2927
2918
 
@@ -2969,7 +2960,7 @@ EXAMPLES
2969
2960
  $ sanity projects create "CI Project" --yes --json
2970
2961
  ```
2971
2962
 
2972
- _See code: [src/commands/projects/create.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/projects/create.ts)_
2963
+ _See code: [src/commands/projects/create.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/projects/create.ts)_
2973
2964
 
2974
2965
  ## `sanity projects list`
2975
2966
 
@@ -2998,7 +2989,7 @@ EXAMPLES
2998
2989
  $ sanity projects list --sort=members --order=asc
2999
2990
  ```
3000
2991
 
3001
- _See code: [src/commands/projects/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/projects/list.ts)_
2992
+ _See code: [src/commands/projects/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/projects/list.ts)_
3002
2993
 
3003
2994
  ## `sanity schemas delete`
3004
2995
 
@@ -3030,7 +3021,7 @@ EXAMPLES
3030
3021
  sanity.workspace.schema.workspaceName,prefix.sanity.workspace.schema.otherWorkspace
3031
3022
  ```
3032
3023
 
3033
- _See code: [src/commands/schemas/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/schemas/delete.ts)_
3024
+ _See code: [src/commands/schemas/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/schemas/delete.ts)_
3034
3025
 
3035
3026
  ## `sanity schemas deploy`
3036
3027
 
@@ -3066,7 +3057,7 @@ EXAMPLES
3066
3057
  $ sanity schemas deploy --workspace default
3067
3058
  ```
3068
3059
 
3069
- _See code: [src/commands/schemas/deploy.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/schemas/deploy.ts)_
3060
+ _See code: [src/commands/schemas/deploy.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/schemas/deploy.ts)_
3070
3061
 
3071
3062
  ## `sanity schemas extract`
3072
3063
 
@@ -3105,7 +3096,7 @@ EXAMPLES
3105
3096
  $ sanity schemas extract --watch --watch-patterns "lib/**/*.ts"
3106
3097
  ```
3107
3098
 
3108
- _See code: [src/commands/schemas/extract.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/schemas/extract.ts)_
3099
+ _See code: [src/commands/schemas/extract.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/schemas/extract.ts)_
3109
3100
 
3110
3101
  ## `sanity schemas list`
3111
3102
 
@@ -3145,7 +3136,7 @@ EXAMPLES
3145
3136
  $ sanity schemas list --json --id _.schemas.workspaceName
3146
3137
  ```
3147
3138
 
3148
- _See code: [src/commands/schemas/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/schemas/list.ts)_
3139
+ _See code: [src/commands/schemas/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/schemas/list.ts)_
3149
3140
 
3150
3141
  ## `sanity schemas validate`
3151
3142
 
@@ -3188,7 +3179,7 @@ EXAMPLES
3188
3179
  $ sanity schemas validate --debug-metafile-path metafile.json
3189
3180
  ```
3190
3181
 
3191
- _See code: [src/commands/schemas/validate.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/schemas/validate.ts)_
3182
+ _See code: [src/commands/schemas/validate.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/schemas/validate.ts)_
3192
3183
 
3193
3184
  ## `sanity telemetry disable`
3194
3185
 
@@ -3207,7 +3198,7 @@ EXAMPLES
3207
3198
  $ sanity telemetry telemetry disable
3208
3199
  ```
3209
3200
 
3210
- _See code: [src/commands/telemetry/disable.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/telemetry/disable.ts)_
3201
+ _See code: [src/commands/telemetry/disable.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/telemetry/disable.ts)_
3211
3202
 
3212
3203
  ## `sanity telemetry enable`
3213
3204
 
@@ -3226,7 +3217,7 @@ EXAMPLES
3226
3217
  $ sanity telemetry telemetry enable
3227
3218
  ```
3228
3219
 
3229
- _See code: [src/commands/telemetry/enable.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/telemetry/enable.ts)_
3220
+ _See code: [src/commands/telemetry/enable.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/telemetry/enable.ts)_
3230
3221
 
3231
3222
  ## `sanity telemetry status`
3232
3223
 
@@ -3245,7 +3236,7 @@ EXAMPLES
3245
3236
  $ sanity telemetry telemetry status
3246
3237
  ```
3247
3238
 
3248
- _See code: [src/commands/telemetry/status.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/telemetry/status.ts)_
3239
+ _See code: [src/commands/telemetry/status.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/telemetry/status.ts)_
3249
3240
 
3250
3241
  ## `sanity tokens add [LABEL]`
3251
3242
 
@@ -3291,7 +3282,7 @@ EXAMPLES
3291
3282
  $ sanity tokens add "My Token" --project-id abc123 --role=editor
3292
3283
  ```
3293
3284
 
3294
- _See code: [src/commands/tokens/add.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/tokens/add.ts)_
3285
+ _See code: [src/commands/tokens/add.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/tokens/add.ts)_
3295
3286
 
3296
3287
  ## `sanity tokens delete [TOKENID]`
3297
3288
 
@@ -3331,7 +3322,7 @@ EXAMPLES
3331
3322
  $ sanity tokens delete --project-id abc123
3332
3323
  ```
3333
3324
 
3334
- _See code: [src/commands/tokens/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/tokens/delete.ts)_
3325
+ _See code: [src/commands/tokens/delete.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/tokens/delete.ts)_
3335
3326
 
3336
3327
  ## `sanity tokens list`
3337
3328
 
@@ -3364,7 +3355,7 @@ EXAMPLES
3364
3355
  $ sanity tokens list --project-id abc123
3365
3356
  ```
3366
3357
 
3367
- _See code: [src/commands/tokens/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/tokens/list.ts)_
3358
+ _See code: [src/commands/tokens/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/tokens/list.ts)_
3368
3359
 
3369
3360
  ## `sanity typegen generate`
3370
3361
 
@@ -3427,7 +3418,7 @@ DESCRIPTION
3427
3418
  Removes the deployed Sanity Studio/App from Sanity hosting
3428
3419
  ```
3429
3420
 
3430
- _See code: [src/commands/undeploy.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/undeploy.ts)_
3421
+ _See code: [src/commands/undeploy.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/undeploy.ts)_
3431
3422
 
3432
3423
  ## `sanity users invite [EMAIL]`
3433
3424
 
@@ -3467,7 +3458,7 @@ EXAMPLES
3467
3458
  $ sanity users invite pippi@sanity.io --project-id abc123
3468
3459
  ```
3469
3460
 
3470
- _See code: [src/commands/users/invite.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/users/invite.ts)_
3461
+ _See code: [src/commands/users/invite.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/users/invite.ts)_
3471
3462
 
3472
3463
  ## `sanity users list`
3473
3464
 
@@ -3509,7 +3500,7 @@ EXAMPLES
3509
3500
  $ sanity users list --project-id abc123
3510
3501
  ```
3511
3502
 
3512
- _See code: [src/commands/users/list.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/users/list.ts)_
3503
+ _See code: [src/commands/users/list.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/users/list.ts)_
3513
3504
 
3514
3505
  ## `sanity versions`
3515
3506
 
@@ -3526,6 +3517,6 @@ EXAMPLES
3526
3517
  $ sanity versions
3527
3518
  ```
3528
3519
 
3529
- _See code: [src/commands/versions.ts](https://github.com/sanity-io/cli/blob/v6.2.0/src/commands/versions.ts)_
3520
+ _See code: [src/commands/versions.ts](https://github.com/sanity-io/cli/blob/v6.2.1/src/commands/versions.ts)_
3530
3521
 
3531
3522
  <!-- commandsstop -->