@sanity/cli 6.1.1 → 6.1.3
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 +78 -78
- package/dist/actions/init/processTemplate.js +27 -49
- package/dist/actions/init/processTemplate.js.map +1 -1
- package/dist/actions/init/sdkAppDependencies.js +3 -3
- package/dist/actions/init/sdkAppDependencies.js.map +1 -1
- package/dist/actions/init/studioDependencies.js +3 -3
- package/dist/actions/init/studioDependencies.js.map +1 -1
- package/dist/actions/manifest/__tests__/resolveSchemaIcon.test.js +157 -0
- package/dist/actions/manifest/__tests__/resolveSchemaIcon.test.js.map +1 -0
- package/dist/actions/manifest/extractWorkspaceManifest.js.map +1 -1
- package/dist/actions/manifest/iconResolver.js +13 -6
- package/dist/actions/manifest/iconResolver.js.map +1 -1
- package/dist/actions/manifest/resolveSchemaIcon.js +43 -0
- package/dist/actions/manifest/resolveSchemaIcon.js.map +1 -0
- package/dist/commands/init.js +23 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/hooks/prerun/injectEnvVariables.js +2 -1
- package/dist/hooks/prerun/injectEnvVariables.js.map +1 -1
- package/oclif.config.js +1 -1
- package/oclif.manifest.json +79 -79
- package/package.json +7 -10
- package/dist/actions/manifest/SchemaIcon.js +0 -23
- package/dist/actions/manifest/SchemaIcon.js.map +0 -1
package/README.md
CHANGED
|
@@ -140,7 +140,7 @@ EXAMPLES
|
|
|
140
140
|
$ sanity backup disable production
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
_See code: [src/commands/backup/disable.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
143
|
+
_See code: [src/commands/backup/disable.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/backup/disable.ts)_
|
|
144
144
|
|
|
145
145
|
## `sanity backup download [DATASET]`
|
|
146
146
|
|
|
@@ -184,7 +184,7 @@ EXAMPLES
|
|
|
184
184
|
$ sanity backup download production --backup-id 2024-01-01-backup-3 --out /path/to/file --overwrite
|
|
185
185
|
```
|
|
186
186
|
|
|
187
|
-
_See code: [src/commands/backup/download.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
187
|
+
_See code: [src/commands/backup/download.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/backup/download.ts)_
|
|
188
188
|
|
|
189
189
|
## `sanity backup enable [DATASET]`
|
|
190
190
|
|
|
@@ -213,7 +213,7 @@ EXAMPLES
|
|
|
213
213
|
$ sanity backup enable production
|
|
214
214
|
```
|
|
215
215
|
|
|
216
|
-
_See code: [src/commands/backup/enable.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
216
|
+
_See code: [src/commands/backup/enable.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/backup/enable.ts)_
|
|
217
217
|
|
|
218
218
|
## `sanity backup list [DATASET]`
|
|
219
219
|
|
|
@@ -255,7 +255,7 @@ EXAMPLES
|
|
|
255
255
|
$ sanity backup list production --after 2024-01-31 --limit 10
|
|
256
256
|
```
|
|
257
257
|
|
|
258
|
-
_See code: [src/commands/backup/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
258
|
+
_See code: [src/commands/backup/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/backup/list.ts)_
|
|
259
259
|
|
|
260
260
|
## `sanity blueprints add TYPE`
|
|
261
261
|
|
|
@@ -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.1.
|
|
633
|
+
_See code: [src/commands/build.ts](https://github.com/sanity-io/cli/blob/v6.1.2/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.1.
|
|
664
|
+
_See code: [src/commands/codemod.ts](https://github.com/sanity-io/cli/blob/v6.1.2/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.1.
|
|
704
|
+
_See code: [src/commands/cors/add.ts](https://github.com/sanity-io/cli/blob/v6.1.2/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.1.
|
|
737
|
+
_See code: [src/commands/cors/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.2/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.1.
|
|
763
|
+
_See code: [src/commands/cors/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/cors/list.ts)_
|
|
764
764
|
|
|
765
765
|
## `sanity dataset alias create [ALIASNAME] [TARGETDATASET]`
|
|
766
766
|
|
|
@@ -802,7 +802,7 @@ EXAMPLES
|
|
|
802
802
|
$ sanity dataset alias create ~conference conf-2025
|
|
803
803
|
```
|
|
804
804
|
|
|
805
|
-
_See code: [src/commands/dataset/alias/create.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
805
|
+
_See code: [src/commands/dataset/alias/create.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/alias/create.ts)_
|
|
806
806
|
|
|
807
807
|
## `sanity dataset alias delete ALIASNAME`
|
|
808
808
|
|
|
@@ -838,7 +838,7 @@ EXAMPLES
|
|
|
838
838
|
$ sanity dataset alias delete conference --force
|
|
839
839
|
```
|
|
840
840
|
|
|
841
|
-
_See code: [src/commands/dataset/alias/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
841
|
+
_See code: [src/commands/dataset/alias/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/alias/delete.ts)_
|
|
842
842
|
|
|
843
843
|
## `sanity dataset alias link [ALIASNAME] [TARGETDATASET]`
|
|
844
844
|
|
|
@@ -883,7 +883,7 @@ EXAMPLES
|
|
|
883
883
|
$ sanity dataset alias link conference conf-2025 --force
|
|
884
884
|
```
|
|
885
885
|
|
|
886
|
-
_See code: [src/commands/dataset/alias/link.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
886
|
+
_See code: [src/commands/dataset/alias/link.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/alias/link.ts)_
|
|
887
887
|
|
|
888
888
|
## `sanity dataset alias unlink [ALIASNAME]`
|
|
889
889
|
|
|
@@ -923,7 +923,7 @@ EXAMPLES
|
|
|
923
923
|
$ sanity dataset alias unlink conference --force
|
|
924
924
|
```
|
|
925
925
|
|
|
926
|
-
_See code: [src/commands/dataset/alias/unlink.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
926
|
+
_See code: [src/commands/dataset/alias/unlink.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/alias/unlink.ts)_
|
|
927
927
|
|
|
928
928
|
## `sanity dataset copy [SOURCE] [TARGET]`
|
|
929
929
|
|
|
@@ -987,7 +987,7 @@ EXAMPLES
|
|
|
987
987
|
$ sanity dataset copy --list --offset 2 --limit 10
|
|
988
988
|
```
|
|
989
989
|
|
|
990
|
-
_See code: [src/commands/dataset/copy.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
990
|
+
_See code: [src/commands/dataset/copy.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/copy.ts)_
|
|
991
991
|
|
|
992
992
|
## `sanity dataset create [NAME]`
|
|
993
993
|
|
|
@@ -1027,7 +1027,7 @@ EXAMPLES
|
|
|
1027
1027
|
$ sanity dataset create my-dataset --visibility private
|
|
1028
1028
|
```
|
|
1029
1029
|
|
|
1030
|
-
_See code: [src/commands/dataset/create.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1030
|
+
_See code: [src/commands/dataset/create.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/create.ts)_
|
|
1031
1031
|
|
|
1032
1032
|
## `sanity dataset delete DATASETNAME`
|
|
1033
1033
|
|
|
@@ -1059,7 +1059,7 @@ EXAMPLES
|
|
|
1059
1059
|
$ sanity dataset delete my-dataset --force
|
|
1060
1060
|
```
|
|
1061
1061
|
|
|
1062
|
-
_See code: [src/commands/dataset/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1062
|
+
_See code: [src/commands/dataset/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/delete.ts)_
|
|
1063
1063
|
|
|
1064
1064
|
## `sanity dataset embeddings disable [DATASET]`
|
|
1065
1065
|
|
|
@@ -1084,7 +1084,7 @@ EXAMPLES
|
|
|
1084
1084
|
$ sanity dataset embeddings disable production
|
|
1085
1085
|
```
|
|
1086
1086
|
|
|
1087
|
-
_See code: [src/commands/dataset/embeddings/disable.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1087
|
+
_See code: [src/commands/dataset/embeddings/disable.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/embeddings/disable.ts)_
|
|
1088
1088
|
|
|
1089
1089
|
## `sanity dataset embeddings enable [DATASET]`
|
|
1090
1090
|
|
|
@@ -1121,7 +1121,7 @@ EXAMPLES
|
|
|
1121
1121
|
$ sanity dataset embeddings enable production --wait
|
|
1122
1122
|
```
|
|
1123
1123
|
|
|
1124
|
-
_See code: [src/commands/dataset/embeddings/enable.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1124
|
+
_See code: [src/commands/dataset/embeddings/enable.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/embeddings/enable.ts)_
|
|
1125
1125
|
|
|
1126
1126
|
## `sanity dataset embeddings status [DATASET]`
|
|
1127
1127
|
|
|
@@ -1146,7 +1146,7 @@ EXAMPLES
|
|
|
1146
1146
|
$ sanity dataset embeddings status production
|
|
1147
1147
|
```
|
|
1148
1148
|
|
|
1149
|
-
_See code: [src/commands/dataset/embeddings/status.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1149
|
+
_See code: [src/commands/dataset/embeddings/status.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/embeddings/status.ts)_
|
|
1150
1150
|
|
|
1151
1151
|
## `sanity dataset export [NAME] [DESTINATION]`
|
|
1152
1152
|
|
|
@@ -1199,7 +1199,7 @@ EXAMPLES
|
|
|
1199
1199
|
$ sanity dataset export staging staging.tar.gz --types products,shops
|
|
1200
1200
|
```
|
|
1201
1201
|
|
|
1202
|
-
_See code: [src/commands/dataset/export.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1202
|
+
_See code: [src/commands/dataset/export.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/export.ts)_
|
|
1203
1203
|
|
|
1204
1204
|
## `sanity dataset import SOURCE [TARGETDATASET]`
|
|
1205
1205
|
|
|
@@ -1248,7 +1248,7 @@ EXAMPLES
|
|
|
1248
1248
|
$ sanity dataset import -p projectId -d staging -t someSecretToken my-dataset.ndjson
|
|
1249
1249
|
```
|
|
1250
1250
|
|
|
1251
|
-
_See code: [src/commands/dataset/import.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1251
|
+
_See code: [src/commands/dataset/import.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/import.ts)_
|
|
1252
1252
|
|
|
1253
1253
|
## `sanity dataset list`
|
|
1254
1254
|
|
|
@@ -1274,7 +1274,7 @@ EXAMPLES
|
|
|
1274
1274
|
$ sanity dataset list --project-id abc123
|
|
1275
1275
|
```
|
|
1276
1276
|
|
|
1277
|
-
_See code: [src/commands/dataset/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1277
|
+
_See code: [src/commands/dataset/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/list.ts)_
|
|
1278
1278
|
|
|
1279
1279
|
## `sanity dataset visibility get DATASET`
|
|
1280
1280
|
|
|
@@ -1299,7 +1299,7 @@ EXAMPLES
|
|
|
1299
1299
|
$ sanity dataset visibility get my-dataset
|
|
1300
1300
|
```
|
|
1301
1301
|
|
|
1302
|
-
_See code: [src/commands/dataset/visibility/get.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1302
|
+
_See code: [src/commands/dataset/visibility/get.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/visibility/get.ts)_
|
|
1303
1303
|
|
|
1304
1304
|
## `sanity dataset visibility set DATASET MODE`
|
|
1305
1305
|
|
|
@@ -1329,7 +1329,7 @@ EXAMPLES
|
|
|
1329
1329
|
$ sanity dataset visibility set my-dataset public
|
|
1330
1330
|
```
|
|
1331
1331
|
|
|
1332
|
-
_See code: [src/commands/dataset/visibility/set.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1332
|
+
_See code: [src/commands/dataset/visibility/set.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dataset/visibility/set.ts)_
|
|
1333
1333
|
|
|
1334
1334
|
## `sanity debug`
|
|
1335
1335
|
|
|
@@ -1351,7 +1351,7 @@ EXAMPLES
|
|
|
1351
1351
|
$ sanity debug --secrets
|
|
1352
1352
|
```
|
|
1353
1353
|
|
|
1354
|
-
_See code: [src/commands/debug.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1354
|
+
_See code: [src/commands/debug.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/debug.ts)_
|
|
1355
1355
|
|
|
1356
1356
|
## `sanity deploy [SOURCEDIR]`
|
|
1357
1357
|
|
|
@@ -1396,7 +1396,7 @@ EXAMPLES
|
|
|
1396
1396
|
$ sanity deploy --external
|
|
1397
1397
|
```
|
|
1398
1398
|
|
|
1399
|
-
_See code: [src/commands/deploy.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1399
|
+
_See code: [src/commands/deploy.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/deploy.ts)_
|
|
1400
1400
|
|
|
1401
1401
|
## `sanity dev`
|
|
1402
1402
|
|
|
@@ -1423,7 +1423,7 @@ EXAMPLES
|
|
|
1423
1423
|
$ sanity dev --load-in-dashboard
|
|
1424
1424
|
```
|
|
1425
1425
|
|
|
1426
|
-
_See code: [src/commands/dev.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1426
|
+
_See code: [src/commands/dev.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/dev.ts)_
|
|
1427
1427
|
|
|
1428
1428
|
## `sanity docs browse`
|
|
1429
1429
|
|
|
@@ -1437,7 +1437,7 @@ DESCRIPTION
|
|
|
1437
1437
|
Open Sanity docs in a web browser
|
|
1438
1438
|
```
|
|
1439
1439
|
|
|
1440
|
-
_See code: [src/commands/docs/browse.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1440
|
+
_See code: [src/commands/docs/browse.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/docs/browse.ts)_
|
|
1441
1441
|
|
|
1442
1442
|
## `sanity docs read PATH`
|
|
1443
1443
|
|
|
@@ -1474,7 +1474,7 @@ EXAMPLES
|
|
|
1474
1474
|
$ sanity docs read https://www.sanity.io/docs/studio/installation -w
|
|
1475
1475
|
```
|
|
1476
1476
|
|
|
1477
|
-
_See code: [src/commands/docs/read.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1477
|
+
_See code: [src/commands/docs/read.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/docs/read.ts)_
|
|
1478
1478
|
|
|
1479
1479
|
## `sanity docs search QUERY`
|
|
1480
1480
|
|
|
@@ -1507,7 +1507,7 @@ EXAMPLES
|
|
|
1507
1507
|
$ sanity docs search "deployment" --limit=5
|
|
1508
1508
|
```
|
|
1509
1509
|
|
|
1510
|
-
_See code: [src/commands/docs/search.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1510
|
+
_See code: [src/commands/docs/search.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/docs/search.ts)_
|
|
1511
1511
|
|
|
1512
1512
|
## `sanity doctor [CHECKS]`
|
|
1513
1513
|
|
|
@@ -1538,7 +1538,7 @@ EXAMPLES
|
|
|
1538
1538
|
$ sanity doctor cli
|
|
1539
1539
|
```
|
|
1540
1540
|
|
|
1541
|
-
_See code: [src/commands/doctor.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1541
|
+
_See code: [src/commands/doctor.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/doctor.ts)_
|
|
1542
1542
|
|
|
1543
1543
|
## `sanity documents create [FILE]`
|
|
1544
1544
|
|
|
@@ -1589,7 +1589,7 @@ EXAMPLES
|
|
|
1589
1589
|
$ sanity documents create myDocument.json --project-id abc123
|
|
1590
1590
|
```
|
|
1591
1591
|
|
|
1592
|
-
_See code: [src/commands/documents/create.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1592
|
+
_See code: [src/commands/documents/create.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/documents/create.ts)_
|
|
1593
1593
|
|
|
1594
1594
|
## `sanity documents delete ID [IDS]`
|
|
1595
1595
|
|
|
@@ -1632,7 +1632,7 @@ EXAMPLES
|
|
|
1632
1632
|
$ sanity documents delete myDocId --project-id abc123
|
|
1633
1633
|
```
|
|
1634
1634
|
|
|
1635
|
-
_See code: [src/commands/documents/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1635
|
+
_See code: [src/commands/documents/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/documents/delete.ts)_
|
|
1636
1636
|
|
|
1637
1637
|
## `sanity documents get DOCUMENTID`
|
|
1638
1638
|
|
|
@@ -1673,7 +1673,7 @@ EXAMPLES
|
|
|
1673
1673
|
$ sanity documents get myDocId --project-id abc123
|
|
1674
1674
|
```
|
|
1675
1675
|
|
|
1676
|
-
_See code: [src/commands/documents/get.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1676
|
+
_See code: [src/commands/documents/get.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/documents/get.ts)_
|
|
1677
1677
|
|
|
1678
1678
|
## `sanity documents query QUERY`
|
|
1679
1679
|
|
|
@@ -1716,7 +1716,7 @@ EXAMPLES
|
|
|
1716
1716
|
$ sanity documents query '*[_type == "post"]' --project-id abc123 --dataset production
|
|
1717
1717
|
```
|
|
1718
1718
|
|
|
1719
|
-
_See code: [src/commands/documents/query.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1719
|
+
_See code: [src/commands/documents/query.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/documents/query.ts)_
|
|
1720
1720
|
|
|
1721
1721
|
## `sanity documents validate`
|
|
1722
1722
|
|
|
@@ -1770,7 +1770,7 @@ EXAMPLES
|
|
|
1770
1770
|
$ sanity documents validate --project-id abc123 --dataset production
|
|
1771
1771
|
```
|
|
1772
1772
|
|
|
1773
|
-
_See code: [src/commands/documents/validate.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1773
|
+
_See code: [src/commands/documents/validate.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/documents/validate.ts)_
|
|
1774
1774
|
|
|
1775
1775
|
## `sanity exec SCRIPT`
|
|
1776
1776
|
|
|
@@ -1811,7 +1811,7 @@ EXAMPLES
|
|
|
1811
1811
|
$ sanity exec --mock-browser-env myscript.js -- --dry-run positional-argument
|
|
1812
1812
|
```
|
|
1813
1813
|
|
|
1814
|
-
_See code: [src/commands/exec.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
1814
|
+
_See code: [src/commands/exec.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/exec.ts)_
|
|
1815
1815
|
|
|
1816
1816
|
## `sanity functions add`
|
|
1817
1817
|
|
|
@@ -2110,7 +2110,7 @@ EXAMPLES
|
|
|
2110
2110
|
$ sanity graphql deploy --playground
|
|
2111
2111
|
```
|
|
2112
2112
|
|
|
2113
|
-
_See code: [src/commands/graphql/deploy.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2113
|
+
_See code: [src/commands/graphql/deploy.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/graphql/deploy.ts)_
|
|
2114
2114
|
|
|
2115
2115
|
## `sanity graphql list`
|
|
2116
2116
|
|
|
@@ -2136,7 +2136,7 @@ EXAMPLES
|
|
|
2136
2136
|
$ sanity graphql list --project-id abc123
|
|
2137
2137
|
```
|
|
2138
2138
|
|
|
2139
|
-
_See code: [src/commands/graphql/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2139
|
+
_See code: [src/commands/graphql/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/graphql/list.ts)_
|
|
2140
2140
|
|
|
2141
2141
|
## `sanity graphql undeploy`
|
|
2142
2142
|
|
|
@@ -2184,7 +2184,7 @@ EXAMPLES
|
|
|
2184
2184
|
$ sanity graphql undeploy --project-id abc123 --dataset production
|
|
2185
2185
|
```
|
|
2186
2186
|
|
|
2187
|
-
_See code: [src/commands/graphql/undeploy.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2187
|
+
_See code: [src/commands/graphql/undeploy.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/graphql/undeploy.ts)_
|
|
2188
2188
|
|
|
2189
2189
|
## `sanity help [COMMAND]`
|
|
2190
2190
|
|
|
@@ -2233,7 +2233,7 @@ EXAMPLES
|
|
|
2233
2233
|
$ sanity hook attempt abc123 --project-id projectId
|
|
2234
2234
|
```
|
|
2235
2235
|
|
|
2236
|
-
_See code: [src/commands/hook/attempt.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2236
|
+
_See code: [src/commands/hook/attempt.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/hook/attempt.ts)_
|
|
2237
2237
|
|
|
2238
2238
|
## `sanity hook create`
|
|
2239
2239
|
|
|
@@ -2259,7 +2259,7 @@ EXAMPLES
|
|
|
2259
2259
|
$ sanity hook create --project-id abc123
|
|
2260
2260
|
```
|
|
2261
2261
|
|
|
2262
|
-
_See code: [src/commands/hook/create.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2262
|
+
_See code: [src/commands/hook/create.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/hook/create.ts)_
|
|
2263
2263
|
|
|
2264
2264
|
## `sanity hook delete [NAME]`
|
|
2265
2265
|
|
|
@@ -2292,7 +2292,7 @@ EXAMPLES
|
|
|
2292
2292
|
$ sanity hook delete --project-id abc123
|
|
2293
2293
|
```
|
|
2294
2294
|
|
|
2295
|
-
_See code: [src/commands/hook/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2295
|
+
_See code: [src/commands/hook/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/hook/delete.ts)_
|
|
2296
2296
|
|
|
2297
2297
|
## `sanity hook list`
|
|
2298
2298
|
|
|
@@ -2318,7 +2318,7 @@ EXAMPLES
|
|
|
2318
2318
|
$ sanity hook list --project-id abc123
|
|
2319
2319
|
```
|
|
2320
2320
|
|
|
2321
|
-
_See code: [src/commands/hook/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2321
|
+
_See code: [src/commands/hook/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/hook/list.ts)_
|
|
2322
2322
|
|
|
2323
2323
|
## `sanity hook logs [NAME]`
|
|
2324
2324
|
|
|
@@ -2354,7 +2354,7 @@ EXAMPLES
|
|
|
2354
2354
|
$ sanity hook logs --project-id abc123
|
|
2355
2355
|
```
|
|
2356
2356
|
|
|
2357
|
-
_See code: [src/commands/hook/logs.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2357
|
+
_See code: [src/commands/hook/logs.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/hook/logs.ts)_
|
|
2358
2358
|
|
|
2359
2359
|
## `sanity init`
|
|
2360
2360
|
|
|
@@ -2423,7 +2423,7 @@ EXAMPLES
|
|
|
2423
2423
|
--output-path /Users/espenh/movies-unlimited
|
|
2424
2424
|
```
|
|
2425
2425
|
|
|
2426
|
-
_See code: [src/commands/init.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2426
|
+
_See code: [src/commands/init.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/init.ts)_
|
|
2427
2427
|
|
|
2428
2428
|
## `sanity install [PACKAGES]`
|
|
2429
2429
|
|
|
@@ -2447,7 +2447,7 @@ EXAMPLES
|
|
|
2447
2447
|
$ sanity install some-package another-package
|
|
2448
2448
|
```
|
|
2449
2449
|
|
|
2450
|
-
_See code: [src/commands/install.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2450
|
+
_See code: [src/commands/install.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/install.ts)_
|
|
2451
2451
|
|
|
2452
2452
|
## `sanity learn`
|
|
2453
2453
|
|
|
@@ -2461,7 +2461,7 @@ DESCRIPTION
|
|
|
2461
2461
|
Opens Sanity Learn in your web browser
|
|
2462
2462
|
```
|
|
2463
2463
|
|
|
2464
|
-
_See code: [src/commands/learn.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2464
|
+
_See code: [src/commands/learn.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/learn.ts)_
|
|
2465
2465
|
|
|
2466
2466
|
## `sanity login`
|
|
2467
2467
|
|
|
@@ -2493,7 +2493,7 @@ EXAMPLES
|
|
|
2493
2493
|
$ sanity login --provider github --no-open
|
|
2494
2494
|
```
|
|
2495
2495
|
|
|
2496
|
-
_See code: [src/commands/login.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2496
|
+
_See code: [src/commands/login.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/login.ts)_
|
|
2497
2497
|
|
|
2498
2498
|
## `sanity logout`
|
|
2499
2499
|
|
|
@@ -2507,7 +2507,7 @@ DESCRIPTION
|
|
|
2507
2507
|
Logs out the CLI from the current user session
|
|
2508
2508
|
```
|
|
2509
2509
|
|
|
2510
|
-
_See code: [src/commands/logout.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2510
|
+
_See code: [src/commands/logout.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/logout.ts)_
|
|
2511
2511
|
|
|
2512
2512
|
## `sanity manage`
|
|
2513
2513
|
|
|
@@ -2521,7 +2521,7 @@ DESCRIPTION
|
|
|
2521
2521
|
Opens project management interface in your web browser
|
|
2522
2522
|
```
|
|
2523
2523
|
|
|
2524
|
-
_See code: [src/commands/manage.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2524
|
+
_See code: [src/commands/manage.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/manage.ts)_
|
|
2525
2525
|
|
|
2526
2526
|
## `sanity manifest extract`
|
|
2527
2527
|
|
|
@@ -2549,7 +2549,7 @@ EXAMPLES
|
|
|
2549
2549
|
$ sanity manifest extract --path /public/static
|
|
2550
2550
|
```
|
|
2551
2551
|
|
|
2552
|
-
_See code: [src/commands/manifest/extract.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2552
|
+
_See code: [src/commands/manifest/extract.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/manifest/extract.ts)_
|
|
2553
2553
|
|
|
2554
2554
|
## `sanity mcp configure`
|
|
2555
2555
|
|
|
@@ -2568,7 +2568,7 @@ EXAMPLES
|
|
|
2568
2568
|
$ sanity mcp configure
|
|
2569
2569
|
```
|
|
2570
2570
|
|
|
2571
|
-
_See code: [src/commands/mcp/configure.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2571
|
+
_See code: [src/commands/mcp/configure.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/mcp/configure.ts)_
|
|
2572
2572
|
|
|
2573
2573
|
## `sanity media create-aspect`
|
|
2574
2574
|
|
|
@@ -2587,7 +2587,7 @@ EXAMPLES
|
|
|
2587
2587
|
$ sanity media create-aspect
|
|
2588
2588
|
```
|
|
2589
2589
|
|
|
2590
|
-
_See code: [src/commands/media/create-aspect.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2590
|
+
_See code: [src/commands/media/create-aspect.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/media/create-aspect.ts)_
|
|
2591
2591
|
|
|
2592
2592
|
## `sanity media delete-aspect ASPECTNAME`
|
|
2593
2593
|
|
|
@@ -2616,7 +2616,7 @@ EXAMPLES
|
|
|
2616
2616
|
$ sanity media delete-aspect someAspect
|
|
2617
2617
|
```
|
|
2618
2618
|
|
|
2619
|
-
_See code: [src/commands/media/delete-aspect.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2619
|
+
_See code: [src/commands/media/delete-aspect.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/media/delete-aspect.ts)_
|
|
2620
2620
|
|
|
2621
2621
|
## `sanity media deploy-aspect [ASPECTNAME]`
|
|
2622
2622
|
|
|
@@ -2649,7 +2649,7 @@ EXAMPLES
|
|
|
2649
2649
|
$ sanity media deploy-aspect --all
|
|
2650
2650
|
```
|
|
2651
2651
|
|
|
2652
|
-
_See code: [src/commands/media/deploy-aspect.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2652
|
+
_See code: [src/commands/media/deploy-aspect.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/media/deploy-aspect.ts)_
|
|
2653
2653
|
|
|
2654
2654
|
## `sanity media export [DESTINATION]`
|
|
2655
2655
|
|
|
@@ -2690,7 +2690,7 @@ EXAMPLES
|
|
|
2690
2690
|
$ sanity media export --media-library-id my-library-id
|
|
2691
2691
|
```
|
|
2692
2692
|
|
|
2693
|
-
_See code: [src/commands/media/export.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2693
|
+
_See code: [src/commands/media/export.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/media/export.ts)_
|
|
2694
2694
|
|
|
2695
2695
|
## `sanity media import SOURCE`
|
|
2696
2696
|
|
|
@@ -2728,7 +2728,7 @@ EXAMPLES
|
|
|
2728
2728
|
$ sanity media import products --replace-aspects
|
|
2729
2729
|
```
|
|
2730
2730
|
|
|
2731
|
-
_See code: [src/commands/media/import.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2731
|
+
_See code: [src/commands/media/import.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/media/import.ts)_
|
|
2732
2732
|
|
|
2733
2733
|
## `sanity migration create [TITLE]`
|
|
2734
2734
|
|
|
@@ -2856,7 +2856,7 @@ EXAMPLES
|
|
|
2856
2856
|
$ sanity openapi get query > query-api.yaml
|
|
2857
2857
|
```
|
|
2858
2858
|
|
|
2859
|
-
_See code: [src/commands/openapi/get.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2859
|
+
_See code: [src/commands/openapi/get.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/openapi/get.ts)_
|
|
2860
2860
|
|
|
2861
2861
|
## `sanity openapi list`
|
|
2862
2862
|
|
|
@@ -2887,7 +2887,7 @@ EXAMPLES
|
|
|
2887
2887
|
$ sanity openapi list --web
|
|
2888
2888
|
```
|
|
2889
2889
|
|
|
2890
|
-
_See code: [src/commands/openapi/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2890
|
+
_See code: [src/commands/openapi/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/openapi/list.ts)_
|
|
2891
2891
|
|
|
2892
2892
|
## `sanity preview [OUTPUTDIR]`
|
|
2893
2893
|
|
|
@@ -2915,7 +2915,7 @@ EXAMPLES
|
|
|
2915
2915
|
$ sanity preview some/build-output-dir
|
|
2916
2916
|
```
|
|
2917
2917
|
|
|
2918
|
-
_See code: [src/commands/preview.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2918
|
+
_See code: [src/commands/preview.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/preview.ts)_
|
|
2919
2919
|
|
|
2920
2920
|
## `sanity projects create [PROJECTNAME]`
|
|
2921
2921
|
|
|
@@ -2963,7 +2963,7 @@ EXAMPLES
|
|
|
2963
2963
|
$ sanity projects create "CI Project" --yes --json
|
|
2964
2964
|
```
|
|
2965
2965
|
|
|
2966
|
-
_See code: [src/commands/projects/create.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2966
|
+
_See code: [src/commands/projects/create.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/projects/create.ts)_
|
|
2967
2967
|
|
|
2968
2968
|
## `sanity projects list`
|
|
2969
2969
|
|
|
@@ -2992,7 +2992,7 @@ EXAMPLES
|
|
|
2992
2992
|
$ sanity projects list --sort=members --order=asc
|
|
2993
2993
|
```
|
|
2994
2994
|
|
|
2995
|
-
_See code: [src/commands/projects/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
2995
|
+
_See code: [src/commands/projects/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/projects/list.ts)_
|
|
2996
2996
|
|
|
2997
2997
|
## `sanity schema delete`
|
|
2998
2998
|
|
|
@@ -3023,7 +3023,7 @@ EXAMPLES
|
|
|
3023
3023
|
$ sanity schema delete --ids sanity.workspace.schema.workspaceName,prefix.sanity.workspace.schema.otherWorkspace
|
|
3024
3024
|
```
|
|
3025
3025
|
|
|
3026
|
-
_See code: [src/commands/schema/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3026
|
+
_See code: [src/commands/schema/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/schema/delete.ts)_
|
|
3027
3027
|
|
|
3028
3028
|
## `sanity schema deploy`
|
|
3029
3029
|
|
|
@@ -3059,7 +3059,7 @@ EXAMPLES
|
|
|
3059
3059
|
$ sanity schema deploy --workspace default
|
|
3060
3060
|
```
|
|
3061
3061
|
|
|
3062
|
-
_See code: [src/commands/schema/deploy.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3062
|
+
_See code: [src/commands/schema/deploy.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/schema/deploy.ts)_
|
|
3063
3063
|
|
|
3064
3064
|
## `sanity schema extract`
|
|
3065
3065
|
|
|
@@ -3098,7 +3098,7 @@ EXAMPLES
|
|
|
3098
3098
|
$ sanity schema extract --watch --watch-patterns "lib/**/*.ts"
|
|
3099
3099
|
```
|
|
3100
3100
|
|
|
3101
|
-
_See code: [src/commands/schema/extract.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3101
|
+
_See code: [src/commands/schema/extract.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/schema/extract.ts)_
|
|
3102
3102
|
|
|
3103
3103
|
## `sanity schema list`
|
|
3104
3104
|
|
|
@@ -3138,7 +3138,7 @@ EXAMPLES
|
|
|
3138
3138
|
$ sanity schema list --json --id _.schemas.workspaceName
|
|
3139
3139
|
```
|
|
3140
3140
|
|
|
3141
|
-
_See code: [src/commands/schema/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3141
|
+
_See code: [src/commands/schema/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/schema/list.ts)_
|
|
3142
3142
|
|
|
3143
3143
|
## `sanity schema validate`
|
|
3144
3144
|
|
|
@@ -3181,7 +3181,7 @@ EXAMPLES
|
|
|
3181
3181
|
$ sanity schema validate --debug-metafile-path metafile.json
|
|
3182
3182
|
```
|
|
3183
3183
|
|
|
3184
|
-
_See code: [src/commands/schema/validate.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3184
|
+
_See code: [src/commands/schema/validate.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/schema/validate.ts)_
|
|
3185
3185
|
|
|
3186
3186
|
## `sanity telemetry disable`
|
|
3187
3187
|
|
|
@@ -3200,7 +3200,7 @@ EXAMPLES
|
|
|
3200
3200
|
$ sanity telemetry telemetry disable
|
|
3201
3201
|
```
|
|
3202
3202
|
|
|
3203
|
-
_See code: [src/commands/telemetry/disable.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3203
|
+
_See code: [src/commands/telemetry/disable.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/telemetry/disable.ts)_
|
|
3204
3204
|
|
|
3205
3205
|
## `sanity telemetry enable`
|
|
3206
3206
|
|
|
@@ -3219,7 +3219,7 @@ EXAMPLES
|
|
|
3219
3219
|
$ sanity telemetry telemetry enable
|
|
3220
3220
|
```
|
|
3221
3221
|
|
|
3222
|
-
_See code: [src/commands/telemetry/enable.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3222
|
+
_See code: [src/commands/telemetry/enable.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/telemetry/enable.ts)_
|
|
3223
3223
|
|
|
3224
3224
|
## `sanity telemetry status`
|
|
3225
3225
|
|
|
@@ -3238,7 +3238,7 @@ EXAMPLES
|
|
|
3238
3238
|
$ sanity telemetry telemetry status
|
|
3239
3239
|
```
|
|
3240
3240
|
|
|
3241
|
-
_See code: [src/commands/telemetry/status.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3241
|
+
_See code: [src/commands/telemetry/status.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/telemetry/status.ts)_
|
|
3242
3242
|
|
|
3243
3243
|
## `sanity tokens add [LABEL]`
|
|
3244
3244
|
|
|
@@ -3284,7 +3284,7 @@ EXAMPLES
|
|
|
3284
3284
|
$ sanity tokens add "My Token" --project-id abc123 --role=editor
|
|
3285
3285
|
```
|
|
3286
3286
|
|
|
3287
|
-
_See code: [src/commands/tokens/add.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3287
|
+
_See code: [src/commands/tokens/add.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/tokens/add.ts)_
|
|
3288
3288
|
|
|
3289
3289
|
## `sanity tokens delete [TOKENID]`
|
|
3290
3290
|
|
|
@@ -3324,7 +3324,7 @@ EXAMPLES
|
|
|
3324
3324
|
$ sanity tokens delete --project-id abc123
|
|
3325
3325
|
```
|
|
3326
3326
|
|
|
3327
|
-
_See code: [src/commands/tokens/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3327
|
+
_See code: [src/commands/tokens/delete.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/tokens/delete.ts)_
|
|
3328
3328
|
|
|
3329
3329
|
## `sanity tokens list`
|
|
3330
3330
|
|
|
@@ -3357,7 +3357,7 @@ EXAMPLES
|
|
|
3357
3357
|
$ sanity tokens list --project-id abc123
|
|
3358
3358
|
```
|
|
3359
3359
|
|
|
3360
|
-
_See code: [src/commands/tokens/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3360
|
+
_See code: [src/commands/tokens/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/tokens/list.ts)_
|
|
3361
3361
|
|
|
3362
3362
|
## `sanity typegen generate`
|
|
3363
3363
|
|
|
@@ -3420,7 +3420,7 @@ DESCRIPTION
|
|
|
3420
3420
|
Removes the deployed Sanity Studio/App from Sanity hosting
|
|
3421
3421
|
```
|
|
3422
3422
|
|
|
3423
|
-
_See code: [src/commands/undeploy.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3423
|
+
_See code: [src/commands/undeploy.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/undeploy.ts)_
|
|
3424
3424
|
|
|
3425
3425
|
## `sanity users invite [EMAIL]`
|
|
3426
3426
|
|
|
@@ -3460,7 +3460,7 @@ EXAMPLES
|
|
|
3460
3460
|
$ sanity users invite pippi@sanity.io --project-id abc123
|
|
3461
3461
|
```
|
|
3462
3462
|
|
|
3463
|
-
_See code: [src/commands/users/invite.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3463
|
+
_See code: [src/commands/users/invite.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/users/invite.ts)_
|
|
3464
3464
|
|
|
3465
3465
|
## `sanity users list`
|
|
3466
3466
|
|
|
@@ -3502,7 +3502,7 @@ EXAMPLES
|
|
|
3502
3502
|
$ sanity users list --project-id abc123
|
|
3503
3503
|
```
|
|
3504
3504
|
|
|
3505
|
-
_See code: [src/commands/users/list.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3505
|
+
_See code: [src/commands/users/list.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/users/list.ts)_
|
|
3506
3506
|
|
|
3507
3507
|
## `sanity versions`
|
|
3508
3508
|
|
|
@@ -3519,6 +3519,6 @@ EXAMPLES
|
|
|
3519
3519
|
$ sanity versions
|
|
3520
3520
|
```
|
|
3521
3521
|
|
|
3522
|
-
_See code: [src/commands/versions.ts](https://github.com/sanity-io/cli/blob/v6.1.
|
|
3522
|
+
_See code: [src/commands/versions.ts](https://github.com/sanity-io/cli/blob/v6.1.2/src/commands/versions.ts)_
|
|
3523
3523
|
|
|
3524
3524
|
<!-- commandsstop -->
|