@sanity/cli 8.37.2 → 8.38.1
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/dist/actions/backup/archiveDir.js +20 -31
- package/dist/actions/backup/archiveDir.js.map +1 -1
- package/dist/actions/deploy/deployApp.js +8 -9
- package/dist/actions/deploy/deployApp.js.map +1 -1
- package/dist/actions/deploy/deployStudio.js +5 -4
- package/dist/actions/deploy/deployStudio.js.map +1 -1
- package/dist/actions/init/remoteTemplate.js +5 -7
- package/dist/actions/init/remoteTemplate.js.map +1 -1
- package/dist/actions/media/createExtractStream.js +37 -0
- package/dist/actions/media/createExtractStream.js.map +1 -0
- package/dist/actions/media/importMedia.js +2 -4
- package/dist/actions/media/importMedia.js.map +1 -1
- package/dist/services/mintProject.js +11 -0
- package/dist/services/mintProject.js.map +1 -1
- package/dist/services/projects.js +18 -5
- package/dist/services/projects.js.map +1 -1
- package/dist/services/userApplications.js.map +1 -1
- package/oclif.manifest.json +1680 -1680
- package/package.json +4 -4
package/oclif.manifest.json
CHANGED
|
@@ -2685,629 +2685,6 @@
|
|
|
2685
2685
|
"update.js"
|
|
2686
2686
|
]
|
|
2687
2687
|
},
|
|
2688
|
-
"docs:browse": {
|
|
2689
|
-
"aliases": [],
|
|
2690
|
-
"args": {},
|
|
2691
|
-
"description": "Open Sanity docs in your browser",
|
|
2692
|
-
"flags": {},
|
|
2693
|
-
"hasDynamicHelp": false,
|
|
2694
|
-
"hiddenAliases": [],
|
|
2695
|
-
"id": "docs:browse",
|
|
2696
|
-
"pluginAlias": "@sanity/cli",
|
|
2697
|
-
"pluginName": "@sanity/cli",
|
|
2698
|
-
"pluginType": "core",
|
|
2699
|
-
"strict": true,
|
|
2700
|
-
"enableJsonFlag": false,
|
|
2701
|
-
"isESM": true,
|
|
2702
|
-
"relativePath": [
|
|
2703
|
-
"dist",
|
|
2704
|
-
"commands",
|
|
2705
|
-
"docs",
|
|
2706
|
-
"browse.js"
|
|
2707
|
-
]
|
|
2708
|
-
},
|
|
2709
|
-
"docs:read": {
|
|
2710
|
-
"aliases": [],
|
|
2711
|
-
"args": {
|
|
2712
|
-
"path": {
|
|
2713
|
-
"description": "Path or URL to article, found in search results and docs content as links",
|
|
2714
|
-
"name": "path",
|
|
2715
|
-
"required": true
|
|
2716
|
-
}
|
|
2717
|
-
},
|
|
2718
|
-
"description": "Read an article in terminal",
|
|
2719
|
-
"examples": [
|
|
2720
|
-
{
|
|
2721
|
-
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation",
|
|
2722
|
-
"description": "Read as markdown in terminal"
|
|
2723
|
-
},
|
|
2724
|
-
{
|
|
2725
|
-
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation",
|
|
2726
|
-
"description": "Read using full URL"
|
|
2727
|
-
},
|
|
2728
|
-
{
|
|
2729
|
-
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation --web",
|
|
2730
|
-
"description": "Open in web browser"
|
|
2731
|
-
},
|
|
2732
|
-
{
|
|
2733
|
-
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation -w",
|
|
2734
|
-
"description": "Open using full URL in web browser"
|
|
2735
|
-
}
|
|
2736
|
-
],
|
|
2737
|
-
"flags": {
|
|
2738
|
-
"web": {
|
|
2739
|
-
"aliases": [
|
|
2740
|
-
"w"
|
|
2741
|
-
],
|
|
2742
|
-
"description": "Open in a web browser",
|
|
2743
|
-
"name": "web",
|
|
2744
|
-
"allowNo": false,
|
|
2745
|
-
"type": "boolean"
|
|
2746
|
-
}
|
|
2747
|
-
},
|
|
2748
|
-
"hasDynamicHelp": false,
|
|
2749
|
-
"hiddenAliases": [],
|
|
2750
|
-
"id": "docs:read",
|
|
2751
|
-
"pluginAlias": "@sanity/cli",
|
|
2752
|
-
"pluginName": "@sanity/cli",
|
|
2753
|
-
"pluginType": "core",
|
|
2754
|
-
"strict": true,
|
|
2755
|
-
"isESM": true,
|
|
2756
|
-
"relativePath": [
|
|
2757
|
-
"dist",
|
|
2758
|
-
"commands",
|
|
2759
|
-
"docs",
|
|
2760
|
-
"read.js"
|
|
2761
|
-
]
|
|
2762
|
-
},
|
|
2763
|
-
"docs:search": {
|
|
2764
|
-
"aliases": [],
|
|
2765
|
-
"args": {
|
|
2766
|
-
"query": {
|
|
2767
|
-
"description": "Search query for documentation",
|
|
2768
|
-
"name": "query",
|
|
2769
|
-
"required": true
|
|
2770
|
-
}
|
|
2771
|
-
},
|
|
2772
|
-
"description": "Search Sanity docs",
|
|
2773
|
-
"examples": [
|
|
2774
|
-
{
|
|
2775
|
-
"command": "<%= config.bin %> <%= command.id %> schema",
|
|
2776
|
-
"description": "Search for documentation about schemas"
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"command": "<%= config.bin %> <%= command.id %> \"groq functions\"",
|
|
2780
|
-
"description": "Search with phrase"
|
|
2781
|
-
},
|
|
2782
|
-
{
|
|
2783
|
-
"command": "<%= config.bin %> <%= command.id %> \"deployment\" --limit=5",
|
|
2784
|
-
"description": "Limit search results"
|
|
2785
|
-
}
|
|
2786
|
-
],
|
|
2787
|
-
"flags": {
|
|
2788
|
-
"limit": {
|
|
2789
|
-
"description": "Maximum number of results to return",
|
|
2790
|
-
"name": "limit",
|
|
2791
|
-
"default": 10,
|
|
2792
|
-
"hasDynamicHelp": false,
|
|
2793
|
-
"multiple": false,
|
|
2794
|
-
"type": "option"
|
|
2795
|
-
}
|
|
2796
|
-
},
|
|
2797
|
-
"hasDynamicHelp": false,
|
|
2798
|
-
"hiddenAliases": [],
|
|
2799
|
-
"id": "docs:search",
|
|
2800
|
-
"pluginAlias": "@sanity/cli",
|
|
2801
|
-
"pluginName": "@sanity/cli",
|
|
2802
|
-
"pluginType": "core",
|
|
2803
|
-
"strict": true,
|
|
2804
|
-
"isESM": true,
|
|
2805
|
-
"relativePath": [
|
|
2806
|
-
"dist",
|
|
2807
|
-
"commands",
|
|
2808
|
-
"docs",
|
|
2809
|
-
"search.js"
|
|
2810
|
-
]
|
|
2811
|
-
},
|
|
2812
|
-
"documents:create": {
|
|
2813
|
-
"aliases": [],
|
|
2814
|
-
"args": {
|
|
2815
|
-
"file": {
|
|
2816
|
-
"description": "JSON file to create document(s) from",
|
|
2817
|
-
"name": "file",
|
|
2818
|
-
"required": false
|
|
2819
|
-
}
|
|
2820
|
-
},
|
|
2821
|
-
"description": "Create one or more documents",
|
|
2822
|
-
"examples": [
|
|
2823
|
-
{
|
|
2824
|
-
"command": "<%= config.bin %> <%= command.id %> myDocument.json",
|
|
2825
|
-
"description": "Create the document specified in \"myDocument.json\""
|
|
2826
|
-
},
|
|
2827
|
-
{
|
|
2828
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2829
|
-
"description": "Open configured $EDITOR and create the specified document(s)"
|
|
2830
|
-
},
|
|
2831
|
-
{
|
|
2832
|
-
"command": "<%= config.bin %> <%= command.id %> --id myDocId --replace",
|
|
2833
|
-
"description": "Fetch document with the ID \"myDocId\" and open configured $EDITOR with the current document content (if any). Replace document with the edited version when the editor closes"
|
|
2834
|
-
},
|
|
2835
|
-
{
|
|
2836
|
-
"command": "<%= config.bin %> <%= command.id %> --id myDocId --watch --replace --json5",
|
|
2837
|
-
"description": "Open configured $EDITOR and replace the document with the given content on each save. Use JSON5 file extension and parser for simplified syntax."
|
|
2838
|
-
},
|
|
2839
|
-
{
|
|
2840
|
-
"command": "<%= config.bin %> <%= command.id %> myDocument.json --project abc123",
|
|
2841
|
-
"description": "Create documents in a specific project"
|
|
2842
|
-
}
|
|
2843
|
-
],
|
|
2844
|
-
"flags": {
|
|
2845
|
-
"project": {
|
|
2846
|
-
"aliases": [
|
|
2847
|
-
"project-id"
|
|
2848
|
-
],
|
|
2849
|
-
"char": "p",
|
|
2850
|
-
"deprecateAliases": true,
|
|
2851
|
-
"description": "Project ID to create document(s) in (overrides CLI configuration)",
|
|
2852
|
-
"helpGroup": "OVERRIDE",
|
|
2853
|
-
"name": "project",
|
|
2854
|
-
"hasDynamicHelp": false,
|
|
2855
|
-
"helpValue": "<id>",
|
|
2856
|
-
"multiple": false,
|
|
2857
|
-
"type": "option"
|
|
2858
|
-
},
|
|
2859
|
-
"dataset": {
|
|
2860
|
-
"char": "d",
|
|
2861
|
-
"description": "Dataset to create document(s) in (overrides CLI configuration)",
|
|
2862
|
-
"helpGroup": "OVERRIDE",
|
|
2863
|
-
"name": "dataset",
|
|
2864
|
-
"hasDynamicHelp": false,
|
|
2865
|
-
"helpValue": "<name>",
|
|
2866
|
-
"multiple": false,
|
|
2867
|
-
"type": "option"
|
|
2868
|
-
},
|
|
2869
|
-
"id": {
|
|
2870
|
-
"description": "Specify a document ID to use. Will fetch remote document ID and populate editor.",
|
|
2871
|
-
"name": "id",
|
|
2872
|
-
"hasDynamicHelp": false,
|
|
2873
|
-
"multiple": false,
|
|
2874
|
-
"type": "option"
|
|
2875
|
-
},
|
|
2876
|
-
"json5": {
|
|
2877
|
-
"description": "Use JSON5 file type to allow a \"simplified\" version of JSON",
|
|
2878
|
-
"name": "json5",
|
|
2879
|
-
"allowNo": false,
|
|
2880
|
-
"type": "boolean"
|
|
2881
|
-
},
|
|
2882
|
-
"missing": {
|
|
2883
|
-
"description": "On duplicate document IDs, don't modify the target document(s)",
|
|
2884
|
-
"name": "missing",
|
|
2885
|
-
"allowNo": false,
|
|
2886
|
-
"type": "boolean"
|
|
2887
|
-
},
|
|
2888
|
-
"replace": {
|
|
2889
|
-
"description": "On duplicate document IDs, replace existing document with specified document(s)",
|
|
2890
|
-
"name": "replace",
|
|
2891
|
-
"allowNo": false,
|
|
2892
|
-
"type": "boolean"
|
|
2893
|
-
},
|
|
2894
|
-
"watch": {
|
|
2895
|
-
"description": "Write the documents whenever the target file or buffer changes",
|
|
2896
|
-
"name": "watch",
|
|
2897
|
-
"allowNo": false,
|
|
2898
|
-
"type": "boolean"
|
|
2899
|
-
}
|
|
2900
|
-
},
|
|
2901
|
-
"hasDynamicHelp": false,
|
|
2902
|
-
"hiddenAliases": [
|
|
2903
|
-
"document:create"
|
|
2904
|
-
],
|
|
2905
|
-
"id": "documents:create",
|
|
2906
|
-
"pluginAlias": "@sanity/cli",
|
|
2907
|
-
"pluginName": "@sanity/cli",
|
|
2908
|
-
"pluginType": "core",
|
|
2909
|
-
"strict": true,
|
|
2910
|
-
"isESM": true,
|
|
2911
|
-
"relativePath": [
|
|
2912
|
-
"dist",
|
|
2913
|
-
"commands",
|
|
2914
|
-
"documents",
|
|
2915
|
-
"create.js"
|
|
2916
|
-
]
|
|
2917
|
-
},
|
|
2918
|
-
"documents:delete": {
|
|
2919
|
-
"aliases": [],
|
|
2920
|
-
"args": {
|
|
2921
|
-
"id": {
|
|
2922
|
-
"description": "Document ID to delete",
|
|
2923
|
-
"name": "id",
|
|
2924
|
-
"required": true
|
|
2925
|
-
},
|
|
2926
|
-
"ids": {
|
|
2927
|
-
"description": "Additional document IDs to delete",
|
|
2928
|
-
"name": "ids",
|
|
2929
|
-
"required": false
|
|
2930
|
-
}
|
|
2931
|
-
},
|
|
2932
|
-
"description": "Delete one or more documents from the project's configured dataset",
|
|
2933
|
-
"examples": [
|
|
2934
|
-
{
|
|
2935
|
-
"command": "<%= config.bin %> <%= command.id %> myDocId",
|
|
2936
|
-
"description": "Delete the document with the ID \"myDocId\""
|
|
2937
|
-
},
|
|
2938
|
-
{
|
|
2939
|
-
"command": "<%= config.bin %> <%= command.id %> 'myDocId'",
|
|
2940
|
-
"description": "ID wrapped in double or single quote works equally well"
|
|
2941
|
-
},
|
|
2942
|
-
{
|
|
2943
|
-
"command": "<%= config.bin %> <%= command.id %> --dataset=blog someDocId",
|
|
2944
|
-
"description": "Delete document with ID \"someDocId\" from dataset \"blog\""
|
|
2945
|
-
},
|
|
2946
|
-
{
|
|
2947
|
-
"command": "<%= config.bin %> <%= command.id %> doc1 doc2",
|
|
2948
|
-
"description": "Delete the document with ID \"doc1\" and \"doc2\""
|
|
2949
|
-
},
|
|
2950
|
-
{
|
|
2951
|
-
"command": "<%= config.bin %> <%= command.id %> myDocId --project abc123",
|
|
2952
|
-
"description": "Delete a document from a specific project"
|
|
2953
|
-
}
|
|
2954
|
-
],
|
|
2955
|
-
"flags": {
|
|
2956
|
-
"project": {
|
|
2957
|
-
"aliases": [
|
|
2958
|
-
"project-id"
|
|
2959
|
-
],
|
|
2960
|
-
"char": "p",
|
|
2961
|
-
"deprecateAliases": true,
|
|
2962
|
-
"description": "Project ID to delete from (overrides CLI configuration)",
|
|
2963
|
-
"helpGroup": "OVERRIDE",
|
|
2964
|
-
"name": "project",
|
|
2965
|
-
"hasDynamicHelp": false,
|
|
2966
|
-
"helpValue": "<id>",
|
|
2967
|
-
"multiple": false,
|
|
2968
|
-
"type": "option"
|
|
2969
|
-
},
|
|
2970
|
-
"dataset": {
|
|
2971
|
-
"char": "d",
|
|
2972
|
-
"description": "Dataset to delete from (overrides CLI configuration)",
|
|
2973
|
-
"helpGroup": "OVERRIDE",
|
|
2974
|
-
"name": "dataset",
|
|
2975
|
-
"hasDynamicHelp": false,
|
|
2976
|
-
"helpValue": "<name>",
|
|
2977
|
-
"multiple": false,
|
|
2978
|
-
"type": "option"
|
|
2979
|
-
}
|
|
2980
|
-
},
|
|
2981
|
-
"hasDynamicHelp": false,
|
|
2982
|
-
"hiddenAliases": [
|
|
2983
|
-
"document:delete"
|
|
2984
|
-
],
|
|
2985
|
-
"id": "documents:delete",
|
|
2986
|
-
"pluginAlias": "@sanity/cli",
|
|
2987
|
-
"pluginName": "@sanity/cli",
|
|
2988
|
-
"pluginType": "core",
|
|
2989
|
-
"strict": false,
|
|
2990
|
-
"isESM": true,
|
|
2991
|
-
"relativePath": [
|
|
2992
|
-
"dist",
|
|
2993
|
-
"commands",
|
|
2994
|
-
"documents",
|
|
2995
|
-
"delete.js"
|
|
2996
|
-
]
|
|
2997
|
-
},
|
|
2998
|
-
"documents:get": {
|
|
2999
|
-
"aliases": [],
|
|
3000
|
-
"args": {
|
|
3001
|
-
"documentId": {
|
|
3002
|
-
"description": "Document ID to retrieve",
|
|
3003
|
-
"name": "documentId",
|
|
3004
|
-
"required": true
|
|
3005
|
-
}
|
|
3006
|
-
},
|
|
3007
|
-
"description": "Get and print a document by ID",
|
|
3008
|
-
"examples": [
|
|
3009
|
-
{
|
|
3010
|
-
"command": "<%= config.bin %> <%= command.id %> myDocId",
|
|
3011
|
-
"description": "Get the document with ID \"myDocId\""
|
|
3012
|
-
},
|
|
3013
|
-
{
|
|
3014
|
-
"command": "<%= config.bin %> <%= command.id %> myDocId --pretty",
|
|
3015
|
-
"description": "Get document with colorized JSON output"
|
|
3016
|
-
},
|
|
3017
|
-
{
|
|
3018
|
-
"command": "<%= config.bin %> <%= command.id %> myDocId --dataset production",
|
|
3019
|
-
"description": "Get document from a specific dataset"
|
|
3020
|
-
},
|
|
3021
|
-
{
|
|
3022
|
-
"command": "<%= config.bin %> <%= command.id %> myDocId --project abc123",
|
|
3023
|
-
"description": "Get a document from a specific project"
|
|
3024
|
-
}
|
|
3025
|
-
],
|
|
3026
|
-
"flags": {
|
|
3027
|
-
"project": {
|
|
3028
|
-
"aliases": [
|
|
3029
|
-
"project-id"
|
|
3030
|
-
],
|
|
3031
|
-
"char": "p",
|
|
3032
|
-
"deprecateAliases": true,
|
|
3033
|
-
"description": "Project ID to get document from (overrides CLI configuration)",
|
|
3034
|
-
"helpGroup": "OVERRIDE",
|
|
3035
|
-
"name": "project",
|
|
3036
|
-
"hasDynamicHelp": false,
|
|
3037
|
-
"helpValue": "<id>",
|
|
3038
|
-
"multiple": false,
|
|
3039
|
-
"type": "option"
|
|
3040
|
-
},
|
|
3041
|
-
"dataset": {
|
|
3042
|
-
"char": "d",
|
|
3043
|
-
"description": "Dataset to get document from (overrides CLI configuration)",
|
|
3044
|
-
"helpGroup": "OVERRIDE",
|
|
3045
|
-
"name": "dataset",
|
|
3046
|
-
"hasDynamicHelp": false,
|
|
3047
|
-
"helpValue": "<name>",
|
|
3048
|
-
"multiple": false,
|
|
3049
|
-
"type": "option"
|
|
3050
|
-
},
|
|
3051
|
-
"pretty": {
|
|
3052
|
-
"description": "Colorize JSON output",
|
|
3053
|
-
"name": "pretty",
|
|
3054
|
-
"allowNo": false,
|
|
3055
|
-
"type": "boolean"
|
|
3056
|
-
}
|
|
3057
|
-
},
|
|
3058
|
-
"hasDynamicHelp": false,
|
|
3059
|
-
"hiddenAliases": [
|
|
3060
|
-
"document:get"
|
|
3061
|
-
],
|
|
3062
|
-
"id": "documents:get",
|
|
3063
|
-
"pluginAlias": "@sanity/cli",
|
|
3064
|
-
"pluginName": "@sanity/cli",
|
|
3065
|
-
"pluginType": "core",
|
|
3066
|
-
"strict": true,
|
|
3067
|
-
"isESM": true,
|
|
3068
|
-
"relativePath": [
|
|
3069
|
-
"dist",
|
|
3070
|
-
"commands",
|
|
3071
|
-
"documents",
|
|
3072
|
-
"get.js"
|
|
3073
|
-
]
|
|
3074
|
-
},
|
|
3075
|
-
"documents:query": {
|
|
3076
|
-
"aliases": [],
|
|
3077
|
-
"args": {
|
|
3078
|
-
"query": {
|
|
3079
|
-
"description": "GROQ query to run against the dataset",
|
|
3080
|
-
"name": "query",
|
|
3081
|
-
"required": true
|
|
3082
|
-
}
|
|
3083
|
-
},
|
|
3084
|
-
"description": "Query for documents",
|
|
3085
|
-
"examples": [
|
|
3086
|
-
{
|
|
3087
|
-
"command": "<%= config.bin %> <%= command.id %> '*[_type == \"movie\"][0..4]'",
|
|
3088
|
-
"description": "Fetch 5 documents of type \"movie\""
|
|
3089
|
-
},
|
|
3090
|
-
{
|
|
3091
|
-
"command": "<%= config.bin %> <%= command.id %> '*[_type == \"movie\"]|order(releaseDate asc)[0]{title}' --dataset staging",
|
|
3092
|
-
"description": "Fetch title of the oldest movie in the dataset named \"staging\""
|
|
3093
|
-
},
|
|
3094
|
-
{
|
|
3095
|
-
"command": "<%= config.bin %> <%= command.id %> '*[_id == \"header\"] { \"headerText\": pt::text(body) }' --api-version v2021-06-07",
|
|
3096
|
-
"description": "Use API version v2021-06-07 and do a query"
|
|
3097
|
-
},
|
|
3098
|
-
{
|
|
3099
|
-
"command": "<%= config.bin %> <%= command.id %> '*[_type == \"post\"]' --project abc123 --dataset production",
|
|
3100
|
-
"description": "Query documents in a specific project and dataset"
|
|
3101
|
-
}
|
|
3102
|
-
],
|
|
3103
|
-
"flags": {
|
|
3104
|
-
"project": {
|
|
3105
|
-
"aliases": [
|
|
3106
|
-
"project-id"
|
|
3107
|
-
],
|
|
3108
|
-
"char": "p",
|
|
3109
|
-
"deprecateAliases": true,
|
|
3110
|
-
"description": "Project ID to query (overrides CLI configuration)",
|
|
3111
|
-
"helpGroup": "OVERRIDE",
|
|
3112
|
-
"name": "project",
|
|
3113
|
-
"hasDynamicHelp": false,
|
|
3114
|
-
"helpValue": "<id>",
|
|
3115
|
-
"multiple": false,
|
|
3116
|
-
"type": "option"
|
|
3117
|
-
},
|
|
3118
|
-
"dataset": {
|
|
3119
|
-
"char": "d",
|
|
3120
|
-
"description": "Dataset to query (overrides CLI configuration)",
|
|
3121
|
-
"helpGroup": "OVERRIDE",
|
|
3122
|
-
"name": "dataset",
|
|
3123
|
-
"hasDynamicHelp": false,
|
|
3124
|
-
"helpValue": "<name>",
|
|
3125
|
-
"multiple": false,
|
|
3126
|
-
"type": "option"
|
|
3127
|
-
},
|
|
3128
|
-
"with-blueprints": {
|
|
3129
|
-
"description": "Use Blueprint-aware behavior",
|
|
3130
|
-
"hidden": true,
|
|
3131
|
-
"name": "with-blueprints",
|
|
3132
|
-
"allowNo": false,
|
|
3133
|
-
"type": "boolean"
|
|
3134
|
-
},
|
|
3135
|
-
"anonymous": {
|
|
3136
|
-
"description": "Send the query without any authorization token",
|
|
3137
|
-
"name": "anonymous",
|
|
3138
|
-
"allowNo": false,
|
|
3139
|
-
"type": "boolean"
|
|
3140
|
-
},
|
|
3141
|
-
"api-version": {
|
|
3142
|
-
"description": "API version to use (defaults to 2025-08-15)",
|
|
3143
|
-
"name": "api-version",
|
|
3144
|
-
"hasDynamicHelp": false,
|
|
3145
|
-
"multiple": false,
|
|
3146
|
-
"type": "option"
|
|
3147
|
-
},
|
|
3148
|
-
"pretty": {
|
|
3149
|
-
"description": "Colorize JSON output",
|
|
3150
|
-
"name": "pretty",
|
|
3151
|
-
"allowNo": false,
|
|
3152
|
-
"type": "boolean"
|
|
3153
|
-
}
|
|
3154
|
-
},
|
|
3155
|
-
"hasDynamicHelp": false,
|
|
3156
|
-
"hiddenAliases": [
|
|
3157
|
-
"document:query"
|
|
3158
|
-
],
|
|
3159
|
-
"id": "documents:query",
|
|
3160
|
-
"pluginAlias": "@sanity/cli",
|
|
3161
|
-
"pluginName": "@sanity/cli",
|
|
3162
|
-
"pluginType": "core",
|
|
3163
|
-
"strict": true,
|
|
3164
|
-
"isESM": true,
|
|
3165
|
-
"relativePath": [
|
|
3166
|
-
"dist",
|
|
3167
|
-
"commands",
|
|
3168
|
-
"documents",
|
|
3169
|
-
"query.js"
|
|
3170
|
-
]
|
|
3171
|
-
},
|
|
3172
|
-
"documents:validate": {
|
|
3173
|
-
"aliases": [],
|
|
3174
|
-
"args": {},
|
|
3175
|
-
"description": "Validate documents in a dataset against the studio schema",
|
|
3176
|
-
"examples": [
|
|
3177
|
-
{
|
|
3178
|
-
"command": "<%= config.bin %> <%= command.id %> --workspace default",
|
|
3179
|
-
"description": "Validates all documents in a Sanity project with more than one workspace"
|
|
3180
|
-
},
|
|
3181
|
-
{
|
|
3182
|
-
"command": "<%= config.bin %> <%= command.id %> --workspace default --dataset staging",
|
|
3183
|
-
"description": "Override the dataset specified in the workspace"
|
|
3184
|
-
},
|
|
3185
|
-
{
|
|
3186
|
-
"command": "<%= config.bin %> <%= command.id %> --yes > report.txt",
|
|
3187
|
-
"description": "Save the results of the report into a file"
|
|
3188
|
-
},
|
|
3189
|
-
{
|
|
3190
|
-
"command": "<%= config.bin %> <%= command.id %> --level info",
|
|
3191
|
-
"description": "Report out info level validation markers too"
|
|
3192
|
-
},
|
|
3193
|
-
{
|
|
3194
|
-
"command": "<%= config.bin %> <%= command.id %> --project abc123 --dataset production",
|
|
3195
|
-
"description": "Validate documents in a specific project and dataset"
|
|
3196
|
-
}
|
|
3197
|
-
],
|
|
3198
|
-
"flags": {
|
|
3199
|
-
"project": {
|
|
3200
|
-
"aliases": [
|
|
3201
|
-
"project-id"
|
|
3202
|
-
],
|
|
3203
|
-
"char": "p",
|
|
3204
|
-
"deprecateAliases": true,
|
|
3205
|
-
"description": "Override the project ID used. By default, this is derived from the given workspace",
|
|
3206
|
-
"name": "project",
|
|
3207
|
-
"hasDynamicHelp": false,
|
|
3208
|
-
"helpValue": "<id>",
|
|
3209
|
-
"multiple": false,
|
|
3210
|
-
"type": "option"
|
|
3211
|
-
},
|
|
3212
|
-
"dataset": {
|
|
3213
|
-
"char": "d",
|
|
3214
|
-
"description": "Override the dataset used. By default, this is derived from the given workspace",
|
|
3215
|
-
"name": "dataset",
|
|
3216
|
-
"hasDynamicHelp": false,
|
|
3217
|
-
"helpValue": "<name>",
|
|
3218
|
-
"multiple": false,
|
|
3219
|
-
"type": "option"
|
|
3220
|
-
},
|
|
3221
|
-
"file": {
|
|
3222
|
-
"description": "Path to an NDJSON file or tar archive containing an NDJSON file (optionally gzip-compressed)",
|
|
3223
|
-
"name": "file",
|
|
3224
|
-
"hasDynamicHelp": false,
|
|
3225
|
-
"multiple": false,
|
|
3226
|
-
"type": "option"
|
|
3227
|
-
},
|
|
3228
|
-
"format": {
|
|
3229
|
-
"description": "The output format used to print the found validation markers and report progress",
|
|
3230
|
-
"name": "format",
|
|
3231
|
-
"hasDynamicHelp": false,
|
|
3232
|
-
"multiple": false,
|
|
3233
|
-
"options": [
|
|
3234
|
-
"json",
|
|
3235
|
-
"ndjson",
|
|
3236
|
-
"pretty"
|
|
3237
|
-
],
|
|
3238
|
-
"type": "option"
|
|
3239
|
-
},
|
|
3240
|
-
"level": {
|
|
3241
|
-
"description": "The minimum level reported. Defaults to warning",
|
|
3242
|
-
"name": "level",
|
|
3243
|
-
"default": "warning",
|
|
3244
|
-
"hasDynamicHelp": false,
|
|
3245
|
-
"multiple": false,
|
|
3246
|
-
"options": [
|
|
3247
|
-
"error",
|
|
3248
|
-
"warning",
|
|
3249
|
-
"info"
|
|
3250
|
-
],
|
|
3251
|
-
"type": "option"
|
|
3252
|
-
},
|
|
3253
|
-
"max-custom-validation-concurrency": {
|
|
3254
|
-
"description": "Specify how many custom validators can run concurrently",
|
|
3255
|
-
"name": "max-custom-validation-concurrency",
|
|
3256
|
-
"default": 5,
|
|
3257
|
-
"hasDynamicHelp": false,
|
|
3258
|
-
"multiple": false,
|
|
3259
|
-
"type": "option"
|
|
3260
|
-
},
|
|
3261
|
-
"max-fetch-concurrency": {
|
|
3262
|
-
"description": "Specify how many `client.fetch` requests are allowed to run concurrently",
|
|
3263
|
-
"name": "max-fetch-concurrency",
|
|
3264
|
-
"default": 25,
|
|
3265
|
-
"hasDynamicHelp": false,
|
|
3266
|
-
"multiple": false,
|
|
3267
|
-
"type": "option"
|
|
3268
|
-
},
|
|
3269
|
-
"workspace": {
|
|
3270
|
-
"description": "The name of the workspace to use when downloading and validating all documents",
|
|
3271
|
-
"name": "workspace",
|
|
3272
|
-
"hasDynamicHelp": false,
|
|
3273
|
-
"multiple": false,
|
|
3274
|
-
"type": "option"
|
|
3275
|
-
},
|
|
3276
|
-
"yes": {
|
|
3277
|
-
"char": "y",
|
|
3278
|
-
"description": "Skips the first confirmation prompt",
|
|
3279
|
-
"name": "yes",
|
|
3280
|
-
"allowNo": false,
|
|
3281
|
-
"type": "boolean"
|
|
3282
|
-
}
|
|
3283
|
-
},
|
|
3284
|
-
"hasDynamicHelp": false,
|
|
3285
|
-
"hiddenAliases": [
|
|
3286
|
-
"document:validate"
|
|
3287
|
-
],
|
|
3288
|
-
"id": "documents:validate",
|
|
3289
|
-
"pluginAlias": "@sanity/cli",
|
|
3290
|
-
"pluginName": "@sanity/cli",
|
|
3291
|
-
"pluginType": "core",
|
|
3292
|
-
"strict": true,
|
|
3293
|
-
"telemetry": {
|
|
3294
|
-
"redactedFlags": [
|
|
3295
|
-
{
|
|
3296
|
-
"canonical": "--file",
|
|
3297
|
-
"flags": [
|
|
3298
|
-
"--file"
|
|
3299
|
-
]
|
|
3300
|
-
}
|
|
3301
|
-
]
|
|
3302
|
-
},
|
|
3303
|
-
"isESM": true,
|
|
3304
|
-
"relativePath": [
|
|
3305
|
-
"dist",
|
|
3306
|
-
"commands",
|
|
3307
|
-
"documents",
|
|
3308
|
-
"validate.js"
|
|
3309
|
-
]
|
|
3310
|
-
},
|
|
3311
2688
|
"datasets:copy": {
|
|
3312
2689
|
"aliases": [],
|
|
3313
2690
|
"args": {
|
|
@@ -3984,98 +3361,69 @@
|
|
|
3984
3361
|
"list.js"
|
|
3985
3362
|
]
|
|
3986
3363
|
},
|
|
3987
|
-
"
|
|
3364
|
+
"docs:browse": {
|
|
3988
3365
|
"aliases": [],
|
|
3989
3366
|
"args": {},
|
|
3990
|
-
"description": "
|
|
3367
|
+
"description": "Open Sanity docs in your browser",
|
|
3368
|
+
"flags": {},
|
|
3369
|
+
"hasDynamicHelp": false,
|
|
3370
|
+
"hiddenAliases": [],
|
|
3371
|
+
"id": "docs:browse",
|
|
3372
|
+
"pluginAlias": "@sanity/cli",
|
|
3373
|
+
"pluginName": "@sanity/cli",
|
|
3374
|
+
"pluginType": "core",
|
|
3375
|
+
"strict": true,
|
|
3376
|
+
"enableJsonFlag": false,
|
|
3377
|
+
"isESM": true,
|
|
3378
|
+
"relativePath": [
|
|
3379
|
+
"dist",
|
|
3380
|
+
"commands",
|
|
3381
|
+
"docs",
|
|
3382
|
+
"browse.js"
|
|
3383
|
+
]
|
|
3384
|
+
},
|
|
3385
|
+
"docs:read": {
|
|
3386
|
+
"aliases": [],
|
|
3387
|
+
"args": {
|
|
3388
|
+
"path": {
|
|
3389
|
+
"description": "Path or URL to article, found in search results and docs content as links",
|
|
3390
|
+
"name": "path",
|
|
3391
|
+
"required": true
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
"description": "Read an article in terminal",
|
|
3991
3395
|
"examples": [
|
|
3992
3396
|
{
|
|
3993
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3994
|
-
"description": "
|
|
3397
|
+
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation",
|
|
3398
|
+
"description": "Read as markdown in terminal"
|
|
3995
3399
|
},
|
|
3996
3400
|
{
|
|
3997
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
3998
|
-
"description": "
|
|
3401
|
+
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation",
|
|
3402
|
+
"description": "Read using full URL"
|
|
3999
3403
|
},
|
|
4000
3404
|
{
|
|
4001
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4002
|
-
"description": "
|
|
3405
|
+
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation --web",
|
|
3406
|
+
"description": "Open in web browser"
|
|
4003
3407
|
},
|
|
4004
3408
|
{
|
|
4005
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4006
|
-
"description": "
|
|
3409
|
+
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation -w",
|
|
3410
|
+
"description": "Open using full URL in web browser"
|
|
4007
3411
|
}
|
|
4008
3412
|
],
|
|
4009
3413
|
"flags": {
|
|
4010
|
-
"
|
|
4011
|
-
"
|
|
4012
|
-
|
|
4013
|
-
"hasDynamicHelp": false,
|
|
4014
|
-
"multiple": true,
|
|
4015
|
-
"type": "option"
|
|
4016
|
-
},
|
|
4017
|
-
"dataset": {
|
|
4018
|
-
"char": "d",
|
|
4019
|
-
"description": "Deploy API for the given dataset",
|
|
4020
|
-
"name": "dataset",
|
|
4021
|
-
"hasDynamicHelp": false,
|
|
4022
|
-
"helpValue": "<name>",
|
|
4023
|
-
"multiple": false,
|
|
4024
|
-
"type": "option"
|
|
4025
|
-
},
|
|
4026
|
-
"dry-run": {
|
|
4027
|
-
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy",
|
|
4028
|
-
"name": "dry-run",
|
|
4029
|
-
"allowNo": false,
|
|
4030
|
-
"type": "boolean"
|
|
4031
|
-
},
|
|
4032
|
-
"force": {
|
|
4033
|
-
"description": "Deploy API without confirming breaking changes",
|
|
4034
|
-
"name": "force",
|
|
4035
|
-
"allowNo": false,
|
|
4036
|
-
"type": "boolean"
|
|
4037
|
-
},
|
|
4038
|
-
"generation": {
|
|
4039
|
-
"description": "API generation to deploy (defaults to \"gen3\")",
|
|
4040
|
-
"name": "generation",
|
|
4041
|
-
"hasDynamicHelp": false,
|
|
4042
|
-
"multiple": false,
|
|
4043
|
-
"options": [
|
|
4044
|
-
"gen1",
|
|
4045
|
-
"gen2",
|
|
4046
|
-
"gen3"
|
|
3414
|
+
"web": {
|
|
3415
|
+
"aliases": [
|
|
3416
|
+
"w"
|
|
4047
3417
|
],
|
|
4048
|
-
"
|
|
4049
|
-
|
|
4050
|
-
"non-null-document-fields": {
|
|
4051
|
-
"description": "Use non-null document fields (_id, _type etc)",
|
|
4052
|
-
"name": "non-null-document-fields",
|
|
4053
|
-
"allowNo": false,
|
|
4054
|
-
"type": "boolean"
|
|
4055
|
-
},
|
|
4056
|
-
"playground": {
|
|
4057
|
-
"description": "Enable GraphQL playground for easier debugging",
|
|
4058
|
-
"name": "playground",
|
|
4059
|
-
"allowNo": true,
|
|
4060
|
-
"type": "boolean"
|
|
4061
|
-
},
|
|
4062
|
-
"tag": {
|
|
4063
|
-
"description": "Deploy API(s) to given tag (defaults to \"default\")",
|
|
4064
|
-
"name": "tag",
|
|
4065
|
-
"hasDynamicHelp": false,
|
|
4066
|
-
"multiple": false,
|
|
4067
|
-
"type": "option"
|
|
4068
|
-
},
|
|
4069
|
-
"with-union-cache": {
|
|
4070
|
-
"description": "Cache union types (faster for schemas with many self-references)",
|
|
4071
|
-
"name": "with-union-cache",
|
|
3418
|
+
"description": "Open in a web browser",
|
|
3419
|
+
"name": "web",
|
|
4072
3420
|
"allowNo": false,
|
|
4073
3421
|
"type": "boolean"
|
|
4074
3422
|
}
|
|
4075
3423
|
},
|
|
4076
3424
|
"hasDynamicHelp": false,
|
|
4077
3425
|
"hiddenAliases": [],
|
|
4078
|
-
"id": "
|
|
3426
|
+
"id": "docs:read",
|
|
4079
3427
|
"pluginAlias": "@sanity/cli",
|
|
4080
3428
|
"pluginName": "@sanity/cli",
|
|
4081
3429
|
"pluginType": "core",
|
|
@@ -4084,43 +3432,47 @@
|
|
|
4084
3432
|
"relativePath": [
|
|
4085
3433
|
"dist",
|
|
4086
3434
|
"commands",
|
|
4087
|
-
"
|
|
4088
|
-
"
|
|
3435
|
+
"docs",
|
|
3436
|
+
"read.js"
|
|
4089
3437
|
]
|
|
4090
3438
|
},
|
|
4091
|
-
"
|
|
3439
|
+
"docs:search": {
|
|
4092
3440
|
"aliases": [],
|
|
4093
|
-
"args": {
|
|
4094
|
-
|
|
3441
|
+
"args": {
|
|
3442
|
+
"query": {
|
|
3443
|
+
"description": "Search query for documentation",
|
|
3444
|
+
"name": "query",
|
|
3445
|
+
"required": true
|
|
3446
|
+
}
|
|
3447
|
+
},
|
|
3448
|
+
"description": "Search Sanity docs",
|
|
4095
3449
|
"examples": [
|
|
4096
3450
|
{
|
|
4097
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
4098
|
-
"description": "
|
|
3451
|
+
"command": "<%= config.bin %> <%= command.id %> schema",
|
|
3452
|
+
"description": "Search for documentation about schemas"
|
|
4099
3453
|
},
|
|
4100
3454
|
{
|
|
4101
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4102
|
-
"description": "
|
|
3455
|
+
"command": "<%= config.bin %> <%= command.id %> \"groq functions\"",
|
|
3456
|
+
"description": "Search with phrase"
|
|
3457
|
+
},
|
|
3458
|
+
{
|
|
3459
|
+
"command": "<%= config.bin %> <%= command.id %> \"deployment\" --limit=5",
|
|
3460
|
+
"description": "Limit search results"
|
|
4103
3461
|
}
|
|
4104
3462
|
],
|
|
4105
3463
|
"flags": {
|
|
4106
|
-
"
|
|
4107
|
-
"
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
"char": "p",
|
|
4111
|
-
"deprecateAliases": true,
|
|
4112
|
-
"description": "Project ID to list GraphQL endpoints for (overrides CLI configuration)",
|
|
4113
|
-
"helpGroup": "OVERRIDE",
|
|
4114
|
-
"name": "project",
|
|
3464
|
+
"limit": {
|
|
3465
|
+
"description": "Maximum number of results to return",
|
|
3466
|
+
"name": "limit",
|
|
3467
|
+
"default": 10,
|
|
4115
3468
|
"hasDynamicHelp": false,
|
|
4116
|
-
"helpValue": "<id>",
|
|
4117
3469
|
"multiple": false,
|
|
4118
3470
|
"type": "option"
|
|
4119
3471
|
}
|
|
4120
3472
|
},
|
|
4121
3473
|
"hasDynamicHelp": false,
|
|
4122
3474
|
"hiddenAliases": [],
|
|
4123
|
-
"id": "
|
|
3475
|
+
"id": "docs:search",
|
|
4124
3476
|
"pluginAlias": "@sanity/cli",
|
|
4125
3477
|
"pluginName": "@sanity/cli",
|
|
4126
3478
|
"pluginType": "core",
|
|
@@ -4129,38 +3481,40 @@
|
|
|
4129
3481
|
"relativePath": [
|
|
4130
3482
|
"dist",
|
|
4131
3483
|
"commands",
|
|
4132
|
-
"
|
|
4133
|
-
"
|
|
3484
|
+
"docs",
|
|
3485
|
+
"search.js"
|
|
4134
3486
|
]
|
|
4135
3487
|
},
|
|
4136
|
-
"
|
|
3488
|
+
"documents:create": {
|
|
4137
3489
|
"aliases": [],
|
|
4138
|
-
"args": {
|
|
4139
|
-
|
|
3490
|
+
"args": {
|
|
3491
|
+
"file": {
|
|
3492
|
+
"description": "JSON file to create document(s) from",
|
|
3493
|
+
"name": "file",
|
|
3494
|
+
"required": false
|
|
3495
|
+
}
|
|
3496
|
+
},
|
|
3497
|
+
"description": "Create one or more documents",
|
|
4140
3498
|
"examples": [
|
|
4141
3499
|
{
|
|
4142
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
4143
|
-
"description": "
|
|
4144
|
-
},
|
|
4145
|
-
{
|
|
4146
|
-
"command": "<%= config.bin %> <%= command.id %> --api ios",
|
|
4147
|
-
"description": "Undeploy API with ID \"ios\""
|
|
3500
|
+
"command": "<%= config.bin %> <%= command.id %> myDocument.json",
|
|
3501
|
+
"description": "Create the document specified in \"myDocument.json\""
|
|
4148
3502
|
},
|
|
4149
3503
|
{
|
|
4150
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4151
|
-
"description": "
|
|
3504
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3505
|
+
"description": "Open configured $EDITOR and create the specified document(s)"
|
|
4152
3506
|
},
|
|
4153
3507
|
{
|
|
4154
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
4155
|
-
"description": "
|
|
3508
|
+
"command": "<%= config.bin %> <%= command.id %> --id myDocId --replace",
|
|
3509
|
+
"description": "Fetch document with the ID \"myDocId\" and open configured $EDITOR with the current document content (if any). Replace document with the edited version when the editor closes"
|
|
4156
3510
|
},
|
|
4157
3511
|
{
|
|
4158
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
4159
|
-
"description": "
|
|
3512
|
+
"command": "<%= config.bin %> <%= command.id %> --id myDocId --watch --replace --json5",
|
|
3513
|
+
"description": "Open configured $EDITOR and replace the document with the given content on each save. Use JSON5 file extension and parser for simplified syntax."
|
|
4160
3514
|
},
|
|
4161
3515
|
{
|
|
4162
|
-
"command": "<%= config.bin %> <%= command.id %> --project abc123
|
|
4163
|
-
"description": "
|
|
3516
|
+
"command": "<%= config.bin %> <%= command.id %> myDocument.json --project abc123",
|
|
3517
|
+
"description": "Create documents in a specific project"
|
|
4164
3518
|
}
|
|
4165
3519
|
],
|
|
4166
3520
|
"flags": {
|
|
@@ -4170,7 +3524,7 @@
|
|
|
4170
3524
|
],
|
|
4171
3525
|
"char": "p",
|
|
4172
3526
|
"deprecateAliases": true,
|
|
4173
|
-
"description": "Project ID to
|
|
3527
|
+
"description": "Project ID to create document(s) in (overrides CLI configuration)",
|
|
4174
3528
|
"helpGroup": "OVERRIDE",
|
|
4175
3529
|
"name": "project",
|
|
4176
3530
|
"hasDynamicHelp": false,
|
|
@@ -4178,20 +3532,9 @@
|
|
|
4178
3532
|
"multiple": false,
|
|
4179
3533
|
"type": "option"
|
|
4180
3534
|
},
|
|
4181
|
-
"api": {
|
|
4182
|
-
"description": "Undeploy API with this ID",
|
|
4183
|
-
"exclusive": [
|
|
4184
|
-
"project"
|
|
4185
|
-
],
|
|
4186
|
-
"name": "api",
|
|
4187
|
-
"required": false,
|
|
4188
|
-
"hasDynamicHelp": false,
|
|
4189
|
-
"multiple": false,
|
|
4190
|
-
"type": "option"
|
|
4191
|
-
},
|
|
4192
3535
|
"dataset": {
|
|
4193
3536
|
"char": "d",
|
|
4194
|
-
"description": "Dataset to
|
|
3537
|
+
"description": "Dataset to create document(s) in (overrides CLI configuration)",
|
|
4195
3538
|
"helpGroup": "OVERRIDE",
|
|
4196
3539
|
"name": "dataset",
|
|
4197
3540
|
"hasDynamicHelp": false,
|
|
@@ -4199,25 +3542,43 @@
|
|
|
4199
3542
|
"multiple": false,
|
|
4200
3543
|
"type": "option"
|
|
4201
3544
|
},
|
|
4202
|
-
"
|
|
4203
|
-
"description": "
|
|
4204
|
-
"name": "
|
|
4205
|
-
"allowNo": false,
|
|
4206
|
-
"type": "boolean"
|
|
4207
|
-
},
|
|
4208
|
-
"tag": {
|
|
4209
|
-
"description": "Tag to undeploy GraphQL API from",
|
|
4210
|
-
"name": "tag",
|
|
4211
|
-
"required": false,
|
|
4212
|
-
"default": "default",
|
|
3545
|
+
"id": {
|
|
3546
|
+
"description": "Specify a document ID to use. Will fetch remote document ID and populate editor.",
|
|
3547
|
+
"name": "id",
|
|
4213
3548
|
"hasDynamicHelp": false,
|
|
4214
3549
|
"multiple": false,
|
|
4215
3550
|
"type": "option"
|
|
3551
|
+
},
|
|
3552
|
+
"json5": {
|
|
3553
|
+
"description": "Use JSON5 file type to allow a \"simplified\" version of JSON",
|
|
3554
|
+
"name": "json5",
|
|
3555
|
+
"allowNo": false,
|
|
3556
|
+
"type": "boolean"
|
|
3557
|
+
},
|
|
3558
|
+
"missing": {
|
|
3559
|
+
"description": "On duplicate document IDs, don't modify the target document(s)",
|
|
3560
|
+
"name": "missing",
|
|
3561
|
+
"allowNo": false,
|
|
3562
|
+
"type": "boolean"
|
|
3563
|
+
},
|
|
3564
|
+
"replace": {
|
|
3565
|
+
"description": "On duplicate document IDs, replace existing document with specified document(s)",
|
|
3566
|
+
"name": "replace",
|
|
3567
|
+
"allowNo": false,
|
|
3568
|
+
"type": "boolean"
|
|
3569
|
+
},
|
|
3570
|
+
"watch": {
|
|
3571
|
+
"description": "Write the documents whenever the target file or buffer changes",
|
|
3572
|
+
"name": "watch",
|
|
3573
|
+
"allowNo": false,
|
|
3574
|
+
"type": "boolean"
|
|
4216
3575
|
}
|
|
4217
3576
|
},
|
|
4218
3577
|
"hasDynamicHelp": false,
|
|
4219
|
-
"hiddenAliases": [
|
|
4220
|
-
|
|
3578
|
+
"hiddenAliases": [
|
|
3579
|
+
"document:create"
|
|
3580
|
+
],
|
|
3581
|
+
"id": "documents:create",
|
|
4221
3582
|
"pluginAlias": "@sanity/cli",
|
|
4222
3583
|
"pluginName": "@sanity/cli",
|
|
4223
3584
|
"pluginType": "core",
|
|
@@ -4226,28 +3587,45 @@
|
|
|
4226
3587
|
"relativePath": [
|
|
4227
3588
|
"dist",
|
|
4228
3589
|
"commands",
|
|
4229
|
-
"
|
|
4230
|
-
"
|
|
3590
|
+
"documents",
|
|
3591
|
+
"create.js"
|
|
4231
3592
|
]
|
|
4232
3593
|
},
|
|
4233
|
-
"
|
|
3594
|
+
"documents:delete": {
|
|
4234
3595
|
"aliases": [],
|
|
4235
3596
|
"args": {
|
|
4236
|
-
"
|
|
4237
|
-
"description": "
|
|
4238
|
-
"name": "
|
|
3597
|
+
"id": {
|
|
3598
|
+
"description": "Document ID to delete",
|
|
3599
|
+
"name": "id",
|
|
4239
3600
|
"required": true
|
|
3601
|
+
},
|
|
3602
|
+
"ids": {
|
|
3603
|
+
"description": "Additional document IDs to delete",
|
|
3604
|
+
"name": "ids",
|
|
3605
|
+
"required": false
|
|
4240
3606
|
}
|
|
4241
3607
|
},
|
|
4242
|
-
"description": "
|
|
3608
|
+
"description": "Delete one or more documents from the project's configured dataset",
|
|
4243
3609
|
"examples": [
|
|
4244
3610
|
{
|
|
4245
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4246
|
-
"description": "
|
|
3611
|
+
"command": "<%= config.bin %> <%= command.id %> myDocId",
|
|
3612
|
+
"description": "Delete the document with the ID \"myDocId\""
|
|
4247
3613
|
},
|
|
4248
3614
|
{
|
|
4249
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4250
|
-
"description": "
|
|
3615
|
+
"command": "<%= config.bin %> <%= command.id %> 'myDocId'",
|
|
3616
|
+
"description": "ID wrapped in double or single quote works equally well"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"command": "<%= config.bin %> <%= command.id %> --dataset=blog someDocId",
|
|
3620
|
+
"description": "Delete document with ID \"someDocId\" from dataset \"blog\""
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"command": "<%= config.bin %> <%= command.id %> doc1 doc2",
|
|
3624
|
+
"description": "Delete the document with ID \"doc1\" and \"doc2\""
|
|
3625
|
+
},
|
|
3626
|
+
{
|
|
3627
|
+
"command": "<%= config.bin %> <%= command.id %> myDocId --project abc123",
|
|
3628
|
+
"description": "Delete a document from a specific project"
|
|
4251
3629
|
}
|
|
4252
3630
|
],
|
|
4253
3631
|
"flags": {
|
|
@@ -4257,44 +3635,68 @@
|
|
|
4257
3635
|
],
|
|
4258
3636
|
"char": "p",
|
|
4259
3637
|
"deprecateAliases": true,
|
|
4260
|
-
"description": "Project ID to
|
|
3638
|
+
"description": "Project ID to delete from (overrides CLI configuration)",
|
|
4261
3639
|
"helpGroup": "OVERRIDE",
|
|
4262
3640
|
"name": "project",
|
|
4263
3641
|
"hasDynamicHelp": false,
|
|
4264
3642
|
"helpValue": "<id>",
|
|
4265
3643
|
"multiple": false,
|
|
4266
3644
|
"type": "option"
|
|
3645
|
+
},
|
|
3646
|
+
"dataset": {
|
|
3647
|
+
"char": "d",
|
|
3648
|
+
"description": "Dataset to delete from (overrides CLI configuration)",
|
|
3649
|
+
"helpGroup": "OVERRIDE",
|
|
3650
|
+
"name": "dataset",
|
|
3651
|
+
"hasDynamicHelp": false,
|
|
3652
|
+
"helpValue": "<name>",
|
|
3653
|
+
"multiple": false,
|
|
3654
|
+
"type": "option"
|
|
4267
3655
|
}
|
|
4268
3656
|
},
|
|
4269
3657
|
"hasDynamicHelp": false,
|
|
4270
3658
|
"hiddenAliases": [
|
|
4271
|
-
"
|
|
3659
|
+
"document:delete"
|
|
4272
3660
|
],
|
|
4273
|
-
"id": "
|
|
3661
|
+
"id": "documents:delete",
|
|
4274
3662
|
"pluginAlias": "@sanity/cli",
|
|
4275
3663
|
"pluginName": "@sanity/cli",
|
|
4276
3664
|
"pluginType": "core",
|
|
4277
|
-
"strict":
|
|
3665
|
+
"strict": false,
|
|
4278
3666
|
"isESM": true,
|
|
4279
3667
|
"relativePath": [
|
|
4280
3668
|
"dist",
|
|
4281
3669
|
"commands",
|
|
4282
|
-
"
|
|
4283
|
-
"
|
|
3670
|
+
"documents",
|
|
3671
|
+
"delete.js"
|
|
4284
3672
|
]
|
|
4285
3673
|
},
|
|
4286
|
-
"
|
|
3674
|
+
"documents:get": {
|
|
4287
3675
|
"aliases": [],
|
|
4288
|
-
"args": {
|
|
4289
|
-
|
|
3676
|
+
"args": {
|
|
3677
|
+
"documentId": {
|
|
3678
|
+
"description": "Document ID to retrieve",
|
|
3679
|
+
"name": "documentId",
|
|
3680
|
+
"required": true
|
|
3681
|
+
}
|
|
3682
|
+
},
|
|
3683
|
+
"description": "Get and print a document by ID",
|
|
4290
3684
|
"examples": [
|
|
4291
3685
|
{
|
|
4292
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
4293
|
-
"description": "
|
|
3686
|
+
"command": "<%= config.bin %> <%= command.id %> myDocId",
|
|
3687
|
+
"description": "Get the document with ID \"myDocId\""
|
|
4294
3688
|
},
|
|
4295
3689
|
{
|
|
4296
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
4297
|
-
"description": "
|
|
3690
|
+
"command": "<%= config.bin %> <%= command.id %> myDocId --pretty",
|
|
3691
|
+
"description": "Get document with colorized JSON output"
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
"command": "<%= config.bin %> <%= command.id %> myDocId --dataset production",
|
|
3695
|
+
"description": "Get document from a specific dataset"
|
|
3696
|
+
},
|
|
3697
|
+
{
|
|
3698
|
+
"command": "<%= config.bin %> <%= command.id %> myDocId --project abc123",
|
|
3699
|
+
"description": "Get a document from a specific project"
|
|
4298
3700
|
}
|
|
4299
3701
|
],
|
|
4300
3702
|
"flags": {
|
|
@@ -4304,20 +3706,36 @@
|
|
|
4304
3706
|
],
|
|
4305
3707
|
"char": "p",
|
|
4306
3708
|
"deprecateAliases": true,
|
|
4307
|
-
"description": "Project ID to
|
|
3709
|
+
"description": "Project ID to get document from (overrides CLI configuration)",
|
|
4308
3710
|
"helpGroup": "OVERRIDE",
|
|
4309
3711
|
"name": "project",
|
|
4310
3712
|
"hasDynamicHelp": false,
|
|
4311
3713
|
"helpValue": "<id>",
|
|
4312
3714
|
"multiple": false,
|
|
4313
3715
|
"type": "option"
|
|
3716
|
+
},
|
|
3717
|
+
"dataset": {
|
|
3718
|
+
"char": "d",
|
|
3719
|
+
"description": "Dataset to get document from (overrides CLI configuration)",
|
|
3720
|
+
"helpGroup": "OVERRIDE",
|
|
3721
|
+
"name": "dataset",
|
|
3722
|
+
"hasDynamicHelp": false,
|
|
3723
|
+
"helpValue": "<name>",
|
|
3724
|
+
"multiple": false,
|
|
3725
|
+
"type": "option"
|
|
3726
|
+
},
|
|
3727
|
+
"pretty": {
|
|
3728
|
+
"description": "Colorize JSON output",
|
|
3729
|
+
"name": "pretty",
|
|
3730
|
+
"allowNo": false,
|
|
3731
|
+
"type": "boolean"
|
|
4314
3732
|
}
|
|
4315
3733
|
},
|
|
4316
3734
|
"hasDynamicHelp": false,
|
|
4317
3735
|
"hiddenAliases": [
|
|
4318
|
-
"
|
|
3736
|
+
"document:get"
|
|
4319
3737
|
],
|
|
4320
|
-
"id": "
|
|
3738
|
+
"id": "documents:get",
|
|
4321
3739
|
"pluginAlias": "@sanity/cli",
|
|
4322
3740
|
"pluginName": "@sanity/cli",
|
|
4323
3741
|
"pluginType": "core",
|
|
@@ -4326,32 +3744,36 @@
|
|
|
4326
3744
|
"relativePath": [
|
|
4327
3745
|
"dist",
|
|
4328
3746
|
"commands",
|
|
4329
|
-
"
|
|
4330
|
-
"
|
|
3747
|
+
"documents",
|
|
3748
|
+
"get.js"
|
|
4331
3749
|
]
|
|
4332
3750
|
},
|
|
4333
|
-
"
|
|
3751
|
+
"documents:query": {
|
|
4334
3752
|
"aliases": [],
|
|
4335
3753
|
"args": {
|
|
4336
|
-
"
|
|
4337
|
-
"description": "
|
|
4338
|
-
"name": "
|
|
4339
|
-
"required":
|
|
3754
|
+
"query": {
|
|
3755
|
+
"description": "GROQ query to run against the dataset",
|
|
3756
|
+
"name": "query",
|
|
3757
|
+
"required": true
|
|
4340
3758
|
}
|
|
4341
3759
|
},
|
|
4342
|
-
"description": "
|
|
3760
|
+
"description": "Query for documents",
|
|
4343
3761
|
"examples": [
|
|
4344
3762
|
{
|
|
4345
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
4346
|
-
"description": "
|
|
3763
|
+
"command": "<%= config.bin %> <%= command.id %> '*[_type == \"movie\"][0..4]'",
|
|
3764
|
+
"description": "Fetch 5 documents of type \"movie\""
|
|
4347
3765
|
},
|
|
4348
3766
|
{
|
|
4349
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4350
|
-
"description": "
|
|
3767
|
+
"command": "<%= config.bin %> <%= command.id %> '*[_type == \"movie\"]|order(releaseDate asc)[0]{title}' --dataset staging",
|
|
3768
|
+
"description": "Fetch title of the oldest movie in the dataset named \"staging\""
|
|
4351
3769
|
},
|
|
4352
3770
|
{
|
|
4353
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
4354
|
-
"description": "
|
|
3771
|
+
"command": "<%= config.bin %> <%= command.id %> '*[_id == \"header\"] { \"headerText\": pt::text(body) }' --api-version v2021-06-07",
|
|
3772
|
+
"description": "Use API version v2021-06-07 and do a query"
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
"command": "<%= config.bin %> <%= command.id %> '*[_type == \"post\"]' --project abc123 --dataset production",
|
|
3776
|
+
"description": "Query documents in a specific project and dataset"
|
|
4355
3777
|
}
|
|
4356
3778
|
],
|
|
4357
3779
|
"flags": {
|
|
@@ -4361,20 +3783,56 @@
|
|
|
4361
3783
|
],
|
|
4362
3784
|
"char": "p",
|
|
4363
3785
|
"deprecateAliases": true,
|
|
4364
|
-
"description": "Project ID to
|
|
3786
|
+
"description": "Project ID to query (overrides CLI configuration)",
|
|
4365
3787
|
"helpGroup": "OVERRIDE",
|
|
4366
3788
|
"name": "project",
|
|
4367
3789
|
"hasDynamicHelp": false,
|
|
4368
|
-
"helpValue": "<id>",
|
|
3790
|
+
"helpValue": "<id>",
|
|
3791
|
+
"multiple": false,
|
|
3792
|
+
"type": "option"
|
|
3793
|
+
},
|
|
3794
|
+
"dataset": {
|
|
3795
|
+
"char": "d",
|
|
3796
|
+
"description": "Dataset to query (overrides CLI configuration)",
|
|
3797
|
+
"helpGroup": "OVERRIDE",
|
|
3798
|
+
"name": "dataset",
|
|
3799
|
+
"hasDynamicHelp": false,
|
|
3800
|
+
"helpValue": "<name>",
|
|
3801
|
+
"multiple": false,
|
|
3802
|
+
"type": "option"
|
|
3803
|
+
},
|
|
3804
|
+
"with-blueprints": {
|
|
3805
|
+
"description": "Use Blueprint-aware behavior",
|
|
3806
|
+
"hidden": true,
|
|
3807
|
+
"name": "with-blueprints",
|
|
3808
|
+
"allowNo": false,
|
|
3809
|
+
"type": "boolean"
|
|
3810
|
+
},
|
|
3811
|
+
"anonymous": {
|
|
3812
|
+
"description": "Send the query without any authorization token",
|
|
3813
|
+
"name": "anonymous",
|
|
3814
|
+
"allowNo": false,
|
|
3815
|
+
"type": "boolean"
|
|
3816
|
+
},
|
|
3817
|
+
"api-version": {
|
|
3818
|
+
"description": "API version to use (defaults to 2025-08-15)",
|
|
3819
|
+
"name": "api-version",
|
|
3820
|
+
"hasDynamicHelp": false,
|
|
4369
3821
|
"multiple": false,
|
|
4370
3822
|
"type": "option"
|
|
3823
|
+
},
|
|
3824
|
+
"pretty": {
|
|
3825
|
+
"description": "Colorize JSON output",
|
|
3826
|
+
"name": "pretty",
|
|
3827
|
+
"allowNo": false,
|
|
3828
|
+
"type": "boolean"
|
|
4371
3829
|
}
|
|
4372
3830
|
},
|
|
4373
3831
|
"hasDynamicHelp": false,
|
|
4374
3832
|
"hiddenAliases": [
|
|
4375
|
-
"
|
|
3833
|
+
"document:query"
|
|
4376
3834
|
],
|
|
4377
|
-
"id": "
|
|
3835
|
+
"id": "documents:query",
|
|
4378
3836
|
"pluginAlias": "@sanity/cli",
|
|
4379
3837
|
"pluginName": "@sanity/cli",
|
|
4380
3838
|
"pluginType": "core",
|
|
@@ -4383,22 +3841,34 @@
|
|
|
4383
3841
|
"relativePath": [
|
|
4384
3842
|
"dist",
|
|
4385
3843
|
"commands",
|
|
4386
|
-
"
|
|
4387
|
-
"
|
|
3844
|
+
"documents",
|
|
3845
|
+
"query.js"
|
|
4388
3846
|
]
|
|
4389
3847
|
},
|
|
4390
|
-
"
|
|
3848
|
+
"documents:validate": {
|
|
4391
3849
|
"aliases": [],
|
|
4392
3850
|
"args": {},
|
|
4393
|
-
"description": "
|
|
3851
|
+
"description": "Validate documents in a dataset against the studio schema",
|
|
4394
3852
|
"examples": [
|
|
4395
3853
|
{
|
|
4396
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
4397
|
-
"description": "
|
|
3854
|
+
"command": "<%= config.bin %> <%= command.id %> --workspace default",
|
|
3855
|
+
"description": "Validates all documents in a Sanity project with more than one workspace"
|
|
4398
3856
|
},
|
|
4399
3857
|
{
|
|
4400
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
4401
|
-
"description": "
|
|
3858
|
+
"command": "<%= config.bin %> <%= command.id %> --workspace default --dataset staging",
|
|
3859
|
+
"description": "Override the dataset specified in the workspace"
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"command": "<%= config.bin %> <%= command.id %> --yes > report.txt",
|
|
3863
|
+
"description": "Save the results of the report into a file"
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
"command": "<%= config.bin %> <%= command.id %> --level info",
|
|
3867
|
+
"description": "Report out info level validation markers too"
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123 --dataset production",
|
|
3871
|
+
"description": "Validate documents in a specific project and dataset"
|
|
4402
3872
|
}
|
|
4403
3873
|
],
|
|
4404
3874
|
"flags": {
|
|
@@ -4408,84 +3878,204 @@
|
|
|
4408
3878
|
],
|
|
4409
3879
|
"char": "p",
|
|
4410
3880
|
"deprecateAliases": true,
|
|
4411
|
-
"description": "
|
|
4412
|
-
"helpGroup": "OVERRIDE",
|
|
3881
|
+
"description": "Override the project ID used. By default, this is derived from the given workspace",
|
|
4413
3882
|
"name": "project",
|
|
4414
3883
|
"hasDynamicHelp": false,
|
|
4415
3884
|
"helpValue": "<id>",
|
|
4416
3885
|
"multiple": false,
|
|
4417
3886
|
"type": "option"
|
|
3887
|
+
},
|
|
3888
|
+
"dataset": {
|
|
3889
|
+
"char": "d",
|
|
3890
|
+
"description": "Override the dataset used. By default, this is derived from the given workspace",
|
|
3891
|
+
"name": "dataset",
|
|
3892
|
+
"hasDynamicHelp": false,
|
|
3893
|
+
"helpValue": "<name>",
|
|
3894
|
+
"multiple": false,
|
|
3895
|
+
"type": "option"
|
|
3896
|
+
},
|
|
3897
|
+
"file": {
|
|
3898
|
+
"description": "Path to an NDJSON file or tar archive containing an NDJSON file (optionally gzip-compressed)",
|
|
3899
|
+
"name": "file",
|
|
3900
|
+
"hasDynamicHelp": false,
|
|
3901
|
+
"multiple": false,
|
|
3902
|
+
"type": "option"
|
|
3903
|
+
},
|
|
3904
|
+
"format": {
|
|
3905
|
+
"description": "The output format used to print the found validation markers and report progress",
|
|
3906
|
+
"name": "format",
|
|
3907
|
+
"hasDynamicHelp": false,
|
|
3908
|
+
"multiple": false,
|
|
3909
|
+
"options": [
|
|
3910
|
+
"json",
|
|
3911
|
+
"ndjson",
|
|
3912
|
+
"pretty"
|
|
3913
|
+
],
|
|
3914
|
+
"type": "option"
|
|
3915
|
+
},
|
|
3916
|
+
"level": {
|
|
3917
|
+
"description": "The minimum level reported. Defaults to warning",
|
|
3918
|
+
"name": "level",
|
|
3919
|
+
"default": "warning",
|
|
3920
|
+
"hasDynamicHelp": false,
|
|
3921
|
+
"multiple": false,
|
|
3922
|
+
"options": [
|
|
3923
|
+
"error",
|
|
3924
|
+
"warning",
|
|
3925
|
+
"info"
|
|
3926
|
+
],
|
|
3927
|
+
"type": "option"
|
|
3928
|
+
},
|
|
3929
|
+
"max-custom-validation-concurrency": {
|
|
3930
|
+
"description": "Specify how many custom validators can run concurrently",
|
|
3931
|
+
"name": "max-custom-validation-concurrency",
|
|
3932
|
+
"default": 5,
|
|
3933
|
+
"hasDynamicHelp": false,
|
|
3934
|
+
"multiple": false,
|
|
3935
|
+
"type": "option"
|
|
3936
|
+
},
|
|
3937
|
+
"max-fetch-concurrency": {
|
|
3938
|
+
"description": "Specify how many `client.fetch` requests are allowed to run concurrently",
|
|
3939
|
+
"name": "max-fetch-concurrency",
|
|
3940
|
+
"default": 25,
|
|
3941
|
+
"hasDynamicHelp": false,
|
|
3942
|
+
"multiple": false,
|
|
3943
|
+
"type": "option"
|
|
3944
|
+
},
|
|
3945
|
+
"workspace": {
|
|
3946
|
+
"description": "The name of the workspace to use when downloading and validating all documents",
|
|
3947
|
+
"name": "workspace",
|
|
3948
|
+
"hasDynamicHelp": false,
|
|
3949
|
+
"multiple": false,
|
|
3950
|
+
"type": "option"
|
|
3951
|
+
},
|
|
3952
|
+
"yes": {
|
|
3953
|
+
"char": "y",
|
|
3954
|
+
"description": "Skips the first confirmation prompt",
|
|
3955
|
+
"name": "yes",
|
|
3956
|
+
"allowNo": false,
|
|
3957
|
+
"type": "boolean"
|
|
4418
3958
|
}
|
|
4419
3959
|
},
|
|
4420
3960
|
"hasDynamicHelp": false,
|
|
4421
3961
|
"hiddenAliases": [
|
|
4422
|
-
"
|
|
3962
|
+
"document:validate"
|
|
4423
3963
|
],
|
|
4424
|
-
"id": "
|
|
3964
|
+
"id": "documents:validate",
|
|
4425
3965
|
"pluginAlias": "@sanity/cli",
|
|
4426
3966
|
"pluginName": "@sanity/cli",
|
|
4427
3967
|
"pluginType": "core",
|
|
4428
3968
|
"strict": true,
|
|
3969
|
+
"telemetry": {
|
|
3970
|
+
"redactedFlags": [
|
|
3971
|
+
{
|
|
3972
|
+
"canonical": "--file",
|
|
3973
|
+
"flags": [
|
|
3974
|
+
"--file"
|
|
3975
|
+
]
|
|
3976
|
+
}
|
|
3977
|
+
]
|
|
3978
|
+
},
|
|
4429
3979
|
"isESM": true,
|
|
4430
3980
|
"relativePath": [
|
|
4431
3981
|
"dist",
|
|
4432
3982
|
"commands",
|
|
4433
|
-
"
|
|
4434
|
-
"
|
|
3983
|
+
"documents",
|
|
3984
|
+
"validate.js"
|
|
4435
3985
|
]
|
|
4436
3986
|
},
|
|
4437
|
-
"
|
|
3987
|
+
"graphql:deploy": {
|
|
4438
3988
|
"aliases": [],
|
|
4439
|
-
"args": {
|
|
4440
|
-
|
|
4441
|
-
"description": "Name of the webhook to show logs for",
|
|
4442
|
-
"name": "name",
|
|
4443
|
-
"required": false
|
|
4444
|
-
}
|
|
4445
|
-
},
|
|
4446
|
-
"description": "Show log entries for project webhooks",
|
|
3989
|
+
"args": {},
|
|
3990
|
+
"description": "Deploy a GraphQL API from the current Sanity schema",
|
|
4447
3991
|
"examples": [
|
|
4448
3992
|
{
|
|
4449
3993
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
4450
|
-
"description": "
|
|
3994
|
+
"description": "Deploy all defined GraphQL APIs"
|
|
4451
3995
|
},
|
|
4452
3996
|
{
|
|
4453
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4454
|
-
"description": "
|
|
3997
|
+
"command": "<%= config.bin %> <%= command.id %> --dry-run",
|
|
3998
|
+
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy"
|
|
4455
3999
|
},
|
|
4456
4000
|
{
|
|
4457
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
4458
|
-
"description": "
|
|
4001
|
+
"command": "<%= config.bin %> <%= command.id %> --api staging --api ios",
|
|
4002
|
+
"description": "Deploy only the GraphQL APIs with the IDs \"staging\" and \"ios\""
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
"command": "<%= config.bin %> <%= command.id %> --playground",
|
|
4006
|
+
"description": "Deploy all defined GraphQL APIs, overriding any playground setting"
|
|
4459
4007
|
}
|
|
4460
4008
|
],
|
|
4461
4009
|
"flags": {
|
|
4462
|
-
"
|
|
4463
|
-
"
|
|
4464
|
-
|
|
4010
|
+
"api": {
|
|
4011
|
+
"description": "Only deploy API with this ID (can be specified multiple times)",
|
|
4012
|
+
"name": "api",
|
|
4013
|
+
"hasDynamicHelp": false,
|
|
4014
|
+
"multiple": true,
|
|
4015
|
+
"type": "option"
|
|
4016
|
+
},
|
|
4017
|
+
"dataset": {
|
|
4018
|
+
"char": "d",
|
|
4019
|
+
"description": "Deploy API for the given dataset",
|
|
4020
|
+
"name": "dataset",
|
|
4021
|
+
"hasDynamicHelp": false,
|
|
4022
|
+
"helpValue": "<name>",
|
|
4023
|
+
"multiple": false,
|
|
4024
|
+
"type": "option"
|
|
4025
|
+
},
|
|
4026
|
+
"dry-run": {
|
|
4027
|
+
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy",
|
|
4028
|
+
"name": "dry-run",
|
|
4029
|
+
"allowNo": false,
|
|
4030
|
+
"type": "boolean"
|
|
4031
|
+
},
|
|
4032
|
+
"force": {
|
|
4033
|
+
"description": "Deploy API without confirming breaking changes",
|
|
4034
|
+
"name": "force",
|
|
4035
|
+
"allowNo": false,
|
|
4036
|
+
"type": "boolean"
|
|
4037
|
+
},
|
|
4038
|
+
"generation": {
|
|
4039
|
+
"description": "API generation to deploy (defaults to \"gen3\")",
|
|
4040
|
+
"name": "generation",
|
|
4041
|
+
"hasDynamicHelp": false,
|
|
4042
|
+
"multiple": false,
|
|
4043
|
+
"options": [
|
|
4044
|
+
"gen1",
|
|
4045
|
+
"gen2",
|
|
4046
|
+
"gen3"
|
|
4465
4047
|
],
|
|
4466
|
-
"
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
"
|
|
4470
|
-
"name": "
|
|
4048
|
+
"type": "option"
|
|
4049
|
+
},
|
|
4050
|
+
"non-null-document-fields": {
|
|
4051
|
+
"description": "Use non-null document fields (_id, _type etc)",
|
|
4052
|
+
"name": "non-null-document-fields",
|
|
4053
|
+
"allowNo": false,
|
|
4054
|
+
"type": "boolean"
|
|
4055
|
+
},
|
|
4056
|
+
"playground": {
|
|
4057
|
+
"description": "Enable GraphQL playground for easier debugging",
|
|
4058
|
+
"name": "playground",
|
|
4059
|
+
"allowNo": true,
|
|
4060
|
+
"type": "boolean"
|
|
4061
|
+
},
|
|
4062
|
+
"tag": {
|
|
4063
|
+
"description": "Deploy API(s) to given tag (defaults to \"default\")",
|
|
4064
|
+
"name": "tag",
|
|
4471
4065
|
"hasDynamicHelp": false,
|
|
4472
|
-
"helpValue": "<id>",
|
|
4473
4066
|
"multiple": false,
|
|
4474
4067
|
"type": "option"
|
|
4475
4068
|
},
|
|
4476
|
-
"
|
|
4477
|
-
"description": "
|
|
4478
|
-
"name": "
|
|
4479
|
-
"required": false,
|
|
4069
|
+
"with-union-cache": {
|
|
4070
|
+
"description": "Cache union types (faster for schemas with many self-references)",
|
|
4071
|
+
"name": "with-union-cache",
|
|
4480
4072
|
"allowNo": false,
|
|
4481
4073
|
"type": "boolean"
|
|
4482
4074
|
}
|
|
4483
4075
|
},
|
|
4484
4076
|
"hasDynamicHelp": false,
|
|
4485
|
-
"hiddenAliases": [
|
|
4486
|
-
|
|
4487
|
-
],
|
|
4488
|
-
"id": "hooks:logs",
|
|
4077
|
+
"hiddenAliases": [],
|
|
4078
|
+
"id": "graphql:deploy",
|
|
4489
4079
|
"pluginAlias": "@sanity/cli",
|
|
4490
4080
|
"pluginName": "@sanity/cli",
|
|
4491
4081
|
"pluginType": "core",
|
|
@@ -4494,73 +4084,140 @@
|
|
|
4494
4084
|
"relativePath": [
|
|
4495
4085
|
"dist",
|
|
4496
4086
|
"commands",
|
|
4497
|
-
"
|
|
4498
|
-
"
|
|
4087
|
+
"graphql",
|
|
4088
|
+
"deploy.js"
|
|
4499
4089
|
]
|
|
4500
4090
|
},
|
|
4501
|
-
"
|
|
4091
|
+
"graphql:list": {
|
|
4502
4092
|
"aliases": [],
|
|
4503
4093
|
"args": {},
|
|
4504
|
-
"description": "
|
|
4094
|
+
"description": "List deployed GraphQL endpoints for the project",
|
|
4505
4095
|
"examples": [
|
|
4506
4096
|
{
|
|
4507
4097
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
4508
|
-
"description": "
|
|
4098
|
+
"description": "List GraphQL endpoints for the project"
|
|
4509
4099
|
},
|
|
4510
4100
|
{
|
|
4511
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
4512
|
-
"description": "
|
|
4101
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
4102
|
+
"description": "List GraphQL endpoints for a specific project"
|
|
4513
4103
|
}
|
|
4514
4104
|
],
|
|
4515
4105
|
"flags": {
|
|
4516
|
-
"
|
|
4517
|
-
"
|
|
4518
|
-
|
|
4519
|
-
|
|
4106
|
+
"project": {
|
|
4107
|
+
"aliases": [
|
|
4108
|
+
"project-id"
|
|
4109
|
+
],
|
|
4110
|
+
"char": "p",
|
|
4111
|
+
"deprecateAliases": true,
|
|
4112
|
+
"description": "Project ID to list GraphQL endpoints for (overrides CLI configuration)",
|
|
4113
|
+
"helpGroup": "OVERRIDE",
|
|
4114
|
+
"name": "project",
|
|
4520
4115
|
"hasDynamicHelp": false,
|
|
4116
|
+
"helpValue": "<id>",
|
|
4521
4117
|
"multiple": false,
|
|
4522
4118
|
"type": "option"
|
|
4523
4119
|
}
|
|
4524
4120
|
},
|
|
4525
4121
|
"hasDynamicHelp": false,
|
|
4526
4122
|
"hiddenAliases": [],
|
|
4527
|
-
"id": "
|
|
4123
|
+
"id": "graphql:list",
|
|
4528
4124
|
"pluginAlias": "@sanity/cli",
|
|
4529
4125
|
"pluginName": "@sanity/cli",
|
|
4530
4126
|
"pluginType": "core",
|
|
4531
4127
|
"strict": true,
|
|
4532
|
-
"telemetry": {
|
|
4533
|
-
"redactedFlags": [
|
|
4534
|
-
{
|
|
4535
|
-
"canonical": "--path",
|
|
4536
|
-
"flags": [
|
|
4537
|
-
"--path"
|
|
4538
|
-
]
|
|
4539
|
-
}
|
|
4540
|
-
]
|
|
4541
|
-
},
|
|
4542
4128
|
"isESM": true,
|
|
4543
4129
|
"relativePath": [
|
|
4544
4130
|
"dist",
|
|
4545
4131
|
"commands",
|
|
4546
|
-
"
|
|
4547
|
-
"
|
|
4132
|
+
"graphql",
|
|
4133
|
+
"list.js"
|
|
4548
4134
|
]
|
|
4549
4135
|
},
|
|
4550
|
-
"
|
|
4136
|
+
"graphql:undeploy": {
|
|
4551
4137
|
"aliases": [],
|
|
4552
4138
|
"args": {},
|
|
4553
|
-
"description": "
|
|
4139
|
+
"description": "Remove a deployed GraphQL API",
|
|
4554
4140
|
"examples": [
|
|
4555
4141
|
{
|
|
4556
4142
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
4557
|
-
"description": "
|
|
4143
|
+
"description": "Undeploy GraphQL API for current project and dataset"
|
|
4144
|
+
},
|
|
4145
|
+
{
|
|
4146
|
+
"command": "<%= config.bin %> <%= command.id %> --api ios",
|
|
4147
|
+
"description": "Undeploy API with ID \"ios\""
|
|
4148
|
+
},
|
|
4149
|
+
{
|
|
4150
|
+
"command": "<%= config.bin %> <%= command.id %> --dataset staging",
|
|
4151
|
+
"description": "Undeploy GraphQL API for staging dataset"
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
"command": "<%= config.bin %> <%= command.id %> --dataset staging --tag next",
|
|
4155
|
+
"description": "Undeploy GraphQL API for staging dataset with \"next\" tag"
|
|
4156
|
+
},
|
|
4157
|
+
{
|
|
4158
|
+
"command": "<%= config.bin %> <%= command.id %> --force",
|
|
4159
|
+
"description": "Undeploy GraphQL API without confirmation prompt"
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123 --dataset production",
|
|
4163
|
+
"description": "Undeploy GraphQL API for a specific project and dataset"
|
|
4558
4164
|
}
|
|
4559
4165
|
],
|
|
4560
|
-
"flags": {
|
|
4166
|
+
"flags": {
|
|
4167
|
+
"project": {
|
|
4168
|
+
"aliases": [
|
|
4169
|
+
"project-id"
|
|
4170
|
+
],
|
|
4171
|
+
"char": "p",
|
|
4172
|
+
"deprecateAliases": true,
|
|
4173
|
+
"description": "Project ID to undeploy GraphQL API from (overrides CLI configuration)",
|
|
4174
|
+
"helpGroup": "OVERRIDE",
|
|
4175
|
+
"name": "project",
|
|
4176
|
+
"hasDynamicHelp": false,
|
|
4177
|
+
"helpValue": "<id>",
|
|
4178
|
+
"multiple": false,
|
|
4179
|
+
"type": "option"
|
|
4180
|
+
},
|
|
4181
|
+
"api": {
|
|
4182
|
+
"description": "Undeploy API with this ID",
|
|
4183
|
+
"exclusive": [
|
|
4184
|
+
"project"
|
|
4185
|
+
],
|
|
4186
|
+
"name": "api",
|
|
4187
|
+
"required": false,
|
|
4188
|
+
"hasDynamicHelp": false,
|
|
4189
|
+
"multiple": false,
|
|
4190
|
+
"type": "option"
|
|
4191
|
+
},
|
|
4192
|
+
"dataset": {
|
|
4193
|
+
"char": "d",
|
|
4194
|
+
"description": "Dataset to undeploy GraphQL API from (overrides CLI configuration)",
|
|
4195
|
+
"helpGroup": "OVERRIDE",
|
|
4196
|
+
"name": "dataset",
|
|
4197
|
+
"hasDynamicHelp": false,
|
|
4198
|
+
"helpValue": "<name>",
|
|
4199
|
+
"multiple": false,
|
|
4200
|
+
"type": "option"
|
|
4201
|
+
},
|
|
4202
|
+
"force": {
|
|
4203
|
+
"description": "Skip confirmation prompt",
|
|
4204
|
+
"name": "force",
|
|
4205
|
+
"allowNo": false,
|
|
4206
|
+
"type": "boolean"
|
|
4207
|
+
},
|
|
4208
|
+
"tag": {
|
|
4209
|
+
"description": "Tag to undeploy GraphQL API from",
|
|
4210
|
+
"name": "tag",
|
|
4211
|
+
"required": false,
|
|
4212
|
+
"default": "default",
|
|
4213
|
+
"hasDynamicHelp": false,
|
|
4214
|
+
"multiple": false,
|
|
4215
|
+
"type": "option"
|
|
4216
|
+
}
|
|
4217
|
+
},
|
|
4561
4218
|
"hasDynamicHelp": false,
|
|
4562
4219
|
"hiddenAliases": [],
|
|
4563
|
-
"id": "
|
|
4220
|
+
"id": "graphql:undeploy",
|
|
4564
4221
|
"pluginAlias": "@sanity/cli",
|
|
4565
4222
|
"pluginName": "@sanity/cli",
|
|
4566
4223
|
"pluginType": "core",
|
|
@@ -4569,62 +4226,51 @@
|
|
|
4569
4226
|
"relativePath": [
|
|
4570
4227
|
"dist",
|
|
4571
4228
|
"commands",
|
|
4572
|
-
"
|
|
4573
|
-
"
|
|
4229
|
+
"graphql",
|
|
4230
|
+
"undeploy.js"
|
|
4574
4231
|
]
|
|
4575
4232
|
},
|
|
4576
|
-
"
|
|
4233
|
+
"hooks:attempt": {
|
|
4577
4234
|
"aliases": [],
|
|
4578
4235
|
"args": {
|
|
4579
|
-
"
|
|
4580
|
-
"description": "
|
|
4581
|
-
"name": "
|
|
4236
|
+
"attemptId": {
|
|
4237
|
+
"description": "The delivery attempt ID to get details for",
|
|
4238
|
+
"name": "attemptId",
|
|
4582
4239
|
"required": true
|
|
4583
4240
|
}
|
|
4584
4241
|
},
|
|
4585
|
-
"description": "
|
|
4242
|
+
"description": "Print details of a given webhook delivery attempt",
|
|
4586
4243
|
"examples": [
|
|
4587
4244
|
{
|
|
4588
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4589
|
-
"description": "
|
|
4590
|
-
},
|
|
4591
|
-
{
|
|
4592
|
-
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
4593
|
-
"description": "Get specification in JSON format"
|
|
4594
|
-
},
|
|
4595
|
-
{
|
|
4596
|
-
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
4597
|
-
"description": "Open specification in browser"
|
|
4245
|
+
"command": "<%= config.bin %> <%= command.id %> abc123",
|
|
4246
|
+
"description": "Print details of webhook delivery attempt with ID abc123"
|
|
4598
4247
|
},
|
|
4599
4248
|
{
|
|
4600
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4601
|
-
"description": "
|
|
4249
|
+
"command": "<%= config.bin %> <%= command.id %> abc123 --project projectId",
|
|
4250
|
+
"description": "Get attempt details for a specific project"
|
|
4602
4251
|
}
|
|
4603
4252
|
],
|
|
4604
4253
|
"flags": {
|
|
4605
|
-
"
|
|
4606
|
-
"
|
|
4607
|
-
|
|
4608
|
-
|
|
4254
|
+
"project": {
|
|
4255
|
+
"aliases": [
|
|
4256
|
+
"project-id"
|
|
4257
|
+
],
|
|
4258
|
+
"char": "p",
|
|
4259
|
+
"deprecateAliases": true,
|
|
4260
|
+
"description": "Project ID to view webhook attempt for (overrides CLI configuration)",
|
|
4261
|
+
"helpGroup": "OVERRIDE",
|
|
4262
|
+
"name": "project",
|
|
4609
4263
|
"hasDynamicHelp": false,
|
|
4264
|
+
"helpValue": "<id>",
|
|
4610
4265
|
"multiple": false,
|
|
4611
|
-
"options": [
|
|
4612
|
-
"yaml",
|
|
4613
|
-
"json"
|
|
4614
|
-
],
|
|
4615
4266
|
"type": "option"
|
|
4616
|
-
},
|
|
4617
|
-
"web": {
|
|
4618
|
-
"char": "w",
|
|
4619
|
-
"description": "Open in web browser",
|
|
4620
|
-
"name": "web",
|
|
4621
|
-
"allowNo": false,
|
|
4622
|
-
"type": "boolean"
|
|
4623
4267
|
}
|
|
4624
4268
|
},
|
|
4625
4269
|
"hasDynamicHelp": false,
|
|
4626
|
-
"hiddenAliases": [
|
|
4627
|
-
|
|
4270
|
+
"hiddenAliases": [
|
|
4271
|
+
"hook:attempt"
|
|
4272
|
+
],
|
|
4273
|
+
"id": "hooks:attempt",
|
|
4628
4274
|
"pluginAlias": "@sanity/cli",
|
|
4629
4275
|
"pluginName": "@sanity/cli",
|
|
4630
4276
|
"pluginType": "core",
|
|
@@ -4633,86 +4279,102 @@
|
|
|
4633
4279
|
"relativePath": [
|
|
4634
4280
|
"dist",
|
|
4635
4281
|
"commands",
|
|
4636
|
-
"
|
|
4637
|
-
"
|
|
4282
|
+
"hooks",
|
|
4283
|
+
"attempt.js"
|
|
4638
4284
|
]
|
|
4639
4285
|
},
|
|
4640
|
-
"
|
|
4286
|
+
"hooks:create": {
|
|
4641
4287
|
"aliases": [],
|
|
4642
4288
|
"args": {},
|
|
4643
|
-
"description": "
|
|
4289
|
+
"description": "Create a new webhook for the project",
|
|
4644
4290
|
"examples": [
|
|
4645
4291
|
{
|
|
4646
4292
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
4647
|
-
"description": "
|
|
4648
|
-
},
|
|
4649
|
-
{
|
|
4650
|
-
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
4651
|
-
"description": "List with JSON output"
|
|
4293
|
+
"description": "Create a new webhook for the project"
|
|
4652
4294
|
},
|
|
4653
4295
|
{
|
|
4654
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
4655
|
-
"description": "
|
|
4296
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
4297
|
+
"description": "Create a webhook for a specific project"
|
|
4656
4298
|
}
|
|
4657
4299
|
],
|
|
4658
4300
|
"flags": {
|
|
4659
|
-
"
|
|
4660
|
-
"
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
"
|
|
4664
|
-
"
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
"
|
|
4668
|
-
"
|
|
4669
|
-
"
|
|
4670
|
-
"
|
|
4671
|
-
"type": "
|
|
4301
|
+
"project": {
|
|
4302
|
+
"aliases": [
|
|
4303
|
+
"project-id"
|
|
4304
|
+
],
|
|
4305
|
+
"char": "p",
|
|
4306
|
+
"deprecateAliases": true,
|
|
4307
|
+
"description": "Project ID to create webhook for (overrides CLI configuration)",
|
|
4308
|
+
"helpGroup": "OVERRIDE",
|
|
4309
|
+
"name": "project",
|
|
4310
|
+
"hasDynamicHelp": false,
|
|
4311
|
+
"helpValue": "<id>",
|
|
4312
|
+
"multiple": false,
|
|
4313
|
+
"type": "option"
|
|
4672
4314
|
}
|
|
4673
4315
|
},
|
|
4674
4316
|
"hasDynamicHelp": false,
|
|
4675
|
-
"hiddenAliases": [
|
|
4676
|
-
|
|
4317
|
+
"hiddenAliases": [
|
|
4318
|
+
"hook:create"
|
|
4319
|
+
],
|
|
4320
|
+
"id": "hooks:create",
|
|
4677
4321
|
"pluginAlias": "@sanity/cli",
|
|
4678
4322
|
"pluginName": "@sanity/cli",
|
|
4679
4323
|
"pluginType": "core",
|
|
4680
4324
|
"strict": true,
|
|
4681
|
-
"enableJsonFlag": true,
|
|
4682
4325
|
"isESM": true,
|
|
4683
4326
|
"relativePath": [
|
|
4684
4327
|
"dist",
|
|
4685
4328
|
"commands",
|
|
4686
|
-
"
|
|
4687
|
-
"
|
|
4329
|
+
"hooks",
|
|
4330
|
+
"create.js"
|
|
4688
4331
|
]
|
|
4689
4332
|
},
|
|
4690
|
-
"
|
|
4333
|
+
"hooks:delete": {
|
|
4691
4334
|
"aliases": [],
|
|
4692
4335
|
"args": {
|
|
4693
|
-
"
|
|
4694
|
-
"description": "
|
|
4695
|
-
"name": "
|
|
4336
|
+
"name": {
|
|
4337
|
+
"description": "Name of webhook to delete (will prompt if not provided)",
|
|
4338
|
+
"name": "name",
|
|
4696
4339
|
"required": false
|
|
4697
4340
|
}
|
|
4698
4341
|
},
|
|
4699
|
-
"description": "
|
|
4342
|
+
"description": "Delete a webhook from the project",
|
|
4700
4343
|
"examples": [
|
|
4701
4344
|
{
|
|
4702
4345
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
4703
|
-
"description": "
|
|
4346
|
+
"description": "Interactively select and delete a webhook"
|
|
4704
4347
|
},
|
|
4705
4348
|
{
|
|
4706
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4707
|
-
"description": "
|
|
4349
|
+
"command": "<%= config.bin %> <%= command.id %> my-hook",
|
|
4350
|
+
"description": "Delete a specific webhook by name"
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
4354
|
+
"description": "Delete a webhook from a specific project"
|
|
4708
4355
|
}
|
|
4709
4356
|
],
|
|
4710
|
-
"flags": {
|
|
4357
|
+
"flags": {
|
|
4358
|
+
"project": {
|
|
4359
|
+
"aliases": [
|
|
4360
|
+
"project-id"
|
|
4361
|
+
],
|
|
4362
|
+
"char": "p",
|
|
4363
|
+
"deprecateAliases": true,
|
|
4364
|
+
"description": "Project ID to delete webhook from (overrides CLI configuration)",
|
|
4365
|
+
"helpGroup": "OVERRIDE",
|
|
4366
|
+
"name": "project",
|
|
4367
|
+
"hasDynamicHelp": false,
|
|
4368
|
+
"helpValue": "<id>",
|
|
4369
|
+
"multiple": false,
|
|
4370
|
+
"type": "option"
|
|
4371
|
+
}
|
|
4372
|
+
},
|
|
4711
4373
|
"hasDynamicHelp": false,
|
|
4712
4374
|
"hiddenAliases": [
|
|
4713
|
-
"
|
|
4375
|
+
"hook:delete"
|
|
4714
4376
|
],
|
|
4715
|
-
"id": "
|
|
4377
|
+
"id": "hooks:delete",
|
|
4716
4378
|
"pluginAlias": "@sanity/cli",
|
|
4717
4379
|
"pluginName": "@sanity/cli",
|
|
4718
4380
|
"pluginType": "core",
|
|
@@ -4721,26 +4383,45 @@
|
|
|
4721
4383
|
"relativePath": [
|
|
4722
4384
|
"dist",
|
|
4723
4385
|
"commands",
|
|
4724
|
-
"
|
|
4725
|
-
"
|
|
4386
|
+
"hooks",
|
|
4387
|
+
"delete.js"
|
|
4726
4388
|
]
|
|
4727
4389
|
},
|
|
4728
|
-
"
|
|
4390
|
+
"hooks:list": {
|
|
4729
4391
|
"aliases": [],
|
|
4730
4392
|
"args": {},
|
|
4731
|
-
"description": "List
|
|
4393
|
+
"description": "List webhooks for the project",
|
|
4732
4394
|
"examples": [
|
|
4733
4395
|
{
|
|
4734
4396
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
4735
|
-
"description": "List
|
|
4397
|
+
"description": "List webhooks for the project"
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
4401
|
+
"description": "List webhooks for a specific project"
|
|
4736
4402
|
}
|
|
4737
4403
|
],
|
|
4738
|
-
"flags": {
|
|
4404
|
+
"flags": {
|
|
4405
|
+
"project": {
|
|
4406
|
+
"aliases": [
|
|
4407
|
+
"project-id"
|
|
4408
|
+
],
|
|
4409
|
+
"char": "p",
|
|
4410
|
+
"deprecateAliases": true,
|
|
4411
|
+
"description": "Project ID to list webhooks for (overrides CLI configuration)",
|
|
4412
|
+
"helpGroup": "OVERRIDE",
|
|
4413
|
+
"name": "project",
|
|
4414
|
+
"hasDynamicHelp": false,
|
|
4415
|
+
"helpValue": "<id>",
|
|
4416
|
+
"multiple": false,
|
|
4417
|
+
"type": "option"
|
|
4418
|
+
}
|
|
4419
|
+
},
|
|
4739
4420
|
"hasDynamicHelp": false,
|
|
4740
4421
|
"hiddenAliases": [
|
|
4741
|
-
"
|
|
4422
|
+
"hook:list"
|
|
4742
4423
|
],
|
|
4743
|
-
"id": "
|
|
4424
|
+
"id": "hooks:list",
|
|
4744
4425
|
"pluginAlias": "@sanity/cli",
|
|
4745
4426
|
"pluginName": "@sanity/cli",
|
|
4746
4427
|
"pluginType": "core",
|
|
@@ -4749,102 +4430,101 @@
|
|
|
4749
4430
|
"relativePath": [
|
|
4750
4431
|
"dist",
|
|
4751
4432
|
"commands",
|
|
4752
|
-
"
|
|
4433
|
+
"hooks",
|
|
4753
4434
|
"list.js"
|
|
4754
4435
|
]
|
|
4755
4436
|
},
|
|
4756
|
-
"
|
|
4437
|
+
"hooks:logs": {
|
|
4757
4438
|
"aliases": [],
|
|
4758
4439
|
"args": {
|
|
4759
|
-
"
|
|
4760
|
-
"description": "
|
|
4761
|
-
"name": "
|
|
4440
|
+
"name": {
|
|
4441
|
+
"description": "Name of the webhook to show logs for",
|
|
4442
|
+
"name": "name",
|
|
4762
4443
|
"required": false
|
|
4763
4444
|
}
|
|
4764
4445
|
},
|
|
4765
|
-
"description": "
|
|
4446
|
+
"description": "Show log entries for project webhooks",
|
|
4766
4447
|
"examples": [
|
|
4767
4448
|
{
|
|
4768
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4769
|
-
"description": "
|
|
4449
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
4450
|
+
"description": "Show log entries for project webhooks"
|
|
4770
4451
|
},
|
|
4771
4452
|
{
|
|
4772
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4773
|
-
"description": "
|
|
4453
|
+
"command": "<%= config.bin %> <%= command.id %> [NAME]",
|
|
4454
|
+
"description": "Show log entries for a specific webhook by name"
|
|
4774
4455
|
},
|
|
4775
4456
|
{
|
|
4776
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
4777
|
-
"description": "
|
|
4457
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
4458
|
+
"description": "Show log entries for a specific project"
|
|
4778
4459
|
}
|
|
4779
4460
|
],
|
|
4780
4461
|
"flags": {
|
|
4781
|
-
"api-version": {
|
|
4782
|
-
"description": "API version to use when migrating. Defaults to v2024-01-29.",
|
|
4783
|
-
"name": "api-version",
|
|
4784
|
-
"hasDynamicHelp": false,
|
|
4785
|
-
"multiple": false,
|
|
4786
|
-
"type": "option"
|
|
4787
|
-
},
|
|
4788
|
-
"concurrency": {
|
|
4789
|
-
"description": "How many mutation requests to run in parallel. Must be between 1 and 10. Default: 6.",
|
|
4790
|
-
"name": "concurrency",
|
|
4791
|
-
"default": 6,
|
|
4792
|
-
"hasDynamicHelp": false,
|
|
4793
|
-
"multiple": false,
|
|
4794
|
-
"type": "option"
|
|
4795
|
-
},
|
|
4796
|
-
"confirm": {
|
|
4797
|
-
"description": "Prompt for confirmation before running the migration (default: true). Use --no-confirm to skip.",
|
|
4798
|
-
"name": "confirm",
|
|
4799
|
-
"allowNo": true,
|
|
4800
|
-
"type": "boolean"
|
|
4801
|
-
},
|
|
4802
|
-
"dataset": {
|
|
4803
|
-
"description": "Dataset to migrate. Defaults to the dataset configured in your Sanity CLI config.",
|
|
4804
|
-
"name": "dataset",
|
|
4805
|
-
"hasDynamicHelp": false,
|
|
4806
|
-
"multiple": false,
|
|
4807
|
-
"type": "option"
|
|
4808
|
-
},
|
|
4809
|
-
"dry-run": {
|
|
4810
|
-
"description": "By default the migration runs in dry mode. Use --no-dry-run to migrate dataset.",
|
|
4811
|
-
"name": "dry-run",
|
|
4812
|
-
"allowNo": true,
|
|
4813
|
-
"type": "boolean"
|
|
4814
|
-
},
|
|
4815
|
-
"from-export": {
|
|
4816
|
-
"description": "Use a local dataset export as source for migration instead of calling the Sanity API. Note: this is only supported for dry runs.",
|
|
4817
|
-
"name": "from-export",
|
|
4818
|
-
"hasDynamicHelp": false,
|
|
4819
|
-
"multiple": false,
|
|
4820
|
-
"type": "option"
|
|
4821
|
-
},
|
|
4822
|
-
"progress": {
|
|
4823
|
-
"description": "Display progress during migration (default: true). Use --no-progress to hide output.",
|
|
4824
|
-
"name": "progress",
|
|
4825
|
-
"allowNo": true,
|
|
4826
|
-
"type": "boolean"
|
|
4827
|
-
},
|
|
4828
4462
|
"project": {
|
|
4829
4463
|
"aliases": [
|
|
4830
4464
|
"project-id"
|
|
4831
4465
|
],
|
|
4832
4466
|
"char": "p",
|
|
4833
4467
|
"deprecateAliases": true,
|
|
4834
|
-
"description": "Project ID
|
|
4468
|
+
"description": "Project ID to view webhook logs for (overrides CLI configuration)",
|
|
4835
4469
|
"helpGroup": "OVERRIDE",
|
|
4836
4470
|
"name": "project",
|
|
4837
4471
|
"hasDynamicHelp": false,
|
|
4838
4472
|
"helpValue": "<id>",
|
|
4839
4473
|
"multiple": false,
|
|
4840
4474
|
"type": "option"
|
|
4475
|
+
},
|
|
4476
|
+
"detailed": {
|
|
4477
|
+
"description": "Include detailed payload and attempts",
|
|
4478
|
+
"name": "detailed",
|
|
4479
|
+
"required": false,
|
|
4480
|
+
"allowNo": false,
|
|
4481
|
+
"type": "boolean"
|
|
4841
4482
|
}
|
|
4842
4483
|
},
|
|
4843
4484
|
"hasDynamicHelp": false,
|
|
4844
4485
|
"hiddenAliases": [
|
|
4845
|
-
"
|
|
4486
|
+
"hook:logs"
|
|
4846
4487
|
],
|
|
4847
|
-
"id": "
|
|
4488
|
+
"id": "hooks:logs",
|
|
4489
|
+
"pluginAlias": "@sanity/cli",
|
|
4490
|
+
"pluginName": "@sanity/cli",
|
|
4491
|
+
"pluginType": "core",
|
|
4492
|
+
"strict": true,
|
|
4493
|
+
"isESM": true,
|
|
4494
|
+
"relativePath": [
|
|
4495
|
+
"dist",
|
|
4496
|
+
"commands",
|
|
4497
|
+
"hooks",
|
|
4498
|
+
"logs.js"
|
|
4499
|
+
]
|
|
4500
|
+
},
|
|
4501
|
+
"manifest:extract": {
|
|
4502
|
+
"aliases": [],
|
|
4503
|
+
"args": {},
|
|
4504
|
+
"description": "Extract studio configuration as JSON manifest files.\n\nNote: This command is experimental and subject to change. It is currently intended for use with Create only.",
|
|
4505
|
+
"examples": [
|
|
4506
|
+
{
|
|
4507
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
4508
|
+
"description": "Extracts manifests"
|
|
4509
|
+
},
|
|
4510
|
+
{
|
|
4511
|
+
"command": "<%= config.bin %> <%= command.id %> --path /public/static",
|
|
4512
|
+
"description": "Extracts manifests into /public/static"
|
|
4513
|
+
}
|
|
4514
|
+
],
|
|
4515
|
+
"flags": {
|
|
4516
|
+
"path": {
|
|
4517
|
+
"description": "Optional path to specify destination directory of the manifest files",
|
|
4518
|
+
"name": "path",
|
|
4519
|
+
"default": "dist/static",
|
|
4520
|
+
"hasDynamicHelp": false,
|
|
4521
|
+
"multiple": false,
|
|
4522
|
+
"type": "option"
|
|
4523
|
+
}
|
|
4524
|
+
},
|
|
4525
|
+
"hasDynamicHelp": false,
|
|
4526
|
+
"hiddenAliases": [],
|
|
4527
|
+
"id": "manifest:extract",
|
|
4848
4528
|
"pluginAlias": "@sanity/cli",
|
|
4849
4529
|
"pluginName": "@sanity/cli",
|
|
4850
4530
|
"pluginType": "core",
|
|
@@ -4852,9 +4532,9 @@
|
|
|
4852
4532
|
"telemetry": {
|
|
4853
4533
|
"redactedFlags": [
|
|
4854
4534
|
{
|
|
4855
|
-
"canonical": "--
|
|
4535
|
+
"canonical": "--path",
|
|
4856
4536
|
"flags": [
|
|
4857
|
-
"--
|
|
4537
|
+
"--path"
|
|
4858
4538
|
]
|
|
4859
4539
|
}
|
|
4860
4540
|
]
|
|
@@ -4863,8 +4543,34 @@
|
|
|
4863
4543
|
"relativePath": [
|
|
4864
4544
|
"dist",
|
|
4865
4545
|
"commands",
|
|
4866
|
-
"
|
|
4867
|
-
"
|
|
4546
|
+
"manifest",
|
|
4547
|
+
"extract.js"
|
|
4548
|
+
]
|
|
4549
|
+
},
|
|
4550
|
+
"mcp:configure": {
|
|
4551
|
+
"aliases": [],
|
|
4552
|
+
"args": {},
|
|
4553
|
+
"description": "Configure Sanity MCP server for AI editors (Antigravity, Claude Code, Cline, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, MCPorter, OpenCode, Pi, VS Code, VS Code Insiders, Zed)",
|
|
4554
|
+
"examples": [
|
|
4555
|
+
{
|
|
4556
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
4557
|
+
"description": "Configure Sanity MCP server for detected AI editors"
|
|
4558
|
+
}
|
|
4559
|
+
],
|
|
4560
|
+
"flags": {},
|
|
4561
|
+
"hasDynamicHelp": false,
|
|
4562
|
+
"hiddenAliases": [],
|
|
4563
|
+
"id": "mcp:configure",
|
|
4564
|
+
"pluginAlias": "@sanity/cli",
|
|
4565
|
+
"pluginName": "@sanity/cli",
|
|
4566
|
+
"pluginType": "core",
|
|
4567
|
+
"strict": true,
|
|
4568
|
+
"isESM": true,
|
|
4569
|
+
"relativePath": [
|
|
4570
|
+
"dist",
|
|
4571
|
+
"commands",
|
|
4572
|
+
"mcp",
|
|
4573
|
+
"configure.js"
|
|
4868
4574
|
]
|
|
4869
4575
|
},
|
|
4870
4576
|
"media:create-aspect": {
|
|
@@ -5333,135 +5039,201 @@
|
|
|
5333
5039
|
"allowNo": true,
|
|
5334
5040
|
"type": "boolean"
|
|
5335
5041
|
}
|
|
5336
|
-
},
|
|
5042
|
+
},
|
|
5043
|
+
"hasDynamicHelp": false,
|
|
5044
|
+
"hidden": true,
|
|
5045
|
+
"hiddenAliases": [],
|
|
5046
|
+
"id": "media:pull-aspects",
|
|
5047
|
+
"pluginAlias": "@sanity/cli",
|
|
5048
|
+
"pluginName": "@sanity/cli",
|
|
5049
|
+
"pluginType": "core",
|
|
5050
|
+
"strict": true,
|
|
5051
|
+
"telemetry": {
|
|
5052
|
+
"redactedFlags": [
|
|
5053
|
+
{
|
|
5054
|
+
"canonical": "--out-dir",
|
|
5055
|
+
"flags": [
|
|
5056
|
+
"--out-dir"
|
|
5057
|
+
]
|
|
5058
|
+
}
|
|
5059
|
+
]
|
|
5060
|
+
},
|
|
5061
|
+
"isESM": true,
|
|
5062
|
+
"relativePath": [
|
|
5063
|
+
"dist",
|
|
5064
|
+
"commands",
|
|
5065
|
+
"media",
|
|
5066
|
+
"pull-aspects.js"
|
|
5067
|
+
]
|
|
5068
|
+
},
|
|
5069
|
+
"migrations:create": {
|
|
5070
|
+
"aliases": [],
|
|
5071
|
+
"args": {
|
|
5072
|
+
"title": {
|
|
5073
|
+
"description": "Title of migration",
|
|
5074
|
+
"name": "title",
|
|
5075
|
+
"required": false
|
|
5076
|
+
}
|
|
5077
|
+
},
|
|
5078
|
+
"description": "Create a new migration within your project",
|
|
5079
|
+
"examples": [
|
|
5080
|
+
{
|
|
5081
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5082
|
+
"description": "Create a new migration, prompting for title and options"
|
|
5083
|
+
},
|
|
5084
|
+
{
|
|
5085
|
+
"command": "<%= config.bin %> <%= command.id %> \"Rename field from location to address\"",
|
|
5086
|
+
"description": "Create a new migration with the provided title, prompting for options"
|
|
5087
|
+
}
|
|
5088
|
+
],
|
|
5089
|
+
"flags": {},
|
|
5090
|
+
"hasDynamicHelp": false,
|
|
5091
|
+
"hiddenAliases": [
|
|
5092
|
+
"migration:create"
|
|
5093
|
+
],
|
|
5094
|
+
"id": "migrations:create",
|
|
5095
|
+
"pluginAlias": "@sanity/cli",
|
|
5096
|
+
"pluginName": "@sanity/cli",
|
|
5097
|
+
"pluginType": "core",
|
|
5098
|
+
"strict": true,
|
|
5099
|
+
"isESM": true,
|
|
5100
|
+
"relativePath": [
|
|
5101
|
+
"dist",
|
|
5102
|
+
"commands",
|
|
5103
|
+
"migrations",
|
|
5104
|
+
"create.js"
|
|
5105
|
+
]
|
|
5106
|
+
},
|
|
5107
|
+
"migrations:list": {
|
|
5108
|
+
"aliases": [],
|
|
5109
|
+
"args": {},
|
|
5110
|
+
"description": "List available migrations",
|
|
5111
|
+
"examples": [
|
|
5112
|
+
{
|
|
5113
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5114
|
+
"description": "List all available migrations in the project"
|
|
5115
|
+
}
|
|
5116
|
+
],
|
|
5117
|
+
"flags": {},
|
|
5337
5118
|
"hasDynamicHelp": false,
|
|
5338
|
-
"
|
|
5339
|
-
|
|
5340
|
-
|
|
5119
|
+
"hiddenAliases": [
|
|
5120
|
+
"migration:list"
|
|
5121
|
+
],
|
|
5122
|
+
"id": "migrations:list",
|
|
5341
5123
|
"pluginAlias": "@sanity/cli",
|
|
5342
5124
|
"pluginName": "@sanity/cli",
|
|
5343
5125
|
"pluginType": "core",
|
|
5344
5126
|
"strict": true,
|
|
5345
|
-
"telemetry": {
|
|
5346
|
-
"redactedFlags": [
|
|
5347
|
-
{
|
|
5348
|
-
"canonical": "--out-dir",
|
|
5349
|
-
"flags": [
|
|
5350
|
-
"--out-dir"
|
|
5351
|
-
]
|
|
5352
|
-
}
|
|
5353
|
-
]
|
|
5354
|
-
},
|
|
5355
5127
|
"isESM": true,
|
|
5356
5128
|
"relativePath": [
|
|
5357
5129
|
"dist",
|
|
5358
5130
|
"commands",
|
|
5359
|
-
"
|
|
5360
|
-
"
|
|
5131
|
+
"migrations",
|
|
5132
|
+
"list.js"
|
|
5361
5133
|
]
|
|
5362
5134
|
},
|
|
5363
|
-
"
|
|
5135
|
+
"migrations:run": {
|
|
5364
5136
|
"aliases": [],
|
|
5365
5137
|
"args": {
|
|
5366
|
-
"
|
|
5367
|
-
"description": "
|
|
5368
|
-
"name": "
|
|
5138
|
+
"id": {
|
|
5139
|
+
"description": "ID",
|
|
5140
|
+
"name": "id",
|
|
5369
5141
|
"required": false
|
|
5370
5142
|
}
|
|
5371
5143
|
},
|
|
5372
|
-
"description": "
|
|
5144
|
+
"description": "Run a migration against a dataset",
|
|
5373
5145
|
"examples": [
|
|
5374
5146
|
{
|
|
5375
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
5376
|
-
"description": "
|
|
5377
|
-
},
|
|
5378
|
-
{
|
|
5379
|
-
"command": "<%= config.bin %> <%= command.id %> \"My New Project\"",
|
|
5380
|
-
"description": "Create a project named \"My New Project\""
|
|
5381
|
-
},
|
|
5382
|
-
{
|
|
5383
|
-
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --organization=my-org",
|
|
5384
|
-
"description": "Create a project in a specific organization"
|
|
5385
|
-
},
|
|
5386
|
-
{
|
|
5387
|
-
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --dataset=staging --dataset-visibility=private",
|
|
5388
|
-
"description": "Create a project with a private dataset named \"staging\""
|
|
5147
|
+
"command": "<%= config.bin %> <%= command.id %> <id>",
|
|
5148
|
+
"description": "dry run the migration"
|
|
5389
5149
|
},
|
|
5390
5150
|
{
|
|
5391
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
5392
|
-
"description": "
|
|
5151
|
+
"command": "<%= config.bin %> <%= command.id %> <id> --no-dry-run --project xyz --dataset staging",
|
|
5152
|
+
"description": "execute the migration against a dataset"
|
|
5393
5153
|
},
|
|
5394
5154
|
{
|
|
5395
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
5396
|
-
"description": "
|
|
5155
|
+
"command": "<%= config.bin %> <%= command.id %> <id> --from-export=production.tar.gz --no-dry-run --project xyz --dataset staging",
|
|
5156
|
+
"description": "execute the migration using a dataset export as the source"
|
|
5397
5157
|
}
|
|
5398
5158
|
],
|
|
5399
5159
|
"flags": {
|
|
5400
|
-
"
|
|
5401
|
-
"description": "
|
|
5402
|
-
"
|
|
5403
|
-
"name": "json",
|
|
5404
|
-
"allowNo": false,
|
|
5405
|
-
"type": "boolean"
|
|
5406
|
-
},
|
|
5407
|
-
"dataset": {
|
|
5408
|
-
"description": "Create a dataset. Prompts for visibility unless specified or --yes used",
|
|
5409
|
-
"name": "dataset",
|
|
5160
|
+
"api-version": {
|
|
5161
|
+
"description": "API version to use when migrating. Defaults to v2024-01-29.",
|
|
5162
|
+
"name": "api-version",
|
|
5410
5163
|
"hasDynamicHelp": false,
|
|
5411
5164
|
"multiple": false,
|
|
5412
5165
|
"type": "option"
|
|
5413
5166
|
},
|
|
5414
|
-
"
|
|
5415
|
-
"description": "
|
|
5416
|
-
"name": "
|
|
5167
|
+
"concurrency": {
|
|
5168
|
+
"description": "How many mutation requests to run in parallel. Must be between 1 and 10. Default: 6.",
|
|
5169
|
+
"name": "concurrency",
|
|
5170
|
+
"default": 6,
|
|
5417
5171
|
"hasDynamicHelp": false,
|
|
5418
5172
|
"multiple": false,
|
|
5419
|
-
"options": [
|
|
5420
|
-
"private",
|
|
5421
|
-
"public"
|
|
5422
|
-
],
|
|
5423
5173
|
"type": "option"
|
|
5424
5174
|
},
|
|
5425
|
-
"
|
|
5426
|
-
"description": "
|
|
5427
|
-
"name": "
|
|
5175
|
+
"confirm": {
|
|
5176
|
+
"description": "Prompt for confirmation before running the migration (default: true). Use --no-confirm to skip.",
|
|
5177
|
+
"name": "confirm",
|
|
5178
|
+
"allowNo": true,
|
|
5179
|
+
"type": "boolean"
|
|
5180
|
+
},
|
|
5181
|
+
"dataset": {
|
|
5182
|
+
"description": "Dataset to migrate. Defaults to the dataset configured in your Sanity CLI config.",
|
|
5183
|
+
"name": "dataset",
|
|
5428
5184
|
"hasDynamicHelp": false,
|
|
5429
|
-
"helpValue": "<path>",
|
|
5430
5185
|
"multiple": false,
|
|
5431
5186
|
"type": "option"
|
|
5432
5187
|
},
|
|
5433
|
-
"
|
|
5434
|
-
"description": "
|
|
5435
|
-
"name": "
|
|
5188
|
+
"dry-run": {
|
|
5189
|
+
"description": "By default the migration runs in dry mode. Use --no-dry-run to migrate dataset.",
|
|
5190
|
+
"name": "dry-run",
|
|
5191
|
+
"allowNo": true,
|
|
5192
|
+
"type": "boolean"
|
|
5193
|
+
},
|
|
5194
|
+
"from-export": {
|
|
5195
|
+
"description": "Use a local dataset export as source for migration instead of calling the Sanity API. Note: this is only supported for dry runs.",
|
|
5196
|
+
"name": "from-export",
|
|
5436
5197
|
"hasDynamicHelp": false,
|
|
5437
|
-
"helpValue": "<slug|id>",
|
|
5438
5198
|
"multiple": false,
|
|
5439
5199
|
"type": "option"
|
|
5440
5200
|
},
|
|
5441
|
-
"
|
|
5442
|
-
"
|
|
5443
|
-
"
|
|
5444
|
-
"
|
|
5445
|
-
"allowNo": false,
|
|
5201
|
+
"progress": {
|
|
5202
|
+
"description": "Display progress during migration (default: true). Use --no-progress to hide output.",
|
|
5203
|
+
"name": "progress",
|
|
5204
|
+
"allowNo": true,
|
|
5446
5205
|
"type": "boolean"
|
|
5206
|
+
},
|
|
5207
|
+
"project": {
|
|
5208
|
+
"aliases": [
|
|
5209
|
+
"project-id"
|
|
5210
|
+
],
|
|
5211
|
+
"char": "p",
|
|
5212
|
+
"deprecateAliases": true,
|
|
5213
|
+
"description": "Project ID of the dataset to migrate (overrides CLI configuration)",
|
|
5214
|
+
"helpGroup": "OVERRIDE",
|
|
5215
|
+
"name": "project",
|
|
5216
|
+
"hasDynamicHelp": false,
|
|
5217
|
+
"helpValue": "<id>",
|
|
5218
|
+
"multiple": false,
|
|
5219
|
+
"type": "option"
|
|
5447
5220
|
}
|
|
5448
5221
|
},
|
|
5449
5222
|
"hasDynamicHelp": false,
|
|
5450
5223
|
"hiddenAliases": [
|
|
5451
|
-
"
|
|
5224
|
+
"migration:run"
|
|
5452
5225
|
],
|
|
5453
|
-
"id": "
|
|
5226
|
+
"id": "migrations:run",
|
|
5454
5227
|
"pluginAlias": "@sanity/cli",
|
|
5455
5228
|
"pluginName": "@sanity/cli",
|
|
5456
5229
|
"pluginType": "core",
|
|
5457
5230
|
"strict": true,
|
|
5458
|
-
"enableJsonFlag": true,
|
|
5459
5231
|
"telemetry": {
|
|
5460
5232
|
"redactedFlags": [
|
|
5461
5233
|
{
|
|
5462
|
-
"canonical": "--
|
|
5234
|
+
"canonical": "--from-export",
|
|
5463
5235
|
"flags": [
|
|
5464
|
-
"--
|
|
5236
|
+
"--from-export"
|
|
5465
5237
|
]
|
|
5466
5238
|
}
|
|
5467
5239
|
]
|
|
@@ -5470,58 +5242,62 @@
|
|
|
5470
5242
|
"relativePath": [
|
|
5471
5243
|
"dist",
|
|
5472
5244
|
"commands",
|
|
5473
|
-
"
|
|
5474
|
-
"
|
|
5245
|
+
"migrations",
|
|
5246
|
+
"run.js"
|
|
5475
5247
|
]
|
|
5476
5248
|
},
|
|
5477
|
-
"
|
|
5249
|
+
"openapi:get": {
|
|
5478
5250
|
"aliases": [],
|
|
5479
|
-
"args": {
|
|
5480
|
-
|
|
5251
|
+
"args": {
|
|
5252
|
+
"slug": {
|
|
5253
|
+
"description": "Slug of the OpenAPI specification to retrieve",
|
|
5254
|
+
"name": "slug",
|
|
5255
|
+
"required": true
|
|
5256
|
+
}
|
|
5257
|
+
},
|
|
5258
|
+
"description": "Get an OpenAPI specification by slug",
|
|
5481
5259
|
"examples": [
|
|
5482
5260
|
{
|
|
5483
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
5484
|
-
"description": "
|
|
5261
|
+
"command": "<%= config.bin %> <%= command.id %> query",
|
|
5262
|
+
"description": "Get a specification (YAML format, default)"
|
|
5485
5263
|
},
|
|
5486
5264
|
{
|
|
5487
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
5488
|
-
"description": "
|
|
5265
|
+
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
5266
|
+
"description": "Get specification in JSON format"
|
|
5267
|
+
},
|
|
5268
|
+
{
|
|
5269
|
+
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
5270
|
+
"description": "Open specification in browser"
|
|
5271
|
+
},
|
|
5272
|
+
{
|
|
5273
|
+
"command": "<%= config.bin %> <%= command.id %> query > query-api.yaml",
|
|
5274
|
+
"description": "Pipe to file"
|
|
5489
5275
|
}
|
|
5490
5276
|
],
|
|
5491
5277
|
"flags": {
|
|
5492
|
-
"
|
|
5493
|
-
"description": "
|
|
5494
|
-
"name": "
|
|
5495
|
-
"default": "
|
|
5278
|
+
"format": {
|
|
5279
|
+
"description": "Output format: yaml (default), json",
|
|
5280
|
+
"name": "format",
|
|
5281
|
+
"default": "yaml",
|
|
5496
5282
|
"hasDynamicHelp": false,
|
|
5497
5283
|
"multiple": false,
|
|
5498
5284
|
"options": [
|
|
5499
|
-
"
|
|
5500
|
-
"
|
|
5285
|
+
"yaml",
|
|
5286
|
+
"json"
|
|
5501
5287
|
],
|
|
5502
5288
|
"type": "option"
|
|
5503
5289
|
},
|
|
5504
|
-
"
|
|
5505
|
-
"
|
|
5506
|
-
"
|
|
5507
|
-
"
|
|
5508
|
-
"
|
|
5509
|
-
"
|
|
5510
|
-
"options": [
|
|
5511
|
-
"id",
|
|
5512
|
-
"members",
|
|
5513
|
-
"name",
|
|
5514
|
-
"url",
|
|
5515
|
-
"created"
|
|
5516
|
-
],
|
|
5517
|
-
"type": "option"
|
|
5290
|
+
"web": {
|
|
5291
|
+
"char": "w",
|
|
5292
|
+
"description": "Open in web browser",
|
|
5293
|
+
"name": "web",
|
|
5294
|
+
"allowNo": false,
|
|
5295
|
+
"type": "boolean"
|
|
5518
5296
|
}
|
|
5519
5297
|
},
|
|
5520
5298
|
"hasDynamicHelp": false,
|
|
5521
|
-
"hiddenAliases": [
|
|
5522
|
-
|
|
5523
|
-
],
|
|
5524
|
-
"id": "projects:list",
|
|
5299
|
+
"hiddenAliases": [],
|
|
5300
|
+
"id": "openapi:get",
|
|
5525
5301
|
"pluginAlias": "@sanity/cli",
|
|
5526
5302
|
"pluginName": "@sanity/cli",
|
|
5527
5303
|
"pluginType": "core",
|
|
@@ -5530,54 +5306,58 @@
|
|
|
5530
5306
|
"relativePath": [
|
|
5531
5307
|
"dist",
|
|
5532
5308
|
"commands",
|
|
5533
|
-
"
|
|
5534
|
-
"
|
|
5309
|
+
"openapi",
|
|
5310
|
+
"get.js"
|
|
5535
5311
|
]
|
|
5536
5312
|
},
|
|
5537
|
-
"
|
|
5313
|
+
"openapi:list": {
|
|
5538
5314
|
"aliases": [],
|
|
5539
5315
|
"args": {},
|
|
5540
|
-
"description": "
|
|
5316
|
+
"description": "List all available OpenAPI specifications",
|
|
5541
5317
|
"examples": [
|
|
5542
5318
|
{
|
|
5543
5319
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
5544
|
-
"description": "List
|
|
5320
|
+
"description": "List all available OpenAPI specs"
|
|
5545
5321
|
},
|
|
5546
5322
|
{
|
|
5547
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5548
|
-
"description": "
|
|
5549
|
-
}
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
"
|
|
5558
|
-
"
|
|
5559
|
-
"name": "
|
|
5560
|
-
"
|
|
5561
|
-
"
|
|
5562
|
-
|
|
5563
|
-
|
|
5323
|
+
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
5324
|
+
"description": "List with JSON output"
|
|
5325
|
+
},
|
|
5326
|
+
{
|
|
5327
|
+
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
5328
|
+
"description": "Open HTTP Reference in browser"
|
|
5329
|
+
}
|
|
5330
|
+
],
|
|
5331
|
+
"flags": {
|
|
5332
|
+
"json": {
|
|
5333
|
+
"description": "Format output as json.",
|
|
5334
|
+
"helpGroup": "GLOBAL",
|
|
5335
|
+
"name": "json",
|
|
5336
|
+
"allowNo": false,
|
|
5337
|
+
"type": "boolean"
|
|
5338
|
+
},
|
|
5339
|
+
"web": {
|
|
5340
|
+
"char": "w",
|
|
5341
|
+
"description": "Open HTTP Reference in web browser",
|
|
5342
|
+
"name": "web",
|
|
5343
|
+
"allowNo": false,
|
|
5344
|
+
"type": "boolean"
|
|
5564
5345
|
}
|
|
5565
5346
|
},
|
|
5566
5347
|
"hasDynamicHelp": false,
|
|
5567
|
-
"hiddenAliases": [
|
|
5568
|
-
|
|
5569
|
-
],
|
|
5570
|
-
"id": "projects:unclaimed",
|
|
5348
|
+
"hiddenAliases": [],
|
|
5349
|
+
"id": "openapi:list",
|
|
5571
5350
|
"pluginAlias": "@sanity/cli",
|
|
5572
5351
|
"pluginName": "@sanity/cli",
|
|
5573
5352
|
"pluginType": "core",
|
|
5574
5353
|
"strict": true,
|
|
5354
|
+
"enableJsonFlag": true,
|
|
5575
5355
|
"isESM": true,
|
|
5576
5356
|
"relativePath": [
|
|
5577
5357
|
"dist",
|
|
5578
5358
|
"commands",
|
|
5579
|
-
"
|
|
5580
|
-
"
|
|
5359
|
+
"openapi",
|
|
5360
|
+
"list.js"
|
|
5581
5361
|
]
|
|
5582
5362
|
},
|
|
5583
5363
|
"organizations:create": {
|
|
@@ -5854,39 +5634,259 @@
|
|
|
5854
5634
|
},
|
|
5855
5635
|
"hasDynamicHelp": false,
|
|
5856
5636
|
"hiddenAliases": [
|
|
5857
|
-
"organization:update",
|
|
5858
|
-
"organisations:update",
|
|
5859
|
-
"organisation:update",
|
|
5860
|
-
"org:update",
|
|
5861
|
-
"orgs:update"
|
|
5637
|
+
"organization:update",
|
|
5638
|
+
"organisations:update",
|
|
5639
|
+
"organisation:update",
|
|
5640
|
+
"org:update",
|
|
5641
|
+
"orgs:update"
|
|
5642
|
+
],
|
|
5643
|
+
"id": "organizations:update",
|
|
5644
|
+
"pluginAlias": "@sanity/cli",
|
|
5645
|
+
"pluginName": "@sanity/cli",
|
|
5646
|
+
"pluginType": "core",
|
|
5647
|
+
"strict": true,
|
|
5648
|
+
"telemetry": {
|
|
5649
|
+
"redactedFlags": [
|
|
5650
|
+
{
|
|
5651
|
+
"canonical": "--logo",
|
|
5652
|
+
"flags": [
|
|
5653
|
+
"--logo"
|
|
5654
|
+
]
|
|
5655
|
+
},
|
|
5656
|
+
{
|
|
5657
|
+
"canonical": "--name",
|
|
5658
|
+
"flags": [
|
|
5659
|
+
"--name"
|
|
5660
|
+
]
|
|
5661
|
+
}
|
|
5662
|
+
]
|
|
5663
|
+
},
|
|
5664
|
+
"isESM": true,
|
|
5665
|
+
"relativePath": [
|
|
5666
|
+
"dist",
|
|
5667
|
+
"commands",
|
|
5668
|
+
"organizations",
|
|
5669
|
+
"update.js"
|
|
5670
|
+
]
|
|
5671
|
+
},
|
|
5672
|
+
"projects:create": {
|
|
5673
|
+
"aliases": [],
|
|
5674
|
+
"args": {
|
|
5675
|
+
"projectName": {
|
|
5676
|
+
"description": "Name of the project to create",
|
|
5677
|
+
"name": "projectName",
|
|
5678
|
+
"required": false
|
|
5679
|
+
}
|
|
5680
|
+
},
|
|
5681
|
+
"description": "Create a new Sanity project",
|
|
5682
|
+
"examples": [
|
|
5683
|
+
{
|
|
5684
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5685
|
+
"description": "Interactively create a project"
|
|
5686
|
+
},
|
|
5687
|
+
{
|
|
5688
|
+
"command": "<%= config.bin %> <%= command.id %> \"My New Project\"",
|
|
5689
|
+
"description": "Create a project named \"My New Project\""
|
|
5690
|
+
},
|
|
5691
|
+
{
|
|
5692
|
+
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --organization=my-org",
|
|
5693
|
+
"description": "Create a project in a specific organization"
|
|
5694
|
+
},
|
|
5695
|
+
{
|
|
5696
|
+
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --dataset=staging --dataset-visibility=private",
|
|
5697
|
+
"description": "Create a project with a private dataset named \"staging\""
|
|
5698
|
+
},
|
|
5699
|
+
{
|
|
5700
|
+
"command": "<%= config.bin %> <%= command.id %> \"My Project\" --logo ./logo.png",
|
|
5701
|
+
"description": "Create a project with a logo"
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
"command": "<%= config.bin %> <%= command.id %> \"CI Project\" --yes --json",
|
|
5705
|
+
"description": "Create a project non-interactively with JSON output"
|
|
5706
|
+
}
|
|
5707
|
+
],
|
|
5708
|
+
"flags": {
|
|
5709
|
+
"json": {
|
|
5710
|
+
"description": "Format output as json.",
|
|
5711
|
+
"helpGroup": "GLOBAL",
|
|
5712
|
+
"name": "json",
|
|
5713
|
+
"allowNo": false,
|
|
5714
|
+
"type": "boolean"
|
|
5715
|
+
},
|
|
5716
|
+
"dataset": {
|
|
5717
|
+
"description": "Create a dataset. Prompts for visibility unless specified or --yes used",
|
|
5718
|
+
"name": "dataset",
|
|
5719
|
+
"hasDynamicHelp": false,
|
|
5720
|
+
"multiple": false,
|
|
5721
|
+
"type": "option"
|
|
5722
|
+
},
|
|
5723
|
+
"dataset-visibility": {
|
|
5724
|
+
"description": "Dataset visibility: public or private",
|
|
5725
|
+
"name": "dataset-visibility",
|
|
5726
|
+
"hasDynamicHelp": false,
|
|
5727
|
+
"multiple": false,
|
|
5728
|
+
"options": [
|
|
5729
|
+
"private",
|
|
5730
|
+
"public"
|
|
5731
|
+
],
|
|
5732
|
+
"type": "option"
|
|
5733
|
+
},
|
|
5734
|
+
"logo": {
|
|
5735
|
+
"description": "Image file to use as the logo: PNG, JPEG, GIF, WebP, SVG, BMP, TIFF, HEIF or AVIF, at most 5 MB",
|
|
5736
|
+
"name": "logo",
|
|
5737
|
+
"hasDynamicHelp": false,
|
|
5738
|
+
"helpValue": "<path>",
|
|
5739
|
+
"multiple": false,
|
|
5740
|
+
"type": "option"
|
|
5741
|
+
},
|
|
5742
|
+
"organization": {
|
|
5743
|
+
"description": "Organization to create the project in",
|
|
5744
|
+
"name": "organization",
|
|
5745
|
+
"hasDynamicHelp": false,
|
|
5746
|
+
"helpValue": "<slug|id>",
|
|
5747
|
+
"multiple": false,
|
|
5748
|
+
"type": "option"
|
|
5749
|
+
},
|
|
5750
|
+
"yes": {
|
|
5751
|
+
"char": "y",
|
|
5752
|
+
"description": "Skip prompts and use defaults (project: \"My Sanity Project\", dataset: production, visibility: public)",
|
|
5753
|
+
"name": "yes",
|
|
5754
|
+
"allowNo": false,
|
|
5755
|
+
"type": "boolean"
|
|
5756
|
+
}
|
|
5757
|
+
},
|
|
5758
|
+
"hasDynamicHelp": false,
|
|
5759
|
+
"hiddenAliases": [
|
|
5760
|
+
"project:create"
|
|
5761
|
+
],
|
|
5762
|
+
"id": "projects:create",
|
|
5763
|
+
"pluginAlias": "@sanity/cli",
|
|
5764
|
+
"pluginName": "@sanity/cli",
|
|
5765
|
+
"pluginType": "core",
|
|
5766
|
+
"strict": true,
|
|
5767
|
+
"enableJsonFlag": true,
|
|
5768
|
+
"telemetry": {
|
|
5769
|
+
"redactedFlags": [
|
|
5770
|
+
{
|
|
5771
|
+
"canonical": "--logo",
|
|
5772
|
+
"flags": [
|
|
5773
|
+
"--logo"
|
|
5774
|
+
]
|
|
5775
|
+
}
|
|
5776
|
+
]
|
|
5777
|
+
},
|
|
5778
|
+
"isESM": true,
|
|
5779
|
+
"relativePath": [
|
|
5780
|
+
"dist",
|
|
5781
|
+
"commands",
|
|
5782
|
+
"projects",
|
|
5783
|
+
"create.js"
|
|
5784
|
+
]
|
|
5785
|
+
},
|
|
5786
|
+
"projects:list": {
|
|
5787
|
+
"aliases": [],
|
|
5788
|
+
"args": {},
|
|
5789
|
+
"description": "List your projects",
|
|
5790
|
+
"examples": [
|
|
5791
|
+
{
|
|
5792
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5793
|
+
"description": "List projects"
|
|
5794
|
+
},
|
|
5795
|
+
{
|
|
5796
|
+
"command": "<%= config.bin %> <%= command.id %> --sort=members --order=asc",
|
|
5797
|
+
"description": "List projects sorted by member count, ascending"
|
|
5798
|
+
}
|
|
5799
|
+
],
|
|
5800
|
+
"flags": {
|
|
5801
|
+
"order": {
|
|
5802
|
+
"description": "Sort direction",
|
|
5803
|
+
"name": "order",
|
|
5804
|
+
"default": "desc",
|
|
5805
|
+
"hasDynamicHelp": false,
|
|
5806
|
+
"multiple": false,
|
|
5807
|
+
"options": [
|
|
5808
|
+
"asc",
|
|
5809
|
+
"desc"
|
|
5810
|
+
],
|
|
5811
|
+
"type": "option"
|
|
5812
|
+
},
|
|
5813
|
+
"sort": {
|
|
5814
|
+
"description": "Sort field",
|
|
5815
|
+
"name": "sort",
|
|
5816
|
+
"default": "created",
|
|
5817
|
+
"hasDynamicHelp": false,
|
|
5818
|
+
"multiple": false,
|
|
5819
|
+
"options": [
|
|
5820
|
+
"id",
|
|
5821
|
+
"members",
|
|
5822
|
+
"name",
|
|
5823
|
+
"url",
|
|
5824
|
+
"created"
|
|
5825
|
+
],
|
|
5826
|
+
"type": "option"
|
|
5827
|
+
}
|
|
5828
|
+
},
|
|
5829
|
+
"hasDynamicHelp": false,
|
|
5830
|
+
"hiddenAliases": [
|
|
5831
|
+
"project:list"
|
|
5832
|
+
],
|
|
5833
|
+
"id": "projects:list",
|
|
5834
|
+
"pluginAlias": "@sanity/cli",
|
|
5835
|
+
"pluginName": "@sanity/cli",
|
|
5836
|
+
"pluginType": "core",
|
|
5837
|
+
"strict": true,
|
|
5838
|
+
"isESM": true,
|
|
5839
|
+
"relativePath": [
|
|
5840
|
+
"dist",
|
|
5841
|
+
"commands",
|
|
5842
|
+
"projects",
|
|
5843
|
+
"list.js"
|
|
5844
|
+
]
|
|
5845
|
+
},
|
|
5846
|
+
"projects:unclaimed": {
|
|
5847
|
+
"aliases": [],
|
|
5848
|
+
"args": {},
|
|
5849
|
+
"description": "Recover details for unclaimed projects created on this machine",
|
|
5850
|
+
"examples": [
|
|
5851
|
+
{
|
|
5852
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5853
|
+
"description": "List locally recorded unclaimed projects"
|
|
5854
|
+
},
|
|
5855
|
+
{
|
|
5856
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
5857
|
+
"description": "Show recovery details for one project"
|
|
5858
|
+
}
|
|
5859
|
+
],
|
|
5860
|
+
"flags": {
|
|
5861
|
+
"project": {
|
|
5862
|
+
"aliases": [
|
|
5863
|
+
"project-id"
|
|
5864
|
+
],
|
|
5865
|
+
"char": "p",
|
|
5866
|
+
"deprecateAliases": true,
|
|
5867
|
+
"description": "Project ID to recover",
|
|
5868
|
+
"name": "project",
|
|
5869
|
+
"hasDynamicHelp": false,
|
|
5870
|
+
"helpValue": "<id>",
|
|
5871
|
+
"multiple": false,
|
|
5872
|
+
"type": "option"
|
|
5873
|
+
}
|
|
5874
|
+
},
|
|
5875
|
+
"hasDynamicHelp": false,
|
|
5876
|
+
"hiddenAliases": [
|
|
5877
|
+
"project:unclaimed"
|
|
5862
5878
|
],
|
|
5863
|
-
"id": "
|
|
5879
|
+
"id": "projects:unclaimed",
|
|
5864
5880
|
"pluginAlias": "@sanity/cli",
|
|
5865
5881
|
"pluginName": "@sanity/cli",
|
|
5866
5882
|
"pluginType": "core",
|
|
5867
5883
|
"strict": true,
|
|
5868
|
-
"telemetry": {
|
|
5869
|
-
"redactedFlags": [
|
|
5870
|
-
{
|
|
5871
|
-
"canonical": "--logo",
|
|
5872
|
-
"flags": [
|
|
5873
|
-
"--logo"
|
|
5874
|
-
]
|
|
5875
|
-
},
|
|
5876
|
-
{
|
|
5877
|
-
"canonical": "--name",
|
|
5878
|
-
"flags": [
|
|
5879
|
-
"--name"
|
|
5880
|
-
]
|
|
5881
|
-
}
|
|
5882
|
-
]
|
|
5883
|
-
},
|
|
5884
5884
|
"isESM": true,
|
|
5885
5885
|
"relativePath": [
|
|
5886
5886
|
"dist",
|
|
5887
5887
|
"commands",
|
|
5888
|
-
"
|
|
5889
|
-
"
|
|
5888
|
+
"projects",
|
|
5889
|
+
"unclaimed.js"
|
|
5890
5890
|
]
|
|
5891
5891
|
},
|
|
5892
5892
|
"schemas:delete": {
|
|
@@ -7892,146 +7892,239 @@
|
|
|
7892
7892
|
"get.js"
|
|
7893
7893
|
]
|
|
7894
7894
|
},
|
|
7895
|
-
"context:
|
|
7895
|
+
"context:mcp:create": {
|
|
7896
7896
|
"aliases": [],
|
|
7897
7897
|
"args": {
|
|
7898
|
-
"
|
|
7899
|
-
"description": "
|
|
7900
|
-
"name": "
|
|
7901
|
-
"required": true
|
|
7902
|
-
},
|
|
7903
|
-
"issueIds": {
|
|
7904
|
-
"description": "The IDs of the issues to accept and apply.",
|
|
7905
|
-
"multiple": true,
|
|
7906
|
-
"name": "issueIds",
|
|
7898
|
+
"name": {
|
|
7899
|
+
"description": "Permanent MCP endpoint name used in its URL, made of lowercase letters, digits and hyphens",
|
|
7900
|
+
"name": "name",
|
|
7907
7901
|
"required": true
|
|
7908
7902
|
}
|
|
7909
7903
|
},
|
|
7910
|
-
"description": "
|
|
7904
|
+
"description": "Create a Context MCP endpoint that serves knowledge bases and a dataset to agents",
|
|
7911
7905
|
"examples": [
|
|
7912
7906
|
{
|
|
7913
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
7914
|
-
"description": "
|
|
7907
|
+
"command": "<%= config.bin %> <%= command.id %> support --title \"Support\" --knowledge-base kb-abc123 --knowledge-base kb-def456",
|
|
7908
|
+
"description": "Create an MCP endpoint that serves two knowledge bases"
|
|
7915
7909
|
},
|
|
7916
7910
|
{
|
|
7917
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
7918
|
-
"description": "
|
|
7911
|
+
"command": "<%= config.bin %> <%= command.id %> catalog --title \"Catalog\" --project abc123 --dataset production --perspective drafts --groq-filter '_type in [\"product\"]'",
|
|
7912
|
+
"description": "Create an MCP endpoint that serves the products in a dataset"
|
|
7919
7913
|
}
|
|
7920
7914
|
],
|
|
7921
7915
|
"flags": {
|
|
7922
|
-
"
|
|
7923
|
-
"description": "
|
|
7924
|
-
"helpGroup": "
|
|
7925
|
-
"name": "
|
|
7926
|
-
"
|
|
7927
|
-
"
|
|
7916
|
+
"organization": {
|
|
7917
|
+
"description": "Organization to create the MCP endpoint in (overrides CLI configuration)",
|
|
7918
|
+
"helpGroup": "OVERRIDE",
|
|
7919
|
+
"name": "organization",
|
|
7920
|
+
"hasDynamicHelp": false,
|
|
7921
|
+
"helpValue": "<id>",
|
|
7922
|
+
"multiple": false,
|
|
7923
|
+
"type": "option"
|
|
7928
7924
|
},
|
|
7929
|
-
"
|
|
7930
|
-
"
|
|
7931
|
-
"
|
|
7932
|
-
"
|
|
7925
|
+
"dataset": {
|
|
7926
|
+
"char": "d",
|
|
7927
|
+
"description": "Dataset the endpoint serves",
|
|
7928
|
+
"name": "dataset",
|
|
7929
|
+
"hasDynamicHelp": false,
|
|
7930
|
+
"helpValue": "<name>",
|
|
7931
|
+
"multiple": false,
|
|
7932
|
+
"type": "option"
|
|
7933
|
+
},
|
|
7934
|
+
"project": {
|
|
7935
|
+
"aliases": [
|
|
7936
|
+
"project-id"
|
|
7937
|
+
],
|
|
7938
|
+
"char": "p",
|
|
7939
|
+
"dependsOn": [
|
|
7940
|
+
"dataset"
|
|
7941
|
+
],
|
|
7942
|
+
"deprecateAliases": true,
|
|
7943
|
+
"description": "Project the dataset belongs to (overrides CLI configuration)",
|
|
7944
|
+
"helpGroup": "OVERRIDE",
|
|
7945
|
+
"name": "project",
|
|
7946
|
+
"hasDynamicHelp": false,
|
|
7947
|
+
"helpValue": "<id>",
|
|
7948
|
+
"multiple": false,
|
|
7949
|
+
"type": "option"
|
|
7950
|
+
},
|
|
7951
|
+
"groq-filter": {
|
|
7952
|
+
"dependsOn": [
|
|
7953
|
+
"dataset"
|
|
7954
|
+
],
|
|
7955
|
+
"description": "GROQ filter that limits which dataset documents the endpoint serves",
|
|
7956
|
+
"name": "groq-filter",
|
|
7957
|
+
"hasDynamicHelp": false,
|
|
7958
|
+
"multiple": false,
|
|
7959
|
+
"type": "option"
|
|
7960
|
+
},
|
|
7961
|
+
"instructions": {
|
|
7962
|
+
"description": "Instructions the endpoint serves to connecting agents",
|
|
7963
|
+
"name": "instructions",
|
|
7964
|
+
"hasDynamicHelp": false,
|
|
7965
|
+
"multiple": false,
|
|
7966
|
+
"type": "option"
|
|
7967
|
+
},
|
|
7968
|
+
"knowledge-base": {
|
|
7969
|
+
"description": "Knowledge base the endpoint serves; repeat the flag to serve several",
|
|
7970
|
+
"name": "knowledge-base",
|
|
7971
|
+
"hasDynamicHelp": false,
|
|
7972
|
+
"helpValue": "<id>",
|
|
7973
|
+
"multiple": true,
|
|
7974
|
+
"type": "option"
|
|
7975
|
+
},
|
|
7976
|
+
"perspective": {
|
|
7977
|
+
"dependsOn": [
|
|
7978
|
+
"dataset"
|
|
7979
|
+
],
|
|
7980
|
+
"description": "Perspective agents query the dataset with",
|
|
7981
|
+
"name": "perspective",
|
|
7982
|
+
"hasDynamicHelp": false,
|
|
7983
|
+
"multiple": false,
|
|
7984
|
+
"options": [
|
|
7985
|
+
"published",
|
|
7986
|
+
"drafts",
|
|
7987
|
+
"raw"
|
|
7988
|
+
],
|
|
7989
|
+
"type": "option"
|
|
7990
|
+
},
|
|
7991
|
+
"semantic-search": {
|
|
7992
|
+
"dependsOn": [
|
|
7993
|
+
"dataset"
|
|
7994
|
+
],
|
|
7995
|
+
"description": "Let agents use semantic search on the dataset (--no-semantic-search to turn it off)",
|
|
7996
|
+
"name": "semantic-search",
|
|
7997
|
+
"allowNo": true,
|
|
7933
7998
|
"type": "boolean"
|
|
7999
|
+
},
|
|
8000
|
+
"title": {
|
|
8001
|
+
"description": "MCP endpoint title",
|
|
8002
|
+
"name": "title",
|
|
8003
|
+
"hasDynamicHelp": false,
|
|
8004
|
+
"multiple": false,
|
|
8005
|
+
"type": "option"
|
|
8006
|
+
},
|
|
8007
|
+
"workspace": {
|
|
8008
|
+
"dependsOn": [
|
|
8009
|
+
"dataset"
|
|
8010
|
+
],
|
|
8011
|
+
"description": "Studio workspace whose schema agents use, instead of the first workspace",
|
|
8012
|
+
"name": "workspace",
|
|
8013
|
+
"hasDynamicHelp": false,
|
|
8014
|
+
"multiple": false,
|
|
8015
|
+
"type": "option"
|
|
7934
8016
|
}
|
|
7935
8017
|
},
|
|
7936
8018
|
"hasDynamicHelp": false,
|
|
7937
8019
|
"hiddenAliases": [],
|
|
7938
|
-
"id": "context:
|
|
8020
|
+
"id": "context:mcp:create",
|
|
7939
8021
|
"pluginAlias": "@sanity/cli",
|
|
7940
8022
|
"pluginName": "@sanity/cli",
|
|
7941
8023
|
"pluginType": "core",
|
|
7942
8024
|
"strict": true,
|
|
7943
|
-
"summary": "Accept and apply issues",
|
|
7944
|
-
"enableJsonFlag": true,
|
|
7945
8025
|
"telemetry": {
|
|
7946
|
-
"redactedFlags": [
|
|
8026
|
+
"redactedFlags": [
|
|
8027
|
+
{
|
|
8028
|
+
"canonical": "--title",
|
|
8029
|
+
"flags": [
|
|
8030
|
+
"--title"
|
|
8031
|
+
]
|
|
8032
|
+
},
|
|
8033
|
+
{
|
|
8034
|
+
"canonical": "--instructions",
|
|
8035
|
+
"flags": [
|
|
8036
|
+
"--instructions"
|
|
8037
|
+
]
|
|
8038
|
+
},
|
|
8039
|
+
{
|
|
8040
|
+
"canonical": "--groq-filter",
|
|
8041
|
+
"flags": [
|
|
8042
|
+
"--groq-filter"
|
|
8043
|
+
]
|
|
8044
|
+
}
|
|
8045
|
+
]
|
|
7947
8046
|
},
|
|
7948
8047
|
"isESM": true,
|
|
7949
8048
|
"relativePath": [
|
|
7950
8049
|
"dist",
|
|
7951
8050
|
"commands",
|
|
7952
8051
|
"context",
|
|
7953
|
-
"
|
|
7954
|
-
"
|
|
8052
|
+
"mcp",
|
|
8053
|
+
"create.js"
|
|
7955
8054
|
]
|
|
7956
8055
|
},
|
|
7957
|
-
"context:
|
|
8056
|
+
"context:mcp:delete": {
|
|
7958
8057
|
"aliases": [],
|
|
7959
8058
|
"args": {
|
|
7960
|
-
"
|
|
7961
|
-
"description": "
|
|
7962
|
-
"name": "
|
|
7963
|
-
"required": true
|
|
7964
|
-
},
|
|
7965
|
-
"issueId": {
|
|
7966
|
-
"description": "The issue's document ID.",
|
|
7967
|
-
"name": "issueId",
|
|
8059
|
+
"name": {
|
|
8060
|
+
"description": "MCP endpoint name, as in its URL",
|
|
8061
|
+
"name": "name",
|
|
7968
8062
|
"required": true
|
|
7969
8063
|
}
|
|
7970
8064
|
},
|
|
7971
|
-
"description": "
|
|
8065
|
+
"description": "Delete a Context MCP endpoint, which disconnects any agents using it",
|
|
7972
8066
|
"examples": [
|
|
7973
8067
|
{
|
|
7974
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
7975
|
-
"description": "
|
|
8068
|
+
"command": "<%= config.bin %> <%= command.id %> support",
|
|
8069
|
+
"description": "Delete an MCP endpoint after confirmation"
|
|
7976
8070
|
},
|
|
7977
8071
|
{
|
|
7978
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
7979
|
-
"description": "
|
|
8072
|
+
"command": "<%= config.bin %> <%= command.id %> support --yes",
|
|
8073
|
+
"description": "Delete an MCP endpoint without confirmation prompt"
|
|
7980
8074
|
}
|
|
7981
8075
|
],
|
|
7982
8076
|
"flags": {
|
|
7983
|
-
"
|
|
7984
|
-
"description": "
|
|
7985
|
-
"helpGroup": "
|
|
7986
|
-
"name": "
|
|
8077
|
+
"organization": {
|
|
8078
|
+
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8079
|
+
"helpGroup": "OVERRIDE",
|
|
8080
|
+
"name": "organization",
|
|
8081
|
+
"hasDynamicHelp": false,
|
|
8082
|
+
"helpValue": "<id>",
|
|
8083
|
+
"multiple": false,
|
|
8084
|
+
"type": "option"
|
|
8085
|
+
},
|
|
8086
|
+
"yes": {
|
|
8087
|
+
"char": "y",
|
|
8088
|
+
"description": "Skip confirmation prompt (unattended mode)",
|
|
8089
|
+
"name": "yes",
|
|
7987
8090
|
"allowNo": false,
|
|
7988
8091
|
"type": "boolean"
|
|
7989
8092
|
}
|
|
7990
8093
|
},
|
|
7991
8094
|
"hasDynamicHelp": false,
|
|
7992
8095
|
"hiddenAliases": [],
|
|
7993
|
-
"id": "context:
|
|
8096
|
+
"id": "context:mcp:delete",
|
|
7994
8097
|
"pluginAlias": "@sanity/cli",
|
|
7995
8098
|
"pluginName": "@sanity/cli",
|
|
7996
8099
|
"pluginType": "core",
|
|
7997
8100
|
"strict": true,
|
|
7998
|
-
"summary": "Dismiss an issue",
|
|
7999
|
-
"enableJsonFlag": true,
|
|
8000
|
-
"telemetry": {
|
|
8001
|
-
"redactedFlags": []
|
|
8002
|
-
},
|
|
8003
8101
|
"isESM": true,
|
|
8004
8102
|
"relativePath": [
|
|
8005
8103
|
"dist",
|
|
8006
8104
|
"commands",
|
|
8007
8105
|
"context",
|
|
8008
|
-
"
|
|
8009
|
-
"
|
|
8106
|
+
"mcp",
|
|
8107
|
+
"delete.js"
|
|
8010
8108
|
]
|
|
8011
8109
|
},
|
|
8012
|
-
"context:
|
|
8110
|
+
"context:mcp:get": {
|
|
8013
8111
|
"aliases": [],
|
|
8014
8112
|
"args": {
|
|
8015
|
-
"
|
|
8016
|
-
"description": "
|
|
8017
|
-
"name": "
|
|
8018
|
-
"required": true
|
|
8019
|
-
},
|
|
8020
|
-
"issueId": {
|
|
8021
|
-
"description": "Issue ID",
|
|
8022
|
-
"name": "issueId",
|
|
8113
|
+
"name": {
|
|
8114
|
+
"description": "MCP endpoint name, as in its URL",
|
|
8115
|
+
"name": "name",
|
|
8023
8116
|
"required": true
|
|
8024
8117
|
}
|
|
8025
8118
|
},
|
|
8026
|
-
"description": "Get details of
|
|
8119
|
+
"description": "Get details of a Context MCP endpoint, including its URL",
|
|
8027
8120
|
"examples": [
|
|
8028
8121
|
{
|
|
8029
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8030
|
-
"description": "Get details of
|
|
8122
|
+
"command": "<%= config.bin %> <%= command.id %> support",
|
|
8123
|
+
"description": "Get details of the \"support\" MCP endpoint"
|
|
8031
8124
|
},
|
|
8032
8125
|
{
|
|
8033
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8034
|
-
"description": "Output
|
|
8126
|
+
"command": "<%= config.bin %> <%= command.id %> support --organization org-abc123 --json",
|
|
8127
|
+
"description": "Output an MCP endpoint in a specific organization as JSON"
|
|
8035
8128
|
}
|
|
8036
8129
|
],
|
|
8037
8130
|
"flags": {
|
|
@@ -8041,11 +8134,20 @@
|
|
|
8041
8134
|
"name": "json",
|
|
8042
8135
|
"allowNo": false,
|
|
8043
8136
|
"type": "boolean"
|
|
8137
|
+
},
|
|
8138
|
+
"organization": {
|
|
8139
|
+
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8140
|
+
"helpGroup": "OVERRIDE",
|
|
8141
|
+
"name": "organization",
|
|
8142
|
+
"hasDynamicHelp": false,
|
|
8143
|
+
"helpValue": "<id>",
|
|
8144
|
+
"multiple": false,
|
|
8145
|
+
"type": "option"
|
|
8044
8146
|
}
|
|
8045
8147
|
},
|
|
8046
8148
|
"hasDynamicHelp": false,
|
|
8047
8149
|
"hiddenAliases": [],
|
|
8048
|
-
"id": "context:
|
|
8150
|
+
"id": "context:mcp:get",
|
|
8049
8151
|
"pluginAlias": "@sanity/cli",
|
|
8050
8152
|
"pluginName": "@sanity/cli",
|
|
8051
8153
|
"pluginType": "core",
|
|
@@ -8056,40 +8158,28 @@
|
|
|
8056
8158
|
"dist",
|
|
8057
8159
|
"commands",
|
|
8058
8160
|
"context",
|
|
8059
|
-
"
|
|
8161
|
+
"mcp",
|
|
8060
8162
|
"get.js"
|
|
8061
8163
|
]
|
|
8062
8164
|
},
|
|
8063
|
-
"context:
|
|
8165
|
+
"context:mcp:initial-context": {
|
|
8064
8166
|
"aliases": [],
|
|
8065
8167
|
"args": {
|
|
8066
|
-
"
|
|
8067
|
-
"description": "
|
|
8068
|
-
"name": "
|
|
8168
|
+
"mcpEndpoint": {
|
|
8169
|
+
"description": "The MCP endpoint's name, set when the endpoint was created.",
|
|
8170
|
+
"name": "mcpEndpoint",
|
|
8069
8171
|
"required": true
|
|
8070
8172
|
}
|
|
8071
8173
|
},
|
|
8072
|
-
"description": "
|
|
8174
|
+
"description": "Returns the same text as the `initial_context` MCP tool, as plain text you can add to a system prompt. `heading_offset` shifts markdown headings down by that many levels. The default is `1`, so `#` becomes `##`.",
|
|
8073
8175
|
"examples": [
|
|
8074
8176
|
{
|
|
8075
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8076
|
-
"description": "
|
|
8077
|
-
},
|
|
8078
|
-
{
|
|
8079
|
-
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --status open",
|
|
8080
|
-
"description": "List issues awaiting triage"
|
|
8081
|
-
},
|
|
8082
|
-
{
|
|
8083
|
-
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --kind conflict --severity critical",
|
|
8084
|
-
"description": "List critical conflicts"
|
|
8085
|
-
},
|
|
8086
|
-
{
|
|
8087
|
-
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --scope billing",
|
|
8088
|
-
"description": "List issues about entries under billing/"
|
|
8177
|
+
"command": "<%= config.bin %> <%= command.id %> <mcpEndpoint>",
|
|
8178
|
+
"description": "Get an MCP endpoint's initial context"
|
|
8089
8179
|
},
|
|
8090
8180
|
{
|
|
8091
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8092
|
-
"description": "
|
|
8181
|
+
"command": "<%= config.bin %> <%= command.id %> <mcpEndpoint> --json",
|
|
8182
|
+
"description": "Get an MCP endpoint's initial context, as JSON"
|
|
8093
8183
|
}
|
|
8094
8184
|
],
|
|
8095
8185
|
"flags": {
|
|
@@ -8100,89 +8190,76 @@
|
|
|
8100
8190
|
"allowNo": false,
|
|
8101
8191
|
"type": "boolean"
|
|
8102
8192
|
},
|
|
8103
|
-
"
|
|
8104
|
-
"description": "
|
|
8105
|
-
"name": "
|
|
8106
|
-
"hasDynamicHelp": false,
|
|
8107
|
-
"multiple": false,
|
|
8108
|
-
"options": [
|
|
8109
|
-
"conflict",
|
|
8110
|
-
"update_required"
|
|
8111
|
-
],
|
|
8112
|
-
"type": "option"
|
|
8113
|
-
},
|
|
8114
|
-
"scope": {
|
|
8115
|
-
"description": "Only list issues about this entry path or anything under it (`*` for knowledge-base-wide issues)",
|
|
8116
|
-
"name": "scope",
|
|
8193
|
+
"link-resolver": {
|
|
8194
|
+
"description": "A JSON array that adds `_url` fields to query results. Each item has `types` (document types), `baseUrl`, and an optional `slugExpression`, a GROQ expression that defaults to `slug.current`. Invalid JSON is ignored.",
|
|
8195
|
+
"name": "link-resolver",
|
|
8117
8196
|
"hasDynamicHelp": false,
|
|
8118
|
-
"helpValue": "<path>",
|
|
8119
8197
|
"multiple": false,
|
|
8120
8198
|
"type": "option"
|
|
8121
8199
|
},
|
|
8122
|
-
"
|
|
8123
|
-
"description": "
|
|
8124
|
-
"name": "
|
|
8200
|
+
"heading_offset": {
|
|
8201
|
+
"description": "How many levels to shift markdown headings down, from `0` to `6`. Defaults to `1`, so `#` becomes `##`.",
|
|
8202
|
+
"name": "heading_offset",
|
|
8125
8203
|
"hasDynamicHelp": false,
|
|
8126
8204
|
"multiple": false,
|
|
8127
|
-
"options": [
|
|
8128
|
-
"critical",
|
|
8129
|
-
"suggestion"
|
|
8130
|
-
],
|
|
8131
8205
|
"type": "option"
|
|
8132
8206
|
},
|
|
8133
|
-
"
|
|
8134
|
-
"description": "
|
|
8135
|
-
"
|
|
8207
|
+
"organization": {
|
|
8208
|
+
"description": "Organization ID (overrides CLI configuration)",
|
|
8209
|
+
"helpGroup": "OVERRIDE",
|
|
8210
|
+
"name": "organization",
|
|
8136
8211
|
"hasDynamicHelp": false,
|
|
8212
|
+
"helpValue": "<id>",
|
|
8137
8213
|
"multiple": false,
|
|
8138
|
-
"options": [
|
|
8139
|
-
"open",
|
|
8140
|
-
"accepted",
|
|
8141
|
-
"rejected"
|
|
8142
|
-
],
|
|
8143
8214
|
"type": "option"
|
|
8144
8215
|
}
|
|
8145
8216
|
},
|
|
8146
8217
|
"hasDynamicHelp": false,
|
|
8147
8218
|
"hiddenAliases": [],
|
|
8148
|
-
"id": "context:
|
|
8219
|
+
"id": "context:mcp:initial-context",
|
|
8149
8220
|
"pluginAlias": "@sanity/cli",
|
|
8150
8221
|
"pluginName": "@sanity/cli",
|
|
8151
8222
|
"pluginType": "core",
|
|
8152
8223
|
"strict": true,
|
|
8224
|
+
"summary": "Get an MCP endpoint's initial context",
|
|
8153
8225
|
"enableJsonFlag": true,
|
|
8226
|
+
"telemetry": {
|
|
8227
|
+
"redactedFlags": [
|
|
8228
|
+
{
|
|
8229
|
+
"canonical": "--link-resolver",
|
|
8230
|
+
"flags": [
|
|
8231
|
+
"--link-resolver"
|
|
8232
|
+
]
|
|
8233
|
+
},
|
|
8234
|
+
{
|
|
8235
|
+
"canonical": "--heading_offset",
|
|
8236
|
+
"flags": [
|
|
8237
|
+
"--heading_offset"
|
|
8238
|
+
]
|
|
8239
|
+
}
|
|
8240
|
+
]
|
|
8241
|
+
},
|
|
8154
8242
|
"isESM": true,
|
|
8155
8243
|
"relativePath": [
|
|
8156
8244
|
"dist",
|
|
8157
8245
|
"commands",
|
|
8158
8246
|
"context",
|
|
8159
|
-
"
|
|
8160
|
-
"
|
|
8247
|
+
"mcp",
|
|
8248
|
+
"initial-context.js"
|
|
8161
8249
|
]
|
|
8162
8250
|
},
|
|
8163
|
-
"context:
|
|
8251
|
+
"context:mcp:list": {
|
|
8164
8252
|
"aliases": [],
|
|
8165
|
-
"args": {
|
|
8166
|
-
|
|
8167
|
-
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8168
|
-
"name": "knowledgeBaseId",
|
|
8169
|
-
"required": true
|
|
8170
|
-
},
|
|
8171
|
-
"issueId": {
|
|
8172
|
-
"description": "The issue's document ID.",
|
|
8173
|
-
"name": "issueId",
|
|
8174
|
-
"required": true
|
|
8175
|
-
}
|
|
8176
|
-
},
|
|
8177
|
-
"description": "Returns an accepted conflict issue to triage, clears its resolution, and deletes the instruction the resolution created. Reopening an open or dismissed conflict returns it unchanged. Other issue types return `422` with code `issueNotResolvable`.",
|
|
8253
|
+
"args": {},
|
|
8254
|
+
"description": "List Context MCP endpoints in an organization",
|
|
8178
8255
|
"examples": [
|
|
8179
8256
|
{
|
|
8180
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8181
|
-
"description": "
|
|
8257
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
8258
|
+
"description": "List MCP endpoints, selecting the organization interactively"
|
|
8182
8259
|
},
|
|
8183
8260
|
{
|
|
8184
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8185
|
-
"description": "
|
|
8261
|
+
"command": "<%= config.bin %> <%= command.id %> --organization org-abc123 --json",
|
|
8262
|
+
"description": "Output the MCP endpoints of a specific organization as JSON"
|
|
8186
8263
|
}
|
|
8187
8264
|
],
|
|
8188
8265
|
"flags": {
|
|
@@ -8192,52 +8269,48 @@
|
|
|
8192
8269
|
"name": "json",
|
|
8193
8270
|
"allowNo": false,
|
|
8194
8271
|
"type": "boolean"
|
|
8272
|
+
},
|
|
8273
|
+
"organization": {
|
|
8274
|
+
"description": "Organization to list MCP endpoints for (overrides CLI configuration)",
|
|
8275
|
+
"helpGroup": "OVERRIDE",
|
|
8276
|
+
"name": "organization",
|
|
8277
|
+
"hasDynamicHelp": false,
|
|
8278
|
+
"helpValue": "<id>",
|
|
8279
|
+
"multiple": false,
|
|
8280
|
+
"type": "option"
|
|
8195
8281
|
}
|
|
8196
8282
|
},
|
|
8197
8283
|
"hasDynamicHelp": false,
|
|
8198
8284
|
"hiddenAliases": [],
|
|
8199
|
-
"id": "context:
|
|
8285
|
+
"id": "context:mcp:list",
|
|
8200
8286
|
"pluginAlias": "@sanity/cli",
|
|
8201
8287
|
"pluginName": "@sanity/cli",
|
|
8202
8288
|
"pluginType": "core",
|
|
8203
8289
|
"strict": true,
|
|
8204
|
-
"summary": "Reopen an accepted conflict",
|
|
8205
8290
|
"enableJsonFlag": true,
|
|
8206
|
-
"telemetry": {
|
|
8207
|
-
"redactedFlags": []
|
|
8208
|
-
},
|
|
8209
8291
|
"isESM": true,
|
|
8210
8292
|
"relativePath": [
|
|
8211
8293
|
"dist",
|
|
8212
8294
|
"commands",
|
|
8213
8295
|
"context",
|
|
8214
|
-
"
|
|
8215
|
-
"
|
|
8296
|
+
"mcp",
|
|
8297
|
+
"list.js"
|
|
8216
8298
|
]
|
|
8217
8299
|
},
|
|
8218
|
-
"context:
|
|
8300
|
+
"context:mcp:status": {
|
|
8219
8301
|
"aliases": [],
|
|
8220
8302
|
"args": {
|
|
8221
|
-
"
|
|
8222
|
-
"description": "
|
|
8223
|
-
"name": "
|
|
8224
|
-
"required": true
|
|
8225
|
-
},
|
|
8226
|
-
"issueId": {
|
|
8227
|
-
"description": "The issue's document ID.",
|
|
8228
|
-
"name": "issueId",
|
|
8303
|
+
"name": {
|
|
8304
|
+
"description": "MCP endpoint name, as in its URL",
|
|
8305
|
+
"name": "name",
|
|
8229
8306
|
"required": true
|
|
8230
8307
|
}
|
|
8231
8308
|
},
|
|
8232
|
-
"description": "
|
|
8309
|
+
"description": "Check whether an agent connecting with your credentials can use a Context MCP endpoint",
|
|
8233
8310
|
"examples": [
|
|
8234
8311
|
{
|
|
8235
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8236
|
-
"description": "
|
|
8237
|
-
},
|
|
8238
|
-
{
|
|
8239
|
-
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue-def456 --side 1 --watch",
|
|
8240
|
-
"description": "Choose side 1 and wait for the entry rewrite"
|
|
8312
|
+
"command": "<%= config.bin %> <%= command.id %> support",
|
|
8313
|
+
"description": "Check the \"support\" MCP endpoint"
|
|
8241
8314
|
}
|
|
8242
8315
|
],
|
|
8243
8316
|
"flags": {
|
|
@@ -8248,63 +8321,68 @@
|
|
|
8248
8321
|
"allowNo": false,
|
|
8249
8322
|
"type": "boolean"
|
|
8250
8323
|
},
|
|
8251
|
-
"
|
|
8252
|
-
"description": "
|
|
8253
|
-
"
|
|
8254
|
-
"
|
|
8255
|
-
"type": "boolean"
|
|
8256
|
-
},
|
|
8257
|
-
"side": {
|
|
8258
|
-
"description": "Index of the correct side, as listed by `sanity context issues get`",
|
|
8259
|
-
"name": "side",
|
|
8324
|
+
"organization": {
|
|
8325
|
+
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8326
|
+
"helpGroup": "OVERRIDE",
|
|
8327
|
+
"name": "organization",
|
|
8260
8328
|
"hasDynamicHelp": false,
|
|
8329
|
+
"helpValue": "<id>",
|
|
8261
8330
|
"multiple": false,
|
|
8262
8331
|
"type": "option"
|
|
8263
8332
|
}
|
|
8264
8333
|
},
|
|
8265
8334
|
"hasDynamicHelp": false,
|
|
8266
8335
|
"hiddenAliases": [],
|
|
8267
|
-
"id": "context:
|
|
8336
|
+
"id": "context:mcp:status",
|
|
8268
8337
|
"pluginAlias": "@sanity/cli",
|
|
8269
8338
|
"pluginName": "@sanity/cli",
|
|
8270
8339
|
"pluginType": "core",
|
|
8271
|
-
"
|
|
8340
|
+
"strict": true,
|
|
8272
8341
|
"enableJsonFlag": true,
|
|
8273
|
-
"telemetry": {
|
|
8274
|
-
"redactedFlags": []
|
|
8275
|
-
},
|
|
8276
8342
|
"isESM": true,
|
|
8277
8343
|
"relativePath": [
|
|
8278
8344
|
"dist",
|
|
8279
8345
|
"commands",
|
|
8280
8346
|
"context",
|
|
8281
|
-
"
|
|
8282
|
-
"
|
|
8347
|
+
"mcp",
|
|
8348
|
+
"status.js"
|
|
8283
8349
|
]
|
|
8284
8350
|
},
|
|
8285
|
-
"context:mcp:
|
|
8351
|
+
"context:mcp:update": {
|
|
8286
8352
|
"aliases": [],
|
|
8287
8353
|
"args": {
|
|
8288
8354
|
"name": {
|
|
8289
|
-
"description": "
|
|
8355
|
+
"description": "MCP endpoint name, as in its URL",
|
|
8290
8356
|
"name": "name",
|
|
8291
8357
|
"required": true
|
|
8292
8358
|
}
|
|
8293
8359
|
},
|
|
8294
|
-
"description": "
|
|
8360
|
+
"description": "Update a Context MCP endpoint\n\nOnly the settings you pass change. Dataset settings (--workspace, --perspective, --semantic-search) apply to the endpoint's dataset and start from the defaults when --dataset switches to another dataset.",
|
|
8295
8361
|
"examples": [
|
|
8296
8362
|
{
|
|
8297
|
-
"command": "<%= config.bin %> <%= command.id %> support --title \"
|
|
8298
|
-
"description": "
|
|
8363
|
+
"command": "<%= config.bin %> <%= command.id %> support --title \"Customer support\"",
|
|
8364
|
+
"description": "Rename an MCP endpoint"
|
|
8299
8365
|
},
|
|
8300
8366
|
{
|
|
8301
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8302
|
-
"description": "
|
|
8367
|
+
"command": "<%= config.bin %> <%= command.id %> support --add-knowledge-base kb-def456 --remove-knowledge-base kb-abc123",
|
|
8368
|
+
"description": "Serve a different knowledge base"
|
|
8369
|
+
},
|
|
8370
|
+
{
|
|
8371
|
+
"command": "<%= config.bin %> <%= command.id %> catalog --project abc123 --dataset staging --perspective drafts",
|
|
8372
|
+
"description": "Switch to another dataset and query its drafts"
|
|
8373
|
+
},
|
|
8374
|
+
{
|
|
8375
|
+
"command": "<%= config.bin %> <%= command.id %> support --no-dataset",
|
|
8376
|
+
"description": "Stop serving the dataset"
|
|
8377
|
+
},
|
|
8378
|
+
{
|
|
8379
|
+
"command": "<%= config.bin %> <%= command.id %> support --instructions \"\"",
|
|
8380
|
+
"description": "Remove the instructions"
|
|
8303
8381
|
}
|
|
8304
8382
|
],
|
|
8305
8383
|
"flags": {
|
|
8306
8384
|
"organization": {
|
|
8307
|
-
"description": "Organization
|
|
8385
|
+
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8308
8386
|
"helpGroup": "OVERRIDE",
|
|
8309
8387
|
"name": "organization",
|
|
8310
8388
|
"hasDynamicHelp": false,
|
|
@@ -8312,9 +8390,17 @@
|
|
|
8312
8390
|
"multiple": false,
|
|
8313
8391
|
"type": "option"
|
|
8314
8392
|
},
|
|
8393
|
+
"add-knowledge-base": {
|
|
8394
|
+
"description": "Knowledge base to add to the endpoint; repeat the flag to add several",
|
|
8395
|
+
"name": "add-knowledge-base",
|
|
8396
|
+
"hasDynamicHelp": false,
|
|
8397
|
+
"helpValue": "<id>",
|
|
8398
|
+
"multiple": true,
|
|
8399
|
+
"type": "option"
|
|
8400
|
+
},
|
|
8315
8401
|
"dataset": {
|
|
8316
8402
|
"char": "d",
|
|
8317
|
-
"description": "Dataset the endpoint serves",
|
|
8403
|
+
"description": "Dataset the endpoint serves, replacing its current dataset",
|
|
8318
8404
|
"name": "dataset",
|
|
8319
8405
|
"hasDynamicHelp": false,
|
|
8320
8406
|
"helpValue": "<name>",
|
|
@@ -8339,34 +8425,36 @@
|
|
|
8339
8425
|
"type": "option"
|
|
8340
8426
|
},
|
|
8341
8427
|
"groq-filter": {
|
|
8342
|
-
"
|
|
8343
|
-
"dataset"
|
|
8344
|
-
],
|
|
8345
|
-
"description": "GROQ filter that limits which dataset documents the endpoint serves",
|
|
8428
|
+
"description": "GROQ filter that limits which dataset documents the endpoint serves (\"\" removes it)",
|
|
8346
8429
|
"name": "groq-filter",
|
|
8347
8430
|
"hasDynamicHelp": false,
|
|
8348
8431
|
"multiple": false,
|
|
8349
8432
|
"type": "option"
|
|
8350
8433
|
},
|
|
8351
8434
|
"instructions": {
|
|
8352
|
-
"description": "Instructions the endpoint serves to connecting agents",
|
|
8435
|
+
"description": "Instructions the endpoint serves to connecting agents (\"\" removes them)",
|
|
8353
8436
|
"name": "instructions",
|
|
8354
8437
|
"hasDynamicHelp": false,
|
|
8355
8438
|
"multiple": false,
|
|
8356
8439
|
"type": "option"
|
|
8357
8440
|
},
|
|
8358
8441
|
"knowledge-base": {
|
|
8359
|
-
"
|
|
8442
|
+
"hidden": true,
|
|
8360
8443
|
"name": "knowledge-base",
|
|
8361
8444
|
"hasDynamicHelp": false,
|
|
8362
|
-
"helpValue": "<id>",
|
|
8363
8445
|
"multiple": true,
|
|
8364
8446
|
"type": "option"
|
|
8365
8447
|
},
|
|
8366
|
-
"
|
|
8367
|
-
"
|
|
8448
|
+
"no-dataset": {
|
|
8449
|
+
"description": "Stop serving the dataset, which also removes the GROQ filter",
|
|
8450
|
+
"exclusive": [
|
|
8368
8451
|
"dataset"
|
|
8369
8452
|
],
|
|
8453
|
+
"name": "no-dataset",
|
|
8454
|
+
"allowNo": false,
|
|
8455
|
+
"type": "boolean"
|
|
8456
|
+
},
|
|
8457
|
+
"perspective": {
|
|
8370
8458
|
"description": "Perspective agents query the dataset with",
|
|
8371
8459
|
"name": "perspective",
|
|
8372
8460
|
"hasDynamicHelp": false,
|
|
@@ -8378,27 +8466,29 @@
|
|
|
8378
8466
|
],
|
|
8379
8467
|
"type": "option"
|
|
8380
8468
|
},
|
|
8469
|
+
"remove-knowledge-base": {
|
|
8470
|
+
"description": "Knowledge base to remove from the endpoint; repeat the flag to remove several",
|
|
8471
|
+
"name": "remove-knowledge-base",
|
|
8472
|
+
"hasDynamicHelp": false,
|
|
8473
|
+
"helpValue": "<id>",
|
|
8474
|
+
"multiple": true,
|
|
8475
|
+
"type": "option"
|
|
8476
|
+
},
|
|
8381
8477
|
"semantic-search": {
|
|
8382
|
-
"dependsOn": [
|
|
8383
|
-
"dataset"
|
|
8384
|
-
],
|
|
8385
8478
|
"description": "Let agents use semantic search on the dataset (--no-semantic-search to turn it off)",
|
|
8386
8479
|
"name": "semantic-search",
|
|
8387
8480
|
"allowNo": true,
|
|
8388
8481
|
"type": "boolean"
|
|
8389
8482
|
},
|
|
8390
8483
|
"title": {
|
|
8391
|
-
"description": "MCP endpoint title",
|
|
8484
|
+
"description": "New MCP endpoint title",
|
|
8392
8485
|
"name": "title",
|
|
8393
8486
|
"hasDynamicHelp": false,
|
|
8394
8487
|
"multiple": false,
|
|
8395
8488
|
"type": "option"
|
|
8396
8489
|
},
|
|
8397
8490
|
"workspace": {
|
|
8398
|
-
"
|
|
8399
|
-
"dataset"
|
|
8400
|
-
],
|
|
8401
|
-
"description": "Studio workspace whose schema agents use, instead of the first workspace",
|
|
8491
|
+
"description": "Studio workspace whose schema agents use (\"\" goes back to the first workspace)",
|
|
8402
8492
|
"name": "workspace",
|
|
8403
8493
|
"hasDynamicHelp": false,
|
|
8404
8494
|
"multiple": false,
|
|
@@ -8407,7 +8497,7 @@
|
|
|
8407
8497
|
},
|
|
8408
8498
|
"hasDynamicHelp": false,
|
|
8409
8499
|
"hiddenAliases": [],
|
|
8410
|
-
"id": "context:mcp:
|
|
8500
|
+
"id": "context:mcp:update",
|
|
8411
8501
|
"pluginAlias": "@sanity/cli",
|
|
8412
8502
|
"pluginName": "@sanity/cli",
|
|
8413
8503
|
"pluginType": "core",
|
|
@@ -8440,81 +8530,94 @@
|
|
|
8440
8530
|
"commands",
|
|
8441
8531
|
"context",
|
|
8442
8532
|
"mcp",
|
|
8443
|
-
"
|
|
8533
|
+
"update.js"
|
|
8444
8534
|
]
|
|
8445
8535
|
},
|
|
8446
|
-
"context:
|
|
8536
|
+
"context:issues:apply": {
|
|
8447
8537
|
"aliases": [],
|
|
8448
8538
|
"args": {
|
|
8449
|
-
"
|
|
8450
|
-
"description": "
|
|
8451
|
-
"name": "
|
|
8539
|
+
"knowledgeBaseId": {
|
|
8540
|
+
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8541
|
+
"name": "knowledgeBaseId",
|
|
8542
|
+
"required": true
|
|
8543
|
+
},
|
|
8544
|
+
"issueIds": {
|
|
8545
|
+
"description": "The IDs of the issues to accept and apply.",
|
|
8546
|
+
"multiple": true,
|
|
8547
|
+
"name": "issueIds",
|
|
8452
8548
|
"required": true
|
|
8453
8549
|
}
|
|
8454
8550
|
},
|
|
8455
|
-
"description": "
|
|
8551
|
+
"description": "Accepts the issues in `issueIds`, then queues a job that applies them, rewrites the affected entries, and saves a new revision. Returns a job ID. IDs of issues that no longer exist are skipped. Returns `409` with code `issueNotAutoApplicable`, and accepts none of the issues, if any of them cannot be applied: a `conflict` (resolve it with `POST .../issues/{issueId}/resolve`), or an `update_required` issue whose `scopePath` is `*` or names an entry that no longer exists. Dismiss those instead.",
|
|
8456
8552
|
"examples": [
|
|
8457
8553
|
{
|
|
8458
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8459
|
-
"description": "
|
|
8554
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId>",
|
|
8555
|
+
"description": "Accept and apply issues"
|
|
8460
8556
|
},
|
|
8461
8557
|
{
|
|
8462
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8463
|
-
"description": "
|
|
8558
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> --json",
|
|
8559
|
+
"description": "Accept and apply issues, as JSON"
|
|
8464
8560
|
}
|
|
8465
8561
|
],
|
|
8466
8562
|
"flags": {
|
|
8467
|
-
"
|
|
8468
|
-
"description": "
|
|
8469
|
-
"helpGroup": "
|
|
8470
|
-
"name": "
|
|
8471
|
-
"
|
|
8472
|
-
"
|
|
8473
|
-
"multiple": false,
|
|
8474
|
-
"type": "option"
|
|
8563
|
+
"json": {
|
|
8564
|
+
"description": "Format output as json.",
|
|
8565
|
+
"helpGroup": "GLOBAL",
|
|
8566
|
+
"name": "json",
|
|
8567
|
+
"allowNo": false,
|
|
8568
|
+
"type": "boolean"
|
|
8475
8569
|
},
|
|
8476
|
-
"
|
|
8477
|
-
"
|
|
8478
|
-
"
|
|
8479
|
-
"name": "yes",
|
|
8570
|
+
"watch": {
|
|
8571
|
+
"description": "Wait for the job to finish, exiting non-zero if it fails",
|
|
8572
|
+
"name": "watch",
|
|
8480
8573
|
"allowNo": false,
|
|
8481
8574
|
"type": "boolean"
|
|
8482
8575
|
}
|
|
8483
8576
|
},
|
|
8484
8577
|
"hasDynamicHelp": false,
|
|
8485
8578
|
"hiddenAliases": [],
|
|
8486
|
-
"id": "context:
|
|
8579
|
+
"id": "context:issues:apply",
|
|
8487
8580
|
"pluginAlias": "@sanity/cli",
|
|
8488
8581
|
"pluginName": "@sanity/cli",
|
|
8489
8582
|
"pluginType": "core",
|
|
8490
8583
|
"strict": true,
|
|
8584
|
+
"summary": "Accept and apply issues",
|
|
8585
|
+
"enableJsonFlag": true,
|
|
8586
|
+
"telemetry": {
|
|
8587
|
+
"redactedFlags": []
|
|
8588
|
+
},
|
|
8491
8589
|
"isESM": true,
|
|
8492
8590
|
"relativePath": [
|
|
8493
8591
|
"dist",
|
|
8494
8592
|
"commands",
|
|
8495
8593
|
"context",
|
|
8496
|
-
"
|
|
8497
|
-
"
|
|
8594
|
+
"issues",
|
|
8595
|
+
"apply.js"
|
|
8498
8596
|
]
|
|
8499
8597
|
},
|
|
8500
|
-
"context:
|
|
8598
|
+
"context:issues:dismiss": {
|
|
8501
8599
|
"aliases": [],
|
|
8502
8600
|
"args": {
|
|
8503
|
-
"
|
|
8504
|
-
"description": "
|
|
8505
|
-
"name": "
|
|
8601
|
+
"knowledgeBaseId": {
|
|
8602
|
+
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8603
|
+
"name": "knowledgeBaseId",
|
|
8604
|
+
"required": true
|
|
8605
|
+
},
|
|
8606
|
+
"issueId": {
|
|
8607
|
+
"description": "The issue's document ID.",
|
|
8608
|
+
"name": "issueId",
|
|
8506
8609
|
"required": true
|
|
8507
8610
|
}
|
|
8508
8611
|
},
|
|
8509
|
-
"description": "
|
|
8612
|
+
"description": "Marks the issue as rejected. If the issue already left triage, the request returns it unchanged. Returns `422` with code `issueDocumentInvalid` if the issue document was edited into a shape the API cannot verify. Returns `409` with code `issueTransitionConflict` if another change to the issue happened at the same time. You can safely retry a `409`.",
|
|
8510
8613
|
"examples": [
|
|
8511
8614
|
{
|
|
8512
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8513
|
-
"description": "
|
|
8615
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId>",
|
|
8616
|
+
"description": "Dismiss an issue"
|
|
8514
8617
|
},
|
|
8515
8618
|
{
|
|
8516
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8517
|
-
"description": "
|
|
8619
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId> --json",
|
|
8620
|
+
"description": "Dismiss an issue, as JSON"
|
|
8518
8621
|
}
|
|
8519
8622
|
],
|
|
8520
8623
|
"flags": {
|
|
@@ -8524,52 +8627,52 @@
|
|
|
8524
8627
|
"name": "json",
|
|
8525
8628
|
"allowNo": false,
|
|
8526
8629
|
"type": "boolean"
|
|
8527
|
-
},
|
|
8528
|
-
"organization": {
|
|
8529
|
-
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8530
|
-
"helpGroup": "OVERRIDE",
|
|
8531
|
-
"name": "organization",
|
|
8532
|
-
"hasDynamicHelp": false,
|
|
8533
|
-
"helpValue": "<id>",
|
|
8534
|
-
"multiple": false,
|
|
8535
|
-
"type": "option"
|
|
8536
8630
|
}
|
|
8537
8631
|
},
|
|
8538
8632
|
"hasDynamicHelp": false,
|
|
8539
8633
|
"hiddenAliases": [],
|
|
8540
|
-
"id": "context:
|
|
8634
|
+
"id": "context:issues:dismiss",
|
|
8541
8635
|
"pluginAlias": "@sanity/cli",
|
|
8542
8636
|
"pluginName": "@sanity/cli",
|
|
8543
8637
|
"pluginType": "core",
|
|
8544
8638
|
"strict": true,
|
|
8639
|
+
"summary": "Dismiss an issue",
|
|
8545
8640
|
"enableJsonFlag": true,
|
|
8641
|
+
"telemetry": {
|
|
8642
|
+
"redactedFlags": []
|
|
8643
|
+
},
|
|
8546
8644
|
"isESM": true,
|
|
8547
8645
|
"relativePath": [
|
|
8548
8646
|
"dist",
|
|
8549
8647
|
"commands",
|
|
8550
8648
|
"context",
|
|
8551
|
-
"
|
|
8552
|
-
"
|
|
8649
|
+
"issues",
|
|
8650
|
+
"dismiss.js"
|
|
8553
8651
|
]
|
|
8554
8652
|
},
|
|
8555
|
-
"context:
|
|
8653
|
+
"context:issues:get": {
|
|
8556
8654
|
"aliases": [],
|
|
8557
8655
|
"args": {
|
|
8558
|
-
"
|
|
8559
|
-
"description": "
|
|
8560
|
-
"name": "
|
|
8656
|
+
"knowledgeBaseId": {
|
|
8657
|
+
"description": "Knowledge base ID",
|
|
8658
|
+
"name": "knowledgeBaseId",
|
|
8659
|
+
"required": true
|
|
8660
|
+
},
|
|
8661
|
+
"issueId": {
|
|
8662
|
+
"description": "Issue ID",
|
|
8663
|
+
"name": "issueId",
|
|
8561
8664
|
"required": true
|
|
8562
8665
|
}
|
|
8563
8666
|
},
|
|
8564
|
-
"description": "
|
|
8667
|
+
"description": "Get details of an issue",
|
|
8565
8668
|
"examples": [
|
|
8566
8669
|
{
|
|
8567
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8568
|
-
"description": "Get
|
|
8670
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue.def456",
|
|
8671
|
+
"description": "Get details of a specific issue"
|
|
8569
8672
|
},
|
|
8570
8673
|
{
|
|
8571
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8572
|
-
"description": "
|
|
8674
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue.def456 --json",
|
|
8675
|
+
"description": "Output the issue as JSON"
|
|
8573
8676
|
}
|
|
8574
8677
|
],
|
|
8575
8678
|
"flags": {
|
|
@@ -8579,77 +8682,55 @@
|
|
|
8579
8682
|
"name": "json",
|
|
8580
8683
|
"allowNo": false,
|
|
8581
8684
|
"type": "boolean"
|
|
8582
|
-
},
|
|
8583
|
-
"link-resolver": {
|
|
8584
|
-
"description": "A JSON array that adds `_url` fields to query results. Each item has `types` (document types), `baseUrl`, and an optional `slugExpression`, a GROQ expression that defaults to `slug.current`. Invalid JSON is ignored.",
|
|
8585
|
-
"name": "link-resolver",
|
|
8586
|
-
"hasDynamicHelp": false,
|
|
8587
|
-
"multiple": false,
|
|
8588
|
-
"type": "option"
|
|
8589
|
-
},
|
|
8590
|
-
"heading_offset": {
|
|
8591
|
-
"description": "How many levels to shift markdown headings down, from `0` to `6`. Defaults to `1`, so `#` becomes `##`.",
|
|
8592
|
-
"name": "heading_offset",
|
|
8593
|
-
"hasDynamicHelp": false,
|
|
8594
|
-
"multiple": false,
|
|
8595
|
-
"type": "option"
|
|
8596
|
-
},
|
|
8597
|
-
"organization": {
|
|
8598
|
-
"description": "Organization ID (overrides CLI configuration)",
|
|
8599
|
-
"helpGroup": "OVERRIDE",
|
|
8600
|
-
"name": "organization",
|
|
8601
|
-
"hasDynamicHelp": false,
|
|
8602
|
-
"helpValue": "<id>",
|
|
8603
|
-
"multiple": false,
|
|
8604
|
-
"type": "option"
|
|
8605
8685
|
}
|
|
8606
8686
|
},
|
|
8607
8687
|
"hasDynamicHelp": false,
|
|
8608
8688
|
"hiddenAliases": [],
|
|
8609
|
-
"id": "context:
|
|
8689
|
+
"id": "context:issues:get",
|
|
8610
8690
|
"pluginAlias": "@sanity/cli",
|
|
8611
8691
|
"pluginName": "@sanity/cli",
|
|
8612
8692
|
"pluginType": "core",
|
|
8613
8693
|
"strict": true,
|
|
8614
|
-
"summary": "Get an MCP endpoint's initial context",
|
|
8615
8694
|
"enableJsonFlag": true,
|
|
8616
|
-
"telemetry": {
|
|
8617
|
-
"redactedFlags": [
|
|
8618
|
-
{
|
|
8619
|
-
"canonical": "--link-resolver",
|
|
8620
|
-
"flags": [
|
|
8621
|
-
"--link-resolver"
|
|
8622
|
-
]
|
|
8623
|
-
},
|
|
8624
|
-
{
|
|
8625
|
-
"canonical": "--heading_offset",
|
|
8626
|
-
"flags": [
|
|
8627
|
-
"--heading_offset"
|
|
8628
|
-
]
|
|
8629
|
-
}
|
|
8630
|
-
]
|
|
8631
|
-
},
|
|
8632
8695
|
"isESM": true,
|
|
8633
8696
|
"relativePath": [
|
|
8634
8697
|
"dist",
|
|
8635
8698
|
"commands",
|
|
8636
8699
|
"context",
|
|
8637
|
-
"
|
|
8638
|
-
"
|
|
8700
|
+
"issues",
|
|
8701
|
+
"get.js"
|
|
8639
8702
|
]
|
|
8640
8703
|
},
|
|
8641
|
-
"context:
|
|
8704
|
+
"context:issues:list": {
|
|
8642
8705
|
"aliases": [],
|
|
8643
|
-
"args": {
|
|
8644
|
-
|
|
8706
|
+
"args": {
|
|
8707
|
+
"knowledgeBaseId": {
|
|
8708
|
+
"description": "Knowledge base ID",
|
|
8709
|
+
"name": "knowledgeBaseId",
|
|
8710
|
+
"required": true
|
|
8711
|
+
}
|
|
8712
|
+
},
|
|
8713
|
+
"description": "List issues found by knowledge base builds",
|
|
8645
8714
|
"examples": [
|
|
8646
8715
|
{
|
|
8647
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
8648
|
-
"description": "List
|
|
8716
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123",
|
|
8717
|
+
"description": "List all issues for a knowledge base"
|
|
8649
8718
|
},
|
|
8650
8719
|
{
|
|
8651
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8652
|
-
"description": "
|
|
8720
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --status open",
|
|
8721
|
+
"description": "List issues awaiting triage"
|
|
8722
|
+
},
|
|
8723
|
+
{
|
|
8724
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --kind conflict --severity critical",
|
|
8725
|
+
"description": "List critical conflicts"
|
|
8726
|
+
},
|
|
8727
|
+
{
|
|
8728
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --scope billing",
|
|
8729
|
+
"description": "List issues about entries under billing/"
|
|
8730
|
+
},
|
|
8731
|
+
{
|
|
8732
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --json",
|
|
8733
|
+
"description": "Output issues as JSON"
|
|
8653
8734
|
}
|
|
8654
8735
|
],
|
|
8655
8736
|
"flags": {
|
|
@@ -8660,19 +8741,52 @@
|
|
|
8660
8741
|
"allowNo": false,
|
|
8661
8742
|
"type": "boolean"
|
|
8662
8743
|
},
|
|
8663
|
-
"
|
|
8664
|
-
"description": "
|
|
8665
|
-
"
|
|
8666
|
-
"
|
|
8744
|
+
"kind": {
|
|
8745
|
+
"description": "Only list issues of this kind",
|
|
8746
|
+
"name": "kind",
|
|
8747
|
+
"hasDynamicHelp": false,
|
|
8748
|
+
"multiple": false,
|
|
8749
|
+
"options": [
|
|
8750
|
+
"conflict",
|
|
8751
|
+
"update_required"
|
|
8752
|
+
],
|
|
8753
|
+
"type": "option"
|
|
8754
|
+
},
|
|
8755
|
+
"scope": {
|
|
8756
|
+
"description": "Only list issues about this entry path or anything under it (`*` for knowledge-base-wide issues)",
|
|
8757
|
+
"name": "scope",
|
|
8758
|
+
"hasDynamicHelp": false,
|
|
8759
|
+
"helpValue": "<path>",
|
|
8760
|
+
"multiple": false,
|
|
8761
|
+
"type": "option"
|
|
8762
|
+
},
|
|
8763
|
+
"severity": {
|
|
8764
|
+
"description": "Only list issues of this severity",
|
|
8765
|
+
"name": "severity",
|
|
8766
|
+
"hasDynamicHelp": false,
|
|
8767
|
+
"multiple": false,
|
|
8768
|
+
"options": [
|
|
8769
|
+
"critical",
|
|
8770
|
+
"suggestion"
|
|
8771
|
+
],
|
|
8772
|
+
"type": "option"
|
|
8773
|
+
},
|
|
8774
|
+
"status": {
|
|
8775
|
+
"description": "Only list issues with this status (rejected = dismissed, accepted = resolved or applied)",
|
|
8776
|
+
"name": "status",
|
|
8667
8777
|
"hasDynamicHelp": false,
|
|
8668
|
-
"helpValue": "<id>",
|
|
8669
8778
|
"multiple": false,
|
|
8779
|
+
"options": [
|
|
8780
|
+
"open",
|
|
8781
|
+
"accepted",
|
|
8782
|
+
"rejected"
|
|
8783
|
+
],
|
|
8670
8784
|
"type": "option"
|
|
8671
8785
|
}
|
|
8672
8786
|
},
|
|
8673
8787
|
"hasDynamicHelp": false,
|
|
8674
8788
|
"hiddenAliases": [],
|
|
8675
|
-
"id": "context:
|
|
8789
|
+
"id": "context:issues:list",
|
|
8676
8790
|
"pluginAlias": "@sanity/cli",
|
|
8677
8791
|
"pluginName": "@sanity/cli",
|
|
8678
8792
|
"pluginType": "core",
|
|
@@ -8683,24 +8797,33 @@
|
|
|
8683
8797
|
"dist",
|
|
8684
8798
|
"commands",
|
|
8685
8799
|
"context",
|
|
8686
|
-
"
|
|
8800
|
+
"issues",
|
|
8687
8801
|
"list.js"
|
|
8688
8802
|
]
|
|
8689
8803
|
},
|
|
8690
|
-
"context:
|
|
8804
|
+
"context:issues:reopen": {
|
|
8691
8805
|
"aliases": [],
|
|
8692
8806
|
"args": {
|
|
8693
|
-
"
|
|
8694
|
-
"description": "
|
|
8695
|
-
"name": "
|
|
8807
|
+
"knowledgeBaseId": {
|
|
8808
|
+
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8809
|
+
"name": "knowledgeBaseId",
|
|
8810
|
+
"required": true
|
|
8811
|
+
},
|
|
8812
|
+
"issueId": {
|
|
8813
|
+
"description": "The issue's document ID.",
|
|
8814
|
+
"name": "issueId",
|
|
8696
8815
|
"required": true
|
|
8697
8816
|
}
|
|
8698
8817
|
},
|
|
8699
|
-
"description": "
|
|
8818
|
+
"description": "Returns an accepted conflict issue to triage, clears its resolution, and deletes the instruction the resolution created. Reopening an open or dismissed conflict returns it unchanged. Other issue types return `422` with code `issueNotResolvable`.",
|
|
8700
8819
|
"examples": [
|
|
8701
8820
|
{
|
|
8702
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8703
|
-
"description": "
|
|
8821
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId>",
|
|
8822
|
+
"description": "Reopen an accepted conflict"
|
|
8823
|
+
},
|
|
8824
|
+
{
|
|
8825
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId> --json",
|
|
8826
|
+
"description": "Reopen an accepted conflict, as JSON"
|
|
8704
8827
|
}
|
|
8705
8828
|
],
|
|
8706
8829
|
"flags": {
|
|
@@ -8710,176 +8833,71 @@
|
|
|
8710
8833
|
"name": "json",
|
|
8711
8834
|
"allowNo": false,
|
|
8712
8835
|
"type": "boolean"
|
|
8713
|
-
},
|
|
8714
|
-
"organization": {
|
|
8715
|
-
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8716
|
-
"helpGroup": "OVERRIDE",
|
|
8717
|
-
"name": "organization",
|
|
8718
|
-
"hasDynamicHelp": false,
|
|
8719
|
-
"helpValue": "<id>",
|
|
8720
|
-
"multiple": false,
|
|
8721
|
-
"type": "option"
|
|
8722
8836
|
}
|
|
8723
8837
|
},
|
|
8724
8838
|
"hasDynamicHelp": false,
|
|
8725
8839
|
"hiddenAliases": [],
|
|
8726
|
-
"id": "context:
|
|
8840
|
+
"id": "context:issues:reopen",
|
|
8727
8841
|
"pluginAlias": "@sanity/cli",
|
|
8728
8842
|
"pluginName": "@sanity/cli",
|
|
8729
8843
|
"pluginType": "core",
|
|
8730
8844
|
"strict": true,
|
|
8845
|
+
"summary": "Reopen an accepted conflict",
|
|
8731
8846
|
"enableJsonFlag": true,
|
|
8847
|
+
"telemetry": {
|
|
8848
|
+
"redactedFlags": []
|
|
8849
|
+
},
|
|
8732
8850
|
"isESM": true,
|
|
8733
8851
|
"relativePath": [
|
|
8734
8852
|
"dist",
|
|
8735
8853
|
"commands",
|
|
8736
8854
|
"context",
|
|
8737
|
-
"
|
|
8738
|
-
"
|
|
8855
|
+
"issues",
|
|
8856
|
+
"reopen.js"
|
|
8739
8857
|
]
|
|
8740
8858
|
},
|
|
8741
|
-
"context:
|
|
8859
|
+
"context:issues:resolve": {
|
|
8742
8860
|
"aliases": [],
|
|
8743
8861
|
"args": {
|
|
8744
|
-
"
|
|
8745
|
-
"description": "
|
|
8746
|
-
"name": "
|
|
8862
|
+
"knowledgeBaseId": {
|
|
8863
|
+
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8864
|
+
"name": "knowledgeBaseId",
|
|
8865
|
+
"required": true
|
|
8866
|
+
},
|
|
8867
|
+
"issueId": {
|
|
8868
|
+
"description": "The issue's document ID.",
|
|
8869
|
+
"name": "issueId",
|
|
8747
8870
|
"required": true
|
|
8748
8871
|
}
|
|
8749
8872
|
},
|
|
8750
|
-
"description": "
|
|
8873
|
+
"description": "Resolves a conflict issue by choosing one of its sides. Set `resolution` to the index of a side in `content.sides`. For a conflict on a single entry, index `0` is the entry's current content, so choosing it keeps the entry as it is. Choosing any other side rewrites the entry, and the returned `jobId` tracks the rewrite. The decision becomes a standing instruction for every future build, and `resolvedBy` records who made it. To change a decision, resolve the accepted conflict again. Other issue types, dismissed conflicts, and out-of-range indexes return `422` with code `issueNotResolvable`.",
|
|
8751
8874
|
"examples": [
|
|
8752
8875
|
{
|
|
8753
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8754
|
-
"description": "
|
|
8755
|
-
},
|
|
8756
|
-
{
|
|
8757
|
-
"command": "<%= config.bin %> <%= command.id %> support --add-knowledge-base kb-def456 --remove-knowledge-base kb-abc123",
|
|
8758
|
-
"description": "Serve a different knowledge base"
|
|
8759
|
-
},
|
|
8760
|
-
{
|
|
8761
|
-
"command": "<%= config.bin %> <%= command.id %> catalog --project abc123 --dataset staging --perspective drafts",
|
|
8762
|
-
"description": "Switch to another dataset and query its drafts"
|
|
8763
|
-
},
|
|
8764
|
-
{
|
|
8765
|
-
"command": "<%= config.bin %> <%= command.id %> support --no-dataset",
|
|
8766
|
-
"description": "Stop serving the dataset"
|
|
8876
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue-def456",
|
|
8877
|
+
"description": "Choose the correct side interactively"
|
|
8767
8878
|
},
|
|
8768
8879
|
{
|
|
8769
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8770
|
-
"description": "
|
|
8880
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue-def456 --side 1 --watch",
|
|
8881
|
+
"description": "Choose side 1 and wait for the entry rewrite"
|
|
8771
8882
|
}
|
|
8772
8883
|
],
|
|
8773
8884
|
"flags": {
|
|
8774
|
-
"
|
|
8775
|
-
"description": "
|
|
8776
|
-
"helpGroup": "
|
|
8777
|
-
"name": "
|
|
8778
|
-
"hasDynamicHelp": false,
|
|
8779
|
-
"helpValue": "<id>",
|
|
8780
|
-
"multiple": false,
|
|
8781
|
-
"type": "option"
|
|
8782
|
-
},
|
|
8783
|
-
"add-knowledge-base": {
|
|
8784
|
-
"description": "Knowledge base to add to the endpoint; repeat the flag to add several",
|
|
8785
|
-
"name": "add-knowledge-base",
|
|
8786
|
-
"hasDynamicHelp": false,
|
|
8787
|
-
"helpValue": "<id>",
|
|
8788
|
-
"multiple": true,
|
|
8789
|
-
"type": "option"
|
|
8790
|
-
},
|
|
8791
|
-
"dataset": {
|
|
8792
|
-
"char": "d",
|
|
8793
|
-
"description": "Dataset the endpoint serves, replacing its current dataset",
|
|
8794
|
-
"name": "dataset",
|
|
8795
|
-
"hasDynamicHelp": false,
|
|
8796
|
-
"helpValue": "<name>",
|
|
8797
|
-
"multiple": false,
|
|
8798
|
-
"type": "option"
|
|
8799
|
-
},
|
|
8800
|
-
"project": {
|
|
8801
|
-
"aliases": [
|
|
8802
|
-
"project-id"
|
|
8803
|
-
],
|
|
8804
|
-
"char": "p",
|
|
8805
|
-
"dependsOn": [
|
|
8806
|
-
"dataset"
|
|
8807
|
-
],
|
|
8808
|
-
"deprecateAliases": true,
|
|
8809
|
-
"description": "Project the dataset belongs to (overrides CLI configuration)",
|
|
8810
|
-
"helpGroup": "OVERRIDE",
|
|
8811
|
-
"name": "project",
|
|
8812
|
-
"hasDynamicHelp": false,
|
|
8813
|
-
"helpValue": "<id>",
|
|
8814
|
-
"multiple": false,
|
|
8815
|
-
"type": "option"
|
|
8816
|
-
},
|
|
8817
|
-
"groq-filter": {
|
|
8818
|
-
"description": "GROQ filter that limits which dataset documents the endpoint serves (\"\" removes it)",
|
|
8819
|
-
"name": "groq-filter",
|
|
8820
|
-
"hasDynamicHelp": false,
|
|
8821
|
-
"multiple": false,
|
|
8822
|
-
"type": "option"
|
|
8823
|
-
},
|
|
8824
|
-
"instructions": {
|
|
8825
|
-
"description": "Instructions the endpoint serves to connecting agents (\"\" removes them)",
|
|
8826
|
-
"name": "instructions",
|
|
8827
|
-
"hasDynamicHelp": false,
|
|
8828
|
-
"multiple": false,
|
|
8829
|
-
"type": "option"
|
|
8830
|
-
},
|
|
8831
|
-
"knowledge-base": {
|
|
8832
|
-
"hidden": true,
|
|
8833
|
-
"name": "knowledge-base",
|
|
8834
|
-
"hasDynamicHelp": false,
|
|
8835
|
-
"multiple": true,
|
|
8836
|
-
"type": "option"
|
|
8837
|
-
},
|
|
8838
|
-
"no-dataset": {
|
|
8839
|
-
"description": "Stop serving the dataset, which also removes the GROQ filter",
|
|
8840
|
-
"exclusive": [
|
|
8841
|
-
"dataset"
|
|
8842
|
-
],
|
|
8843
|
-
"name": "no-dataset",
|
|
8885
|
+
"json": {
|
|
8886
|
+
"description": "Format output as json.",
|
|
8887
|
+
"helpGroup": "GLOBAL",
|
|
8888
|
+
"name": "json",
|
|
8844
8889
|
"allowNo": false,
|
|
8845
8890
|
"type": "boolean"
|
|
8846
8891
|
},
|
|
8847
|
-
"
|
|
8848
|
-
"description": "
|
|
8849
|
-
"name": "
|
|
8850
|
-
"
|
|
8851
|
-
"multiple": false,
|
|
8852
|
-
"options": [
|
|
8853
|
-
"published",
|
|
8854
|
-
"drafts",
|
|
8855
|
-
"raw"
|
|
8856
|
-
],
|
|
8857
|
-
"type": "option"
|
|
8858
|
-
},
|
|
8859
|
-
"remove-knowledge-base": {
|
|
8860
|
-
"description": "Knowledge base to remove from the endpoint; repeat the flag to remove several",
|
|
8861
|
-
"name": "remove-knowledge-base",
|
|
8862
|
-
"hasDynamicHelp": false,
|
|
8863
|
-
"helpValue": "<id>",
|
|
8864
|
-
"multiple": true,
|
|
8865
|
-
"type": "option"
|
|
8866
|
-
},
|
|
8867
|
-
"semantic-search": {
|
|
8868
|
-
"description": "Let agents use semantic search on the dataset (--no-semantic-search to turn it off)",
|
|
8869
|
-
"name": "semantic-search",
|
|
8870
|
-
"allowNo": true,
|
|
8892
|
+
"watch": {
|
|
8893
|
+
"description": "Wait for the job to finish, exiting non-zero if it fails",
|
|
8894
|
+
"name": "watch",
|
|
8895
|
+
"allowNo": false,
|
|
8871
8896
|
"type": "boolean"
|
|
8872
8897
|
},
|
|
8873
|
-
"
|
|
8874
|
-
"description": "
|
|
8875
|
-
"name": "
|
|
8876
|
-
"hasDynamicHelp": false,
|
|
8877
|
-
"multiple": false,
|
|
8878
|
-
"type": "option"
|
|
8879
|
-
},
|
|
8880
|
-
"workspace": {
|
|
8881
|
-
"description": "Studio workspace whose schema agents use (\"\" goes back to the first workspace)",
|
|
8882
|
-
"name": "workspace",
|
|
8898
|
+
"side": {
|
|
8899
|
+
"description": "Index of the correct side, as listed by `sanity context issues get`",
|
|
8900
|
+
"name": "side",
|
|
8883
8901
|
"hasDynamicHelp": false,
|
|
8884
8902
|
"multiple": false,
|
|
8885
8903
|
"type": "option"
|
|
@@ -8887,40 +8905,22 @@
|
|
|
8887
8905
|
},
|
|
8888
8906
|
"hasDynamicHelp": false,
|
|
8889
8907
|
"hiddenAliases": [],
|
|
8890
|
-
"id": "context:
|
|
8908
|
+
"id": "context:issues:resolve",
|
|
8891
8909
|
"pluginAlias": "@sanity/cli",
|
|
8892
8910
|
"pluginName": "@sanity/cli",
|
|
8893
8911
|
"pluginType": "core",
|
|
8894
|
-
"
|
|
8912
|
+
"summary": "Resolve a conflict issue",
|
|
8913
|
+
"enableJsonFlag": true,
|
|
8895
8914
|
"telemetry": {
|
|
8896
|
-
"redactedFlags": [
|
|
8897
|
-
{
|
|
8898
|
-
"canonical": "--title",
|
|
8899
|
-
"flags": [
|
|
8900
|
-
"--title"
|
|
8901
|
-
]
|
|
8902
|
-
},
|
|
8903
|
-
{
|
|
8904
|
-
"canonical": "--instructions",
|
|
8905
|
-
"flags": [
|
|
8906
|
-
"--instructions"
|
|
8907
|
-
]
|
|
8908
|
-
},
|
|
8909
|
-
{
|
|
8910
|
-
"canonical": "--groq-filter",
|
|
8911
|
-
"flags": [
|
|
8912
|
-
"--groq-filter"
|
|
8913
|
-
]
|
|
8914
|
-
}
|
|
8915
|
-
]
|
|
8915
|
+
"redactedFlags": []
|
|
8916
8916
|
},
|
|
8917
8917
|
"isESM": true,
|
|
8918
8918
|
"relativePath": [
|
|
8919
8919
|
"dist",
|
|
8920
8920
|
"commands",
|
|
8921
8921
|
"context",
|
|
8922
|
-
"
|
|
8923
|
-
"
|
|
8922
|
+
"issues",
|
|
8923
|
+
"resolve.js"
|
|
8924
8924
|
]
|
|
8925
8925
|
},
|
|
8926
8926
|
"context:sources:create": {
|
|
@@ -10462,5 +10462,5 @@
|
|
|
10462
10462
|
]
|
|
10463
10463
|
}
|
|
10464
10464
|
},
|
|
10465
|
-
"version": "8.
|
|
10465
|
+
"version": "8.38.1"
|
|
10466
10466
|
}
|