@sanity/cli 6.0.0-alpha.10 → 6.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +113 -113
- package/package.json +3 -3
package/oclif.manifest.json
CHANGED
|
@@ -2896,118 +2896,6 @@
|
|
|
2896
2896
|
"import.js"
|
|
2897
2897
|
]
|
|
2898
2898
|
},
|
|
2899
|
-
"openapi:get": {
|
|
2900
|
-
"aliases": [],
|
|
2901
|
-
"args": {
|
|
2902
|
-
"slug": {
|
|
2903
|
-
"description": "Slug of the OpenAPI specification to retrieve",
|
|
2904
|
-
"name": "slug",
|
|
2905
|
-
"required": true
|
|
2906
|
-
}
|
|
2907
|
-
},
|
|
2908
|
-
"description": "Get an OpenAPI specification by slug",
|
|
2909
|
-
"examples": [
|
|
2910
|
-
{
|
|
2911
|
-
"command": "<%= config.bin %> <%= command.id %> query",
|
|
2912
|
-
"description": "Get a specification (YAML format, default)"
|
|
2913
|
-
},
|
|
2914
|
-
{
|
|
2915
|
-
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
2916
|
-
"description": "Get specification in JSON format"
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
2920
|
-
"description": "Open specification in browser"
|
|
2921
|
-
},
|
|
2922
|
-
{
|
|
2923
|
-
"command": "<%= config.bin %> <%= command.id %> query > query-api.yaml",
|
|
2924
|
-
"description": "Pipe to file"
|
|
2925
|
-
}
|
|
2926
|
-
],
|
|
2927
|
-
"flags": {
|
|
2928
|
-
"format": {
|
|
2929
|
-
"description": "Output format: yaml (default), json",
|
|
2930
|
-
"name": "format",
|
|
2931
|
-
"default": "yaml",
|
|
2932
|
-
"hasDynamicHelp": false,
|
|
2933
|
-
"multiple": false,
|
|
2934
|
-
"options": [
|
|
2935
|
-
"yaml",
|
|
2936
|
-
"json"
|
|
2937
|
-
],
|
|
2938
|
-
"type": "option"
|
|
2939
|
-
},
|
|
2940
|
-
"web": {
|
|
2941
|
-
"char": "w",
|
|
2942
|
-
"description": "Open in web browser",
|
|
2943
|
-
"name": "web",
|
|
2944
|
-
"allowNo": false,
|
|
2945
|
-
"type": "boolean"
|
|
2946
|
-
}
|
|
2947
|
-
},
|
|
2948
|
-
"hasDynamicHelp": false,
|
|
2949
|
-
"hiddenAliases": [],
|
|
2950
|
-
"id": "openapi:get",
|
|
2951
|
-
"pluginAlias": "@sanity/cli",
|
|
2952
|
-
"pluginName": "@sanity/cli",
|
|
2953
|
-
"pluginType": "core",
|
|
2954
|
-
"strict": true,
|
|
2955
|
-
"isESM": true,
|
|
2956
|
-
"relativePath": [
|
|
2957
|
-
"dist",
|
|
2958
|
-
"commands",
|
|
2959
|
-
"openapi",
|
|
2960
|
-
"get.js"
|
|
2961
|
-
]
|
|
2962
|
-
},
|
|
2963
|
-
"openapi:list": {
|
|
2964
|
-
"aliases": [],
|
|
2965
|
-
"args": {},
|
|
2966
|
-
"description": "List all available OpenAPI specifications",
|
|
2967
|
-
"examples": [
|
|
2968
|
-
{
|
|
2969
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2970
|
-
"description": "List all available OpenAPI specs"
|
|
2971
|
-
},
|
|
2972
|
-
{
|
|
2973
|
-
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
2974
|
-
"description": "List with JSON output"
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
2978
|
-
"description": "Open HTTP Reference in browser"
|
|
2979
|
-
}
|
|
2980
|
-
],
|
|
2981
|
-
"flags": {
|
|
2982
|
-
"json": {
|
|
2983
|
-
"description": "Output JSON",
|
|
2984
|
-
"name": "json",
|
|
2985
|
-
"allowNo": false,
|
|
2986
|
-
"type": "boolean"
|
|
2987
|
-
},
|
|
2988
|
-
"web": {
|
|
2989
|
-
"char": "w",
|
|
2990
|
-
"description": "Open HTTP Reference in web browser",
|
|
2991
|
-
"name": "web",
|
|
2992
|
-
"allowNo": false,
|
|
2993
|
-
"type": "boolean"
|
|
2994
|
-
}
|
|
2995
|
-
},
|
|
2996
|
-
"hasDynamicHelp": false,
|
|
2997
|
-
"hiddenAliases": [],
|
|
2998
|
-
"id": "openapi:list",
|
|
2999
|
-
"pluginAlias": "@sanity/cli",
|
|
3000
|
-
"pluginName": "@sanity/cli",
|
|
3001
|
-
"pluginType": "core",
|
|
3002
|
-
"strict": true,
|
|
3003
|
-
"isESM": true,
|
|
3004
|
-
"relativePath": [
|
|
3005
|
-
"dist",
|
|
3006
|
-
"commands",
|
|
3007
|
-
"openapi",
|
|
3008
|
-
"list.js"
|
|
3009
|
-
]
|
|
3010
|
-
},
|
|
3011
2899
|
"projects:create": {
|
|
3012
2900
|
"aliases": [],
|
|
3013
2901
|
"args": {
|
|
@@ -3152,6 +3040,118 @@
|
|
|
3152
3040
|
"list.js"
|
|
3153
3041
|
]
|
|
3154
3042
|
},
|
|
3043
|
+
"openapi:get": {
|
|
3044
|
+
"aliases": [],
|
|
3045
|
+
"args": {
|
|
3046
|
+
"slug": {
|
|
3047
|
+
"description": "Slug of the OpenAPI specification to retrieve",
|
|
3048
|
+
"name": "slug",
|
|
3049
|
+
"required": true
|
|
3050
|
+
}
|
|
3051
|
+
},
|
|
3052
|
+
"description": "Get an OpenAPI specification by slug",
|
|
3053
|
+
"examples": [
|
|
3054
|
+
{
|
|
3055
|
+
"command": "<%= config.bin %> <%= command.id %> query",
|
|
3056
|
+
"description": "Get a specification (YAML format, default)"
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
3060
|
+
"description": "Get specification in JSON format"
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
3064
|
+
"description": "Open specification in browser"
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"command": "<%= config.bin %> <%= command.id %> query > query-api.yaml",
|
|
3068
|
+
"description": "Pipe to file"
|
|
3069
|
+
}
|
|
3070
|
+
],
|
|
3071
|
+
"flags": {
|
|
3072
|
+
"format": {
|
|
3073
|
+
"description": "Output format: yaml (default), json",
|
|
3074
|
+
"name": "format",
|
|
3075
|
+
"default": "yaml",
|
|
3076
|
+
"hasDynamicHelp": false,
|
|
3077
|
+
"multiple": false,
|
|
3078
|
+
"options": [
|
|
3079
|
+
"yaml",
|
|
3080
|
+
"json"
|
|
3081
|
+
],
|
|
3082
|
+
"type": "option"
|
|
3083
|
+
},
|
|
3084
|
+
"web": {
|
|
3085
|
+
"char": "w",
|
|
3086
|
+
"description": "Open in web browser",
|
|
3087
|
+
"name": "web",
|
|
3088
|
+
"allowNo": false,
|
|
3089
|
+
"type": "boolean"
|
|
3090
|
+
}
|
|
3091
|
+
},
|
|
3092
|
+
"hasDynamicHelp": false,
|
|
3093
|
+
"hiddenAliases": [],
|
|
3094
|
+
"id": "openapi:get",
|
|
3095
|
+
"pluginAlias": "@sanity/cli",
|
|
3096
|
+
"pluginName": "@sanity/cli",
|
|
3097
|
+
"pluginType": "core",
|
|
3098
|
+
"strict": true,
|
|
3099
|
+
"isESM": true,
|
|
3100
|
+
"relativePath": [
|
|
3101
|
+
"dist",
|
|
3102
|
+
"commands",
|
|
3103
|
+
"openapi",
|
|
3104
|
+
"get.js"
|
|
3105
|
+
]
|
|
3106
|
+
},
|
|
3107
|
+
"openapi:list": {
|
|
3108
|
+
"aliases": [],
|
|
3109
|
+
"args": {},
|
|
3110
|
+
"description": "List all available OpenAPI specifications",
|
|
3111
|
+
"examples": [
|
|
3112
|
+
{
|
|
3113
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3114
|
+
"description": "List all available OpenAPI specs"
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
3118
|
+
"description": "List with JSON output"
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
3122
|
+
"description": "Open HTTP Reference in browser"
|
|
3123
|
+
}
|
|
3124
|
+
],
|
|
3125
|
+
"flags": {
|
|
3126
|
+
"json": {
|
|
3127
|
+
"description": "Output JSON",
|
|
3128
|
+
"name": "json",
|
|
3129
|
+
"allowNo": false,
|
|
3130
|
+
"type": "boolean"
|
|
3131
|
+
},
|
|
3132
|
+
"web": {
|
|
3133
|
+
"char": "w",
|
|
3134
|
+
"description": "Open HTTP Reference in web browser",
|
|
3135
|
+
"name": "web",
|
|
3136
|
+
"allowNo": false,
|
|
3137
|
+
"type": "boolean"
|
|
3138
|
+
}
|
|
3139
|
+
},
|
|
3140
|
+
"hasDynamicHelp": false,
|
|
3141
|
+
"hiddenAliases": [],
|
|
3142
|
+
"id": "openapi:list",
|
|
3143
|
+
"pluginAlias": "@sanity/cli",
|
|
3144
|
+
"pluginName": "@sanity/cli",
|
|
3145
|
+
"pluginType": "core",
|
|
3146
|
+
"strict": true,
|
|
3147
|
+
"isESM": true,
|
|
3148
|
+
"relativePath": [
|
|
3149
|
+
"dist",
|
|
3150
|
+
"commands",
|
|
3151
|
+
"openapi",
|
|
3152
|
+
"list.js"
|
|
3153
|
+
]
|
|
3154
|
+
},
|
|
3155
3155
|
"schema:delete": {
|
|
3156
3156
|
"aliases": [],
|
|
3157
3157
|
"args": {},
|
|
@@ -4150,5 +4150,5 @@
|
|
|
4150
4150
|
]
|
|
4151
4151
|
}
|
|
4152
4152
|
},
|
|
4153
|
-
"version": "6.0.0-alpha.
|
|
4153
|
+
"version": "6.0.0-alpha.11"
|
|
4154
4154
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.11",
|
|
4
4
|
"description": "Sanity CLI tool for managing Sanity projects and organizations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"vite": "^7.3.1",
|
|
118
118
|
"which": "^5.0.0",
|
|
119
119
|
"zod": "^4.3.6",
|
|
120
|
-
"@sanity/cli-core": "0.1.0-alpha.
|
|
120
|
+
"@sanity/cli-core": "0.1.0-alpha.11"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
123
|
"@eslint/compat": "^2.0.2",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"vitest": "^4.0.18",
|
|
153
153
|
"@repo/package.config": "0.0.1",
|
|
154
154
|
"@repo/tsconfig": "3.70.0",
|
|
155
|
-
"@sanity/cli-test": "0.0.2-alpha.
|
|
155
|
+
"@sanity/cli-test": "0.0.2-alpha.10",
|
|
156
156
|
"@sanity/eslint-config-cli": "0.0.0-alpha.2"
|
|
157
157
|
},
|
|
158
158
|
"engines": {
|