@ecomweb/cli 0.9.0 → 1.2.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/README.md +97 -13
- package/dist/commands/assets/get-by-entity.js +1 -1
- package/dist/commands/assets/get-by-entity.js.map +1 -1
- package/dist/commands/assets/link.js +1 -1
- package/dist/commands/assets/link.js.map +1 -1
- package/dist/commands/assets/list.js +21 -3
- package/dist/commands/assets/list.js.map +1 -1
- package/dist/commands/assets/update.js +1 -1
- package/dist/commands/assets/update.js.map +1 -1
- package/dist/commands/assets/upload.js +4 -3
- package/dist/commands/assets/upload.js.map +1 -1
- package/dist/commands/attributes/create.d.ts +2 -0
- package/dist/commands/attributes/create.js +19 -0
- package/dist/commands/attributes/create.js.map +1 -1
- package/dist/commands/attributes/delete.js +5 -0
- package/dist/commands/attributes/delete.js.map +1 -1
- package/dist/commands/attributes/update.js +5 -0
- package/dist/commands/attributes/update.js.map +1 -1
- package/dist/commands/attributes/values/create.js +5 -0
- package/dist/commands/attributes/values/create.js.map +1 -1
- package/dist/commands/attributes/values/delete.js +9 -0
- package/dist/commands/attributes/values/delete.js.map +1 -1
- package/dist/commands/attributes/values/update.js +9 -0
- package/dist/commands/attributes/values/update.js.map +1 -1
- package/dist/commands/auth/login.js +9 -2
- package/dist/commands/auth/login.js.map +1 -1
- package/dist/commands/auth/logout.js +4 -0
- package/dist/commands/auth/logout.js.map +1 -1
- package/dist/commands/auth/profiles/delete.js +9 -0
- package/dist/commands/auth/profiles/delete.js.map +1 -1
- package/dist/commands/auth/profiles/use.js +4 -0
- package/dist/commands/auth/profiles/use.js.map +1 -1
- package/dist/commands/blog-posts/batch-update.js +7 -4
- package/dist/commands/blog-posts/batch-update.js.map +1 -1
- package/dist/commands/deploy.d.ts +3 -0
- package/dist/commands/deploy.js +36 -1
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/orders/batch-update.js +7 -4
- package/dist/commands/orders/batch-update.js.map +1 -1
- package/dist/commands/products/batch-update.js +14 -5
- package/dist/commands/products/batch-update.js.map +1 -1
- package/dist/commands/products/get.d.ts +2 -0
- package/dist/commands/products/get.js +11 -0
- package/dist/commands/products/get.js.map +1 -1
- package/dist/commands/{banners/get.d.ts → products/index-status.d.ts} +1 -7
- package/dist/commands/products/index-status.js +34 -0
- package/dist/commands/products/index-status.js.map +1 -0
- package/dist/commands/{banners/delete.d.ts → products/variants/list.d.ts} +4 -4
- package/dist/commands/products/variants/list.js +33 -0
- package/dist/commands/products/variants/list.js.map +1 -0
- package/dist/commands/{banners → products/variants}/update.d.ts +13 -10
- package/dist/commands/products/variants/update.js +82 -0
- package/dist/commands/products/variants/update.js.map +1 -0
- package/dist/commands/{banners/list.d.ts → store-menus/add-item.d.ts} +9 -7
- package/dist/commands/store-menus/add-item.js +110 -0
- package/dist/commands/store-menus/add-item.js.map +1 -0
- package/dist/commands/store-menus/update.js +1 -1
- package/dist/commands/store-menus/update.js.map +1 -1
- package/dist/commands/store-pages/create.js +1 -1
- package/dist/commands/store-pages/create.js.map +1 -1
- package/dist/commands/store-pages/list.js +1 -1
- package/dist/commands/store-pages/list.js.map +1 -1
- package/dist/commands/store-pages/update.js +1 -1
- package/dist/commands/store-pages/update.js.map +1 -1
- package/dist/commands/store-settings/update.d.ts +1 -1
- package/dist/commands/store-settings/update.js +39 -4
- package/dist/commands/store-settings/update.js.map +1 -1
- package/dist/commands/storefront/init.js +16 -0
- package/dist/commands/storefront/init.js.map +1 -1
- package/dist/commands/storefront/key.js +9 -1
- package/dist/commands/storefront/key.js.map +1 -1
- package/dist/commands/stores/create.js +23 -2
- package/dist/commands/stores/create.js.map +1 -1
- package/dist/commands/stores/switch.js +13 -0
- package/dist/commands/stores/switch.js.map +1 -1
- package/dist/commands/theme/publish.js +10 -2
- package/dist/commands/theme/publish.js.map +1 -1
- package/dist/commands/theme/settings/get.d.ts +21 -0
- package/dist/commands/theme/settings/get.js +35 -0
- package/dist/commands/theme/settings/get.js.map +1 -0
- package/dist/commands/{banners/create.d.ts → theme/settings/set.d.ts} +8 -10
- package/dist/commands/theme/settings/set.js +91 -0
- package/dist/commands/theme/settings/set.js.map +1 -0
- package/dist/lib/api-client.d.ts +2 -0
- package/dist/lib/api-client.js +22 -1
- package/dist/lib/api-client.js.map +1 -1
- package/dist/lib/batch-filter.d.ts +6 -0
- package/dist/lib/batch-filter.js +60 -0
- package/dist/lib/batch-filter.js.map +1 -0
- package/dist/lib/codex-skill.d.ts +1 -1
- package/dist/lib/codex-skill.js +1 -1
- package/dist/lib/deploy-checks.d.ts +33 -0
- package/dist/lib/deploy-checks.js +50 -0
- package/dist/lib/deploy-checks.js.map +1 -0
- package/dist/lib/deployments.d.ts +1 -0
- package/dist/lib/deployments.js +4 -3
- package/dist/lib/deployments.js.map +1 -1
- package/dist/lib/describe-metafields.js +6 -5
- package/dist/lib/describe-metafields.js.map +1 -1
- package/dist/lib/device-login.js +1 -1
- package/dist/lib/device-login.js.map +1 -1
- package/dist/lib/errors.d.ts +2 -1
- package/dist/lib/errors.js +60 -0
- package/dist/lib/errors.js.map +1 -1
- package/dist/lib/index-status.d.ts +9 -0
- package/dist/lib/index-status.js +17 -0
- package/dist/lib/index-status.js.map +1 -0
- package/dist/lib/publishable-key.js +14 -3
- package/dist/lib/publishable-key.js.map +1 -1
- package/dist/lib/themes.d.ts +14 -0
- package/dist/lib/themes.js +42 -0
- package/dist/lib/themes.js.map +1 -1
- package/dist/lib/validators.d.ts +1 -0
- package/dist/lib/validators.js +296 -47
- package/dist/lib/validators.js.map +1 -1
- package/oclif.manifest.json +1849 -1732
- package/package.json +1 -1
- package/dist/commands/banners/create.js +0 -75
- package/dist/commands/banners/create.js.map +0 -1
- package/dist/commands/banners/delete.js +0 -35
- package/dist/commands/banners/delete.js.map +0 -1
- package/dist/commands/banners/get.js +0 -31
- package/dist/commands/banners/get.js.map +0 -1
- package/dist/commands/banners/list.js +0 -65
- package/dist/commands/banners/list.js.map +0 -1
- package/dist/commands/banners/update.js +0 -81
- package/dist/commands/banners/update.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -141,6 +141,12 @@
|
|
|
141
141
|
"name": "prod",
|
|
142
142
|
"allowNo": false,
|
|
143
143
|
"type": "boolean"
|
|
144
|
+
},
|
|
145
|
+
"render-check": {
|
|
146
|
+
"description": "Once the preview (or the live store) is up, GET its home page and fail with RENDER_ERROR (exit 7) if it renders the error page",
|
|
147
|
+
"name": "render-check",
|
|
148
|
+
"allowNo": true,
|
|
149
|
+
"type": "boolean"
|
|
144
150
|
}
|
|
145
151
|
},
|
|
146
152
|
"hasDynamicHelp": false,
|
|
@@ -614,7 +620,7 @@
|
|
|
614
620
|
"aliases": [],
|
|
615
621
|
"args": {
|
|
616
622
|
"entity_type": {
|
|
617
|
-
"description": "Entity type (e.g. product, blog_post, category
|
|
623
|
+
"description": "Entity type (e.g. product, blog_post, category)",
|
|
618
624
|
"name": "entity_type",
|
|
619
625
|
"required": true
|
|
620
626
|
},
|
|
@@ -953,7 +959,7 @@
|
|
|
953
959
|
"type": "option"
|
|
954
960
|
},
|
|
955
961
|
"entity-type": {
|
|
956
|
-
"description": "Entity type (e.g. product, blog_post, category
|
|
962
|
+
"description": "Entity type (e.g. product, blog_post, category)",
|
|
957
963
|
"name": "entity-type",
|
|
958
964
|
"hasDynamicHelp": false,
|
|
959
965
|
"multiple": false,
|
|
@@ -1129,7 +1135,6 @@
|
|
|
1129
1135
|
"catalog",
|
|
1130
1136
|
"cms",
|
|
1131
1137
|
"product",
|
|
1132
|
-
"banner",
|
|
1133
1138
|
"logo",
|
|
1134
1139
|
"favicon",
|
|
1135
1140
|
"blog",
|
|
@@ -1178,7 +1183,7 @@
|
|
|
1178
1183
|
"type": "boolean"
|
|
1179
1184
|
},
|
|
1180
1185
|
"limit": {
|
|
1181
|
-
"description": "Results per page",
|
|
1186
|
+
"description": "Results per page (at most 100)",
|
|
1182
1187
|
"name": "limit",
|
|
1183
1188
|
"default": 20,
|
|
1184
1189
|
"hasDynamicHelp": false,
|
|
@@ -1585,7 +1590,6 @@
|
|
|
1585
1590
|
"catalog",
|
|
1586
1591
|
"cms",
|
|
1587
1592
|
"product",
|
|
1588
|
-
"banner",
|
|
1589
1593
|
"logo",
|
|
1590
1594
|
"favicon",
|
|
1591
1595
|
"blog",
|
|
@@ -2046,9 +2050,9 @@
|
|
|
2046
2050
|
"type": "option"
|
|
2047
2051
|
},
|
|
2048
2052
|
"asset-category": {
|
|
2049
|
-
"description": "Asset category",
|
|
2053
|
+
"description": "Asset category: store (logos, banners), catalog (product media) or cms (blog)",
|
|
2050
2054
|
"name": "asset-category",
|
|
2051
|
-
"
|
|
2055
|
+
"default": "store",
|
|
2052
2056
|
"hasDynamicHelp": false,
|
|
2053
2057
|
"multiple": false,
|
|
2054
2058
|
"options": [
|
|
@@ -2109,7 +2113,8 @@
|
|
|
2109
2113
|
"description": "Create a product attribute in the store's library",
|
|
2110
2114
|
"examples": [
|
|
2111
2115
|
"ecomweb attributes create --name \"Color\"",
|
|
2112
|
-
"ecomweb attributes create --name \"Color\" --type visual"
|
|
2116
|
+
"ecomweb attributes create --name \"Color\" --type visual",
|
|
2117
|
+
"ecomweb attributes create --name \"Color\" --taxonomy-code color"
|
|
2113
2118
|
],
|
|
2114
2119
|
"flags": {
|
|
2115
2120
|
"store-ref": {
|
|
@@ -2214,6 +2219,25 @@
|
|
|
2214
2219
|
"visual"
|
|
2215
2220
|
],
|
|
2216
2221
|
"type": "option"
|
|
2222
|
+
},
|
|
2223
|
+
"taxonomy-code": {
|
|
2224
|
+
"description": "Link to a global taxonomy attribute (e.g. color). Without it the attribute is store-only (is_local)",
|
|
2225
|
+
"exclusive": [
|
|
2226
|
+
"local"
|
|
2227
|
+
],
|
|
2228
|
+
"name": "taxonomy-code",
|
|
2229
|
+
"hasDynamicHelp": false,
|
|
2230
|
+
"multiple": false,
|
|
2231
|
+
"type": "option"
|
|
2232
|
+
},
|
|
2233
|
+
"local": {
|
|
2234
|
+
"description": "Store-only attribute, not linked to the taxonomy (the default when --taxonomy-code is not given)",
|
|
2235
|
+
"exclusive": [
|
|
2236
|
+
"taxonomy-code"
|
|
2237
|
+
],
|
|
2238
|
+
"name": "local",
|
|
2239
|
+
"allowNo": false,
|
|
2240
|
+
"type": "boolean"
|
|
2217
2241
|
}
|
|
2218
2242
|
},
|
|
2219
2243
|
"hasDynamicHelp": false,
|
|
@@ -2932,14 +2956,12 @@
|
|
|
2932
2956
|
"status.js"
|
|
2933
2957
|
]
|
|
2934
2958
|
},
|
|
2935
|
-
"
|
|
2959
|
+
"blog-categories:all": {
|
|
2936
2960
|
"aliases": [],
|
|
2937
2961
|
"args": {},
|
|
2938
|
-
"description": "
|
|
2962
|
+
"description": "Get all blog categories (no pagination)",
|
|
2939
2963
|
"examples": [
|
|
2940
|
-
"ecomweb
|
|
2941
|
-
"ecomweb banners create --title 'Summer Sale' --image-url https://example.com/banner.jpg",
|
|
2942
|
-
"ecomweb banners create --file banner.json"
|
|
2964
|
+
"ecomweb blog-categories all"
|
|
2943
2965
|
],
|
|
2944
2966
|
"flags": {
|
|
2945
2967
|
"store-ref": {
|
|
@@ -3017,72 +3039,11 @@
|
|
|
3017
3039
|
"hasDynamicHelp": false,
|
|
3018
3040
|
"multiple": false,
|
|
3019
3041
|
"type": "option"
|
|
3020
|
-
},
|
|
3021
|
-
"stdin": {
|
|
3022
|
-
"description": "Read JSON body from stdin",
|
|
3023
|
-
"name": "stdin",
|
|
3024
|
-
"allowNo": false,
|
|
3025
|
-
"type": "boolean"
|
|
3026
|
-
},
|
|
3027
|
-
"file": {
|
|
3028
|
-
"description": "Read JSON body from file",
|
|
3029
|
-
"name": "file",
|
|
3030
|
-
"hasDynamicHelp": false,
|
|
3031
|
-
"multiple": false,
|
|
3032
|
-
"type": "option"
|
|
3033
|
-
},
|
|
3034
|
-
"title": {
|
|
3035
|
-
"description": "Banner title",
|
|
3036
|
-
"name": "title",
|
|
3037
|
-
"hasDynamicHelp": false,
|
|
3038
|
-
"multiple": false,
|
|
3039
|
-
"type": "option"
|
|
3040
|
-
},
|
|
3041
|
-
"image-url": {
|
|
3042
|
-
"description": "Banner image URL",
|
|
3043
|
-
"name": "image-url",
|
|
3044
|
-
"hasDynamicHelp": false,
|
|
3045
|
-
"multiple": false,
|
|
3046
|
-
"type": "option"
|
|
3047
|
-
},
|
|
3048
|
-
"subtitle": {
|
|
3049
|
-
"description": "Banner subtitle",
|
|
3050
|
-
"name": "subtitle",
|
|
3051
|
-
"hasDynamicHelp": false,
|
|
3052
|
-
"multiple": false,
|
|
3053
|
-
"type": "option"
|
|
3054
|
-
},
|
|
3055
|
-
"link-url": {
|
|
3056
|
-
"description": "Banner link URL",
|
|
3057
|
-
"name": "link-url",
|
|
3058
|
-
"hasDynamicHelp": false,
|
|
3059
|
-
"multiple": false,
|
|
3060
|
-
"type": "option"
|
|
3061
|
-
},
|
|
3062
|
-
"button-text": {
|
|
3063
|
-
"description": "Banner button text",
|
|
3064
|
-
"name": "button-text",
|
|
3065
|
-
"hasDynamicHelp": false,
|
|
3066
|
-
"multiple": false,
|
|
3067
|
-
"type": "option"
|
|
3068
|
-
},
|
|
3069
|
-
"position": {
|
|
3070
|
-
"description": "Banner position",
|
|
3071
|
-
"name": "position",
|
|
3072
|
-
"hasDynamicHelp": false,
|
|
3073
|
-
"multiple": false,
|
|
3074
|
-
"type": "option"
|
|
3075
|
-
},
|
|
3076
|
-
"is-active": {
|
|
3077
|
-
"description": "Whether banner is active",
|
|
3078
|
-
"name": "is-active",
|
|
3079
|
-
"allowNo": true,
|
|
3080
|
-
"type": "boolean"
|
|
3081
3042
|
}
|
|
3082
3043
|
},
|
|
3083
3044
|
"hasDynamicHelp": false,
|
|
3084
3045
|
"hiddenAliases": [],
|
|
3085
|
-
"id": "
|
|
3046
|
+
"id": "blog-categories:all",
|
|
3086
3047
|
"pluginAlias": "@ecomweb/cli",
|
|
3087
3048
|
"pluginName": "@ecomweb/cli",
|
|
3088
3049
|
"pluginType": "core",
|
|
@@ -3092,24 +3053,17 @@
|
|
|
3092
3053
|
"relativePath": [
|
|
3093
3054
|
"dist",
|
|
3094
3055
|
"commands",
|
|
3095
|
-
"
|
|
3096
|
-
"
|
|
3056
|
+
"blog-categories",
|
|
3057
|
+
"all.js"
|
|
3097
3058
|
]
|
|
3098
3059
|
},
|
|
3099
|
-
"
|
|
3060
|
+
"blog-categories:create": {
|
|
3100
3061
|
"aliases": [],
|
|
3101
|
-
"args": {
|
|
3102
|
-
|
|
3103
|
-
"description": "Banner ID",
|
|
3104
|
-
"name": "id",
|
|
3105
|
-
"required": true
|
|
3106
|
-
}
|
|
3107
|
-
},
|
|
3108
|
-
"description": "Delete a banner by ID",
|
|
3062
|
+
"args": {},
|
|
3063
|
+
"description": "Create a new blog category",
|
|
3109
3064
|
"examples": [
|
|
3110
|
-
"ecomweb
|
|
3111
|
-
"ecomweb
|
|
3112
|
-
"ecomweb banners delete 42 --dry-run"
|
|
3065
|
+
"ecomweb blog-categories create --stdin <<< '{\"name\":\"Tech\",\"slug\":\"tech\"}'",
|
|
3066
|
+
"ecomweb blog-categories create --name Tech --slug tech --color '#0066CC'"
|
|
3113
3067
|
],
|
|
3114
3068
|
"flags": {
|
|
3115
3069
|
"store-ref": {
|
|
@@ -3188,16 +3142,58 @@
|
|
|
3188
3142
|
"multiple": false,
|
|
3189
3143
|
"type": "option"
|
|
3190
3144
|
},
|
|
3191
|
-
"
|
|
3192
|
-
"description": "
|
|
3193
|
-
"name": "
|
|
3194
|
-
"allowNo":
|
|
3145
|
+
"stdin": {
|
|
3146
|
+
"description": "Read JSON body from stdin",
|
|
3147
|
+
"name": "stdin",
|
|
3148
|
+
"allowNo": false,
|
|
3195
3149
|
"type": "boolean"
|
|
3150
|
+
},
|
|
3151
|
+
"file": {
|
|
3152
|
+
"description": "Read JSON body from file",
|
|
3153
|
+
"name": "file",
|
|
3154
|
+
"hasDynamicHelp": false,
|
|
3155
|
+
"multiple": false,
|
|
3156
|
+
"type": "option"
|
|
3157
|
+
},
|
|
3158
|
+
"name": {
|
|
3159
|
+
"description": "Category name",
|
|
3160
|
+
"name": "name",
|
|
3161
|
+
"hasDynamicHelp": false,
|
|
3162
|
+
"multiple": false,
|
|
3163
|
+
"type": "option"
|
|
3164
|
+
},
|
|
3165
|
+
"slug": {
|
|
3166
|
+
"description": "URL slug",
|
|
3167
|
+
"name": "slug",
|
|
3168
|
+
"hasDynamicHelp": false,
|
|
3169
|
+
"multiple": false,
|
|
3170
|
+
"type": "option"
|
|
3171
|
+
},
|
|
3172
|
+
"description": {
|
|
3173
|
+
"description": "Category description",
|
|
3174
|
+
"name": "description",
|
|
3175
|
+
"hasDynamicHelp": false,
|
|
3176
|
+
"multiple": false,
|
|
3177
|
+
"type": "option"
|
|
3178
|
+
},
|
|
3179
|
+
"color": {
|
|
3180
|
+
"description": "Hex color (e.g., #FF0000)",
|
|
3181
|
+
"name": "color",
|
|
3182
|
+
"hasDynamicHelp": false,
|
|
3183
|
+
"multiple": false,
|
|
3184
|
+
"type": "option"
|
|
3185
|
+
},
|
|
3186
|
+
"sort-order": {
|
|
3187
|
+
"description": "Sort order position",
|
|
3188
|
+
"name": "sort-order",
|
|
3189
|
+
"hasDynamicHelp": false,
|
|
3190
|
+
"multiple": false,
|
|
3191
|
+
"type": "option"
|
|
3196
3192
|
}
|
|
3197
3193
|
},
|
|
3198
3194
|
"hasDynamicHelp": false,
|
|
3199
3195
|
"hiddenAliases": [],
|
|
3200
|
-
"id": "
|
|
3196
|
+
"id": "blog-categories:create",
|
|
3201
3197
|
"pluginAlias": "@ecomweb/cli",
|
|
3202
3198
|
"pluginName": "@ecomweb/cli",
|
|
3203
3199
|
"pluginType": "core",
|
|
@@ -3207,22 +3203,23 @@
|
|
|
3207
3203
|
"relativePath": [
|
|
3208
3204
|
"dist",
|
|
3209
3205
|
"commands",
|
|
3210
|
-
"
|
|
3211
|
-
"
|
|
3206
|
+
"blog-categories",
|
|
3207
|
+
"create.js"
|
|
3212
3208
|
]
|
|
3213
3209
|
},
|
|
3214
|
-
"
|
|
3210
|
+
"blog-categories:delete": {
|
|
3215
3211
|
"aliases": [],
|
|
3216
3212
|
"args": {
|
|
3217
3213
|
"id": {
|
|
3218
|
-
"description": "
|
|
3214
|
+
"description": "Category ID",
|
|
3219
3215
|
"name": "id",
|
|
3220
3216
|
"required": true
|
|
3221
3217
|
}
|
|
3222
3218
|
},
|
|
3223
|
-
"description": "
|
|
3219
|
+
"description": "Delete a blog category by ID",
|
|
3224
3220
|
"examples": [
|
|
3225
|
-
"ecomweb
|
|
3221
|
+
"ecomweb blog-categories delete 5",
|
|
3222
|
+
"ecomweb blog-categories delete 5 --dry-run"
|
|
3226
3223
|
],
|
|
3227
3224
|
"flags": {
|
|
3228
3225
|
"store-ref": {
|
|
@@ -3304,7 +3301,7 @@
|
|
|
3304
3301
|
},
|
|
3305
3302
|
"hasDynamicHelp": false,
|
|
3306
3303
|
"hiddenAliases": [],
|
|
3307
|
-
"id": "
|
|
3304
|
+
"id": "blog-categories:delete",
|
|
3308
3305
|
"pluginAlias": "@ecomweb/cli",
|
|
3309
3306
|
"pluginName": "@ecomweb/cli",
|
|
3310
3307
|
"pluginType": "core",
|
|
@@ -3314,18 +3311,18 @@
|
|
|
3314
3311
|
"relativePath": [
|
|
3315
3312
|
"dist",
|
|
3316
3313
|
"commands",
|
|
3317
|
-
"
|
|
3318
|
-
"
|
|
3314
|
+
"blog-categories",
|
|
3315
|
+
"delete.js"
|
|
3319
3316
|
]
|
|
3320
3317
|
},
|
|
3321
|
-
"
|
|
3318
|
+
"blog-categories:list": {
|
|
3322
3319
|
"aliases": [],
|
|
3323
3320
|
"args": {},
|
|
3324
|
-
"description": "List
|
|
3321
|
+
"description": "List blog categories with pagination",
|
|
3325
3322
|
"examples": [
|
|
3326
|
-
"ecomweb
|
|
3327
|
-
"ecomweb
|
|
3328
|
-
"ecomweb
|
|
3323
|
+
"ecomweb blog-categories list",
|
|
3324
|
+
"ecomweb blog-categories list --include-post-counts",
|
|
3325
|
+
"ecomweb blog-categories list --search tech"
|
|
3329
3326
|
],
|
|
3330
3327
|
"flags": {
|
|
3331
3328
|
"store-ref": {
|
|
@@ -3404,32 +3401,24 @@
|
|
|
3404
3401
|
"multiple": false,
|
|
3405
3402
|
"type": "option"
|
|
3406
3403
|
},
|
|
3407
|
-
"
|
|
3408
|
-
"description": "
|
|
3409
|
-
"name": "
|
|
3410
|
-
"allowNo": true,
|
|
3411
|
-
"type": "boolean"
|
|
3412
|
-
},
|
|
3413
|
-
"title": {
|
|
3414
|
-
"description": "Filter by title",
|
|
3415
|
-
"name": "title",
|
|
3404
|
+
"search": {
|
|
3405
|
+
"description": "Search categories by name",
|
|
3406
|
+
"name": "search",
|
|
3416
3407
|
"hasDynamicHelp": false,
|
|
3417
3408
|
"multiple": false,
|
|
3418
3409
|
"type": "option"
|
|
3419
3410
|
},
|
|
3411
|
+
"include-post-counts": {
|
|
3412
|
+
"description": "Include post count per category",
|
|
3413
|
+
"name": "include-post-counts",
|
|
3414
|
+
"allowNo": false,
|
|
3415
|
+
"type": "boolean"
|
|
3416
|
+
},
|
|
3420
3417
|
"sort-by": {
|
|
3421
3418
|
"description": "Sort field",
|
|
3422
3419
|
"name": "sort-by",
|
|
3423
3420
|
"hasDynamicHelp": false,
|
|
3424
3421
|
"multiple": false,
|
|
3425
|
-
"options": [
|
|
3426
|
-
"id",
|
|
3427
|
-
"position",
|
|
3428
|
-
"title",
|
|
3429
|
-
"created_at",
|
|
3430
|
-
"updated_at",
|
|
3431
|
-
"is_active"
|
|
3432
|
-
],
|
|
3433
3422
|
"type": "option"
|
|
3434
3423
|
},
|
|
3435
3424
|
"sort-order": {
|
|
@@ -3462,7 +3451,7 @@
|
|
|
3462
3451
|
},
|
|
3463
3452
|
"hasDynamicHelp": false,
|
|
3464
3453
|
"hiddenAliases": [],
|
|
3465
|
-
"id": "
|
|
3454
|
+
"id": "blog-categories:list",
|
|
3466
3455
|
"pluginAlias": "@ecomweb/cli",
|
|
3467
3456
|
"pluginName": "@ecomweb/cli",
|
|
3468
3457
|
"pluginType": "core",
|
|
@@ -3472,24 +3461,23 @@
|
|
|
3472
3461
|
"relativePath": [
|
|
3473
3462
|
"dist",
|
|
3474
3463
|
"commands",
|
|
3475
|
-
"
|
|
3464
|
+
"blog-categories",
|
|
3476
3465
|
"list.js"
|
|
3477
3466
|
]
|
|
3478
3467
|
},
|
|
3479
|
-
"
|
|
3468
|
+
"blog-categories:update": {
|
|
3480
3469
|
"aliases": [],
|
|
3481
3470
|
"args": {
|
|
3482
3471
|
"id": {
|
|
3483
|
-
"description": "
|
|
3472
|
+
"description": "Category ID",
|
|
3484
3473
|
"name": "id",
|
|
3485
3474
|
"required": true
|
|
3486
3475
|
}
|
|
3487
3476
|
},
|
|
3488
|
-
"description": "Update a
|
|
3477
|
+
"description": "Update a blog category by ID",
|
|
3489
3478
|
"examples": [
|
|
3490
|
-
"ecomweb
|
|
3491
|
-
"ecomweb
|
|
3492
|
-
"ecomweb banners update 42 --file banner.json"
|
|
3479
|
+
"ecomweb blog-categories update 5 --stdin <<< '{\"name\":\"Technology\"}'",
|
|
3480
|
+
"ecomweb blog-categories update 5 --name Technology --color '#0066CC'"
|
|
3493
3481
|
],
|
|
3494
3482
|
"flags": {
|
|
3495
3483
|
"store-ref": {
|
|
@@ -3581,58 +3569,45 @@
|
|
|
3581
3569
|
"multiple": false,
|
|
3582
3570
|
"type": "option"
|
|
3583
3571
|
},
|
|
3584
|
-
"
|
|
3585
|
-
"description": "
|
|
3586
|
-
"name": "
|
|
3587
|
-
"hasDynamicHelp": false,
|
|
3588
|
-
"multiple": false,
|
|
3589
|
-
"type": "option"
|
|
3590
|
-
},
|
|
3591
|
-
"image-url": {
|
|
3592
|
-
"description": "Banner image URL",
|
|
3593
|
-
"name": "image-url",
|
|
3572
|
+
"name": {
|
|
3573
|
+
"description": "Category name",
|
|
3574
|
+
"name": "name",
|
|
3594
3575
|
"hasDynamicHelp": false,
|
|
3595
3576
|
"multiple": false,
|
|
3596
3577
|
"type": "option"
|
|
3597
3578
|
},
|
|
3598
|
-
"
|
|
3599
|
-
"description": "
|
|
3600
|
-
"name": "
|
|
3579
|
+
"slug": {
|
|
3580
|
+
"description": "URL slug",
|
|
3581
|
+
"name": "slug",
|
|
3601
3582
|
"hasDynamicHelp": false,
|
|
3602
3583
|
"multiple": false,
|
|
3603
3584
|
"type": "option"
|
|
3604
3585
|
},
|
|
3605
|
-
"
|
|
3606
|
-
"description": "
|
|
3607
|
-
"name": "
|
|
3586
|
+
"description": {
|
|
3587
|
+
"description": "Category description",
|
|
3588
|
+
"name": "description",
|
|
3608
3589
|
"hasDynamicHelp": false,
|
|
3609
3590
|
"multiple": false,
|
|
3610
3591
|
"type": "option"
|
|
3611
3592
|
},
|
|
3612
|
-
"
|
|
3613
|
-
"description": "
|
|
3614
|
-
"name": "
|
|
3593
|
+
"color": {
|
|
3594
|
+
"description": "Hex color (e.g., #FF0000)",
|
|
3595
|
+
"name": "color",
|
|
3615
3596
|
"hasDynamicHelp": false,
|
|
3616
3597
|
"multiple": false,
|
|
3617
3598
|
"type": "option"
|
|
3618
3599
|
},
|
|
3619
|
-
"
|
|
3620
|
-
"description": "
|
|
3621
|
-
"name": "
|
|
3600
|
+
"sort-order": {
|
|
3601
|
+
"description": "Sort order position",
|
|
3602
|
+
"name": "sort-order",
|
|
3622
3603
|
"hasDynamicHelp": false,
|
|
3623
3604
|
"multiple": false,
|
|
3624
3605
|
"type": "option"
|
|
3625
|
-
},
|
|
3626
|
-
"is-active": {
|
|
3627
|
-
"description": "Whether banner is active",
|
|
3628
|
-
"name": "is-active",
|
|
3629
|
-
"allowNo": true,
|
|
3630
|
-
"type": "boolean"
|
|
3631
3606
|
}
|
|
3632
3607
|
},
|
|
3633
3608
|
"hasDynamicHelp": false,
|
|
3634
3609
|
"hiddenAliases": [],
|
|
3635
|
-
"id": "
|
|
3610
|
+
"id": "blog-categories:update",
|
|
3636
3611
|
"pluginAlias": "@ecomweb/cli",
|
|
3637
3612
|
"pluginName": "@ecomweb/cli",
|
|
3638
3613
|
"pluginType": "core",
|
|
@@ -3642,7 +3617,7 @@
|
|
|
3642
3617
|
"relativePath": [
|
|
3643
3618
|
"dist",
|
|
3644
3619
|
"commands",
|
|
3645
|
-
"
|
|
3620
|
+
"blog-categories",
|
|
3646
3621
|
"update.js"
|
|
3647
3622
|
]
|
|
3648
3623
|
},
|
|
@@ -4023,7 +3998,8 @@
|
|
|
4023
3998
|
"examples": [
|
|
4024
3999
|
"echo '[{\"id\":1,\"status\":\"published\"},{\"id\":2,\"status\":\"published\"}]' | ecomweb blog-posts batch-update --stdin",
|
|
4025
4000
|
"ecomweb blog-posts batch-update --file updates.json --dry-run",
|
|
4026
|
-
"ecomweb blog-posts batch-update --filter '{\"status\":\"draft\"}' --set '{\"status\":\"published\"}'"
|
|
4001
|
+
"ecomweb blog-posts batch-update --filter '{\"status\":\"draft\"}' --set '{\"status\":\"published\"}'",
|
|
4002
|
+
"ecomweb blog-posts batch-update --filter status=draft --set status=published"
|
|
4027
4003
|
],
|
|
4028
4004
|
"flags": {
|
|
4029
4005
|
"store-ref": {
|
|
@@ -4116,14 +4092,14 @@
|
|
|
4116
4092
|
"type": "option"
|
|
4117
4093
|
},
|
|
4118
4094
|
"filter": {
|
|
4119
|
-
"description": "
|
|
4095
|
+
"description": "Which posts to update (used with --set): key=value[,key=value] or a JSON object, e.g. --filter status=draft or --filter '{\"status\":\"draft\"}'",
|
|
4120
4096
|
"name": "filter",
|
|
4121
4097
|
"hasDynamicHelp": false,
|
|
4122
4098
|
"multiple": false,
|
|
4123
4099
|
"type": "option"
|
|
4124
4100
|
},
|
|
4125
4101
|
"set": {
|
|
4126
|
-
"description": "
|
|
4102
|
+
"description": "Fields to set on each (used with --filter): key=value[,key=value] (values are JSON when they parse) or a JSON object",
|
|
4127
4103
|
"name": "set",
|
|
4128
4104
|
"hasDynamicHelp": false,
|
|
4129
4105
|
"multiple": false,
|
|
@@ -5211,12 +5187,12 @@
|
|
|
5211
5187
|
"update.js"
|
|
5212
5188
|
]
|
|
5213
5189
|
},
|
|
5214
|
-
"blog-
|
|
5190
|
+
"blog-settings:get": {
|
|
5215
5191
|
"aliases": [],
|
|
5216
5192
|
"args": {},
|
|
5217
|
-
"description": "Get
|
|
5193
|
+
"description": "Get blog settings for the current store",
|
|
5218
5194
|
"examples": [
|
|
5219
|
-
"ecomweb blog-
|
|
5195
|
+
"ecomweb blog-settings get"
|
|
5220
5196
|
],
|
|
5221
5197
|
"flags": {
|
|
5222
5198
|
"store-ref": {
|
|
@@ -5298,7 +5274,7 @@
|
|
|
5298
5274
|
},
|
|
5299
5275
|
"hasDynamicHelp": false,
|
|
5300
5276
|
"hiddenAliases": [],
|
|
5301
|
-
"id": "blog-
|
|
5277
|
+
"id": "blog-settings:get",
|
|
5302
5278
|
"pluginAlias": "@ecomweb/cli",
|
|
5303
5279
|
"pluginName": "@ecomweb/cli",
|
|
5304
5280
|
"pluginType": "core",
|
|
@@ -5308,17 +5284,18 @@
|
|
|
5308
5284
|
"relativePath": [
|
|
5309
5285
|
"dist",
|
|
5310
5286
|
"commands",
|
|
5311
|
-
"blog-
|
|
5312
|
-
"
|
|
5287
|
+
"blog-settings",
|
|
5288
|
+
"get.js"
|
|
5313
5289
|
]
|
|
5314
5290
|
},
|
|
5315
|
-
"blog-
|
|
5291
|
+
"blog-settings:update": {
|
|
5316
5292
|
"aliases": [],
|
|
5317
5293
|
"args": {},
|
|
5318
|
-
"description": "
|
|
5294
|
+
"description": "Update blog settings for the current store",
|
|
5319
5295
|
"examples": [
|
|
5320
|
-
"ecomweb blog-
|
|
5321
|
-
"ecomweb blog-
|
|
5296
|
+
"ecomweb blog-settings update --stdin <<< '{\"posts_per_page\":20}'",
|
|
5297
|
+
"ecomweb blog-settings update --posts-per-page 20 --allow-comments",
|
|
5298
|
+
"ecomweb blog-settings update --blog-title 'Our Blog' --enable-rss"
|
|
5322
5299
|
],
|
|
5323
5300
|
"flags": {
|
|
5324
5301
|
"store-ref": {
|
|
@@ -5410,37 +5387,66 @@
|
|
|
5410
5387
|
"multiple": false,
|
|
5411
5388
|
"type": "option"
|
|
5412
5389
|
},
|
|
5413
|
-
"
|
|
5414
|
-
"description": "
|
|
5415
|
-
"name": "
|
|
5390
|
+
"is-enabled": {
|
|
5391
|
+
"description": "Enable/disable blog",
|
|
5392
|
+
"name": "is-enabled",
|
|
5393
|
+
"allowNo": true,
|
|
5394
|
+
"type": "boolean"
|
|
5395
|
+
},
|
|
5396
|
+
"blog-title": {
|
|
5397
|
+
"description": "Blog title",
|
|
5398
|
+
"name": "blog-title",
|
|
5416
5399
|
"hasDynamicHelp": false,
|
|
5417
5400
|
"multiple": false,
|
|
5418
5401
|
"type": "option"
|
|
5419
5402
|
},
|
|
5420
|
-
"
|
|
5421
|
-
"description": "
|
|
5422
|
-
"name": "
|
|
5403
|
+
"blog-description": {
|
|
5404
|
+
"description": "Blog description",
|
|
5405
|
+
"name": "blog-description",
|
|
5423
5406
|
"hasDynamicHelp": false,
|
|
5424
5407
|
"multiple": false,
|
|
5425
5408
|
"type": "option"
|
|
5426
5409
|
},
|
|
5427
|
-
"
|
|
5428
|
-
"description": "
|
|
5429
|
-
"name": "
|
|
5410
|
+
"posts-per-page": {
|
|
5411
|
+
"description": "Posts per page",
|
|
5412
|
+
"name": "posts-per-page",
|
|
5430
5413
|
"hasDynamicHelp": false,
|
|
5431
5414
|
"multiple": false,
|
|
5432
5415
|
"type": "option"
|
|
5433
5416
|
},
|
|
5434
|
-
"
|
|
5435
|
-
"description": "
|
|
5436
|
-
"name": "
|
|
5437
|
-
"
|
|
5438
|
-
"
|
|
5439
|
-
"type": "option"
|
|
5417
|
+
"allow-comments": {
|
|
5418
|
+
"description": "Allow comments",
|
|
5419
|
+
"name": "allow-comments",
|
|
5420
|
+
"allowNo": true,
|
|
5421
|
+
"type": "boolean"
|
|
5440
5422
|
},
|
|
5441
|
-
"
|
|
5442
|
-
"description": "
|
|
5443
|
-
"name": "
|
|
5423
|
+
"moderate-comments": {
|
|
5424
|
+
"description": "Moderate comments",
|
|
5425
|
+
"name": "moderate-comments",
|
|
5426
|
+
"allowNo": true,
|
|
5427
|
+
"type": "boolean"
|
|
5428
|
+
},
|
|
5429
|
+
"show-author": {
|
|
5430
|
+
"description": "Show author",
|
|
5431
|
+
"name": "show-author",
|
|
5432
|
+
"allowNo": true,
|
|
5433
|
+
"type": "boolean"
|
|
5434
|
+
},
|
|
5435
|
+
"show-reading-time": {
|
|
5436
|
+
"description": "Show reading time",
|
|
5437
|
+
"name": "show-reading-time",
|
|
5438
|
+
"allowNo": true,
|
|
5439
|
+
"type": "boolean"
|
|
5440
|
+
},
|
|
5441
|
+
"enable-rss": {
|
|
5442
|
+
"description": "Enable RSS feed",
|
|
5443
|
+
"name": "enable-rss",
|
|
5444
|
+
"allowNo": true,
|
|
5445
|
+
"type": "boolean"
|
|
5446
|
+
},
|
|
5447
|
+
"custom-css": {
|
|
5448
|
+
"description": "Custom CSS",
|
|
5449
|
+
"name": "custom-css",
|
|
5444
5450
|
"hasDynamicHelp": false,
|
|
5445
5451
|
"multiple": false,
|
|
5446
5452
|
"type": "option"
|
|
@@ -5448,7 +5454,7 @@
|
|
|
5448
5454
|
},
|
|
5449
5455
|
"hasDynamicHelp": false,
|
|
5450
5456
|
"hiddenAliases": [],
|
|
5451
|
-
"id": "blog-
|
|
5457
|
+
"id": "blog-settings:update",
|
|
5452
5458
|
"pluginAlias": "@ecomweb/cli",
|
|
5453
5459
|
"pluginName": "@ecomweb/cli",
|
|
5454
5460
|
"pluginType": "core",
|
|
@@ -5458,23 +5464,16 @@
|
|
|
5458
5464
|
"relativePath": [
|
|
5459
5465
|
"dist",
|
|
5460
5466
|
"commands",
|
|
5461
|
-
"blog-
|
|
5462
|
-
"
|
|
5467
|
+
"blog-settings",
|
|
5468
|
+
"update.js"
|
|
5463
5469
|
]
|
|
5464
5470
|
},
|
|
5465
|
-
"blog-
|
|
5471
|
+
"blog-tags:all": {
|
|
5466
5472
|
"aliases": [],
|
|
5467
|
-
"args": {
|
|
5468
|
-
|
|
5469
|
-
"description": "Category ID",
|
|
5470
|
-
"name": "id",
|
|
5471
|
-
"required": true
|
|
5472
|
-
}
|
|
5473
|
-
},
|
|
5474
|
-
"description": "Delete a blog category by ID",
|
|
5473
|
+
"args": {},
|
|
5474
|
+
"description": "Get all blog tags (no pagination)",
|
|
5475
5475
|
"examples": [
|
|
5476
|
-
"ecomweb blog-
|
|
5477
|
-
"ecomweb blog-categories delete 5 --dry-run"
|
|
5476
|
+
"ecomweb blog-tags all"
|
|
5478
5477
|
],
|
|
5479
5478
|
"flags": {
|
|
5480
5479
|
"store-ref": {
|
|
@@ -5556,7 +5555,7 @@
|
|
|
5556
5555
|
},
|
|
5557
5556
|
"hasDynamicHelp": false,
|
|
5558
5557
|
"hiddenAliases": [],
|
|
5559
|
-
"id": "blog-
|
|
5558
|
+
"id": "blog-tags:all",
|
|
5560
5559
|
"pluginAlias": "@ecomweb/cli",
|
|
5561
5560
|
"pluginName": "@ecomweb/cli",
|
|
5562
5561
|
"pluginType": "core",
|
|
@@ -5566,18 +5565,17 @@
|
|
|
5566
5565
|
"relativePath": [
|
|
5567
5566
|
"dist",
|
|
5568
5567
|
"commands",
|
|
5569
|
-
"blog-
|
|
5570
|
-
"
|
|
5568
|
+
"blog-tags",
|
|
5569
|
+
"all.js"
|
|
5571
5570
|
]
|
|
5572
5571
|
},
|
|
5573
|
-
"blog-
|
|
5572
|
+
"blog-tags:create": {
|
|
5574
5573
|
"aliases": [],
|
|
5575
5574
|
"args": {},
|
|
5576
|
-
"description": "
|
|
5575
|
+
"description": "Create a new blog tag",
|
|
5577
5576
|
"examples": [
|
|
5578
|
-
"ecomweb blog-
|
|
5579
|
-
"ecomweb blog-
|
|
5580
|
-
"ecomweb blog-categories list --search tech"
|
|
5577
|
+
"ecomweb blog-tags create --stdin <<< '{\"name\":\"AI\",\"slug\":\"ai\"}'",
|
|
5578
|
+
"ecomweb blog-tags create --name AI --slug ai"
|
|
5581
5579
|
],
|
|
5582
5580
|
"flags": {
|
|
5583
5581
|
"store-ref": {
|
|
@@ -5656,49 +5654,29 @@
|
|
|
5656
5654
|
"multiple": false,
|
|
5657
5655
|
"type": "option"
|
|
5658
5656
|
},
|
|
5659
|
-
"
|
|
5660
|
-
"description": "
|
|
5661
|
-
"name": "
|
|
5662
|
-
"hasDynamicHelp": false,
|
|
5663
|
-
"multiple": false,
|
|
5664
|
-
"type": "option"
|
|
5665
|
-
},
|
|
5666
|
-
"include-post-counts": {
|
|
5667
|
-
"description": "Include post count per category",
|
|
5668
|
-
"name": "include-post-counts",
|
|
5657
|
+
"stdin": {
|
|
5658
|
+
"description": "Read JSON body from stdin",
|
|
5659
|
+
"name": "stdin",
|
|
5669
5660
|
"allowNo": false,
|
|
5670
5661
|
"type": "boolean"
|
|
5671
5662
|
},
|
|
5672
|
-
"
|
|
5673
|
-
"description": "
|
|
5674
|
-
"name": "
|
|
5675
|
-
"hasDynamicHelp": false,
|
|
5676
|
-
"multiple": false,
|
|
5677
|
-
"type": "option"
|
|
5678
|
-
},
|
|
5679
|
-
"sort-order": {
|
|
5680
|
-
"description": "Sort direction",
|
|
5681
|
-
"name": "sort-order",
|
|
5663
|
+
"file": {
|
|
5664
|
+
"description": "Read JSON body from file",
|
|
5665
|
+
"name": "file",
|
|
5682
5666
|
"hasDynamicHelp": false,
|
|
5683
5667
|
"multiple": false,
|
|
5684
|
-
"options": [
|
|
5685
|
-
"asc",
|
|
5686
|
-
"desc"
|
|
5687
|
-
],
|
|
5688
5668
|
"type": "option"
|
|
5689
5669
|
},
|
|
5690
|
-
"
|
|
5691
|
-
"description": "
|
|
5692
|
-
"name": "
|
|
5693
|
-
"default": 20,
|
|
5670
|
+
"name": {
|
|
5671
|
+
"description": "Tag name",
|
|
5672
|
+
"name": "name",
|
|
5694
5673
|
"hasDynamicHelp": false,
|
|
5695
5674
|
"multiple": false,
|
|
5696
5675
|
"type": "option"
|
|
5697
5676
|
},
|
|
5698
|
-
"
|
|
5699
|
-
"description": "
|
|
5700
|
-
"name": "
|
|
5701
|
-
"default": 0,
|
|
5677
|
+
"slug": {
|
|
5678
|
+
"description": "URL slug",
|
|
5679
|
+
"name": "slug",
|
|
5702
5680
|
"hasDynamicHelp": false,
|
|
5703
5681
|
"multiple": false,
|
|
5704
5682
|
"type": "option"
|
|
@@ -5706,7 +5684,7 @@
|
|
|
5706
5684
|
},
|
|
5707
5685
|
"hasDynamicHelp": false,
|
|
5708
5686
|
"hiddenAliases": [],
|
|
5709
|
-
"id": "blog-
|
|
5687
|
+
"id": "blog-tags:create",
|
|
5710
5688
|
"pluginAlias": "@ecomweb/cli",
|
|
5711
5689
|
"pluginName": "@ecomweb/cli",
|
|
5712
5690
|
"pluginType": "core",
|
|
@@ -5716,23 +5694,23 @@
|
|
|
5716
5694
|
"relativePath": [
|
|
5717
5695
|
"dist",
|
|
5718
5696
|
"commands",
|
|
5719
|
-
"blog-
|
|
5720
|
-
"
|
|
5697
|
+
"blog-tags",
|
|
5698
|
+
"create.js"
|
|
5721
5699
|
]
|
|
5722
5700
|
},
|
|
5723
|
-
"blog-
|
|
5701
|
+
"blog-tags:delete": {
|
|
5724
5702
|
"aliases": [],
|
|
5725
5703
|
"args": {
|
|
5726
5704
|
"id": {
|
|
5727
|
-
"description": "
|
|
5705
|
+
"description": "Tag ID",
|
|
5728
5706
|
"name": "id",
|
|
5729
5707
|
"required": true
|
|
5730
5708
|
}
|
|
5731
5709
|
},
|
|
5732
|
-
"description": "
|
|
5710
|
+
"description": "Delete a blog tag by ID",
|
|
5733
5711
|
"examples": [
|
|
5734
|
-
"ecomweb blog-
|
|
5735
|
-
"ecomweb blog-
|
|
5712
|
+
"ecomweb blog-tags delete 3",
|
|
5713
|
+
"ecomweb blog-tags delete 3 --dry-run"
|
|
5736
5714
|
],
|
|
5737
5715
|
"flags": {
|
|
5738
5716
|
"store-ref": {
|
|
@@ -5810,59 +5788,11 @@
|
|
|
5810
5788
|
"hasDynamicHelp": false,
|
|
5811
5789
|
"multiple": false,
|
|
5812
5790
|
"type": "option"
|
|
5813
|
-
},
|
|
5814
|
-
"stdin": {
|
|
5815
|
-
"description": "Read JSON body from stdin",
|
|
5816
|
-
"name": "stdin",
|
|
5817
|
-
"allowNo": false,
|
|
5818
|
-
"type": "boolean"
|
|
5819
|
-
},
|
|
5820
|
-
"file": {
|
|
5821
|
-
"description": "Read JSON body from file",
|
|
5822
|
-
"name": "file",
|
|
5823
|
-
"hasDynamicHelp": false,
|
|
5824
|
-
"multiple": false,
|
|
5825
|
-
"type": "option"
|
|
5826
|
-
},
|
|
5827
|
-
"name": {
|
|
5828
|
-
"description": "Category name",
|
|
5829
|
-
"name": "name",
|
|
5830
|
-
"hasDynamicHelp": false,
|
|
5831
|
-
"multiple": false,
|
|
5832
|
-
"type": "option"
|
|
5833
|
-
},
|
|
5834
|
-
"slug": {
|
|
5835
|
-
"description": "URL slug",
|
|
5836
|
-
"name": "slug",
|
|
5837
|
-
"hasDynamicHelp": false,
|
|
5838
|
-
"multiple": false,
|
|
5839
|
-
"type": "option"
|
|
5840
|
-
},
|
|
5841
|
-
"description": {
|
|
5842
|
-
"description": "Category description",
|
|
5843
|
-
"name": "description",
|
|
5844
|
-
"hasDynamicHelp": false,
|
|
5845
|
-
"multiple": false,
|
|
5846
|
-
"type": "option"
|
|
5847
|
-
},
|
|
5848
|
-
"color": {
|
|
5849
|
-
"description": "Hex color (e.g., #FF0000)",
|
|
5850
|
-
"name": "color",
|
|
5851
|
-
"hasDynamicHelp": false,
|
|
5852
|
-
"multiple": false,
|
|
5853
|
-
"type": "option"
|
|
5854
|
-
},
|
|
5855
|
-
"sort-order": {
|
|
5856
|
-
"description": "Sort order position",
|
|
5857
|
-
"name": "sort-order",
|
|
5858
|
-
"hasDynamicHelp": false,
|
|
5859
|
-
"multiple": false,
|
|
5860
|
-
"type": "option"
|
|
5861
5791
|
}
|
|
5862
5792
|
},
|
|
5863
5793
|
"hasDynamicHelp": false,
|
|
5864
5794
|
"hiddenAliases": [],
|
|
5865
|
-
"id": "blog-
|
|
5795
|
+
"id": "blog-tags:delete",
|
|
5866
5796
|
"pluginAlias": "@ecomweb/cli",
|
|
5867
5797
|
"pluginName": "@ecomweb/cli",
|
|
5868
5798
|
"pluginType": "core",
|
|
@@ -5872,16 +5802,17 @@
|
|
|
5872
5802
|
"relativePath": [
|
|
5873
5803
|
"dist",
|
|
5874
5804
|
"commands",
|
|
5875
|
-
"blog-
|
|
5876
|
-
"
|
|
5805
|
+
"blog-tags",
|
|
5806
|
+
"delete.js"
|
|
5877
5807
|
]
|
|
5878
5808
|
},
|
|
5879
|
-
"blog-
|
|
5809
|
+
"blog-tags:list": {
|
|
5880
5810
|
"aliases": [],
|
|
5881
5811
|
"args": {},
|
|
5882
|
-
"description": "
|
|
5812
|
+
"description": "List blog tags with pagination",
|
|
5883
5813
|
"examples": [
|
|
5884
|
-
"ecomweb blog-
|
|
5814
|
+
"ecomweb blog-tags list",
|
|
5815
|
+
"ecomweb blog-tags list --search AI --include-post-counts"
|
|
5885
5816
|
],
|
|
5886
5817
|
"flags": {
|
|
5887
5818
|
"store-ref": {
|
|
@@ -5959,11 +5890,58 @@
|
|
|
5959
5890
|
"hasDynamicHelp": false,
|
|
5960
5891
|
"multiple": false,
|
|
5961
5892
|
"type": "option"
|
|
5893
|
+
},
|
|
5894
|
+
"search": {
|
|
5895
|
+
"description": "Search tags by name",
|
|
5896
|
+
"name": "search",
|
|
5897
|
+
"hasDynamicHelp": false,
|
|
5898
|
+
"multiple": false,
|
|
5899
|
+
"type": "option"
|
|
5900
|
+
},
|
|
5901
|
+
"include-post-counts": {
|
|
5902
|
+
"description": "Include post count per tag",
|
|
5903
|
+
"name": "include-post-counts",
|
|
5904
|
+
"allowNo": false,
|
|
5905
|
+
"type": "boolean"
|
|
5906
|
+
},
|
|
5907
|
+
"sort-by": {
|
|
5908
|
+
"description": "Sort field",
|
|
5909
|
+
"name": "sort-by",
|
|
5910
|
+
"hasDynamicHelp": false,
|
|
5911
|
+
"multiple": false,
|
|
5912
|
+
"type": "option"
|
|
5913
|
+
},
|
|
5914
|
+
"sort-order": {
|
|
5915
|
+
"description": "Sort direction",
|
|
5916
|
+
"name": "sort-order",
|
|
5917
|
+
"hasDynamicHelp": false,
|
|
5918
|
+
"multiple": false,
|
|
5919
|
+
"options": [
|
|
5920
|
+
"asc",
|
|
5921
|
+
"desc"
|
|
5922
|
+
],
|
|
5923
|
+
"type": "option"
|
|
5924
|
+
},
|
|
5925
|
+
"limit": {
|
|
5926
|
+
"description": "Results per page",
|
|
5927
|
+
"name": "limit",
|
|
5928
|
+
"default": 20,
|
|
5929
|
+
"hasDynamicHelp": false,
|
|
5930
|
+
"multiple": false,
|
|
5931
|
+
"type": "option"
|
|
5932
|
+
},
|
|
5933
|
+
"offset": {
|
|
5934
|
+
"description": "Offset for pagination",
|
|
5935
|
+
"name": "offset",
|
|
5936
|
+
"default": 0,
|
|
5937
|
+
"hasDynamicHelp": false,
|
|
5938
|
+
"multiple": false,
|
|
5939
|
+
"type": "option"
|
|
5962
5940
|
}
|
|
5963
5941
|
},
|
|
5964
5942
|
"hasDynamicHelp": false,
|
|
5965
5943
|
"hiddenAliases": [],
|
|
5966
|
-
"id": "blog-
|
|
5944
|
+
"id": "blog-tags:list",
|
|
5967
5945
|
"pluginAlias": "@ecomweb/cli",
|
|
5968
5946
|
"pluginName": "@ecomweb/cli",
|
|
5969
5947
|
"pluginType": "core",
|
|
@@ -5973,19 +5951,14 @@
|
|
|
5973
5951
|
"relativePath": [
|
|
5974
5952
|
"dist",
|
|
5975
5953
|
"commands",
|
|
5976
|
-
"blog-
|
|
5977
|
-
"
|
|
5954
|
+
"blog-tags",
|
|
5955
|
+
"list.js"
|
|
5978
5956
|
]
|
|
5979
5957
|
},
|
|
5980
|
-
"
|
|
5958
|
+
"categories:all": {
|
|
5981
5959
|
"aliases": [],
|
|
5982
5960
|
"args": {},
|
|
5983
|
-
"description": "
|
|
5984
|
-
"examples": [
|
|
5985
|
-
"ecomweb blog-settings update --stdin <<< '{\"posts_per_page\":20}'",
|
|
5986
|
-
"ecomweb blog-settings update --posts-per-page 20 --allow-comments",
|
|
5987
|
-
"ecomweb blog-settings update --blog-title 'Our Blog' --enable-rss"
|
|
5988
|
-
],
|
|
5961
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
5989
5962
|
"flags": {
|
|
5990
5963
|
"store-ref": {
|
|
5991
5964
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -6062,108 +6035,29 @@
|
|
|
6062
6035
|
"hasDynamicHelp": false,
|
|
6063
6036
|
"multiple": false,
|
|
6064
6037
|
"type": "option"
|
|
6065
|
-
},
|
|
6066
|
-
"stdin": {
|
|
6067
|
-
"description": "Read JSON body from stdin",
|
|
6068
|
-
"name": "stdin",
|
|
6069
|
-
"allowNo": false,
|
|
6070
|
-
"type": "boolean"
|
|
6071
|
-
},
|
|
6072
|
-
"file": {
|
|
6073
|
-
"description": "Read JSON body from file",
|
|
6074
|
-
"name": "file",
|
|
6075
|
-
"hasDynamicHelp": false,
|
|
6076
|
-
"multiple": false,
|
|
6077
|
-
"type": "option"
|
|
6078
|
-
},
|
|
6079
|
-
"is-enabled": {
|
|
6080
|
-
"description": "Enable/disable blog",
|
|
6081
|
-
"name": "is-enabled",
|
|
6082
|
-
"allowNo": true,
|
|
6083
|
-
"type": "boolean"
|
|
6084
|
-
},
|
|
6085
|
-
"blog-title": {
|
|
6086
|
-
"description": "Blog title",
|
|
6087
|
-
"name": "blog-title",
|
|
6088
|
-
"hasDynamicHelp": false,
|
|
6089
|
-
"multiple": false,
|
|
6090
|
-
"type": "option"
|
|
6091
|
-
},
|
|
6092
|
-
"blog-description": {
|
|
6093
|
-
"description": "Blog description",
|
|
6094
|
-
"name": "blog-description",
|
|
6095
|
-
"hasDynamicHelp": false,
|
|
6096
|
-
"multiple": false,
|
|
6097
|
-
"type": "option"
|
|
6098
|
-
},
|
|
6099
|
-
"posts-per-page": {
|
|
6100
|
-
"description": "Posts per page",
|
|
6101
|
-
"name": "posts-per-page",
|
|
6102
|
-
"hasDynamicHelp": false,
|
|
6103
|
-
"multiple": false,
|
|
6104
|
-
"type": "option"
|
|
6105
|
-
},
|
|
6106
|
-
"allow-comments": {
|
|
6107
|
-
"description": "Allow comments",
|
|
6108
|
-
"name": "allow-comments",
|
|
6109
|
-
"allowNo": true,
|
|
6110
|
-
"type": "boolean"
|
|
6111
|
-
},
|
|
6112
|
-
"moderate-comments": {
|
|
6113
|
-
"description": "Moderate comments",
|
|
6114
|
-
"name": "moderate-comments",
|
|
6115
|
-
"allowNo": true,
|
|
6116
|
-
"type": "boolean"
|
|
6117
|
-
},
|
|
6118
|
-
"show-author": {
|
|
6119
|
-
"description": "Show author",
|
|
6120
|
-
"name": "show-author",
|
|
6121
|
-
"allowNo": true,
|
|
6122
|
-
"type": "boolean"
|
|
6123
|
-
},
|
|
6124
|
-
"show-reading-time": {
|
|
6125
|
-
"description": "Show reading time",
|
|
6126
|
-
"name": "show-reading-time",
|
|
6127
|
-
"allowNo": true,
|
|
6128
|
-
"type": "boolean"
|
|
6129
|
-
},
|
|
6130
|
-
"enable-rss": {
|
|
6131
|
-
"description": "Enable RSS feed",
|
|
6132
|
-
"name": "enable-rss",
|
|
6133
|
-
"allowNo": true,
|
|
6134
|
-
"type": "boolean"
|
|
6135
|
-
},
|
|
6136
|
-
"custom-css": {
|
|
6137
|
-
"description": "Custom CSS",
|
|
6138
|
-
"name": "custom-css",
|
|
6139
|
-
"hasDynamicHelp": false,
|
|
6140
|
-
"multiple": false,
|
|
6141
|
-
"type": "option"
|
|
6142
6038
|
}
|
|
6143
6039
|
},
|
|
6144
6040
|
"hasDynamicHelp": false,
|
|
6041
|
+
"hidden": true,
|
|
6145
6042
|
"hiddenAliases": [],
|
|
6146
|
-
"id": "
|
|
6043
|
+
"id": "categories:all",
|
|
6147
6044
|
"pluginAlias": "@ecomweb/cli",
|
|
6148
6045
|
"pluginName": "@ecomweb/cli",
|
|
6149
6046
|
"pluginType": "core",
|
|
6150
|
-
"strict":
|
|
6047
|
+
"strict": false,
|
|
6151
6048
|
"enableJsonFlag": false,
|
|
6152
6049
|
"isESM": false,
|
|
6153
6050
|
"relativePath": [
|
|
6154
6051
|
"dist",
|
|
6155
6052
|
"commands",
|
|
6156
|
-
"
|
|
6157
|
-
"
|
|
6053
|
+
"categories",
|
|
6054
|
+
"all.js"
|
|
6158
6055
|
]
|
|
6159
6056
|
},
|
|
6160
|
-
"
|
|
6057
|
+
"categories:create": {
|
|
6161
6058
|
"aliases": [],
|
|
6162
6059
|
"args": {},
|
|
6163
|
-
"description": "
|
|
6164
|
-
"examples": [
|
|
6165
|
-
"ecomweb blog-tags all"
|
|
6166
|
-
],
|
|
6060
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
6167
6061
|
"flags": {
|
|
6168
6062
|
"store-ref": {
|
|
6169
6063
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -6243,29 +6137,26 @@
|
|
|
6243
6137
|
}
|
|
6244
6138
|
},
|
|
6245
6139
|
"hasDynamicHelp": false,
|
|
6140
|
+
"hidden": true,
|
|
6246
6141
|
"hiddenAliases": [],
|
|
6247
|
-
"id": "
|
|
6142
|
+
"id": "categories:create",
|
|
6248
6143
|
"pluginAlias": "@ecomweb/cli",
|
|
6249
6144
|
"pluginName": "@ecomweb/cli",
|
|
6250
6145
|
"pluginType": "core",
|
|
6251
|
-
"strict":
|
|
6146
|
+
"strict": false,
|
|
6252
6147
|
"enableJsonFlag": false,
|
|
6253
6148
|
"isESM": false,
|
|
6254
6149
|
"relativePath": [
|
|
6255
6150
|
"dist",
|
|
6256
6151
|
"commands",
|
|
6257
|
-
"
|
|
6258
|
-
"
|
|
6152
|
+
"categories",
|
|
6153
|
+
"create.js"
|
|
6259
6154
|
]
|
|
6260
6155
|
},
|
|
6261
|
-
"
|
|
6156
|
+
"categories:delete": {
|
|
6262
6157
|
"aliases": [],
|
|
6263
6158
|
"args": {},
|
|
6264
|
-
"description": "
|
|
6265
|
-
"examples": [
|
|
6266
|
-
"ecomweb blog-tags create --stdin <<< '{\"name\":\"AI\",\"slug\":\"ai\"}'",
|
|
6267
|
-
"ecomweb blog-tags create --name AI --slug ai"
|
|
6268
|
-
],
|
|
6159
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
6269
6160
|
"flags": {
|
|
6270
6161
|
"store-ref": {
|
|
6271
6162
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -6342,65 +6233,29 @@
|
|
|
6342
6233
|
"hasDynamicHelp": false,
|
|
6343
6234
|
"multiple": false,
|
|
6344
6235
|
"type": "option"
|
|
6345
|
-
},
|
|
6346
|
-
"stdin": {
|
|
6347
|
-
"description": "Read JSON body from stdin",
|
|
6348
|
-
"name": "stdin",
|
|
6349
|
-
"allowNo": false,
|
|
6350
|
-
"type": "boolean"
|
|
6351
|
-
},
|
|
6352
|
-
"file": {
|
|
6353
|
-
"description": "Read JSON body from file",
|
|
6354
|
-
"name": "file",
|
|
6355
|
-
"hasDynamicHelp": false,
|
|
6356
|
-
"multiple": false,
|
|
6357
|
-
"type": "option"
|
|
6358
|
-
},
|
|
6359
|
-
"name": {
|
|
6360
|
-
"description": "Tag name",
|
|
6361
|
-
"name": "name",
|
|
6362
|
-
"hasDynamicHelp": false,
|
|
6363
|
-
"multiple": false,
|
|
6364
|
-
"type": "option"
|
|
6365
|
-
},
|
|
6366
|
-
"slug": {
|
|
6367
|
-
"description": "URL slug",
|
|
6368
|
-
"name": "slug",
|
|
6369
|
-
"hasDynamicHelp": false,
|
|
6370
|
-
"multiple": false,
|
|
6371
|
-
"type": "option"
|
|
6372
6236
|
}
|
|
6373
6237
|
},
|
|
6374
6238
|
"hasDynamicHelp": false,
|
|
6239
|
+
"hidden": true,
|
|
6375
6240
|
"hiddenAliases": [],
|
|
6376
|
-
"id": "
|
|
6241
|
+
"id": "categories:delete",
|
|
6377
6242
|
"pluginAlias": "@ecomweb/cli",
|
|
6378
6243
|
"pluginName": "@ecomweb/cli",
|
|
6379
6244
|
"pluginType": "core",
|
|
6380
|
-
"strict":
|
|
6245
|
+
"strict": false,
|
|
6381
6246
|
"enableJsonFlag": false,
|
|
6382
6247
|
"isESM": false,
|
|
6383
6248
|
"relativePath": [
|
|
6384
6249
|
"dist",
|
|
6385
6250
|
"commands",
|
|
6386
|
-
"
|
|
6387
|
-
"
|
|
6251
|
+
"categories",
|
|
6252
|
+
"delete.js"
|
|
6388
6253
|
]
|
|
6389
6254
|
},
|
|
6390
|
-
"
|
|
6255
|
+
"categories:get": {
|
|
6391
6256
|
"aliases": [],
|
|
6392
|
-
"args": {
|
|
6393
|
-
|
|
6394
|
-
"description": "Tag ID",
|
|
6395
|
-
"name": "id",
|
|
6396
|
-
"required": true
|
|
6397
|
-
}
|
|
6398
|
-
},
|
|
6399
|
-
"description": "Delete a blog tag by ID",
|
|
6400
|
-
"examples": [
|
|
6401
|
-
"ecomweb blog-tags delete 3",
|
|
6402
|
-
"ecomweb blog-tags delete 3 --dry-run"
|
|
6403
|
-
],
|
|
6257
|
+
"args": {},
|
|
6258
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
6404
6259
|
"flags": {
|
|
6405
6260
|
"store-ref": {
|
|
6406
6261
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -6480,29 +6335,26 @@
|
|
|
6480
6335
|
}
|
|
6481
6336
|
},
|
|
6482
6337
|
"hasDynamicHelp": false,
|
|
6338
|
+
"hidden": true,
|
|
6483
6339
|
"hiddenAliases": [],
|
|
6484
|
-
"id": "
|
|
6340
|
+
"id": "categories:get",
|
|
6485
6341
|
"pluginAlias": "@ecomweb/cli",
|
|
6486
6342
|
"pluginName": "@ecomweb/cli",
|
|
6487
6343
|
"pluginType": "core",
|
|
6488
|
-
"strict":
|
|
6344
|
+
"strict": false,
|
|
6489
6345
|
"enableJsonFlag": false,
|
|
6490
6346
|
"isESM": false,
|
|
6491
6347
|
"relativePath": [
|
|
6492
6348
|
"dist",
|
|
6493
6349
|
"commands",
|
|
6494
|
-
"
|
|
6495
|
-
"
|
|
6350
|
+
"categories",
|
|
6351
|
+
"get.js"
|
|
6496
6352
|
]
|
|
6497
6353
|
},
|
|
6498
|
-
"
|
|
6354
|
+
"categories:list": {
|
|
6499
6355
|
"aliases": [],
|
|
6500
6356
|
"args": {},
|
|
6501
|
-
"description": "
|
|
6502
|
-
"examples": [
|
|
6503
|
-
"ecomweb blog-tags list",
|
|
6504
|
-
"ecomweb blog-tags list --search AI --include-post-counts"
|
|
6505
|
-
],
|
|
6357
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
6506
6358
|
"flags": {
|
|
6507
6359
|
"store-ref": {
|
|
6508
6360
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -6579,80 +6431,29 @@
|
|
|
6579
6431
|
"hasDynamicHelp": false,
|
|
6580
6432
|
"multiple": false,
|
|
6581
6433
|
"type": "option"
|
|
6582
|
-
},
|
|
6583
|
-
"search": {
|
|
6584
|
-
"description": "Search tags by name",
|
|
6585
|
-
"name": "search",
|
|
6586
|
-
"hasDynamicHelp": false,
|
|
6587
|
-
"multiple": false,
|
|
6588
|
-
"type": "option"
|
|
6589
|
-
},
|
|
6590
|
-
"include-post-counts": {
|
|
6591
|
-
"description": "Include post count per tag",
|
|
6592
|
-
"name": "include-post-counts",
|
|
6593
|
-
"allowNo": false,
|
|
6594
|
-
"type": "boolean"
|
|
6595
|
-
},
|
|
6596
|
-
"sort-by": {
|
|
6597
|
-
"description": "Sort field",
|
|
6598
|
-
"name": "sort-by",
|
|
6599
|
-
"hasDynamicHelp": false,
|
|
6600
|
-
"multiple": false,
|
|
6601
|
-
"type": "option"
|
|
6602
|
-
},
|
|
6603
|
-
"sort-order": {
|
|
6604
|
-
"description": "Sort direction",
|
|
6605
|
-
"name": "sort-order",
|
|
6606
|
-
"hasDynamicHelp": false,
|
|
6607
|
-
"multiple": false,
|
|
6608
|
-
"options": [
|
|
6609
|
-
"asc",
|
|
6610
|
-
"desc"
|
|
6611
|
-
],
|
|
6612
|
-
"type": "option"
|
|
6613
|
-
},
|
|
6614
|
-
"limit": {
|
|
6615
|
-
"description": "Results per page",
|
|
6616
|
-
"name": "limit",
|
|
6617
|
-
"default": 20,
|
|
6618
|
-
"hasDynamicHelp": false,
|
|
6619
|
-
"multiple": false,
|
|
6620
|
-
"type": "option"
|
|
6621
|
-
},
|
|
6622
|
-
"offset": {
|
|
6623
|
-
"description": "Offset for pagination",
|
|
6624
|
-
"name": "offset",
|
|
6625
|
-
"default": 0,
|
|
6626
|
-
"hasDynamicHelp": false,
|
|
6627
|
-
"multiple": false,
|
|
6628
|
-
"type": "option"
|
|
6629
6434
|
}
|
|
6630
6435
|
},
|
|
6631
6436
|
"hasDynamicHelp": false,
|
|
6437
|
+
"hidden": true,
|
|
6632
6438
|
"hiddenAliases": [],
|
|
6633
|
-
"id": "
|
|
6439
|
+
"id": "categories:list",
|
|
6634
6440
|
"pluginAlias": "@ecomweb/cli",
|
|
6635
6441
|
"pluginName": "@ecomweb/cli",
|
|
6636
6442
|
"pluginType": "core",
|
|
6637
|
-
"strict":
|
|
6443
|
+
"strict": false,
|
|
6638
6444
|
"enableJsonFlag": false,
|
|
6639
6445
|
"isESM": false,
|
|
6640
6446
|
"relativePath": [
|
|
6641
6447
|
"dist",
|
|
6642
6448
|
"commands",
|
|
6643
|
-
"
|
|
6449
|
+
"categories",
|
|
6644
6450
|
"list.js"
|
|
6645
6451
|
]
|
|
6646
6452
|
},
|
|
6647
|
-
"
|
|
6453
|
+
"categories:update": {
|
|
6648
6454
|
"aliases": [],
|
|
6649
6455
|
"args": {},
|
|
6650
|
-
"description": "
|
|
6651
|
-
"examples": [
|
|
6652
|
-
"ecomweb collections all",
|
|
6653
|
-
"ecomweb collections all --status active",
|
|
6654
|
-
"ecomweb collections all --full"
|
|
6655
|
-
],
|
|
6456
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
6656
6457
|
"flags": {
|
|
6657
6458
|
"store-ref": {
|
|
6658
6459
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -6729,16 +6530,120 @@
|
|
|
6729
6530
|
"hasDynamicHelp": false,
|
|
6730
6531
|
"multiple": false,
|
|
6731
6532
|
"type": "option"
|
|
6732
|
-
}
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6533
|
+
}
|
|
6534
|
+
},
|
|
6535
|
+
"hasDynamicHelp": false,
|
|
6536
|
+
"hidden": true,
|
|
6537
|
+
"hiddenAliases": [],
|
|
6538
|
+
"id": "categories:update",
|
|
6539
|
+
"pluginAlias": "@ecomweb/cli",
|
|
6540
|
+
"pluginName": "@ecomweb/cli",
|
|
6541
|
+
"pluginType": "core",
|
|
6542
|
+
"strict": false,
|
|
6543
|
+
"enableJsonFlag": false,
|
|
6544
|
+
"isESM": false,
|
|
6545
|
+
"relativePath": [
|
|
6546
|
+
"dist",
|
|
6547
|
+
"commands",
|
|
6548
|
+
"categories",
|
|
6549
|
+
"update.js"
|
|
6550
|
+
]
|
|
6551
|
+
},
|
|
6552
|
+
"collections:all": {
|
|
6553
|
+
"aliases": [],
|
|
6554
|
+
"args": {},
|
|
6555
|
+
"description": "Get all collections (no pagination)",
|
|
6556
|
+
"examples": [
|
|
6557
|
+
"ecomweb collections all",
|
|
6558
|
+
"ecomweb collections all --status active",
|
|
6559
|
+
"ecomweb collections all --full"
|
|
6560
|
+
],
|
|
6561
|
+
"flags": {
|
|
6562
|
+
"store-ref": {
|
|
6563
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
6564
|
+
"env": "ECOMWEB_STORE_REF",
|
|
6565
|
+
"name": "store-ref",
|
|
6566
|
+
"hasDynamicHelp": false,
|
|
6567
|
+
"multiple": false,
|
|
6568
|
+
"type": "option"
|
|
6569
|
+
},
|
|
6570
|
+
"api-key": {
|
|
6571
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
6572
|
+
"env": "ECOMWEB_API_KEY",
|
|
6573
|
+
"name": "api-key",
|
|
6574
|
+
"hasDynamicHelp": false,
|
|
6575
|
+
"multiple": false,
|
|
6576
|
+
"type": "option"
|
|
6577
|
+
},
|
|
6578
|
+
"api-url": {
|
|
6579
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
6580
|
+
"env": "ECOMWEB_API_URL",
|
|
6581
|
+
"name": "api-url",
|
|
6582
|
+
"hasDynamicHelp": false,
|
|
6583
|
+
"multiple": false,
|
|
6584
|
+
"type": "option"
|
|
6585
|
+
},
|
|
6586
|
+
"output": {
|
|
6587
|
+
"description": "Output format",
|
|
6588
|
+
"name": "output",
|
|
6589
|
+
"default": "json",
|
|
6590
|
+
"hasDynamicHelp": false,
|
|
6591
|
+
"multiple": false,
|
|
6592
|
+
"options": [
|
|
6593
|
+
"json",
|
|
6594
|
+
"table",
|
|
6595
|
+
"csv"
|
|
6596
|
+
],
|
|
6597
|
+
"type": "option"
|
|
6598
|
+
},
|
|
6599
|
+
"quiet": {
|
|
6600
|
+
"description": "Suppress non-data output",
|
|
6601
|
+
"name": "quiet",
|
|
6602
|
+
"allowNo": false,
|
|
6603
|
+
"type": "boolean"
|
|
6604
|
+
},
|
|
6605
|
+
"dry-run": {
|
|
6606
|
+
"description": "Preview without executing",
|
|
6607
|
+
"name": "dry-run",
|
|
6608
|
+
"allowNo": false,
|
|
6609
|
+
"type": "boolean"
|
|
6610
|
+
},
|
|
6611
|
+
"profile": {
|
|
6612
|
+
"description": "Named config profile",
|
|
6613
|
+
"name": "profile",
|
|
6614
|
+
"hasDynamicHelp": false,
|
|
6615
|
+
"multiple": false,
|
|
6616
|
+
"type": "option"
|
|
6617
|
+
},
|
|
6618
|
+
"full": {
|
|
6619
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
6620
|
+
"name": "full",
|
|
6621
|
+
"allowNo": false,
|
|
6622
|
+
"type": "boolean"
|
|
6623
|
+
},
|
|
6624
|
+
"fields": {
|
|
6625
|
+
"description": "Comma-separated field names to include",
|
|
6626
|
+
"name": "fields",
|
|
6627
|
+
"hasDynamicHelp": false,
|
|
6628
|
+
"multiple": false,
|
|
6629
|
+
"type": "option"
|
|
6630
|
+
},
|
|
6631
|
+
"exclude": {
|
|
6632
|
+
"description": "Comma-separated field names to exclude",
|
|
6633
|
+
"name": "exclude",
|
|
6634
|
+
"hasDynamicHelp": false,
|
|
6635
|
+
"multiple": false,
|
|
6636
|
+
"type": "option"
|
|
6637
|
+
},
|
|
6638
|
+
"status": {
|
|
6639
|
+
"description": "Filter by status",
|
|
6640
|
+
"name": "status",
|
|
6641
|
+
"hasDynamicHelp": false,
|
|
6642
|
+
"multiple": false,
|
|
6643
|
+
"options": [
|
|
6644
|
+
"draft",
|
|
6645
|
+
"active",
|
|
6646
|
+
"archived",
|
|
6742
6647
|
"unlisted"
|
|
6743
6648
|
],
|
|
6744
6649
|
"type": "option"
|
|
@@ -7377,701 +7282,19 @@
|
|
|
7377
7282
|
},
|
|
7378
7283
|
"collections:update": {
|
|
7379
7284
|
"aliases": [],
|
|
7380
|
-
"args": {
|
|
7381
|
-
"id": {
|
|
7382
|
-
"description": "Collection ID",
|
|
7383
|
-
"name": "id",
|
|
7384
|
-
"required": true
|
|
7385
|
-
}
|
|
7386
|
-
},
|
|
7387
|
-
"description": "Update a collection by ID",
|
|
7388
|
-
"examples": [
|
|
7389
|
-
"ecomweb collections update 42 --stdin <<< '{\"name\":\"Updated Collection\"}'",
|
|
7390
|
-
"ecomweb collections update 42 --status active",
|
|
7391
|
-
"ecomweb collections update 42 --name 'Winter Sale' --slug winter-sale"
|
|
7392
|
-
],
|
|
7393
|
-
"flags": {
|
|
7394
|
-
"store-ref": {
|
|
7395
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
7396
|
-
"env": "ECOMWEB_STORE_REF",
|
|
7397
|
-
"name": "store-ref",
|
|
7398
|
-
"hasDynamicHelp": false,
|
|
7399
|
-
"multiple": false,
|
|
7400
|
-
"type": "option"
|
|
7401
|
-
},
|
|
7402
|
-
"api-key": {
|
|
7403
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
7404
|
-
"env": "ECOMWEB_API_KEY",
|
|
7405
|
-
"name": "api-key",
|
|
7406
|
-
"hasDynamicHelp": false,
|
|
7407
|
-
"multiple": false,
|
|
7408
|
-
"type": "option"
|
|
7409
|
-
},
|
|
7410
|
-
"api-url": {
|
|
7411
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
7412
|
-
"env": "ECOMWEB_API_URL",
|
|
7413
|
-
"name": "api-url",
|
|
7414
|
-
"hasDynamicHelp": false,
|
|
7415
|
-
"multiple": false,
|
|
7416
|
-
"type": "option"
|
|
7417
|
-
},
|
|
7418
|
-
"output": {
|
|
7419
|
-
"description": "Output format",
|
|
7420
|
-
"name": "output",
|
|
7421
|
-
"default": "json",
|
|
7422
|
-
"hasDynamicHelp": false,
|
|
7423
|
-
"multiple": false,
|
|
7424
|
-
"options": [
|
|
7425
|
-
"json",
|
|
7426
|
-
"table",
|
|
7427
|
-
"csv"
|
|
7428
|
-
],
|
|
7429
|
-
"type": "option"
|
|
7430
|
-
},
|
|
7431
|
-
"quiet": {
|
|
7432
|
-
"description": "Suppress non-data output",
|
|
7433
|
-
"name": "quiet",
|
|
7434
|
-
"allowNo": false,
|
|
7435
|
-
"type": "boolean"
|
|
7436
|
-
},
|
|
7437
|
-
"dry-run": {
|
|
7438
|
-
"description": "Preview without executing",
|
|
7439
|
-
"name": "dry-run",
|
|
7440
|
-
"allowNo": false,
|
|
7441
|
-
"type": "boolean"
|
|
7442
|
-
},
|
|
7443
|
-
"profile": {
|
|
7444
|
-
"description": "Named config profile",
|
|
7445
|
-
"name": "profile",
|
|
7446
|
-
"hasDynamicHelp": false,
|
|
7447
|
-
"multiple": false,
|
|
7448
|
-
"type": "option"
|
|
7449
|
-
},
|
|
7450
|
-
"full": {
|
|
7451
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
7452
|
-
"name": "full",
|
|
7453
|
-
"allowNo": false,
|
|
7454
|
-
"type": "boolean"
|
|
7455
|
-
},
|
|
7456
|
-
"fields": {
|
|
7457
|
-
"description": "Comma-separated field names to include",
|
|
7458
|
-
"name": "fields",
|
|
7459
|
-
"hasDynamicHelp": false,
|
|
7460
|
-
"multiple": false,
|
|
7461
|
-
"type": "option"
|
|
7462
|
-
},
|
|
7463
|
-
"exclude": {
|
|
7464
|
-
"description": "Comma-separated field names to exclude",
|
|
7465
|
-
"name": "exclude",
|
|
7466
|
-
"hasDynamicHelp": false,
|
|
7467
|
-
"multiple": false,
|
|
7468
|
-
"type": "option"
|
|
7469
|
-
},
|
|
7470
|
-
"stdin": {
|
|
7471
|
-
"description": "Read JSON body from stdin",
|
|
7472
|
-
"name": "stdin",
|
|
7473
|
-
"allowNo": false,
|
|
7474
|
-
"type": "boolean"
|
|
7475
|
-
},
|
|
7476
|
-
"file": {
|
|
7477
|
-
"description": "Read JSON body from file",
|
|
7478
|
-
"name": "file",
|
|
7479
|
-
"hasDynamicHelp": false,
|
|
7480
|
-
"multiple": false,
|
|
7481
|
-
"type": "option"
|
|
7482
|
-
},
|
|
7483
|
-
"name": {
|
|
7484
|
-
"description": "Collection name",
|
|
7485
|
-
"name": "name",
|
|
7486
|
-
"hasDynamicHelp": false,
|
|
7487
|
-
"multiple": false,
|
|
7488
|
-
"type": "option"
|
|
7489
|
-
},
|
|
7490
|
-
"type": {
|
|
7491
|
-
"description": "Collection type",
|
|
7492
|
-
"name": "type",
|
|
7493
|
-
"hasDynamicHelp": false,
|
|
7494
|
-
"multiple": false,
|
|
7495
|
-
"options": [
|
|
7496
|
-
"manual",
|
|
7497
|
-
"smart"
|
|
7498
|
-
],
|
|
7499
|
-
"type": "option"
|
|
7500
|
-
},
|
|
7501
|
-
"slug": {
|
|
7502
|
-
"description": "URL-friendly slug",
|
|
7503
|
-
"name": "slug",
|
|
7504
|
-
"hasDynamicHelp": false,
|
|
7505
|
-
"multiple": false,
|
|
7506
|
-
"type": "option"
|
|
7507
|
-
},
|
|
7508
|
-
"status": {
|
|
7509
|
-
"description": "Collection status",
|
|
7510
|
-
"name": "status",
|
|
7511
|
-
"hasDynamicHelp": false,
|
|
7512
|
-
"multiple": false,
|
|
7513
|
-
"options": [
|
|
7514
|
-
"draft",
|
|
7515
|
-
"active",
|
|
7516
|
-
"archived",
|
|
7517
|
-
"unlisted"
|
|
7518
|
-
],
|
|
7519
|
-
"type": "option"
|
|
7520
|
-
},
|
|
7521
|
-
"description": {
|
|
7522
|
-
"description": "Collection description",
|
|
7523
|
-
"name": "description",
|
|
7524
|
-
"hasDynamicHelp": false,
|
|
7525
|
-
"multiple": false,
|
|
7526
|
-
"type": "option"
|
|
7527
|
-
},
|
|
7528
|
-
"image-url": {
|
|
7529
|
-
"description": "Collection image URL",
|
|
7530
|
-
"name": "image-url",
|
|
7531
|
-
"hasDynamicHelp": false,
|
|
7532
|
-
"multiple": false,
|
|
7533
|
-
"type": "option"
|
|
7534
|
-
},
|
|
7535
|
-
"collection-sort": {
|
|
7536
|
-
"description": "Product sort order within collection",
|
|
7537
|
-
"name": "collection-sort",
|
|
7538
|
-
"hasDynamicHelp": false,
|
|
7539
|
-
"multiple": false,
|
|
7540
|
-
"options": [
|
|
7541
|
-
"manual",
|
|
7542
|
-
"product_name_asc",
|
|
7543
|
-
"product_name_desc",
|
|
7544
|
-
"best_selling",
|
|
7545
|
-
"highest_price",
|
|
7546
|
-
"lowest_price",
|
|
7547
|
-
"newest",
|
|
7548
|
-
"oldest"
|
|
7549
|
-
],
|
|
7550
|
-
"type": "option"
|
|
7551
|
-
},
|
|
7552
|
-
"product-ids": {
|
|
7553
|
-
"description": "Comma-separated product IDs (for manual collections)",
|
|
7554
|
-
"name": "product-ids",
|
|
7555
|
-
"hasDynamicHelp": false,
|
|
7556
|
-
"multiple": false,
|
|
7557
|
-
"type": "option"
|
|
7558
|
-
}
|
|
7559
|
-
},
|
|
7560
|
-
"hasDynamicHelp": false,
|
|
7561
|
-
"hiddenAliases": [],
|
|
7562
|
-
"id": "collections:update",
|
|
7563
|
-
"pluginAlias": "@ecomweb/cli",
|
|
7564
|
-
"pluginName": "@ecomweb/cli",
|
|
7565
|
-
"pluginType": "core",
|
|
7566
|
-
"strict": true,
|
|
7567
|
-
"enableJsonFlag": false,
|
|
7568
|
-
"isESM": false,
|
|
7569
|
-
"relativePath": [
|
|
7570
|
-
"dist",
|
|
7571
|
-
"commands",
|
|
7572
|
-
"collections",
|
|
7573
|
-
"update.js"
|
|
7574
|
-
]
|
|
7575
|
-
},
|
|
7576
|
-
"categories:all": {
|
|
7577
|
-
"aliases": [],
|
|
7578
|
-
"args": {},
|
|
7579
|
-
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7580
|
-
"flags": {
|
|
7581
|
-
"store-ref": {
|
|
7582
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
7583
|
-
"env": "ECOMWEB_STORE_REF",
|
|
7584
|
-
"name": "store-ref",
|
|
7585
|
-
"hasDynamicHelp": false,
|
|
7586
|
-
"multiple": false,
|
|
7587
|
-
"type": "option"
|
|
7588
|
-
},
|
|
7589
|
-
"api-key": {
|
|
7590
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
7591
|
-
"env": "ECOMWEB_API_KEY",
|
|
7592
|
-
"name": "api-key",
|
|
7593
|
-
"hasDynamicHelp": false,
|
|
7594
|
-
"multiple": false,
|
|
7595
|
-
"type": "option"
|
|
7596
|
-
},
|
|
7597
|
-
"api-url": {
|
|
7598
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
7599
|
-
"env": "ECOMWEB_API_URL",
|
|
7600
|
-
"name": "api-url",
|
|
7601
|
-
"hasDynamicHelp": false,
|
|
7602
|
-
"multiple": false,
|
|
7603
|
-
"type": "option"
|
|
7604
|
-
},
|
|
7605
|
-
"output": {
|
|
7606
|
-
"description": "Output format",
|
|
7607
|
-
"name": "output",
|
|
7608
|
-
"default": "json",
|
|
7609
|
-
"hasDynamicHelp": false,
|
|
7610
|
-
"multiple": false,
|
|
7611
|
-
"options": [
|
|
7612
|
-
"json",
|
|
7613
|
-
"table",
|
|
7614
|
-
"csv"
|
|
7615
|
-
],
|
|
7616
|
-
"type": "option"
|
|
7617
|
-
},
|
|
7618
|
-
"quiet": {
|
|
7619
|
-
"description": "Suppress non-data output",
|
|
7620
|
-
"name": "quiet",
|
|
7621
|
-
"allowNo": false,
|
|
7622
|
-
"type": "boolean"
|
|
7623
|
-
},
|
|
7624
|
-
"dry-run": {
|
|
7625
|
-
"description": "Preview without executing",
|
|
7626
|
-
"name": "dry-run",
|
|
7627
|
-
"allowNo": false,
|
|
7628
|
-
"type": "boolean"
|
|
7629
|
-
},
|
|
7630
|
-
"profile": {
|
|
7631
|
-
"description": "Named config profile",
|
|
7632
|
-
"name": "profile",
|
|
7633
|
-
"hasDynamicHelp": false,
|
|
7634
|
-
"multiple": false,
|
|
7635
|
-
"type": "option"
|
|
7636
|
-
},
|
|
7637
|
-
"full": {
|
|
7638
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
7639
|
-
"name": "full",
|
|
7640
|
-
"allowNo": false,
|
|
7641
|
-
"type": "boolean"
|
|
7642
|
-
},
|
|
7643
|
-
"fields": {
|
|
7644
|
-
"description": "Comma-separated field names to include",
|
|
7645
|
-
"name": "fields",
|
|
7646
|
-
"hasDynamicHelp": false,
|
|
7647
|
-
"multiple": false,
|
|
7648
|
-
"type": "option"
|
|
7649
|
-
},
|
|
7650
|
-
"exclude": {
|
|
7651
|
-
"description": "Comma-separated field names to exclude",
|
|
7652
|
-
"name": "exclude",
|
|
7653
|
-
"hasDynamicHelp": false,
|
|
7654
|
-
"multiple": false,
|
|
7655
|
-
"type": "option"
|
|
7656
|
-
}
|
|
7657
|
-
},
|
|
7658
|
-
"hasDynamicHelp": false,
|
|
7659
|
-
"hidden": true,
|
|
7660
|
-
"hiddenAliases": [],
|
|
7661
|
-
"id": "categories:all",
|
|
7662
|
-
"pluginAlias": "@ecomweb/cli",
|
|
7663
|
-
"pluginName": "@ecomweb/cli",
|
|
7664
|
-
"pluginType": "core",
|
|
7665
|
-
"strict": false,
|
|
7666
|
-
"enableJsonFlag": false,
|
|
7667
|
-
"isESM": false,
|
|
7668
|
-
"relativePath": [
|
|
7669
|
-
"dist",
|
|
7670
|
-
"commands",
|
|
7671
|
-
"categories",
|
|
7672
|
-
"all.js"
|
|
7673
|
-
]
|
|
7674
|
-
},
|
|
7675
|
-
"categories:create": {
|
|
7676
|
-
"aliases": [],
|
|
7677
|
-
"args": {},
|
|
7678
|
-
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7679
|
-
"flags": {
|
|
7680
|
-
"store-ref": {
|
|
7681
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
7682
|
-
"env": "ECOMWEB_STORE_REF",
|
|
7683
|
-
"name": "store-ref",
|
|
7684
|
-
"hasDynamicHelp": false,
|
|
7685
|
-
"multiple": false,
|
|
7686
|
-
"type": "option"
|
|
7687
|
-
},
|
|
7688
|
-
"api-key": {
|
|
7689
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
7690
|
-
"env": "ECOMWEB_API_KEY",
|
|
7691
|
-
"name": "api-key",
|
|
7692
|
-
"hasDynamicHelp": false,
|
|
7693
|
-
"multiple": false,
|
|
7694
|
-
"type": "option"
|
|
7695
|
-
},
|
|
7696
|
-
"api-url": {
|
|
7697
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
7698
|
-
"env": "ECOMWEB_API_URL",
|
|
7699
|
-
"name": "api-url",
|
|
7700
|
-
"hasDynamicHelp": false,
|
|
7701
|
-
"multiple": false,
|
|
7702
|
-
"type": "option"
|
|
7703
|
-
},
|
|
7704
|
-
"output": {
|
|
7705
|
-
"description": "Output format",
|
|
7706
|
-
"name": "output",
|
|
7707
|
-
"default": "json",
|
|
7708
|
-
"hasDynamicHelp": false,
|
|
7709
|
-
"multiple": false,
|
|
7710
|
-
"options": [
|
|
7711
|
-
"json",
|
|
7712
|
-
"table",
|
|
7713
|
-
"csv"
|
|
7714
|
-
],
|
|
7715
|
-
"type": "option"
|
|
7716
|
-
},
|
|
7717
|
-
"quiet": {
|
|
7718
|
-
"description": "Suppress non-data output",
|
|
7719
|
-
"name": "quiet",
|
|
7720
|
-
"allowNo": false,
|
|
7721
|
-
"type": "boolean"
|
|
7722
|
-
},
|
|
7723
|
-
"dry-run": {
|
|
7724
|
-
"description": "Preview without executing",
|
|
7725
|
-
"name": "dry-run",
|
|
7726
|
-
"allowNo": false,
|
|
7727
|
-
"type": "boolean"
|
|
7728
|
-
},
|
|
7729
|
-
"profile": {
|
|
7730
|
-
"description": "Named config profile",
|
|
7731
|
-
"name": "profile",
|
|
7732
|
-
"hasDynamicHelp": false,
|
|
7733
|
-
"multiple": false,
|
|
7734
|
-
"type": "option"
|
|
7735
|
-
},
|
|
7736
|
-
"full": {
|
|
7737
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
7738
|
-
"name": "full",
|
|
7739
|
-
"allowNo": false,
|
|
7740
|
-
"type": "boolean"
|
|
7741
|
-
},
|
|
7742
|
-
"fields": {
|
|
7743
|
-
"description": "Comma-separated field names to include",
|
|
7744
|
-
"name": "fields",
|
|
7745
|
-
"hasDynamicHelp": false,
|
|
7746
|
-
"multiple": false,
|
|
7747
|
-
"type": "option"
|
|
7748
|
-
},
|
|
7749
|
-
"exclude": {
|
|
7750
|
-
"description": "Comma-separated field names to exclude",
|
|
7751
|
-
"name": "exclude",
|
|
7752
|
-
"hasDynamicHelp": false,
|
|
7753
|
-
"multiple": false,
|
|
7754
|
-
"type": "option"
|
|
7755
|
-
}
|
|
7756
|
-
},
|
|
7757
|
-
"hasDynamicHelp": false,
|
|
7758
|
-
"hidden": true,
|
|
7759
|
-
"hiddenAliases": [],
|
|
7760
|
-
"id": "categories:create",
|
|
7761
|
-
"pluginAlias": "@ecomweb/cli",
|
|
7762
|
-
"pluginName": "@ecomweb/cli",
|
|
7763
|
-
"pluginType": "core",
|
|
7764
|
-
"strict": false,
|
|
7765
|
-
"enableJsonFlag": false,
|
|
7766
|
-
"isESM": false,
|
|
7767
|
-
"relativePath": [
|
|
7768
|
-
"dist",
|
|
7769
|
-
"commands",
|
|
7770
|
-
"categories",
|
|
7771
|
-
"create.js"
|
|
7772
|
-
]
|
|
7773
|
-
},
|
|
7774
|
-
"categories:delete": {
|
|
7775
|
-
"aliases": [],
|
|
7776
|
-
"args": {},
|
|
7777
|
-
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7778
|
-
"flags": {
|
|
7779
|
-
"store-ref": {
|
|
7780
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
7781
|
-
"env": "ECOMWEB_STORE_REF",
|
|
7782
|
-
"name": "store-ref",
|
|
7783
|
-
"hasDynamicHelp": false,
|
|
7784
|
-
"multiple": false,
|
|
7785
|
-
"type": "option"
|
|
7786
|
-
},
|
|
7787
|
-
"api-key": {
|
|
7788
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
7789
|
-
"env": "ECOMWEB_API_KEY",
|
|
7790
|
-
"name": "api-key",
|
|
7791
|
-
"hasDynamicHelp": false,
|
|
7792
|
-
"multiple": false,
|
|
7793
|
-
"type": "option"
|
|
7794
|
-
},
|
|
7795
|
-
"api-url": {
|
|
7796
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
7797
|
-
"env": "ECOMWEB_API_URL",
|
|
7798
|
-
"name": "api-url",
|
|
7799
|
-
"hasDynamicHelp": false,
|
|
7800
|
-
"multiple": false,
|
|
7801
|
-
"type": "option"
|
|
7802
|
-
},
|
|
7803
|
-
"output": {
|
|
7804
|
-
"description": "Output format",
|
|
7805
|
-
"name": "output",
|
|
7806
|
-
"default": "json",
|
|
7807
|
-
"hasDynamicHelp": false,
|
|
7808
|
-
"multiple": false,
|
|
7809
|
-
"options": [
|
|
7810
|
-
"json",
|
|
7811
|
-
"table",
|
|
7812
|
-
"csv"
|
|
7813
|
-
],
|
|
7814
|
-
"type": "option"
|
|
7815
|
-
},
|
|
7816
|
-
"quiet": {
|
|
7817
|
-
"description": "Suppress non-data output",
|
|
7818
|
-
"name": "quiet",
|
|
7819
|
-
"allowNo": false,
|
|
7820
|
-
"type": "boolean"
|
|
7821
|
-
},
|
|
7822
|
-
"dry-run": {
|
|
7823
|
-
"description": "Preview without executing",
|
|
7824
|
-
"name": "dry-run",
|
|
7825
|
-
"allowNo": false,
|
|
7826
|
-
"type": "boolean"
|
|
7827
|
-
},
|
|
7828
|
-
"profile": {
|
|
7829
|
-
"description": "Named config profile",
|
|
7830
|
-
"name": "profile",
|
|
7831
|
-
"hasDynamicHelp": false,
|
|
7832
|
-
"multiple": false,
|
|
7833
|
-
"type": "option"
|
|
7834
|
-
},
|
|
7835
|
-
"full": {
|
|
7836
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
7837
|
-
"name": "full",
|
|
7838
|
-
"allowNo": false,
|
|
7839
|
-
"type": "boolean"
|
|
7840
|
-
},
|
|
7841
|
-
"fields": {
|
|
7842
|
-
"description": "Comma-separated field names to include",
|
|
7843
|
-
"name": "fields",
|
|
7844
|
-
"hasDynamicHelp": false,
|
|
7845
|
-
"multiple": false,
|
|
7846
|
-
"type": "option"
|
|
7847
|
-
},
|
|
7848
|
-
"exclude": {
|
|
7849
|
-
"description": "Comma-separated field names to exclude",
|
|
7850
|
-
"name": "exclude",
|
|
7851
|
-
"hasDynamicHelp": false,
|
|
7852
|
-
"multiple": false,
|
|
7853
|
-
"type": "option"
|
|
7854
|
-
}
|
|
7855
|
-
},
|
|
7856
|
-
"hasDynamicHelp": false,
|
|
7857
|
-
"hidden": true,
|
|
7858
|
-
"hiddenAliases": [],
|
|
7859
|
-
"id": "categories:delete",
|
|
7860
|
-
"pluginAlias": "@ecomweb/cli",
|
|
7861
|
-
"pluginName": "@ecomweb/cli",
|
|
7862
|
-
"pluginType": "core",
|
|
7863
|
-
"strict": false,
|
|
7864
|
-
"enableJsonFlag": false,
|
|
7865
|
-
"isESM": false,
|
|
7866
|
-
"relativePath": [
|
|
7867
|
-
"dist",
|
|
7868
|
-
"commands",
|
|
7869
|
-
"categories",
|
|
7870
|
-
"delete.js"
|
|
7871
|
-
]
|
|
7872
|
-
},
|
|
7873
|
-
"categories:get": {
|
|
7874
|
-
"aliases": [],
|
|
7875
|
-
"args": {},
|
|
7876
|
-
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7877
|
-
"flags": {
|
|
7878
|
-
"store-ref": {
|
|
7879
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
7880
|
-
"env": "ECOMWEB_STORE_REF",
|
|
7881
|
-
"name": "store-ref",
|
|
7882
|
-
"hasDynamicHelp": false,
|
|
7883
|
-
"multiple": false,
|
|
7884
|
-
"type": "option"
|
|
7885
|
-
},
|
|
7886
|
-
"api-key": {
|
|
7887
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
7888
|
-
"env": "ECOMWEB_API_KEY",
|
|
7889
|
-
"name": "api-key",
|
|
7890
|
-
"hasDynamicHelp": false,
|
|
7891
|
-
"multiple": false,
|
|
7892
|
-
"type": "option"
|
|
7893
|
-
},
|
|
7894
|
-
"api-url": {
|
|
7895
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
7896
|
-
"env": "ECOMWEB_API_URL",
|
|
7897
|
-
"name": "api-url",
|
|
7898
|
-
"hasDynamicHelp": false,
|
|
7899
|
-
"multiple": false,
|
|
7900
|
-
"type": "option"
|
|
7901
|
-
},
|
|
7902
|
-
"output": {
|
|
7903
|
-
"description": "Output format",
|
|
7904
|
-
"name": "output",
|
|
7905
|
-
"default": "json",
|
|
7906
|
-
"hasDynamicHelp": false,
|
|
7907
|
-
"multiple": false,
|
|
7908
|
-
"options": [
|
|
7909
|
-
"json",
|
|
7910
|
-
"table",
|
|
7911
|
-
"csv"
|
|
7912
|
-
],
|
|
7913
|
-
"type": "option"
|
|
7914
|
-
},
|
|
7915
|
-
"quiet": {
|
|
7916
|
-
"description": "Suppress non-data output",
|
|
7917
|
-
"name": "quiet",
|
|
7918
|
-
"allowNo": false,
|
|
7919
|
-
"type": "boolean"
|
|
7920
|
-
},
|
|
7921
|
-
"dry-run": {
|
|
7922
|
-
"description": "Preview without executing",
|
|
7923
|
-
"name": "dry-run",
|
|
7924
|
-
"allowNo": false,
|
|
7925
|
-
"type": "boolean"
|
|
7926
|
-
},
|
|
7927
|
-
"profile": {
|
|
7928
|
-
"description": "Named config profile",
|
|
7929
|
-
"name": "profile",
|
|
7930
|
-
"hasDynamicHelp": false,
|
|
7931
|
-
"multiple": false,
|
|
7932
|
-
"type": "option"
|
|
7933
|
-
},
|
|
7934
|
-
"full": {
|
|
7935
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
7936
|
-
"name": "full",
|
|
7937
|
-
"allowNo": false,
|
|
7938
|
-
"type": "boolean"
|
|
7939
|
-
},
|
|
7940
|
-
"fields": {
|
|
7941
|
-
"description": "Comma-separated field names to include",
|
|
7942
|
-
"name": "fields",
|
|
7943
|
-
"hasDynamicHelp": false,
|
|
7944
|
-
"multiple": false,
|
|
7945
|
-
"type": "option"
|
|
7946
|
-
},
|
|
7947
|
-
"exclude": {
|
|
7948
|
-
"description": "Comma-separated field names to exclude",
|
|
7949
|
-
"name": "exclude",
|
|
7950
|
-
"hasDynamicHelp": false,
|
|
7951
|
-
"multiple": false,
|
|
7952
|
-
"type": "option"
|
|
7953
|
-
}
|
|
7954
|
-
},
|
|
7955
|
-
"hasDynamicHelp": false,
|
|
7956
|
-
"hidden": true,
|
|
7957
|
-
"hiddenAliases": [],
|
|
7958
|
-
"id": "categories:get",
|
|
7959
|
-
"pluginAlias": "@ecomweb/cli",
|
|
7960
|
-
"pluginName": "@ecomweb/cli",
|
|
7961
|
-
"pluginType": "core",
|
|
7962
|
-
"strict": false,
|
|
7963
|
-
"enableJsonFlag": false,
|
|
7964
|
-
"isESM": false,
|
|
7965
|
-
"relativePath": [
|
|
7966
|
-
"dist",
|
|
7967
|
-
"commands",
|
|
7968
|
-
"categories",
|
|
7969
|
-
"get.js"
|
|
7970
|
-
]
|
|
7971
|
-
},
|
|
7972
|
-
"categories:list": {
|
|
7973
|
-
"aliases": [],
|
|
7974
|
-
"args": {},
|
|
7975
|
-
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7976
|
-
"flags": {
|
|
7977
|
-
"store-ref": {
|
|
7978
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
7979
|
-
"env": "ECOMWEB_STORE_REF",
|
|
7980
|
-
"name": "store-ref",
|
|
7981
|
-
"hasDynamicHelp": false,
|
|
7982
|
-
"multiple": false,
|
|
7983
|
-
"type": "option"
|
|
7984
|
-
},
|
|
7985
|
-
"api-key": {
|
|
7986
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
7987
|
-
"env": "ECOMWEB_API_KEY",
|
|
7988
|
-
"name": "api-key",
|
|
7989
|
-
"hasDynamicHelp": false,
|
|
7990
|
-
"multiple": false,
|
|
7991
|
-
"type": "option"
|
|
7992
|
-
},
|
|
7993
|
-
"api-url": {
|
|
7994
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
7995
|
-
"env": "ECOMWEB_API_URL",
|
|
7996
|
-
"name": "api-url",
|
|
7997
|
-
"hasDynamicHelp": false,
|
|
7998
|
-
"multiple": false,
|
|
7999
|
-
"type": "option"
|
|
8000
|
-
},
|
|
8001
|
-
"output": {
|
|
8002
|
-
"description": "Output format",
|
|
8003
|
-
"name": "output",
|
|
8004
|
-
"default": "json",
|
|
8005
|
-
"hasDynamicHelp": false,
|
|
8006
|
-
"multiple": false,
|
|
8007
|
-
"options": [
|
|
8008
|
-
"json",
|
|
8009
|
-
"table",
|
|
8010
|
-
"csv"
|
|
8011
|
-
],
|
|
8012
|
-
"type": "option"
|
|
8013
|
-
},
|
|
8014
|
-
"quiet": {
|
|
8015
|
-
"description": "Suppress non-data output",
|
|
8016
|
-
"name": "quiet",
|
|
8017
|
-
"allowNo": false,
|
|
8018
|
-
"type": "boolean"
|
|
8019
|
-
},
|
|
8020
|
-
"dry-run": {
|
|
8021
|
-
"description": "Preview without executing",
|
|
8022
|
-
"name": "dry-run",
|
|
8023
|
-
"allowNo": false,
|
|
8024
|
-
"type": "boolean"
|
|
8025
|
-
},
|
|
8026
|
-
"profile": {
|
|
8027
|
-
"description": "Named config profile",
|
|
8028
|
-
"name": "profile",
|
|
8029
|
-
"hasDynamicHelp": false,
|
|
8030
|
-
"multiple": false,
|
|
8031
|
-
"type": "option"
|
|
8032
|
-
},
|
|
8033
|
-
"full": {
|
|
8034
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
8035
|
-
"name": "full",
|
|
8036
|
-
"allowNo": false,
|
|
8037
|
-
"type": "boolean"
|
|
8038
|
-
},
|
|
8039
|
-
"fields": {
|
|
8040
|
-
"description": "Comma-separated field names to include",
|
|
8041
|
-
"name": "fields",
|
|
8042
|
-
"hasDynamicHelp": false,
|
|
8043
|
-
"multiple": false,
|
|
8044
|
-
"type": "option"
|
|
8045
|
-
},
|
|
8046
|
-
"exclude": {
|
|
8047
|
-
"description": "Comma-separated field names to exclude",
|
|
8048
|
-
"name": "exclude",
|
|
8049
|
-
"hasDynamicHelp": false,
|
|
8050
|
-
"multiple": false,
|
|
8051
|
-
"type": "option"
|
|
8052
|
-
}
|
|
8053
|
-
},
|
|
8054
|
-
"hasDynamicHelp": false,
|
|
8055
|
-
"hidden": true,
|
|
8056
|
-
"hiddenAliases": [],
|
|
8057
|
-
"id": "categories:list",
|
|
8058
|
-
"pluginAlias": "@ecomweb/cli",
|
|
8059
|
-
"pluginName": "@ecomweb/cli",
|
|
8060
|
-
"pluginType": "core",
|
|
8061
|
-
"strict": false,
|
|
8062
|
-
"enableJsonFlag": false,
|
|
8063
|
-
"isESM": false,
|
|
8064
|
-
"relativePath": [
|
|
8065
|
-
"dist",
|
|
8066
|
-
"commands",
|
|
8067
|
-
"categories",
|
|
8068
|
-
"list.js"
|
|
8069
|
-
]
|
|
8070
|
-
},
|
|
8071
|
-
"categories:update": {
|
|
8072
|
-
"aliases": [],
|
|
8073
|
-
"args": {},
|
|
8074
|
-
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7285
|
+
"args": {
|
|
7286
|
+
"id": {
|
|
7287
|
+
"description": "Collection ID",
|
|
7288
|
+
"name": "id",
|
|
7289
|
+
"required": true
|
|
7290
|
+
}
|
|
7291
|
+
},
|
|
7292
|
+
"description": "Update a collection by ID",
|
|
7293
|
+
"examples": [
|
|
7294
|
+
"ecomweb collections update 42 --stdin <<< '{\"name\":\"Updated Collection\"}'",
|
|
7295
|
+
"ecomweb collections update 42 --status active",
|
|
7296
|
+
"ecomweb collections update 42 --name 'Winter Sale' --slug winter-sale"
|
|
7297
|
+
],
|
|
8075
7298
|
"flags": {
|
|
8076
7299
|
"store-ref": {
|
|
8077
7300
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -8148,22 +7371,110 @@
|
|
|
8148
7371
|
"hasDynamicHelp": false,
|
|
8149
7372
|
"multiple": false,
|
|
8150
7373
|
"type": "option"
|
|
7374
|
+
},
|
|
7375
|
+
"stdin": {
|
|
7376
|
+
"description": "Read JSON body from stdin",
|
|
7377
|
+
"name": "stdin",
|
|
7378
|
+
"allowNo": false,
|
|
7379
|
+
"type": "boolean"
|
|
7380
|
+
},
|
|
7381
|
+
"file": {
|
|
7382
|
+
"description": "Read JSON body from file",
|
|
7383
|
+
"name": "file",
|
|
7384
|
+
"hasDynamicHelp": false,
|
|
7385
|
+
"multiple": false,
|
|
7386
|
+
"type": "option"
|
|
7387
|
+
},
|
|
7388
|
+
"name": {
|
|
7389
|
+
"description": "Collection name",
|
|
7390
|
+
"name": "name",
|
|
7391
|
+
"hasDynamicHelp": false,
|
|
7392
|
+
"multiple": false,
|
|
7393
|
+
"type": "option"
|
|
7394
|
+
},
|
|
7395
|
+
"type": {
|
|
7396
|
+
"description": "Collection type",
|
|
7397
|
+
"name": "type",
|
|
7398
|
+
"hasDynamicHelp": false,
|
|
7399
|
+
"multiple": false,
|
|
7400
|
+
"options": [
|
|
7401
|
+
"manual",
|
|
7402
|
+
"smart"
|
|
7403
|
+
],
|
|
7404
|
+
"type": "option"
|
|
7405
|
+
},
|
|
7406
|
+
"slug": {
|
|
7407
|
+
"description": "URL-friendly slug",
|
|
7408
|
+
"name": "slug",
|
|
7409
|
+
"hasDynamicHelp": false,
|
|
7410
|
+
"multiple": false,
|
|
7411
|
+
"type": "option"
|
|
7412
|
+
},
|
|
7413
|
+
"status": {
|
|
7414
|
+
"description": "Collection status",
|
|
7415
|
+
"name": "status",
|
|
7416
|
+
"hasDynamicHelp": false,
|
|
7417
|
+
"multiple": false,
|
|
7418
|
+
"options": [
|
|
7419
|
+
"draft",
|
|
7420
|
+
"active",
|
|
7421
|
+
"archived",
|
|
7422
|
+
"unlisted"
|
|
7423
|
+
],
|
|
7424
|
+
"type": "option"
|
|
7425
|
+
},
|
|
7426
|
+
"description": {
|
|
7427
|
+
"description": "Collection description",
|
|
7428
|
+
"name": "description",
|
|
7429
|
+
"hasDynamicHelp": false,
|
|
7430
|
+
"multiple": false,
|
|
7431
|
+
"type": "option"
|
|
7432
|
+
},
|
|
7433
|
+
"image-url": {
|
|
7434
|
+
"description": "Collection image URL",
|
|
7435
|
+
"name": "image-url",
|
|
7436
|
+
"hasDynamicHelp": false,
|
|
7437
|
+
"multiple": false,
|
|
7438
|
+
"type": "option"
|
|
7439
|
+
},
|
|
7440
|
+
"collection-sort": {
|
|
7441
|
+
"description": "Product sort order within collection",
|
|
7442
|
+
"name": "collection-sort",
|
|
7443
|
+
"hasDynamicHelp": false,
|
|
7444
|
+
"multiple": false,
|
|
7445
|
+
"options": [
|
|
7446
|
+
"manual",
|
|
7447
|
+
"product_name_asc",
|
|
7448
|
+
"product_name_desc",
|
|
7449
|
+
"best_selling",
|
|
7450
|
+
"highest_price",
|
|
7451
|
+
"lowest_price",
|
|
7452
|
+
"newest",
|
|
7453
|
+
"oldest"
|
|
7454
|
+
],
|
|
7455
|
+
"type": "option"
|
|
7456
|
+
},
|
|
7457
|
+
"product-ids": {
|
|
7458
|
+
"description": "Comma-separated product IDs (for manual collections)",
|
|
7459
|
+
"name": "product-ids",
|
|
7460
|
+
"hasDynamicHelp": false,
|
|
7461
|
+
"multiple": false,
|
|
7462
|
+
"type": "option"
|
|
8151
7463
|
}
|
|
8152
7464
|
},
|
|
8153
7465
|
"hasDynamicHelp": false,
|
|
8154
|
-
"hidden": true,
|
|
8155
7466
|
"hiddenAliases": [],
|
|
8156
|
-
"id": "
|
|
7467
|
+
"id": "collections:update",
|
|
8157
7468
|
"pluginAlias": "@ecomweb/cli",
|
|
8158
7469
|
"pluginName": "@ecomweb/cli",
|
|
8159
7470
|
"pluginType": "core",
|
|
8160
|
-
"strict":
|
|
7471
|
+
"strict": true,
|
|
8161
7472
|
"enableJsonFlag": false,
|
|
8162
7473
|
"isESM": false,
|
|
8163
7474
|
"relativePath": [
|
|
8164
7475
|
"dist",
|
|
8165
7476
|
"commands",
|
|
8166
|
-
"
|
|
7477
|
+
"collections",
|
|
8167
7478
|
"update.js"
|
|
8168
7479
|
]
|
|
8169
7480
|
},
|
|
@@ -10061,13 +9372,13 @@
|
|
|
10061
9372
|
"unset.js"
|
|
10062
9373
|
]
|
|
10063
9374
|
},
|
|
10064
|
-
"
|
|
9375
|
+
"metafield-definitions:create": {
|
|
10065
9376
|
"aliases": [],
|
|
10066
9377
|
"args": {},
|
|
10067
|
-
"description": "
|
|
9378
|
+
"description": "Create a metafield definition from a JSON body",
|
|
10068
9379
|
"examples": [
|
|
10069
|
-
"ecomweb
|
|
10070
|
-
"ecomweb
|
|
9380
|
+
"ecomweb metafield-definitions create --stdin <<< '{\"owner_type\":\"product\",\"key\":\"care_guide\",\"name\":\"Care guide\",\"type\":\"rich_text\",\"storefront_access\":true}'",
|
|
9381
|
+
"ecomweb metafield-definitions create --file definition.json"
|
|
10071
9382
|
],
|
|
10072
9383
|
"flags": {
|
|
10073
9384
|
"store-ref": {
|
|
@@ -10145,11 +9456,24 @@
|
|
|
10145
9456
|
"hasDynamicHelp": false,
|
|
10146
9457
|
"multiple": false,
|
|
10147
9458
|
"type": "option"
|
|
9459
|
+
},
|
|
9460
|
+
"stdin": {
|
|
9461
|
+
"description": "Read the JSON body from stdin",
|
|
9462
|
+
"name": "stdin",
|
|
9463
|
+
"allowNo": false,
|
|
9464
|
+
"type": "boolean"
|
|
9465
|
+
},
|
|
9466
|
+
"file": {
|
|
9467
|
+
"description": "Read the JSON body from a file",
|
|
9468
|
+
"name": "file",
|
|
9469
|
+
"hasDynamicHelp": false,
|
|
9470
|
+
"multiple": false,
|
|
9471
|
+
"type": "option"
|
|
10148
9472
|
}
|
|
10149
9473
|
},
|
|
10150
9474
|
"hasDynamicHelp": false,
|
|
10151
9475
|
"hiddenAliases": [],
|
|
10152
|
-
"id": "
|
|
9476
|
+
"id": "metafield-definitions:create",
|
|
10153
9477
|
"pluginAlias": "@ecomweb/cli",
|
|
10154
9478
|
"pluginName": "@ecomweb/cli",
|
|
10155
9479
|
"pluginType": "core",
|
|
@@ -10159,17 +9483,23 @@
|
|
|
10159
9483
|
"relativePath": [
|
|
10160
9484
|
"dist",
|
|
10161
9485
|
"commands",
|
|
10162
|
-
"
|
|
10163
|
-
"
|
|
9486
|
+
"metafield-definitions",
|
|
9487
|
+
"create.js"
|
|
10164
9488
|
]
|
|
10165
9489
|
},
|
|
10166
|
-
"metafield-definitions:
|
|
9490
|
+
"metafield-definitions:delete": {
|
|
10167
9491
|
"aliases": [],
|
|
10168
|
-
"args": {
|
|
10169
|
-
|
|
9492
|
+
"args": {
|
|
9493
|
+
"id": {
|
|
9494
|
+
"description": "Definition ID",
|
|
9495
|
+
"name": "id",
|
|
9496
|
+
"required": true
|
|
9497
|
+
}
|
|
9498
|
+
},
|
|
9499
|
+
"description": "Delete a metafield definition and every value stored under it",
|
|
10170
9500
|
"examples": [
|
|
10171
|
-
"ecomweb metafield-definitions
|
|
10172
|
-
"ecomweb metafield-definitions
|
|
9501
|
+
"ecomweb metafield-definitions delete 7",
|
|
9502
|
+
"ecomweb metafield-definitions delete 7 --dry-run"
|
|
10173
9503
|
],
|
|
10174
9504
|
"flags": {
|
|
10175
9505
|
"store-ref": {
|
|
@@ -10247,24 +9577,11 @@
|
|
|
10247
9577
|
"hasDynamicHelp": false,
|
|
10248
9578
|
"multiple": false,
|
|
10249
9579
|
"type": "option"
|
|
10250
|
-
},
|
|
10251
|
-
"stdin": {
|
|
10252
|
-
"description": "Read the JSON body from stdin",
|
|
10253
|
-
"name": "stdin",
|
|
10254
|
-
"allowNo": false,
|
|
10255
|
-
"type": "boolean"
|
|
10256
|
-
},
|
|
10257
|
-
"file": {
|
|
10258
|
-
"description": "Read the JSON body from a file",
|
|
10259
|
-
"name": "file",
|
|
10260
|
-
"hasDynamicHelp": false,
|
|
10261
|
-
"multiple": false,
|
|
10262
|
-
"type": "option"
|
|
10263
9580
|
}
|
|
10264
9581
|
},
|
|
10265
9582
|
"hasDynamicHelp": false,
|
|
10266
9583
|
"hiddenAliases": [],
|
|
10267
|
-
"id": "metafield-definitions:
|
|
9584
|
+
"id": "metafield-definitions:delete",
|
|
10268
9585
|
"pluginAlias": "@ecomweb/cli",
|
|
10269
9586
|
"pluginName": "@ecomweb/cli",
|
|
10270
9587
|
"pluginType": "core",
|
|
@@ -10275,10 +9592,10 @@
|
|
|
10275
9592
|
"dist",
|
|
10276
9593
|
"commands",
|
|
10277
9594
|
"metafield-definitions",
|
|
10278
|
-
"
|
|
9595
|
+
"delete.js"
|
|
10279
9596
|
]
|
|
10280
9597
|
},
|
|
10281
|
-
"metafield-definitions:
|
|
9598
|
+
"metafield-definitions:get": {
|
|
10282
9599
|
"aliases": [],
|
|
10283
9600
|
"args": {
|
|
10284
9601
|
"id": {
|
|
@@ -10287,10 +9604,9 @@
|
|
|
10287
9604
|
"required": true
|
|
10288
9605
|
}
|
|
10289
9606
|
},
|
|
10290
|
-
"description": "
|
|
9607
|
+
"description": "Get a metafield definition with its value count",
|
|
10291
9608
|
"examples": [
|
|
10292
|
-
"ecomweb metafield-definitions
|
|
10293
|
-
"ecomweb metafield-definitions delete 7 --dry-run"
|
|
9609
|
+
"ecomweb metafield-definitions get 7"
|
|
10294
9610
|
],
|
|
10295
9611
|
"flags": {
|
|
10296
9612
|
"store-ref": {
|
|
@@ -10372,7 +9688,7 @@
|
|
|
10372
9688
|
},
|
|
10373
9689
|
"hasDynamicHelp": false,
|
|
10374
9690
|
"hiddenAliases": [],
|
|
10375
|
-
"id": "metafield-definitions:
|
|
9691
|
+
"id": "metafield-definitions:get",
|
|
10376
9692
|
"pluginAlias": "@ecomweb/cli",
|
|
10377
9693
|
"pluginName": "@ecomweb/cli",
|
|
10378
9694
|
"pluginType": "core",
|
|
@@ -10383,21 +9699,16 @@
|
|
|
10383
9699
|
"dist",
|
|
10384
9700
|
"commands",
|
|
10385
9701
|
"metafield-definitions",
|
|
10386
|
-
"
|
|
9702
|
+
"get.js"
|
|
10387
9703
|
]
|
|
10388
9704
|
},
|
|
10389
|
-
"metafield-definitions:
|
|
9705
|
+
"metafield-definitions:list": {
|
|
10390
9706
|
"aliases": [],
|
|
10391
|
-
"args": {
|
|
10392
|
-
|
|
10393
|
-
"description": "Definition ID",
|
|
10394
|
-
"name": "id",
|
|
10395
|
-
"required": true
|
|
10396
|
-
}
|
|
10397
|
-
},
|
|
10398
|
-
"description": "Get a metafield definition with its value count",
|
|
9707
|
+
"args": {},
|
|
9708
|
+
"description": "List metafield definitions, pinned first",
|
|
10399
9709
|
"examples": [
|
|
10400
|
-
"ecomweb metafield-definitions
|
|
9710
|
+
"ecomweb metafield-definitions list",
|
|
9711
|
+
"ecomweb metafield-definitions list --owner-type product"
|
|
10401
9712
|
],
|
|
10402
9713
|
"flags": {
|
|
10403
9714
|
"store-ref": {
|
|
@@ -10475,11 +9786,29 @@
|
|
|
10475
9786
|
"hasDynamicHelp": false,
|
|
10476
9787
|
"multiple": false,
|
|
10477
9788
|
"type": "option"
|
|
9789
|
+
},
|
|
9790
|
+
"owner-type": {
|
|
9791
|
+
"description": "Only definitions for this owner type",
|
|
9792
|
+
"name": "owner-type",
|
|
9793
|
+
"hasDynamicHelp": false,
|
|
9794
|
+
"multiple": false,
|
|
9795
|
+
"options": [
|
|
9796
|
+
"product",
|
|
9797
|
+
"variant",
|
|
9798
|
+
"collection",
|
|
9799
|
+
"customer",
|
|
9800
|
+
"order",
|
|
9801
|
+
"page",
|
|
9802
|
+
"blog_post",
|
|
9803
|
+
"location",
|
|
9804
|
+
"shop"
|
|
9805
|
+
],
|
|
9806
|
+
"type": "option"
|
|
10478
9807
|
}
|
|
10479
9808
|
},
|
|
10480
9809
|
"hasDynamicHelp": false,
|
|
10481
9810
|
"hiddenAliases": [],
|
|
10482
|
-
"id": "metafield-definitions:
|
|
9811
|
+
"id": "metafield-definitions:list",
|
|
10483
9812
|
"pluginAlias": "@ecomweb/cli",
|
|
10484
9813
|
"pluginName": "@ecomweb/cli",
|
|
10485
9814
|
"pluginType": "core",
|
|
@@ -10490,16 +9819,22 @@
|
|
|
10490
9819
|
"dist",
|
|
10491
9820
|
"commands",
|
|
10492
9821
|
"metafield-definitions",
|
|
10493
|
-
"
|
|
9822
|
+
"list.js"
|
|
10494
9823
|
]
|
|
10495
9824
|
},
|
|
10496
|
-
"metafield-definitions:
|
|
9825
|
+
"metafield-definitions:update": {
|
|
10497
9826
|
"aliases": [],
|
|
10498
|
-
"args": {
|
|
10499
|
-
|
|
9827
|
+
"args": {
|
|
9828
|
+
"id": {
|
|
9829
|
+
"description": "Definition ID",
|
|
9830
|
+
"name": "id",
|
|
9831
|
+
"required": true
|
|
9832
|
+
}
|
|
9833
|
+
},
|
|
9834
|
+
"description": "Update a metafield definition (name, description, validations, access, pinned). Owner type, namespace, key and type cannot change.",
|
|
10500
9835
|
"examples": [
|
|
10501
|
-
"ecomweb metafield-definitions
|
|
10502
|
-
"ecomweb metafield-definitions
|
|
9836
|
+
"ecomweb metafield-definitions update 7 --stdin <<< '{\"pinned\":true}'",
|
|
9837
|
+
"ecomweb metafield-definitions update 7 --stdin <<< '{\"validations\":{\"max_length\":500}}'"
|
|
10503
9838
|
],
|
|
10504
9839
|
"flags": {
|
|
10505
9840
|
"store-ref": {
|
|
@@ -10578,28 +9913,23 @@
|
|
|
10578
9913
|
"multiple": false,
|
|
10579
9914
|
"type": "option"
|
|
10580
9915
|
},
|
|
10581
|
-
"
|
|
10582
|
-
"description": "
|
|
10583
|
-
"name": "
|
|
9916
|
+
"stdin": {
|
|
9917
|
+
"description": "Read the JSON body from stdin",
|
|
9918
|
+
"name": "stdin",
|
|
9919
|
+
"allowNo": false,
|
|
9920
|
+
"type": "boolean"
|
|
9921
|
+
},
|
|
9922
|
+
"file": {
|
|
9923
|
+
"description": "Read the JSON body from a file",
|
|
9924
|
+
"name": "file",
|
|
10584
9925
|
"hasDynamicHelp": false,
|
|
10585
9926
|
"multiple": false,
|
|
10586
|
-
"options": [
|
|
10587
|
-
"product",
|
|
10588
|
-
"variant",
|
|
10589
|
-
"collection",
|
|
10590
|
-
"customer",
|
|
10591
|
-
"order",
|
|
10592
|
-
"page",
|
|
10593
|
-
"blog_post",
|
|
10594
|
-
"location",
|
|
10595
|
-
"shop"
|
|
10596
|
-
],
|
|
10597
9927
|
"type": "option"
|
|
10598
9928
|
}
|
|
10599
9929
|
},
|
|
10600
9930
|
"hasDynamicHelp": false,
|
|
10601
9931
|
"hiddenAliases": [],
|
|
10602
|
-
"id": "metafield-definitions:
|
|
9932
|
+
"id": "metafield-definitions:update",
|
|
10603
9933
|
"pluginAlias": "@ecomweb/cli",
|
|
10604
9934
|
"pluginName": "@ecomweb/cli",
|
|
10605
9935
|
"pluginType": "core",
|
|
@@ -10610,22 +9940,16 @@
|
|
|
10610
9940
|
"dist",
|
|
10611
9941
|
"commands",
|
|
10612
9942
|
"metafield-definitions",
|
|
10613
|
-
"
|
|
9943
|
+
"update.js"
|
|
10614
9944
|
]
|
|
10615
9945
|
},
|
|
10616
|
-
"
|
|
9946
|
+
"health:check": {
|
|
10617
9947
|
"aliases": [],
|
|
10618
|
-
"args": {
|
|
10619
|
-
|
|
10620
|
-
"description": "Definition ID",
|
|
10621
|
-
"name": "id",
|
|
10622
|
-
"required": true
|
|
10623
|
-
}
|
|
10624
|
-
},
|
|
10625
|
-
"description": "Update a metafield definition (name, description, validations, access, pinned). Owner type, namespace, key and type cannot change.",
|
|
9948
|
+
"args": {},
|
|
9949
|
+
"description": "Check API connectivity and health",
|
|
10626
9950
|
"examples": [
|
|
10627
|
-
"ecomweb
|
|
10628
|
-
"ecomweb
|
|
9951
|
+
"ecomweb health check",
|
|
9952
|
+
"ecomweb health check --api-url http://production.example.com"
|
|
10629
9953
|
],
|
|
10630
9954
|
"flags": {
|
|
10631
9955
|
"store-ref": {
|
|
@@ -10703,24 +10027,11 @@
|
|
|
10703
10027
|
"hasDynamicHelp": false,
|
|
10704
10028
|
"multiple": false,
|
|
10705
10029
|
"type": "option"
|
|
10706
|
-
},
|
|
10707
|
-
"stdin": {
|
|
10708
|
-
"description": "Read the JSON body from stdin",
|
|
10709
|
-
"name": "stdin",
|
|
10710
|
-
"allowNo": false,
|
|
10711
|
-
"type": "boolean"
|
|
10712
|
-
},
|
|
10713
|
-
"file": {
|
|
10714
|
-
"description": "Read the JSON body from a file",
|
|
10715
|
-
"name": "file",
|
|
10716
|
-
"hasDynamicHelp": false,
|
|
10717
|
-
"multiple": false,
|
|
10718
|
-
"type": "option"
|
|
10719
10030
|
}
|
|
10720
10031
|
},
|
|
10721
10032
|
"hasDynamicHelp": false,
|
|
10722
10033
|
"hiddenAliases": [],
|
|
10723
|
-
"id": "
|
|
10034
|
+
"id": "health:check",
|
|
10724
10035
|
"pluginAlias": "@ecomweb/cli",
|
|
10725
10036
|
"pluginName": "@ecomweb/cli",
|
|
10726
10037
|
"pluginType": "core",
|
|
@@ -10730,8 +10041,8 @@
|
|
|
10730
10041
|
"relativePath": [
|
|
10731
10042
|
"dist",
|
|
10732
10043
|
"commands",
|
|
10733
|
-
"
|
|
10734
|
-
"
|
|
10044
|
+
"health",
|
|
10045
|
+
"check.js"
|
|
10735
10046
|
]
|
|
10736
10047
|
},
|
|
10737
10048
|
"metafields:get": {
|
|
@@ -12518,7 +11829,8 @@
|
|
|
12518
11829
|
"examples": [
|
|
12519
11830
|
"echo '[{\"id\":1,\"order_status\":\"CONFIRMED\"},{\"id\":2,\"order_status\":\"CONFIRMED\"}]' | ecomweb orders batch-update --stdin",
|
|
12520
11831
|
"ecomweb orders batch-update --file updates.json --dry-run",
|
|
12521
|
-
"ecomweb orders batch-update --filter '{\"order_status\":\"PENDING\",\"payment_status\":\"PAID\"}' --set '{\"order_status\":\"CONFIRMED\"}'"
|
|
11832
|
+
"ecomweb orders batch-update --filter '{\"order_status\":\"PENDING\",\"payment_status\":\"PAID\"}' --set '{\"order_status\":\"CONFIRMED\"}'",
|
|
11833
|
+
"ecomweb orders batch-update --filter order_status=pending,payment_status=paid --set order_status=confirmed"
|
|
12522
11834
|
],
|
|
12523
11835
|
"flags": {
|
|
12524
11836
|
"store-ref": {
|
|
@@ -12611,14 +11923,14 @@
|
|
|
12611
11923
|
"type": "option"
|
|
12612
11924
|
},
|
|
12613
11925
|
"filter": {
|
|
12614
|
-
"description": "
|
|
11926
|
+
"description": "Which orders to update (used with --set): key=value[,key=value] or a JSON object, e.g. --filter status=draft or --filter '{\"status\":\"draft\"}'",
|
|
12615
11927
|
"name": "filter",
|
|
12616
11928
|
"hasDynamicHelp": false,
|
|
12617
11929
|
"multiple": false,
|
|
12618
11930
|
"type": "option"
|
|
12619
11931
|
},
|
|
12620
11932
|
"set": {
|
|
12621
|
-
"description": "
|
|
11933
|
+
"description": "Fields to set on each (used with --filter): key=value[,key=value] (values are JSON when they parse) or a JSON object",
|
|
12622
11934
|
"name": "set",
|
|
12623
11935
|
"hasDynamicHelp": false,
|
|
12624
11936
|
"multiple": false,
|
|
@@ -15743,7 +15055,8 @@
|
|
|
15743
15055
|
"examples": [
|
|
15744
15056
|
"echo '[{\"id\":1,\"status\":\"active\"},{\"id\":2,\"status\":\"active\"}]' | ecomweb products batch-update --stdin",
|
|
15745
15057
|
"ecomweb products batch-update --file updates.json --dry-run",
|
|
15746
|
-
"ecomweb products batch-update --filter '{\"status\":\"draft\"}' --set '{\"status\":\"active\"}'"
|
|
15058
|
+
"ecomweb products batch-update --filter '{\"status\":\"draft\"}' --set '{\"status\":\"active\"}'",
|
|
15059
|
+
"ecomweb products batch-update --filter status=draft --set status=active"
|
|
15747
15060
|
],
|
|
15748
15061
|
"flags": {
|
|
15749
15062
|
"store-ref": {
|
|
@@ -15836,14 +15149,14 @@
|
|
|
15836
15149
|
"type": "option"
|
|
15837
15150
|
},
|
|
15838
15151
|
"filter": {
|
|
15839
|
-
"description": "
|
|
15152
|
+
"description": "Which products to update (used with --set): key=value[,key=value] or a JSON object, e.g. --filter status=draft or --filter '{\"status\":\"draft\"}'",
|
|
15840
15153
|
"name": "filter",
|
|
15841
15154
|
"hasDynamicHelp": false,
|
|
15842
15155
|
"multiple": false,
|
|
15843
15156
|
"type": "option"
|
|
15844
15157
|
},
|
|
15845
15158
|
"set": {
|
|
15846
|
-
"description": "
|
|
15159
|
+
"description": "Fields to set on each (used with --filter): key=value[,key=value] (values are JSON when they parse) or a JSON object",
|
|
15847
15160
|
"name": "set",
|
|
15848
15161
|
"hasDynamicHelp": false,
|
|
15849
15162
|
"multiple": false,
|
|
@@ -16194,7 +15507,8 @@
|
|
|
16194
15507
|
"description": "Get a product by ID",
|
|
16195
15508
|
"examples": [
|
|
16196
15509
|
"ecomweb products get 42",
|
|
16197
|
-
"ecomweb products get 42 --include-variants"
|
|
15510
|
+
"ecomweb products get 42 --include-variants",
|
|
15511
|
+
"ecomweb products get 42 --full"
|
|
16198
15512
|
],
|
|
16199
15513
|
"flags": {
|
|
16200
15514
|
"store-ref": {
|
|
@@ -16296,6 +15610,18 @@
|
|
|
16296
15610
|
"name": "include-seo-metadata",
|
|
16297
15611
|
"allowNo": false,
|
|
16298
15612
|
"type": "boolean"
|
|
15613
|
+
},
|
|
15614
|
+
"include-tags": {
|
|
15615
|
+
"description": "Include the product's tags (also with --full)",
|
|
15616
|
+
"name": "include-tags",
|
|
15617
|
+
"allowNo": false,
|
|
15618
|
+
"type": "boolean"
|
|
15619
|
+
},
|
|
15620
|
+
"include-channels": {
|
|
15621
|
+
"description": "Include its sales channels, e.g. whether it is on online_store (also with --full; API 3.24.1+)",
|
|
15622
|
+
"name": "include-channels",
|
|
15623
|
+
"allowNo": false,
|
|
15624
|
+
"type": "boolean"
|
|
16299
15625
|
}
|
|
16300
15626
|
},
|
|
16301
15627
|
"hasDynamicHelp": false,
|
|
@@ -16314,6 +15640,107 @@
|
|
|
16314
15640
|
"get.js"
|
|
16315
15641
|
]
|
|
16316
15642
|
},
|
|
15643
|
+
"products:index-status": {
|
|
15644
|
+
"aliases": [],
|
|
15645
|
+
"args": {},
|
|
15646
|
+
"description": "How many product changes the storefront search hasn't caught up with yet. Search, collection pages and the storefront's lists read the index, so they lag behind until pending is 0",
|
|
15647
|
+
"examples": [
|
|
15648
|
+
"ecomweb products index-status"
|
|
15649
|
+
],
|
|
15650
|
+
"flags": {
|
|
15651
|
+
"store-ref": {
|
|
15652
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
15653
|
+
"env": "ECOMWEB_STORE_REF",
|
|
15654
|
+
"name": "store-ref",
|
|
15655
|
+
"hasDynamicHelp": false,
|
|
15656
|
+
"multiple": false,
|
|
15657
|
+
"type": "option"
|
|
15658
|
+
},
|
|
15659
|
+
"api-key": {
|
|
15660
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
15661
|
+
"env": "ECOMWEB_API_KEY",
|
|
15662
|
+
"name": "api-key",
|
|
15663
|
+
"hasDynamicHelp": false,
|
|
15664
|
+
"multiple": false,
|
|
15665
|
+
"type": "option"
|
|
15666
|
+
},
|
|
15667
|
+
"api-url": {
|
|
15668
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
15669
|
+
"env": "ECOMWEB_API_URL",
|
|
15670
|
+
"name": "api-url",
|
|
15671
|
+
"hasDynamicHelp": false,
|
|
15672
|
+
"multiple": false,
|
|
15673
|
+
"type": "option"
|
|
15674
|
+
},
|
|
15675
|
+
"output": {
|
|
15676
|
+
"description": "Output format",
|
|
15677
|
+
"name": "output",
|
|
15678
|
+
"default": "json",
|
|
15679
|
+
"hasDynamicHelp": false,
|
|
15680
|
+
"multiple": false,
|
|
15681
|
+
"options": [
|
|
15682
|
+
"json",
|
|
15683
|
+
"table",
|
|
15684
|
+
"csv"
|
|
15685
|
+
],
|
|
15686
|
+
"type": "option"
|
|
15687
|
+
},
|
|
15688
|
+
"quiet": {
|
|
15689
|
+
"description": "Suppress non-data output",
|
|
15690
|
+
"name": "quiet",
|
|
15691
|
+
"allowNo": false,
|
|
15692
|
+
"type": "boolean"
|
|
15693
|
+
},
|
|
15694
|
+
"dry-run": {
|
|
15695
|
+
"description": "Preview without executing",
|
|
15696
|
+
"name": "dry-run",
|
|
15697
|
+
"allowNo": false,
|
|
15698
|
+
"type": "boolean"
|
|
15699
|
+
},
|
|
15700
|
+
"profile": {
|
|
15701
|
+
"description": "Named config profile",
|
|
15702
|
+
"name": "profile",
|
|
15703
|
+
"hasDynamicHelp": false,
|
|
15704
|
+
"multiple": false,
|
|
15705
|
+
"type": "option"
|
|
15706
|
+
},
|
|
15707
|
+
"full": {
|
|
15708
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
15709
|
+
"name": "full",
|
|
15710
|
+
"allowNo": false,
|
|
15711
|
+
"type": "boolean"
|
|
15712
|
+
},
|
|
15713
|
+
"fields": {
|
|
15714
|
+
"description": "Comma-separated field names to include",
|
|
15715
|
+
"name": "fields",
|
|
15716
|
+
"hasDynamicHelp": false,
|
|
15717
|
+
"multiple": false,
|
|
15718
|
+
"type": "option"
|
|
15719
|
+
},
|
|
15720
|
+
"exclude": {
|
|
15721
|
+
"description": "Comma-separated field names to exclude",
|
|
15722
|
+
"name": "exclude",
|
|
15723
|
+
"hasDynamicHelp": false,
|
|
15724
|
+
"multiple": false,
|
|
15725
|
+
"type": "option"
|
|
15726
|
+
}
|
|
15727
|
+
},
|
|
15728
|
+
"hasDynamicHelp": false,
|
|
15729
|
+
"hiddenAliases": [],
|
|
15730
|
+
"id": "products:index-status",
|
|
15731
|
+
"pluginAlias": "@ecomweb/cli",
|
|
15732
|
+
"pluginName": "@ecomweb/cli",
|
|
15733
|
+
"pluginType": "core",
|
|
15734
|
+
"strict": true,
|
|
15735
|
+
"enableJsonFlag": false,
|
|
15736
|
+
"isESM": false,
|
|
15737
|
+
"relativePath": [
|
|
15738
|
+
"dist",
|
|
15739
|
+
"commands",
|
|
15740
|
+
"products",
|
|
15741
|
+
"index-status.js"
|
|
15742
|
+
]
|
|
15743
|
+
},
|
|
16317
15744
|
"products:list": {
|
|
16318
15745
|
"aliases": [],
|
|
16319
15746
|
"args": {},
|
|
@@ -19971,8 +19398,124 @@
|
|
|
19971
19398
|
"relativePath": [
|
|
19972
19399
|
"dist",
|
|
19973
19400
|
"commands",
|
|
19974
|
-
"reviews",
|
|
19975
|
-
"update.js"
|
|
19401
|
+
"reviews",
|
|
19402
|
+
"update.js"
|
|
19403
|
+
]
|
|
19404
|
+
},
|
|
19405
|
+
"shipping:locations": {
|
|
19406
|
+
"aliases": [],
|
|
19407
|
+
"args": {},
|
|
19408
|
+
"description": "List administrative areas (provinces and wards) for shipping zone configuration",
|
|
19409
|
+
"examples": [
|
|
19410
|
+
"ecomweb shipping locations --level 1",
|
|
19411
|
+
"ecomweb shipping locations --parent-code 11"
|
|
19412
|
+
],
|
|
19413
|
+
"flags": {
|
|
19414
|
+
"store-ref": {
|
|
19415
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
19416
|
+
"env": "ECOMWEB_STORE_REF",
|
|
19417
|
+
"name": "store-ref",
|
|
19418
|
+
"hasDynamicHelp": false,
|
|
19419
|
+
"multiple": false,
|
|
19420
|
+
"type": "option"
|
|
19421
|
+
},
|
|
19422
|
+
"api-key": {
|
|
19423
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
19424
|
+
"env": "ECOMWEB_API_KEY",
|
|
19425
|
+
"name": "api-key",
|
|
19426
|
+
"hasDynamicHelp": false,
|
|
19427
|
+
"multiple": false,
|
|
19428
|
+
"type": "option"
|
|
19429
|
+
},
|
|
19430
|
+
"api-url": {
|
|
19431
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
19432
|
+
"env": "ECOMWEB_API_URL",
|
|
19433
|
+
"name": "api-url",
|
|
19434
|
+
"hasDynamicHelp": false,
|
|
19435
|
+
"multiple": false,
|
|
19436
|
+
"type": "option"
|
|
19437
|
+
},
|
|
19438
|
+
"output": {
|
|
19439
|
+
"description": "Output format",
|
|
19440
|
+
"name": "output",
|
|
19441
|
+
"default": "json",
|
|
19442
|
+
"hasDynamicHelp": false,
|
|
19443
|
+
"multiple": false,
|
|
19444
|
+
"options": [
|
|
19445
|
+
"json",
|
|
19446
|
+
"table",
|
|
19447
|
+
"csv"
|
|
19448
|
+
],
|
|
19449
|
+
"type": "option"
|
|
19450
|
+
},
|
|
19451
|
+
"quiet": {
|
|
19452
|
+
"description": "Suppress non-data output",
|
|
19453
|
+
"name": "quiet",
|
|
19454
|
+
"allowNo": false,
|
|
19455
|
+
"type": "boolean"
|
|
19456
|
+
},
|
|
19457
|
+
"dry-run": {
|
|
19458
|
+
"description": "Preview without executing",
|
|
19459
|
+
"name": "dry-run",
|
|
19460
|
+
"allowNo": false,
|
|
19461
|
+
"type": "boolean"
|
|
19462
|
+
},
|
|
19463
|
+
"profile": {
|
|
19464
|
+
"description": "Named config profile",
|
|
19465
|
+
"name": "profile",
|
|
19466
|
+
"hasDynamicHelp": false,
|
|
19467
|
+
"multiple": false,
|
|
19468
|
+
"type": "option"
|
|
19469
|
+
},
|
|
19470
|
+
"full": {
|
|
19471
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
19472
|
+
"name": "full",
|
|
19473
|
+
"allowNo": false,
|
|
19474
|
+
"type": "boolean"
|
|
19475
|
+
},
|
|
19476
|
+
"fields": {
|
|
19477
|
+
"description": "Comma-separated field names to include",
|
|
19478
|
+
"name": "fields",
|
|
19479
|
+
"hasDynamicHelp": false,
|
|
19480
|
+
"multiple": false,
|
|
19481
|
+
"type": "option"
|
|
19482
|
+
},
|
|
19483
|
+
"exclude": {
|
|
19484
|
+
"description": "Comma-separated field names to exclude",
|
|
19485
|
+
"name": "exclude",
|
|
19486
|
+
"hasDynamicHelp": false,
|
|
19487
|
+
"multiple": false,
|
|
19488
|
+
"type": "option"
|
|
19489
|
+
},
|
|
19490
|
+
"level": {
|
|
19491
|
+
"description": "Administrative level. For Vietnam: 1 = province, 2 = ward. Validated server-side.",
|
|
19492
|
+
"name": "level",
|
|
19493
|
+
"hasDynamicHelp": false,
|
|
19494
|
+
"multiple": false,
|
|
19495
|
+
"type": "option"
|
|
19496
|
+
},
|
|
19497
|
+
"parent-code": {
|
|
19498
|
+
"description": "Return the children of this area, e.g. 11 for Ha Noi",
|
|
19499
|
+
"name": "parent-code",
|
|
19500
|
+
"hasDynamicHelp": false,
|
|
19501
|
+
"multiple": false,
|
|
19502
|
+
"type": "option"
|
|
19503
|
+
}
|
|
19504
|
+
},
|
|
19505
|
+
"hasDynamicHelp": false,
|
|
19506
|
+
"hiddenAliases": [],
|
|
19507
|
+
"id": "shipping:locations",
|
|
19508
|
+
"pluginAlias": "@ecomweb/cli",
|
|
19509
|
+
"pluginName": "@ecomweb/cli",
|
|
19510
|
+
"pluginType": "core",
|
|
19511
|
+
"strict": true,
|
|
19512
|
+
"enableJsonFlag": false,
|
|
19513
|
+
"isESM": false,
|
|
19514
|
+
"relativePath": [
|
|
19515
|
+
"dist",
|
|
19516
|
+
"commands",
|
|
19517
|
+
"shipping",
|
|
19518
|
+
"locations.js"
|
|
19976
19519
|
]
|
|
19977
19520
|
},
|
|
19978
19521
|
"shipping-rates:create": {
|
|
@@ -21510,6 +21053,160 @@
|
|
|
21510
21053
|
"install.js"
|
|
21511
21054
|
]
|
|
21512
21055
|
},
|
|
21056
|
+
"store-menus:add-item": {
|
|
21057
|
+
"aliases": [],
|
|
21058
|
+
"args": {
|
|
21059
|
+
"menu": {
|
|
21060
|
+
"description": "Menu id or ref (see ecomweb store-menus list)",
|
|
21061
|
+
"name": "menu",
|
|
21062
|
+
"required": true
|
|
21063
|
+
}
|
|
21064
|
+
},
|
|
21065
|
+
"description": "Add one item to a menu (a store page or a URL), keeping its other items. Reads the menu, appends the item and saves the whole list (store-menus update replaces it)",
|
|
21066
|
+
"examples": [
|
|
21067
|
+
"ecomweb store-menus add-item customer-support-menu --page warranty-policy",
|
|
21068
|
+
"ecomweb store-menus add-item 7 --url https://zalo.me/123 --label \"Zalo\"",
|
|
21069
|
+
"ecomweb store-menus add-item main-menu --page about-us --label \"Về chúng tôi\" --dry-run"
|
|
21070
|
+
],
|
|
21071
|
+
"flags": {
|
|
21072
|
+
"store-ref": {
|
|
21073
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
21074
|
+
"env": "ECOMWEB_STORE_REF",
|
|
21075
|
+
"name": "store-ref",
|
|
21076
|
+
"hasDynamicHelp": false,
|
|
21077
|
+
"multiple": false,
|
|
21078
|
+
"type": "option"
|
|
21079
|
+
},
|
|
21080
|
+
"api-key": {
|
|
21081
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
21082
|
+
"env": "ECOMWEB_API_KEY",
|
|
21083
|
+
"name": "api-key",
|
|
21084
|
+
"hasDynamicHelp": false,
|
|
21085
|
+
"multiple": false,
|
|
21086
|
+
"type": "option"
|
|
21087
|
+
},
|
|
21088
|
+
"api-url": {
|
|
21089
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
21090
|
+
"env": "ECOMWEB_API_URL",
|
|
21091
|
+
"name": "api-url",
|
|
21092
|
+
"hasDynamicHelp": false,
|
|
21093
|
+
"multiple": false,
|
|
21094
|
+
"type": "option"
|
|
21095
|
+
},
|
|
21096
|
+
"output": {
|
|
21097
|
+
"description": "Output format",
|
|
21098
|
+
"name": "output",
|
|
21099
|
+
"default": "json",
|
|
21100
|
+
"hasDynamicHelp": false,
|
|
21101
|
+
"multiple": false,
|
|
21102
|
+
"options": [
|
|
21103
|
+
"json",
|
|
21104
|
+
"table",
|
|
21105
|
+
"csv"
|
|
21106
|
+
],
|
|
21107
|
+
"type": "option"
|
|
21108
|
+
},
|
|
21109
|
+
"quiet": {
|
|
21110
|
+
"description": "Suppress non-data output",
|
|
21111
|
+
"name": "quiet",
|
|
21112
|
+
"allowNo": false,
|
|
21113
|
+
"type": "boolean"
|
|
21114
|
+
},
|
|
21115
|
+
"dry-run": {
|
|
21116
|
+
"description": "Preview without executing",
|
|
21117
|
+
"name": "dry-run",
|
|
21118
|
+
"allowNo": false,
|
|
21119
|
+
"type": "boolean"
|
|
21120
|
+
},
|
|
21121
|
+
"profile": {
|
|
21122
|
+
"description": "Named config profile",
|
|
21123
|
+
"name": "profile",
|
|
21124
|
+
"hasDynamicHelp": false,
|
|
21125
|
+
"multiple": false,
|
|
21126
|
+
"type": "option"
|
|
21127
|
+
},
|
|
21128
|
+
"full": {
|
|
21129
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
21130
|
+
"name": "full",
|
|
21131
|
+
"allowNo": false,
|
|
21132
|
+
"type": "boolean"
|
|
21133
|
+
},
|
|
21134
|
+
"fields": {
|
|
21135
|
+
"description": "Comma-separated field names to include",
|
|
21136
|
+
"name": "fields",
|
|
21137
|
+
"hasDynamicHelp": false,
|
|
21138
|
+
"multiple": false,
|
|
21139
|
+
"type": "option"
|
|
21140
|
+
},
|
|
21141
|
+
"exclude": {
|
|
21142
|
+
"description": "Comma-separated field names to exclude",
|
|
21143
|
+
"name": "exclude",
|
|
21144
|
+
"hasDynamicHelp": false,
|
|
21145
|
+
"multiple": false,
|
|
21146
|
+
"type": "option"
|
|
21147
|
+
},
|
|
21148
|
+
"page": {
|
|
21149
|
+
"description": "Slug of the store page to link to (ecomweb store-pages list)",
|
|
21150
|
+
"exclusive": [
|
|
21151
|
+
"url"
|
|
21152
|
+
],
|
|
21153
|
+
"name": "page",
|
|
21154
|
+
"hasDynamicHelp": false,
|
|
21155
|
+
"multiple": false,
|
|
21156
|
+
"type": "option"
|
|
21157
|
+
},
|
|
21158
|
+
"url": {
|
|
21159
|
+
"description": "A URL to link to (with --label)",
|
|
21160
|
+
"exclusive": [
|
|
21161
|
+
"page"
|
|
21162
|
+
],
|
|
21163
|
+
"name": "url",
|
|
21164
|
+
"hasDynamicHelp": false,
|
|
21165
|
+
"multiple": false,
|
|
21166
|
+
"type": "option"
|
|
21167
|
+
},
|
|
21168
|
+
"label": {
|
|
21169
|
+
"description": "The item's text (default for --page: the page's title)",
|
|
21170
|
+
"name": "label",
|
|
21171
|
+
"hasDynamicHelp": false,
|
|
21172
|
+
"multiple": false,
|
|
21173
|
+
"type": "option"
|
|
21174
|
+
},
|
|
21175
|
+
"target": {
|
|
21176
|
+
"description": "Link target",
|
|
21177
|
+
"name": "target",
|
|
21178
|
+
"hasDynamicHelp": false,
|
|
21179
|
+
"multiple": false,
|
|
21180
|
+
"options": [
|
|
21181
|
+
"_self",
|
|
21182
|
+
"_blank"
|
|
21183
|
+
],
|
|
21184
|
+
"type": "option"
|
|
21185
|
+
},
|
|
21186
|
+
"parent": {
|
|
21187
|
+
"description": "Add it under this item (its id) instead of at the top level",
|
|
21188
|
+
"name": "parent",
|
|
21189
|
+
"hasDynamicHelp": false,
|
|
21190
|
+
"multiple": false,
|
|
21191
|
+
"type": "option"
|
|
21192
|
+
}
|
|
21193
|
+
},
|
|
21194
|
+
"hasDynamicHelp": false,
|
|
21195
|
+
"hiddenAliases": [],
|
|
21196
|
+
"id": "store-menus:add-item",
|
|
21197
|
+
"pluginAlias": "@ecomweb/cli",
|
|
21198
|
+
"pluginName": "@ecomweb/cli",
|
|
21199
|
+
"pluginType": "core",
|
|
21200
|
+
"strict": true,
|
|
21201
|
+
"enableJsonFlag": false,
|
|
21202
|
+
"isESM": false,
|
|
21203
|
+
"relativePath": [
|
|
21204
|
+
"dist",
|
|
21205
|
+
"commands",
|
|
21206
|
+
"store-menus",
|
|
21207
|
+
"add-item.js"
|
|
21208
|
+
]
|
|
21209
|
+
},
|
|
21513
21210
|
"store-menus:create": {
|
|
21514
21211
|
"aliases": [],
|
|
21515
21212
|
"args": {},
|
|
@@ -22124,7 +21821,7 @@
|
|
|
22124
21821
|
"required": true
|
|
22125
21822
|
}
|
|
22126
21823
|
},
|
|
22127
|
-
"description": "Update a store menu by ID",
|
|
21824
|
+
"description": "Update a store menu by ID. menu_items, when sent, replaces the whole item list, and the items get new ids (even items sent back with their ids). To add one item: ecomweb store-menus add-item",
|
|
22128
21825
|
"examples": [
|
|
22129
21826
|
"ecomweb store-menus update 1 --stdin <<< '{\"name\":\"Updated Menu\"}'",
|
|
22130
21827
|
"ecomweb store-menus update 1 --name 'New Name'",
|
|
@@ -22506,6 +22203,7 @@
|
|
|
22506
22203
|
"shopping_guide",
|
|
22507
22204
|
"return_policy",
|
|
22508
22205
|
"shipping_policy",
|
|
22206
|
+
"warranty",
|
|
22509
22207
|
"home_page",
|
|
22510
22208
|
"default"
|
|
22511
22209
|
],
|
|
@@ -22959,6 +22657,7 @@
|
|
|
22959
22657
|
"shopping_guide",
|
|
22960
22658
|
"return_policy",
|
|
22961
22659
|
"shipping_policy",
|
|
22660
|
+
"warranty",
|
|
22962
22661
|
"home_page",
|
|
22963
22662
|
"default"
|
|
22964
22663
|
],
|
|
@@ -23263,6 +22962,7 @@
|
|
|
23263
22962
|
"shopping_guide",
|
|
23264
22963
|
"return_policy",
|
|
23265
22964
|
"shipping_policy",
|
|
22965
|
+
"warranty",
|
|
23266
22966
|
"home_page",
|
|
23267
22967
|
"default"
|
|
23268
22968
|
],
|
|
@@ -23541,13 +23241,6 @@
|
|
|
23541
23241
|
"multiple": false,
|
|
23542
23242
|
"type": "option"
|
|
23543
23243
|
},
|
|
23544
|
-
"shop-introduction": {
|
|
23545
|
-
"description": "Shop introduction text",
|
|
23546
|
-
"name": "shop-introduction",
|
|
23547
|
-
"hasDynamicHelp": false,
|
|
23548
|
-
"multiple": false,
|
|
23549
|
-
"type": "option"
|
|
23550
|
-
},
|
|
23551
23244
|
"featured-image": {
|
|
23552
23245
|
"description": "Featured image URL",
|
|
23553
23246
|
"name": "featured-image",
|
|
@@ -23948,123 +23641,7 @@
|
|
|
23948
23641
|
"dir": {
|
|
23949
23642
|
"description": "The storefront project",
|
|
23950
23643
|
"name": "dir",
|
|
23951
|
-
"default": ".",
|
|
23952
|
-
"hasDynamicHelp": false,
|
|
23953
|
-
"multiple": false,
|
|
23954
|
-
"type": "option"
|
|
23955
|
-
}
|
|
23956
|
-
},
|
|
23957
|
-
"hasDynamicHelp": false,
|
|
23958
|
-
"hiddenAliases": [],
|
|
23959
|
-
"id": "storefront:skill",
|
|
23960
|
-
"pluginAlias": "@ecomweb/cli",
|
|
23961
|
-
"pluginName": "@ecomweb/cli",
|
|
23962
|
-
"pluginType": "core",
|
|
23963
|
-
"strict": true,
|
|
23964
|
-
"enableJsonFlag": false,
|
|
23965
|
-
"isESM": false,
|
|
23966
|
-
"relativePath": [
|
|
23967
|
-
"dist",
|
|
23968
|
-
"commands",
|
|
23969
|
-
"storefront",
|
|
23970
|
-
"skill.js"
|
|
23971
|
-
]
|
|
23972
|
-
},
|
|
23973
|
-
"shipping:locations": {
|
|
23974
|
-
"aliases": [],
|
|
23975
|
-
"args": {},
|
|
23976
|
-
"description": "List administrative areas (provinces and wards) for shipping zone configuration",
|
|
23977
|
-
"examples": [
|
|
23978
|
-
"ecomweb shipping locations --level 1",
|
|
23979
|
-
"ecomweb shipping locations --parent-code 11"
|
|
23980
|
-
],
|
|
23981
|
-
"flags": {
|
|
23982
|
-
"store-ref": {
|
|
23983
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
23984
|
-
"env": "ECOMWEB_STORE_REF",
|
|
23985
|
-
"name": "store-ref",
|
|
23986
|
-
"hasDynamicHelp": false,
|
|
23987
|
-
"multiple": false,
|
|
23988
|
-
"type": "option"
|
|
23989
|
-
},
|
|
23990
|
-
"api-key": {
|
|
23991
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
23992
|
-
"env": "ECOMWEB_API_KEY",
|
|
23993
|
-
"name": "api-key",
|
|
23994
|
-
"hasDynamicHelp": false,
|
|
23995
|
-
"multiple": false,
|
|
23996
|
-
"type": "option"
|
|
23997
|
-
},
|
|
23998
|
-
"api-url": {
|
|
23999
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
24000
|
-
"env": "ECOMWEB_API_URL",
|
|
24001
|
-
"name": "api-url",
|
|
24002
|
-
"hasDynamicHelp": false,
|
|
24003
|
-
"multiple": false,
|
|
24004
|
-
"type": "option"
|
|
24005
|
-
},
|
|
24006
|
-
"output": {
|
|
24007
|
-
"description": "Output format",
|
|
24008
|
-
"name": "output",
|
|
24009
|
-
"default": "json",
|
|
24010
|
-
"hasDynamicHelp": false,
|
|
24011
|
-
"multiple": false,
|
|
24012
|
-
"options": [
|
|
24013
|
-
"json",
|
|
24014
|
-
"table",
|
|
24015
|
-
"csv"
|
|
24016
|
-
],
|
|
24017
|
-
"type": "option"
|
|
24018
|
-
},
|
|
24019
|
-
"quiet": {
|
|
24020
|
-
"description": "Suppress non-data output",
|
|
24021
|
-
"name": "quiet",
|
|
24022
|
-
"allowNo": false,
|
|
24023
|
-
"type": "boolean"
|
|
24024
|
-
},
|
|
24025
|
-
"dry-run": {
|
|
24026
|
-
"description": "Preview without executing",
|
|
24027
|
-
"name": "dry-run",
|
|
24028
|
-
"allowNo": false,
|
|
24029
|
-
"type": "boolean"
|
|
24030
|
-
},
|
|
24031
|
-
"profile": {
|
|
24032
|
-
"description": "Named config profile",
|
|
24033
|
-
"name": "profile",
|
|
24034
|
-
"hasDynamicHelp": false,
|
|
24035
|
-
"multiple": false,
|
|
24036
|
-
"type": "option"
|
|
24037
|
-
},
|
|
24038
|
-
"full": {
|
|
24039
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
24040
|
-
"name": "full",
|
|
24041
|
-
"allowNo": false,
|
|
24042
|
-
"type": "boolean"
|
|
24043
|
-
},
|
|
24044
|
-
"fields": {
|
|
24045
|
-
"description": "Comma-separated field names to include",
|
|
24046
|
-
"name": "fields",
|
|
24047
|
-
"hasDynamicHelp": false,
|
|
24048
|
-
"multiple": false,
|
|
24049
|
-
"type": "option"
|
|
24050
|
-
},
|
|
24051
|
-
"exclude": {
|
|
24052
|
-
"description": "Comma-separated field names to exclude",
|
|
24053
|
-
"name": "exclude",
|
|
24054
|
-
"hasDynamicHelp": false,
|
|
24055
|
-
"multiple": false,
|
|
24056
|
-
"type": "option"
|
|
24057
|
-
},
|
|
24058
|
-
"level": {
|
|
24059
|
-
"description": "Administrative level. For Vietnam: 1 = province, 2 = ward. Validated server-side.",
|
|
24060
|
-
"name": "level",
|
|
24061
|
-
"hasDynamicHelp": false,
|
|
24062
|
-
"multiple": false,
|
|
24063
|
-
"type": "option"
|
|
24064
|
-
},
|
|
24065
|
-
"parent-code": {
|
|
24066
|
-
"description": "Return the children of this area, e.g. 11 for Ha Noi",
|
|
24067
|
-
"name": "parent-code",
|
|
23644
|
+
"default": ".",
|
|
24068
23645
|
"hasDynamicHelp": false,
|
|
24069
23646
|
"multiple": false,
|
|
24070
23647
|
"type": "option"
|
|
@@ -24072,7 +23649,7 @@
|
|
|
24072
23649
|
},
|
|
24073
23650
|
"hasDynamicHelp": false,
|
|
24074
23651
|
"hiddenAliases": [],
|
|
24075
|
-
"id": "
|
|
23652
|
+
"id": "storefront:skill",
|
|
24076
23653
|
"pluginAlias": "@ecomweb/cli",
|
|
24077
23654
|
"pluginName": "@ecomweb/cli",
|
|
24078
23655
|
"pluginType": "core",
|
|
@@ -24082,8 +23659,8 @@
|
|
|
24082
23659
|
"relativePath": [
|
|
24083
23660
|
"dist",
|
|
24084
23661
|
"commands",
|
|
24085
|
-
"
|
|
24086
|
-
"
|
|
23662
|
+
"storefront",
|
|
23663
|
+
"skill.js"
|
|
24087
23664
|
]
|
|
24088
23665
|
},
|
|
24089
23666
|
"stores:create": {
|
|
@@ -26266,22 +25843,274 @@
|
|
|
26266
25843
|
"type": "option"
|
|
26267
25844
|
},
|
|
26268
25845
|
"start-date": {
|
|
26269
|
-
"description": "Start date (YYYY-MM-DD). Defaults to last 7 days",
|
|
25846
|
+
"description": "Start date (YYYY-MM-DD). Defaults to last 7 days",
|
|
25847
|
+
"name": "start-date",
|
|
25848
|
+
"hasDynamicHelp": false,
|
|
25849
|
+
"multiple": false,
|
|
25850
|
+
"type": "option"
|
|
25851
|
+
},
|
|
25852
|
+
"end-date": {
|
|
25853
|
+
"description": "End date (YYYY-MM-DD). Defaults to today",
|
|
25854
|
+
"name": "end-date",
|
|
25855
|
+
"hasDynamicHelp": false,
|
|
25856
|
+
"multiple": false,
|
|
25857
|
+
"type": "option"
|
|
25858
|
+
},
|
|
25859
|
+
"limit": {
|
|
25860
|
+
"description": "Maximum number of countries to return",
|
|
25861
|
+
"name": "limit",
|
|
25862
|
+
"default": 10,
|
|
25863
|
+
"hasDynamicHelp": false,
|
|
25864
|
+
"multiple": false,
|
|
25865
|
+
"type": "option"
|
|
25866
|
+
}
|
|
25867
|
+
},
|
|
25868
|
+
"hasDynamicHelp": false,
|
|
25869
|
+
"hiddenAliases": [],
|
|
25870
|
+
"id": "analytics:ga4:users-by-country",
|
|
25871
|
+
"pluginAlias": "@ecomweb/cli",
|
|
25872
|
+
"pluginName": "@ecomweb/cli",
|
|
25873
|
+
"pluginType": "core",
|
|
25874
|
+
"strict": true,
|
|
25875
|
+
"enableJsonFlag": false,
|
|
25876
|
+
"isESM": false,
|
|
25877
|
+
"relativePath": [
|
|
25878
|
+
"dist",
|
|
25879
|
+
"commands",
|
|
25880
|
+
"analytics",
|
|
25881
|
+
"ga4",
|
|
25882
|
+
"users-by-country.js"
|
|
25883
|
+
]
|
|
25884
|
+
},
|
|
25885
|
+
"analytics:ga4:views-by-page": {
|
|
25886
|
+
"aliases": [],
|
|
25887
|
+
"args": {},
|
|
25888
|
+
"description": "Get page views breakdown by page title from GA4",
|
|
25889
|
+
"examples": [
|
|
25890
|
+
"ecomweb analytics ga4 views-by-page",
|
|
25891
|
+
"ecomweb analytics ga4 views-by-page --limit 20",
|
|
25892
|
+
"ecomweb analytics ga4 views-by-page --start-date 2025-01-01 --end-date 2025-01-07"
|
|
25893
|
+
],
|
|
25894
|
+
"flags": {
|
|
25895
|
+
"store-ref": {
|
|
25896
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
25897
|
+
"env": "ECOMWEB_STORE_REF",
|
|
25898
|
+
"name": "store-ref",
|
|
25899
|
+
"hasDynamicHelp": false,
|
|
25900
|
+
"multiple": false,
|
|
25901
|
+
"type": "option"
|
|
25902
|
+
},
|
|
25903
|
+
"api-key": {
|
|
25904
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
25905
|
+
"env": "ECOMWEB_API_KEY",
|
|
25906
|
+
"name": "api-key",
|
|
25907
|
+
"hasDynamicHelp": false,
|
|
25908
|
+
"multiple": false,
|
|
25909
|
+
"type": "option"
|
|
25910
|
+
},
|
|
25911
|
+
"api-url": {
|
|
25912
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
25913
|
+
"env": "ECOMWEB_API_URL",
|
|
25914
|
+
"name": "api-url",
|
|
25915
|
+
"hasDynamicHelp": false,
|
|
25916
|
+
"multiple": false,
|
|
25917
|
+
"type": "option"
|
|
25918
|
+
},
|
|
25919
|
+
"output": {
|
|
25920
|
+
"description": "Output format",
|
|
25921
|
+
"name": "output",
|
|
25922
|
+
"default": "json",
|
|
25923
|
+
"hasDynamicHelp": false,
|
|
25924
|
+
"multiple": false,
|
|
25925
|
+
"options": [
|
|
25926
|
+
"json",
|
|
25927
|
+
"table",
|
|
25928
|
+
"csv"
|
|
25929
|
+
],
|
|
25930
|
+
"type": "option"
|
|
25931
|
+
},
|
|
25932
|
+
"quiet": {
|
|
25933
|
+
"description": "Suppress non-data output",
|
|
25934
|
+
"name": "quiet",
|
|
25935
|
+
"allowNo": false,
|
|
25936
|
+
"type": "boolean"
|
|
25937
|
+
},
|
|
25938
|
+
"dry-run": {
|
|
25939
|
+
"description": "Preview without executing",
|
|
25940
|
+
"name": "dry-run",
|
|
25941
|
+
"allowNo": false,
|
|
25942
|
+
"type": "boolean"
|
|
25943
|
+
},
|
|
25944
|
+
"profile": {
|
|
25945
|
+
"description": "Named config profile",
|
|
25946
|
+
"name": "profile",
|
|
25947
|
+
"hasDynamicHelp": false,
|
|
25948
|
+
"multiple": false,
|
|
25949
|
+
"type": "option"
|
|
25950
|
+
},
|
|
25951
|
+
"full": {
|
|
25952
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
25953
|
+
"name": "full",
|
|
25954
|
+
"allowNo": false,
|
|
25955
|
+
"type": "boolean"
|
|
25956
|
+
},
|
|
25957
|
+
"fields": {
|
|
25958
|
+
"description": "Comma-separated field names to include",
|
|
25959
|
+
"name": "fields",
|
|
25960
|
+
"hasDynamicHelp": false,
|
|
25961
|
+
"multiple": false,
|
|
25962
|
+
"type": "option"
|
|
25963
|
+
},
|
|
25964
|
+
"exclude": {
|
|
25965
|
+
"description": "Comma-separated field names to exclude",
|
|
25966
|
+
"name": "exclude",
|
|
25967
|
+
"hasDynamicHelp": false,
|
|
25968
|
+
"multiple": false,
|
|
25969
|
+
"type": "option"
|
|
25970
|
+
},
|
|
25971
|
+
"start-date": {
|
|
25972
|
+
"description": "Start date (YYYY-MM-DD). Defaults to last 7 days",
|
|
25973
|
+
"name": "start-date",
|
|
25974
|
+
"hasDynamicHelp": false,
|
|
25975
|
+
"multiple": false,
|
|
25976
|
+
"type": "option"
|
|
25977
|
+
},
|
|
25978
|
+
"end-date": {
|
|
25979
|
+
"description": "End date (YYYY-MM-DD). Defaults to today",
|
|
25980
|
+
"name": "end-date",
|
|
25981
|
+
"hasDynamicHelp": false,
|
|
25982
|
+
"multiple": false,
|
|
25983
|
+
"type": "option"
|
|
25984
|
+
},
|
|
25985
|
+
"limit": {
|
|
25986
|
+
"description": "Maximum number of pages to return",
|
|
25987
|
+
"name": "limit",
|
|
25988
|
+
"default": 10,
|
|
25989
|
+
"hasDynamicHelp": false,
|
|
25990
|
+
"multiple": false,
|
|
25991
|
+
"type": "option"
|
|
25992
|
+
}
|
|
25993
|
+
},
|
|
25994
|
+
"hasDynamicHelp": false,
|
|
25995
|
+
"hiddenAliases": [],
|
|
25996
|
+
"id": "analytics:ga4:views-by-page",
|
|
25997
|
+
"pluginAlias": "@ecomweb/cli",
|
|
25998
|
+
"pluginName": "@ecomweb/cli",
|
|
25999
|
+
"pluginType": "core",
|
|
26000
|
+
"strict": true,
|
|
26001
|
+
"enableJsonFlag": false,
|
|
26002
|
+
"isESM": false,
|
|
26003
|
+
"relativePath": [
|
|
26004
|
+
"dist",
|
|
26005
|
+
"commands",
|
|
26006
|
+
"analytics",
|
|
26007
|
+
"ga4",
|
|
26008
|
+
"views-by-page.js"
|
|
26009
|
+
]
|
|
26010
|
+
},
|
|
26011
|
+
"analytics:gsc:all": {
|
|
26012
|
+
"aliases": [],
|
|
26013
|
+
"args": {},
|
|
26014
|
+
"description": "Get all Google Search Console metrics (clicks, impressions, CTR, position)",
|
|
26015
|
+
"examples": [
|
|
26016
|
+
"ecomweb analytics gsc all",
|
|
26017
|
+
"ecomweb analytics gsc all --start-date 2025-01-01 --end-date 2025-01-31",
|
|
26018
|
+
"ecomweb analytics gsc all --row-limit 20"
|
|
26019
|
+
],
|
|
26020
|
+
"flags": {
|
|
26021
|
+
"store-ref": {
|
|
26022
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
26023
|
+
"env": "ECOMWEB_STORE_REF",
|
|
26024
|
+
"name": "store-ref",
|
|
26025
|
+
"hasDynamicHelp": false,
|
|
26026
|
+
"multiple": false,
|
|
26027
|
+
"type": "option"
|
|
26028
|
+
},
|
|
26029
|
+
"api-key": {
|
|
26030
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
26031
|
+
"env": "ECOMWEB_API_KEY",
|
|
26032
|
+
"name": "api-key",
|
|
26033
|
+
"hasDynamicHelp": false,
|
|
26034
|
+
"multiple": false,
|
|
26035
|
+
"type": "option"
|
|
26036
|
+
},
|
|
26037
|
+
"api-url": {
|
|
26038
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
26039
|
+
"env": "ECOMWEB_API_URL",
|
|
26040
|
+
"name": "api-url",
|
|
26041
|
+
"hasDynamicHelp": false,
|
|
26042
|
+
"multiple": false,
|
|
26043
|
+
"type": "option"
|
|
26044
|
+
},
|
|
26045
|
+
"output": {
|
|
26046
|
+
"description": "Output format",
|
|
26047
|
+
"name": "output",
|
|
26048
|
+
"default": "json",
|
|
26049
|
+
"hasDynamicHelp": false,
|
|
26050
|
+
"multiple": false,
|
|
26051
|
+
"options": [
|
|
26052
|
+
"json",
|
|
26053
|
+
"table",
|
|
26054
|
+
"csv"
|
|
26055
|
+
],
|
|
26056
|
+
"type": "option"
|
|
26057
|
+
},
|
|
26058
|
+
"quiet": {
|
|
26059
|
+
"description": "Suppress non-data output",
|
|
26060
|
+
"name": "quiet",
|
|
26061
|
+
"allowNo": false,
|
|
26062
|
+
"type": "boolean"
|
|
26063
|
+
},
|
|
26064
|
+
"dry-run": {
|
|
26065
|
+
"description": "Preview without executing",
|
|
26066
|
+
"name": "dry-run",
|
|
26067
|
+
"allowNo": false,
|
|
26068
|
+
"type": "boolean"
|
|
26069
|
+
},
|
|
26070
|
+
"profile": {
|
|
26071
|
+
"description": "Named config profile",
|
|
26072
|
+
"name": "profile",
|
|
26073
|
+
"hasDynamicHelp": false,
|
|
26074
|
+
"multiple": false,
|
|
26075
|
+
"type": "option"
|
|
26076
|
+
},
|
|
26077
|
+
"full": {
|
|
26078
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
26079
|
+
"name": "full",
|
|
26080
|
+
"allowNo": false,
|
|
26081
|
+
"type": "boolean"
|
|
26082
|
+
},
|
|
26083
|
+
"fields": {
|
|
26084
|
+
"description": "Comma-separated field names to include",
|
|
26085
|
+
"name": "fields",
|
|
26086
|
+
"hasDynamicHelp": false,
|
|
26087
|
+
"multiple": false,
|
|
26088
|
+
"type": "option"
|
|
26089
|
+
},
|
|
26090
|
+
"exclude": {
|
|
26091
|
+
"description": "Comma-separated field names to exclude",
|
|
26092
|
+
"name": "exclude",
|
|
26093
|
+
"hasDynamicHelp": false,
|
|
26094
|
+
"multiple": false,
|
|
26095
|
+
"type": "option"
|
|
26096
|
+
},
|
|
26097
|
+
"start-date": {
|
|
26098
|
+
"description": "Start date (YYYY-MM-DD)",
|
|
26270
26099
|
"name": "start-date",
|
|
26271
26100
|
"hasDynamicHelp": false,
|
|
26272
26101
|
"multiple": false,
|
|
26273
26102
|
"type": "option"
|
|
26274
26103
|
},
|
|
26275
26104
|
"end-date": {
|
|
26276
|
-
"description": "End date (YYYY-MM-DD)
|
|
26105
|
+
"description": "End date (YYYY-MM-DD)",
|
|
26277
26106
|
"name": "end-date",
|
|
26278
26107
|
"hasDynamicHelp": false,
|
|
26279
26108
|
"multiple": false,
|
|
26280
26109
|
"type": "option"
|
|
26281
26110
|
},
|
|
26282
|
-
"limit": {
|
|
26283
|
-
"description": "
|
|
26284
|
-
"name": "limit",
|
|
26111
|
+
"row-limit": {
|
|
26112
|
+
"description": "Number of rows to return for top queries/pages",
|
|
26113
|
+
"name": "row-limit",
|
|
26285
26114
|
"default": 10,
|
|
26286
26115
|
"hasDynamicHelp": false,
|
|
26287
26116
|
"multiple": false,
|
|
@@ -26290,7 +26119,7 @@
|
|
|
26290
26119
|
},
|
|
26291
26120
|
"hasDynamicHelp": false,
|
|
26292
26121
|
"hiddenAliases": [],
|
|
26293
|
-
"id": "analytics:
|
|
26122
|
+
"id": "analytics:gsc:all",
|
|
26294
26123
|
"pluginAlias": "@ecomweb/cli",
|
|
26295
26124
|
"pluginName": "@ecomweb/cli",
|
|
26296
26125
|
"pluginType": "core",
|
|
@@ -26301,18 +26130,18 @@
|
|
|
26301
26130
|
"dist",
|
|
26302
26131
|
"commands",
|
|
26303
26132
|
"analytics",
|
|
26304
|
-
"
|
|
26305
|
-
"
|
|
26133
|
+
"gsc",
|
|
26134
|
+
"all.js"
|
|
26306
26135
|
]
|
|
26307
26136
|
},
|
|
26308
|
-
"analytics:
|
|
26137
|
+
"analytics:gsc:search-console": {
|
|
26309
26138
|
"aliases": [],
|
|
26310
26139
|
"args": {},
|
|
26311
|
-
"description": "Get
|
|
26140
|
+
"description": "Get Search Console analytics (clicks, impressions, CTR, position)",
|
|
26312
26141
|
"examples": [
|
|
26313
|
-
"ecomweb analytics
|
|
26314
|
-
"ecomweb analytics
|
|
26315
|
-
"ecomweb analytics
|
|
26142
|
+
"ecomweb analytics gsc search-console",
|
|
26143
|
+
"ecomweb analytics gsc search-console --start-date 2025-01-01 --end-date 2025-01-31",
|
|
26144
|
+
"ecomweb analytics gsc search-console --row-limit 20"
|
|
26316
26145
|
],
|
|
26317
26146
|
"flags": {
|
|
26318
26147
|
"store-ref": {
|
|
@@ -26392,22 +26221,22 @@
|
|
|
26392
26221
|
"type": "option"
|
|
26393
26222
|
},
|
|
26394
26223
|
"start-date": {
|
|
26395
|
-
"description": "Start date (YYYY-MM-DD)
|
|
26224
|
+
"description": "Start date (YYYY-MM-DD)",
|
|
26396
26225
|
"name": "start-date",
|
|
26397
26226
|
"hasDynamicHelp": false,
|
|
26398
26227
|
"multiple": false,
|
|
26399
26228
|
"type": "option"
|
|
26400
26229
|
},
|
|
26401
26230
|
"end-date": {
|
|
26402
|
-
"description": "End date (YYYY-MM-DD)
|
|
26231
|
+
"description": "End date (YYYY-MM-DD)",
|
|
26403
26232
|
"name": "end-date",
|
|
26404
26233
|
"hasDynamicHelp": false,
|
|
26405
26234
|
"multiple": false,
|
|
26406
26235
|
"type": "option"
|
|
26407
26236
|
},
|
|
26408
|
-
"limit": {
|
|
26409
|
-
"description": "
|
|
26410
|
-
"name": "limit",
|
|
26237
|
+
"row-limit": {
|
|
26238
|
+
"description": "Number of rows to return for top queries/pages",
|
|
26239
|
+
"name": "row-limit",
|
|
26411
26240
|
"default": 10,
|
|
26412
26241
|
"hasDynamicHelp": false,
|
|
26413
26242
|
"multiple": false,
|
|
@@ -26416,7 +26245,7 @@
|
|
|
26416
26245
|
},
|
|
26417
26246
|
"hasDynamicHelp": false,
|
|
26418
26247
|
"hiddenAliases": [],
|
|
26419
|
-
"id": "analytics:
|
|
26248
|
+
"id": "analytics:gsc:search-console",
|
|
26420
26249
|
"pluginAlias": "@ecomweb/cli",
|
|
26421
26250
|
"pluginName": "@ecomweb/cli",
|
|
26422
26251
|
"pluginType": "core",
|
|
@@ -26427,18 +26256,18 @@
|
|
|
26427
26256
|
"dist",
|
|
26428
26257
|
"commands",
|
|
26429
26258
|
"analytics",
|
|
26430
|
-
"
|
|
26431
|
-
"
|
|
26259
|
+
"gsc",
|
|
26260
|
+
"search-console.js"
|
|
26432
26261
|
]
|
|
26433
26262
|
},
|
|
26434
|
-
"analytics:
|
|
26263
|
+
"analytics:sales:all": {
|
|
26435
26264
|
"aliases": [],
|
|
26436
26265
|
"args": {},
|
|
26437
|
-
"description": "Get all
|
|
26266
|
+
"description": "Get all sales analytics metrics (summary + time series)",
|
|
26438
26267
|
"examples": [
|
|
26439
|
-
"ecomweb analytics
|
|
26440
|
-
"ecomweb analytics
|
|
26441
|
-
"ecomweb analytics
|
|
26268
|
+
"ecomweb analytics sales all",
|
|
26269
|
+
"ecomweb analytics sales all --period month",
|
|
26270
|
+
"ecomweb analytics sales all --start-date 2025-01-01 --end-date 2025-01-31"
|
|
26442
26271
|
],
|
|
26443
26272
|
"flags": {
|
|
26444
26273
|
"store-ref": {
|
|
@@ -26517,24 +26346,30 @@
|
|
|
26517
26346
|
"multiple": false,
|
|
26518
26347
|
"type": "option"
|
|
26519
26348
|
},
|
|
26520
|
-
"
|
|
26521
|
-
"description": "
|
|
26522
|
-
"name": "
|
|
26349
|
+
"period": {
|
|
26350
|
+
"description": "Time period for analytics",
|
|
26351
|
+
"name": "period",
|
|
26352
|
+
"default": "day",
|
|
26523
26353
|
"hasDynamicHelp": false,
|
|
26524
26354
|
"multiple": false,
|
|
26355
|
+
"options": [
|
|
26356
|
+
"day",
|
|
26357
|
+
"week",
|
|
26358
|
+
"month",
|
|
26359
|
+
"year"
|
|
26360
|
+
],
|
|
26525
26361
|
"type": "option"
|
|
26526
26362
|
},
|
|
26527
|
-
"
|
|
26528
|
-
"description": "
|
|
26529
|
-
"name": "
|
|
26363
|
+
"start-date": {
|
|
26364
|
+
"description": "Start date for custom range (ISO 8601, e.g. 2025-01-01T00:00:00Z)",
|
|
26365
|
+
"name": "start-date",
|
|
26530
26366
|
"hasDynamicHelp": false,
|
|
26531
26367
|
"multiple": false,
|
|
26532
26368
|
"type": "option"
|
|
26533
26369
|
},
|
|
26534
|
-
"
|
|
26535
|
-
"description": "
|
|
26536
|
-
"name": "
|
|
26537
|
-
"default": 10,
|
|
26370
|
+
"end-date": {
|
|
26371
|
+
"description": "End date for custom range (ISO 8601, e.g. 2025-01-31T23:59:59Z)",
|
|
26372
|
+
"name": "end-date",
|
|
26538
26373
|
"hasDynamicHelp": false,
|
|
26539
26374
|
"multiple": false,
|
|
26540
26375
|
"type": "option"
|
|
@@ -26542,7 +26377,7 @@
|
|
|
26542
26377
|
},
|
|
26543
26378
|
"hasDynamicHelp": false,
|
|
26544
26379
|
"hiddenAliases": [],
|
|
26545
|
-
"id": "analytics:
|
|
26380
|
+
"id": "analytics:sales:all",
|
|
26546
26381
|
"pluginAlias": "@ecomweb/cli",
|
|
26547
26382
|
"pluginName": "@ecomweb/cli",
|
|
26548
26383
|
"pluginType": "core",
|
|
@@ -26553,18 +26388,18 @@
|
|
|
26553
26388
|
"dist",
|
|
26554
26389
|
"commands",
|
|
26555
26390
|
"analytics",
|
|
26556
|
-
"
|
|
26391
|
+
"sales",
|
|
26557
26392
|
"all.js"
|
|
26558
26393
|
]
|
|
26559
26394
|
},
|
|
26560
|
-
"analytics:
|
|
26395
|
+
"analytics:sales:summary": {
|
|
26561
26396
|
"aliases": [],
|
|
26562
26397
|
"args": {},
|
|
26563
|
-
"description": "Get
|
|
26398
|
+
"description": "Get comprehensive analytics summary for a store",
|
|
26564
26399
|
"examples": [
|
|
26565
|
-
"ecomweb analytics
|
|
26566
|
-
"ecomweb analytics
|
|
26567
|
-
"ecomweb analytics
|
|
26400
|
+
"ecomweb analytics sales summary",
|
|
26401
|
+
"ecomweb analytics sales summary --period month",
|
|
26402
|
+
"ecomweb analytics sales summary --start-date 2025-01-01 --end-date 2025-01-31"
|
|
26568
26403
|
],
|
|
26569
26404
|
"flags": {
|
|
26570
26405
|
"store-ref": {
|
|
@@ -26643,24 +26478,29 @@
|
|
|
26643
26478
|
"multiple": false,
|
|
26644
26479
|
"type": "option"
|
|
26645
26480
|
},
|
|
26646
|
-
"
|
|
26647
|
-
"description": "
|
|
26648
|
-
"name": "
|
|
26481
|
+
"period": {
|
|
26482
|
+
"description": "Time period for analytics",
|
|
26483
|
+
"name": "period",
|
|
26649
26484
|
"hasDynamicHelp": false,
|
|
26650
26485
|
"multiple": false,
|
|
26486
|
+
"options": [
|
|
26487
|
+
"day",
|
|
26488
|
+
"week",
|
|
26489
|
+
"month",
|
|
26490
|
+
"year"
|
|
26491
|
+
],
|
|
26651
26492
|
"type": "option"
|
|
26652
26493
|
},
|
|
26653
|
-
"
|
|
26654
|
-
"description": "
|
|
26655
|
-
"name": "
|
|
26494
|
+
"start-date": {
|
|
26495
|
+
"description": "Start date for custom range (ISO 8601, e.g. 2025-01-01T00:00:00Z)",
|
|
26496
|
+
"name": "start-date",
|
|
26656
26497
|
"hasDynamicHelp": false,
|
|
26657
26498
|
"multiple": false,
|
|
26658
26499
|
"type": "option"
|
|
26659
26500
|
},
|
|
26660
|
-
"
|
|
26661
|
-
"description": "
|
|
26662
|
-
"name": "
|
|
26663
|
-
"default": 10,
|
|
26501
|
+
"end-date": {
|
|
26502
|
+
"description": "End date for custom range (ISO 8601, e.g. 2025-01-31T23:59:59Z)",
|
|
26503
|
+
"name": "end-date",
|
|
26664
26504
|
"hasDynamicHelp": false,
|
|
26665
26505
|
"multiple": false,
|
|
26666
26506
|
"type": "option"
|
|
@@ -26668,7 +26508,7 @@
|
|
|
26668
26508
|
},
|
|
26669
26509
|
"hasDynamicHelp": false,
|
|
26670
26510
|
"hiddenAliases": [],
|
|
26671
|
-
"id": "analytics:
|
|
26511
|
+
"id": "analytics:sales:summary",
|
|
26672
26512
|
"pluginAlias": "@ecomweb/cli",
|
|
26673
26513
|
"pluginName": "@ecomweb/cli",
|
|
26674
26514
|
"pluginType": "core",
|
|
@@ -26679,18 +26519,18 @@
|
|
|
26679
26519
|
"dist",
|
|
26680
26520
|
"commands",
|
|
26681
26521
|
"analytics",
|
|
26682
|
-
"
|
|
26683
|
-
"
|
|
26522
|
+
"sales",
|
|
26523
|
+
"summary.js"
|
|
26684
26524
|
]
|
|
26685
26525
|
},
|
|
26686
|
-
"analytics:sales:
|
|
26526
|
+
"analytics:sales:time-series": {
|
|
26687
26527
|
"aliases": [],
|
|
26688
26528
|
"args": {},
|
|
26689
|
-
"description": "Get
|
|
26529
|
+
"description": "Get time series data for revenue, orders, and customers",
|
|
26690
26530
|
"examples": [
|
|
26691
|
-
"ecomweb analytics sales
|
|
26692
|
-
"ecomweb analytics sales
|
|
26693
|
-
"ecomweb analytics sales
|
|
26531
|
+
"ecomweb analytics sales time-series",
|
|
26532
|
+
"ecomweb analytics sales time-series --period week",
|
|
26533
|
+
"ecomweb analytics sales time-series --period month --output table"
|
|
26694
26534
|
],
|
|
26695
26535
|
"flags": {
|
|
26696
26536
|
"store-ref": {
|
|
@@ -26770,7 +26610,7 @@
|
|
|
26770
26610
|
"type": "option"
|
|
26771
26611
|
},
|
|
26772
26612
|
"period": {
|
|
26773
|
-
"description": "Time period for
|
|
26613
|
+
"description": "Time period for time series data",
|
|
26774
26614
|
"name": "period",
|
|
26775
26615
|
"default": "day",
|
|
26776
26616
|
"hasDynamicHelp": false,
|
|
@@ -26782,25 +26622,11 @@
|
|
|
26782
26622
|
"year"
|
|
26783
26623
|
],
|
|
26784
26624
|
"type": "option"
|
|
26785
|
-
},
|
|
26786
|
-
"start-date": {
|
|
26787
|
-
"description": "Start date for custom range (ISO 8601, e.g. 2025-01-01T00:00:00Z)",
|
|
26788
|
-
"name": "start-date",
|
|
26789
|
-
"hasDynamicHelp": false,
|
|
26790
|
-
"multiple": false,
|
|
26791
|
-
"type": "option"
|
|
26792
|
-
},
|
|
26793
|
-
"end-date": {
|
|
26794
|
-
"description": "End date for custom range (ISO 8601, e.g. 2025-01-31T23:59:59Z)",
|
|
26795
|
-
"name": "end-date",
|
|
26796
|
-
"hasDynamicHelp": false,
|
|
26797
|
-
"multiple": false,
|
|
26798
|
-
"type": "option"
|
|
26799
26625
|
}
|
|
26800
26626
|
},
|
|
26801
26627
|
"hasDynamicHelp": false,
|
|
26802
26628
|
"hiddenAliases": [],
|
|
26803
|
-
"id": "analytics:sales:
|
|
26629
|
+
"id": "analytics:sales:time-series",
|
|
26804
26630
|
"pluginAlias": "@ecomweb/cli",
|
|
26805
26631
|
"pluginName": "@ecomweb/cli",
|
|
26806
26632
|
"pluginType": "core",
|
|
@@ -26812,17 +26638,22 @@
|
|
|
26812
26638
|
"commands",
|
|
26813
26639
|
"analytics",
|
|
26814
26640
|
"sales",
|
|
26815
|
-
"
|
|
26641
|
+
"time-series.js"
|
|
26816
26642
|
]
|
|
26817
26643
|
},
|
|
26818
|
-
"
|
|
26644
|
+
"attributes:values:create": {
|
|
26819
26645
|
"aliases": [],
|
|
26820
|
-
"args": {
|
|
26821
|
-
|
|
26646
|
+
"args": {
|
|
26647
|
+
"attribute-id": {
|
|
26648
|
+
"description": "Attribute ID",
|
|
26649
|
+
"name": "attribute-id",
|
|
26650
|
+
"required": true
|
|
26651
|
+
}
|
|
26652
|
+
},
|
|
26653
|
+
"description": "Create a value for a product attribute",
|
|
26822
26654
|
"examples": [
|
|
26823
|
-
"ecomweb
|
|
26824
|
-
"ecomweb
|
|
26825
|
-
"ecomweb analytics sales summary --start-date 2025-01-01 --end-date 2025-01-31"
|
|
26655
|
+
"ecomweb attributes values create 1 --value red --display \"Red\"",
|
|
26656
|
+
"ecomweb attributes values create 1 --value red --display \"Red\" --swatch-type color --swatch-value \"#ff0000\""
|
|
26826
26657
|
],
|
|
26827
26658
|
"flags": {
|
|
26828
26659
|
"store-ref": {
|
|
@@ -26901,29 +26732,37 @@
|
|
|
26901
26732
|
"multiple": false,
|
|
26902
26733
|
"type": "option"
|
|
26903
26734
|
},
|
|
26904
|
-
"
|
|
26905
|
-
"description": "
|
|
26906
|
-
"name": "
|
|
26735
|
+
"value": {
|
|
26736
|
+
"description": "Machine value, e.g. red",
|
|
26737
|
+
"name": "value",
|
|
26738
|
+
"required": true,
|
|
26907
26739
|
"hasDynamicHelp": false,
|
|
26908
26740
|
"multiple": false,
|
|
26909
|
-
"options": [
|
|
26910
|
-
"day",
|
|
26911
|
-
"week",
|
|
26912
|
-
"month",
|
|
26913
|
-
"year"
|
|
26914
|
-
],
|
|
26915
26741
|
"type": "option"
|
|
26916
26742
|
},
|
|
26917
|
-
"
|
|
26918
|
-
"description": "
|
|
26919
|
-
"name": "
|
|
26743
|
+
"display": {
|
|
26744
|
+
"description": "Display value, e.g. Red",
|
|
26745
|
+
"name": "display",
|
|
26746
|
+
"required": true,
|
|
26920
26747
|
"hasDynamicHelp": false,
|
|
26921
26748
|
"multiple": false,
|
|
26922
26749
|
"type": "option"
|
|
26923
26750
|
},
|
|
26924
|
-
"
|
|
26925
|
-
"description": "
|
|
26926
|
-
"name": "
|
|
26751
|
+
"swatch-type": {
|
|
26752
|
+
"description": "How this value renders as a swatch",
|
|
26753
|
+
"name": "swatch-type",
|
|
26754
|
+
"hasDynamicHelp": false,
|
|
26755
|
+
"multiple": false,
|
|
26756
|
+
"options": [
|
|
26757
|
+
"none",
|
|
26758
|
+
"color",
|
|
26759
|
+
"image"
|
|
26760
|
+
],
|
|
26761
|
+
"type": "option"
|
|
26762
|
+
},
|
|
26763
|
+
"swatch-value": {
|
|
26764
|
+
"description": "Hex color or image URL, depending on swatch-type",
|
|
26765
|
+
"name": "swatch-value",
|
|
26927
26766
|
"hasDynamicHelp": false,
|
|
26928
26767
|
"multiple": false,
|
|
26929
26768
|
"type": "option"
|
|
@@ -26931,7 +26770,7 @@
|
|
|
26931
26770
|
},
|
|
26932
26771
|
"hasDynamicHelp": false,
|
|
26933
26772
|
"hiddenAliases": [],
|
|
26934
|
-
"id": "
|
|
26773
|
+
"id": "attributes:values:create",
|
|
26935
26774
|
"pluginAlias": "@ecomweb/cli",
|
|
26936
26775
|
"pluginName": "@ecomweb/cli",
|
|
26937
26776
|
"pluginType": "core",
|
|
@@ -26941,19 +26780,29 @@
|
|
|
26941
26780
|
"relativePath": [
|
|
26942
26781
|
"dist",
|
|
26943
26782
|
"commands",
|
|
26944
|
-
"
|
|
26945
|
-
"
|
|
26946
|
-
"
|
|
26783
|
+
"attributes",
|
|
26784
|
+
"values",
|
|
26785
|
+
"create.js"
|
|
26947
26786
|
]
|
|
26948
26787
|
},
|
|
26949
|
-
"
|
|
26788
|
+
"attributes:values:delete": {
|
|
26950
26789
|
"aliases": [],
|
|
26951
|
-
"args": {
|
|
26952
|
-
|
|
26790
|
+
"args": {
|
|
26791
|
+
"attribute-id": {
|
|
26792
|
+
"description": "Attribute ID",
|
|
26793
|
+
"name": "attribute-id",
|
|
26794
|
+
"required": true
|
|
26795
|
+
},
|
|
26796
|
+
"value-id": {
|
|
26797
|
+
"description": "Value ID",
|
|
26798
|
+
"name": "value-id",
|
|
26799
|
+
"required": true
|
|
26800
|
+
}
|
|
26801
|
+
},
|
|
26802
|
+
"description": "Delete a product attribute value",
|
|
26953
26803
|
"examples": [
|
|
26954
|
-
"ecomweb
|
|
26955
|
-
"ecomweb
|
|
26956
|
-
"ecomweb analytics sales time-series --period month --output table"
|
|
26804
|
+
"ecomweb attributes values delete 1 5",
|
|
26805
|
+
"ecomweb attributes values delete 1 5 --force"
|
|
26957
26806
|
],
|
|
26958
26807
|
"flags": {
|
|
26959
26808
|
"store-ref": {
|
|
@@ -27029,27 +26878,19 @@
|
|
|
27029
26878
|
"description": "Comma-separated field names to exclude",
|
|
27030
26879
|
"name": "exclude",
|
|
27031
26880
|
"hasDynamicHelp": false,
|
|
27032
|
-
"multiple": false,
|
|
27033
|
-
"type": "option"
|
|
27034
|
-
},
|
|
27035
|
-
"period": {
|
|
27036
|
-
"description": "Time period for time series data",
|
|
27037
|
-
"name": "period",
|
|
27038
|
-
"default": "day",
|
|
27039
|
-
"hasDynamicHelp": false,
|
|
27040
|
-
"multiple": false,
|
|
27041
|
-
"options": [
|
|
27042
|
-
"day",
|
|
27043
|
-
"week",
|
|
27044
|
-
"month",
|
|
27045
|
-
"year"
|
|
27046
|
-
],
|
|
26881
|
+
"multiple": false,
|
|
27047
26882
|
"type": "option"
|
|
26883
|
+
},
|
|
26884
|
+
"force": {
|
|
26885
|
+
"description": "Delete even if products use this value",
|
|
26886
|
+
"name": "force",
|
|
26887
|
+
"allowNo": false,
|
|
26888
|
+
"type": "boolean"
|
|
27048
26889
|
}
|
|
27049
26890
|
},
|
|
27050
26891
|
"hasDynamicHelp": false,
|
|
27051
26892
|
"hiddenAliases": [],
|
|
27052
|
-
"id": "
|
|
26893
|
+
"id": "attributes:values:delete",
|
|
27053
26894
|
"pluginAlias": "@ecomweb/cli",
|
|
27054
26895
|
"pluginName": "@ecomweb/cli",
|
|
27055
26896
|
"pluginType": "core",
|
|
@@ -27059,23 +26900,23 @@
|
|
|
27059
26900
|
"relativePath": [
|
|
27060
26901
|
"dist",
|
|
27061
26902
|
"commands",
|
|
27062
|
-
"
|
|
27063
|
-
"
|
|
27064
|
-
"
|
|
26903
|
+
"attributes",
|
|
26904
|
+
"values",
|
|
26905
|
+
"delete.js"
|
|
27065
26906
|
]
|
|
27066
26907
|
},
|
|
27067
|
-
"
|
|
26908
|
+
"attributes:values:list": {
|
|
27068
26909
|
"aliases": [],
|
|
27069
26910
|
"args": {
|
|
27070
|
-
"
|
|
27071
|
-
"description": "
|
|
27072
|
-
"name": "
|
|
26911
|
+
"attribute-id": {
|
|
26912
|
+
"description": "Attribute ID",
|
|
26913
|
+
"name": "attribute-id",
|
|
27073
26914
|
"required": true
|
|
27074
26915
|
}
|
|
27075
26916
|
},
|
|
27076
|
-
"description": "
|
|
26917
|
+
"description": "List the values of a product attribute",
|
|
27077
26918
|
"examples": [
|
|
27078
|
-
"ecomweb
|
|
26919
|
+
"ecomweb attributes values list 1"
|
|
27079
26920
|
],
|
|
27080
26921
|
"flags": {
|
|
27081
26922
|
"store-ref": {
|
|
@@ -27157,7 +26998,7 @@
|
|
|
27157
26998
|
},
|
|
27158
26999
|
"hasDynamicHelp": false,
|
|
27159
27000
|
"hiddenAliases": [],
|
|
27160
|
-
"id": "
|
|
27001
|
+
"id": "attributes:values:list",
|
|
27161
27002
|
"pluginAlias": "@ecomweb/cli",
|
|
27162
27003
|
"pluginName": "@ecomweb/cli",
|
|
27163
27004
|
"pluginType": "core",
|
|
@@ -27167,17 +27008,29 @@
|
|
|
27167
27008
|
"relativePath": [
|
|
27168
27009
|
"dist",
|
|
27169
27010
|
"commands",
|
|
27170
|
-
"
|
|
27171
|
-
"
|
|
27172
|
-
"
|
|
27011
|
+
"attributes",
|
|
27012
|
+
"values",
|
|
27013
|
+
"list.js"
|
|
27173
27014
|
]
|
|
27174
27015
|
},
|
|
27175
|
-
"
|
|
27016
|
+
"attributes:values:update": {
|
|
27176
27017
|
"aliases": [],
|
|
27177
|
-
"args": {
|
|
27178
|
-
|
|
27018
|
+
"args": {
|
|
27019
|
+
"attribute-id": {
|
|
27020
|
+
"description": "Attribute ID",
|
|
27021
|
+
"name": "attribute-id",
|
|
27022
|
+
"required": true
|
|
27023
|
+
},
|
|
27024
|
+
"value-id": {
|
|
27025
|
+
"description": "Value ID",
|
|
27026
|
+
"name": "value-id",
|
|
27027
|
+
"required": true
|
|
27028
|
+
}
|
|
27029
|
+
},
|
|
27030
|
+
"description": "Update a product attribute value",
|
|
27179
27031
|
"examples": [
|
|
27180
|
-
"ecomweb
|
|
27032
|
+
"ecomweb attributes values update 1 5 --display \"Crimson\"",
|
|
27033
|
+
"ecomweb attributes values update 1 5 --sort-order 2"
|
|
27181
27034
|
],
|
|
27182
27035
|
"flags": {
|
|
27183
27036
|
"store-ref": {
|
|
@@ -27255,11 +27108,51 @@
|
|
|
27255
27108
|
"hasDynamicHelp": false,
|
|
27256
27109
|
"multiple": false,
|
|
27257
27110
|
"type": "option"
|
|
27111
|
+
},
|
|
27112
|
+
"value": {
|
|
27113
|
+
"description": "Machine value, e.g. red",
|
|
27114
|
+
"name": "value",
|
|
27115
|
+
"hasDynamicHelp": false,
|
|
27116
|
+
"multiple": false,
|
|
27117
|
+
"type": "option"
|
|
27118
|
+
},
|
|
27119
|
+
"display": {
|
|
27120
|
+
"description": "Display value, e.g. Red",
|
|
27121
|
+
"name": "display",
|
|
27122
|
+
"hasDynamicHelp": false,
|
|
27123
|
+
"multiple": false,
|
|
27124
|
+
"type": "option"
|
|
27125
|
+
},
|
|
27126
|
+
"swatch-type": {
|
|
27127
|
+
"description": "How this value renders as a swatch",
|
|
27128
|
+
"name": "swatch-type",
|
|
27129
|
+
"hasDynamicHelp": false,
|
|
27130
|
+
"multiple": false,
|
|
27131
|
+
"options": [
|
|
27132
|
+
"none",
|
|
27133
|
+
"color",
|
|
27134
|
+
"image"
|
|
27135
|
+
],
|
|
27136
|
+
"type": "option"
|
|
27137
|
+
},
|
|
27138
|
+
"swatch-value": {
|
|
27139
|
+
"description": "Hex color or image URL, depending on swatch-type",
|
|
27140
|
+
"name": "swatch-value",
|
|
27141
|
+
"hasDynamicHelp": false,
|
|
27142
|
+
"multiple": false,
|
|
27143
|
+
"type": "option"
|
|
27144
|
+
},
|
|
27145
|
+
"sort-order": {
|
|
27146
|
+
"description": "Display order among sibling values",
|
|
27147
|
+
"name": "sort-order",
|
|
27148
|
+
"hasDynamicHelp": false,
|
|
27149
|
+
"multiple": false,
|
|
27150
|
+
"type": "option"
|
|
27258
27151
|
}
|
|
27259
27152
|
},
|
|
27260
27153
|
"hasDynamicHelp": false,
|
|
27261
27154
|
"hiddenAliases": [],
|
|
27262
|
-
"id": "
|
|
27155
|
+
"id": "attributes:values:update",
|
|
27263
27156
|
"pluginAlias": "@ecomweb/cli",
|
|
27264
27157
|
"pluginName": "@ecomweb/cli",
|
|
27265
27158
|
"pluginType": "core",
|
|
@@ -27269,24 +27162,23 @@
|
|
|
27269
27162
|
"relativePath": [
|
|
27270
27163
|
"dist",
|
|
27271
27164
|
"commands",
|
|
27272
|
-
"
|
|
27273
|
-
"
|
|
27274
|
-
"
|
|
27165
|
+
"attributes",
|
|
27166
|
+
"values",
|
|
27167
|
+
"update.js"
|
|
27275
27168
|
]
|
|
27276
27169
|
},
|
|
27277
|
-
"auth:profiles:
|
|
27170
|
+
"auth:profiles:delete": {
|
|
27278
27171
|
"aliases": [],
|
|
27279
27172
|
"args": {
|
|
27280
27173
|
"name": {
|
|
27281
|
-
"description": "Profile name to
|
|
27174
|
+
"description": "Profile name to delete",
|
|
27282
27175
|
"name": "name",
|
|
27283
27176
|
"required": true
|
|
27284
27177
|
}
|
|
27285
27178
|
},
|
|
27286
|
-
"description": "
|
|
27179
|
+
"description": "Delete a profile and its credentials",
|
|
27287
27180
|
"examples": [
|
|
27288
|
-
"ecomweb auth profiles
|
|
27289
|
-
"ecomweb auth profiles use staging"
|
|
27181
|
+
"ecomweb auth profiles delete staging"
|
|
27290
27182
|
],
|
|
27291
27183
|
"flags": {
|
|
27292
27184
|
"store-ref": {
|
|
@@ -27368,7 +27260,7 @@
|
|
|
27368
27260
|
},
|
|
27369
27261
|
"hasDynamicHelp": false,
|
|
27370
27262
|
"hiddenAliases": [],
|
|
27371
|
-
"id": "auth:profiles:
|
|
27263
|
+
"id": "auth:profiles:delete",
|
|
27372
27264
|
"pluginAlias": "@ecomweb/cli",
|
|
27373
27265
|
"pluginName": "@ecomweb/cli",
|
|
27374
27266
|
"pluginType": "core",
|
|
@@ -27380,22 +27272,15 @@
|
|
|
27380
27272
|
"commands",
|
|
27381
27273
|
"auth",
|
|
27382
27274
|
"profiles",
|
|
27383
|
-
"
|
|
27275
|
+
"delete.js"
|
|
27384
27276
|
]
|
|
27385
27277
|
},
|
|
27386
|
-
"
|
|
27278
|
+
"auth:profiles:list": {
|
|
27387
27279
|
"aliases": [],
|
|
27388
|
-
"args": {
|
|
27389
|
-
|
|
27390
|
-
"description": "Attribute ID",
|
|
27391
|
-
"name": "attribute-id",
|
|
27392
|
-
"required": true
|
|
27393
|
-
}
|
|
27394
|
-
},
|
|
27395
|
-
"description": "Create a value for a product attribute",
|
|
27280
|
+
"args": {},
|
|
27281
|
+
"description": "List all configured profiles",
|
|
27396
27282
|
"examples": [
|
|
27397
|
-
"ecomweb
|
|
27398
|
-
"ecomweb attributes values create 1 --value red --display \"Red\" --swatch-type color --swatch-value \"#ff0000\""
|
|
27283
|
+
"ecomweb auth profiles list"
|
|
27399
27284
|
],
|
|
27400
27285
|
"flags": {
|
|
27401
27286
|
"store-ref": {
|
|
@@ -27473,46 +27358,11 @@
|
|
|
27473
27358
|
"hasDynamicHelp": false,
|
|
27474
27359
|
"multiple": false,
|
|
27475
27360
|
"type": "option"
|
|
27476
|
-
},
|
|
27477
|
-
"value": {
|
|
27478
|
-
"description": "Machine value, e.g. red",
|
|
27479
|
-
"name": "value",
|
|
27480
|
-
"required": true,
|
|
27481
|
-
"hasDynamicHelp": false,
|
|
27482
|
-
"multiple": false,
|
|
27483
|
-
"type": "option"
|
|
27484
|
-
},
|
|
27485
|
-
"display": {
|
|
27486
|
-
"description": "Display value, e.g. Red",
|
|
27487
|
-
"name": "display",
|
|
27488
|
-
"required": true,
|
|
27489
|
-
"hasDynamicHelp": false,
|
|
27490
|
-
"multiple": false,
|
|
27491
|
-
"type": "option"
|
|
27492
|
-
},
|
|
27493
|
-
"swatch-type": {
|
|
27494
|
-
"description": "How this value renders as a swatch",
|
|
27495
|
-
"name": "swatch-type",
|
|
27496
|
-
"hasDynamicHelp": false,
|
|
27497
|
-
"multiple": false,
|
|
27498
|
-
"options": [
|
|
27499
|
-
"none",
|
|
27500
|
-
"color",
|
|
27501
|
-
"image"
|
|
27502
|
-
],
|
|
27503
|
-
"type": "option"
|
|
27504
|
-
},
|
|
27505
|
-
"swatch-value": {
|
|
27506
|
-
"description": "Hex color or image URL, depending on swatch-type",
|
|
27507
|
-
"name": "swatch-value",
|
|
27508
|
-
"hasDynamicHelp": false,
|
|
27509
|
-
"multiple": false,
|
|
27510
|
-
"type": "option"
|
|
27511
27361
|
}
|
|
27512
27362
|
},
|
|
27513
27363
|
"hasDynamicHelp": false,
|
|
27514
27364
|
"hiddenAliases": [],
|
|
27515
|
-
"id": "
|
|
27365
|
+
"id": "auth:profiles:list",
|
|
27516
27366
|
"pluginAlias": "@ecomweb/cli",
|
|
27517
27367
|
"pluginName": "@ecomweb/cli",
|
|
27518
27368
|
"pluginType": "core",
|
|
@@ -27522,29 +27372,24 @@
|
|
|
27522
27372
|
"relativePath": [
|
|
27523
27373
|
"dist",
|
|
27524
27374
|
"commands",
|
|
27525
|
-
"
|
|
27526
|
-
"
|
|
27527
|
-
"
|
|
27375
|
+
"auth",
|
|
27376
|
+
"profiles",
|
|
27377
|
+
"list.js"
|
|
27528
27378
|
]
|
|
27529
27379
|
},
|
|
27530
|
-
"
|
|
27380
|
+
"auth:profiles:use": {
|
|
27531
27381
|
"aliases": [],
|
|
27532
27382
|
"args": {
|
|
27533
|
-
"
|
|
27534
|
-
"description": "
|
|
27535
|
-
"name": "
|
|
27536
|
-
"required": true
|
|
27537
|
-
},
|
|
27538
|
-
"value-id": {
|
|
27539
|
-
"description": "Value ID",
|
|
27540
|
-
"name": "value-id",
|
|
27383
|
+
"name": {
|
|
27384
|
+
"description": "Profile name to activate",
|
|
27385
|
+
"name": "name",
|
|
27541
27386
|
"required": true
|
|
27542
27387
|
}
|
|
27543
27388
|
},
|
|
27544
|
-
"description": "
|
|
27389
|
+
"description": "Switch the active profile",
|
|
27545
27390
|
"examples": [
|
|
27546
|
-
"ecomweb
|
|
27547
|
-
"ecomweb
|
|
27391
|
+
"ecomweb auth profiles use production",
|
|
27392
|
+
"ecomweb auth profiles use staging"
|
|
27548
27393
|
],
|
|
27549
27394
|
"flags": {
|
|
27550
27395
|
"store-ref": {
|
|
@@ -27622,17 +27467,11 @@
|
|
|
27622
27467
|
"hasDynamicHelp": false,
|
|
27623
27468
|
"multiple": false,
|
|
27624
27469
|
"type": "option"
|
|
27625
|
-
},
|
|
27626
|
-
"force": {
|
|
27627
|
-
"description": "Delete even if products use this value",
|
|
27628
|
-
"name": "force",
|
|
27629
|
-
"allowNo": false,
|
|
27630
|
-
"type": "boolean"
|
|
27631
27470
|
}
|
|
27632
27471
|
},
|
|
27633
27472
|
"hasDynamicHelp": false,
|
|
27634
27473
|
"hiddenAliases": [],
|
|
27635
|
-
"id": "
|
|
27474
|
+
"id": "auth:profiles:use",
|
|
27636
27475
|
"pluginAlias": "@ecomweb/cli",
|
|
27637
27476
|
"pluginName": "@ecomweb/cli",
|
|
27638
27477
|
"pluginType": "core",
|
|
@@ -27642,23 +27481,24 @@
|
|
|
27642
27481
|
"relativePath": [
|
|
27643
27482
|
"dist",
|
|
27644
27483
|
"commands",
|
|
27645
|
-
"
|
|
27646
|
-
"
|
|
27647
|
-
"
|
|
27484
|
+
"auth",
|
|
27485
|
+
"profiles",
|
|
27486
|
+
"use.js"
|
|
27648
27487
|
]
|
|
27649
27488
|
},
|
|
27650
|
-
"
|
|
27489
|
+
"products:variants:list": {
|
|
27651
27490
|
"aliases": [],
|
|
27652
27491
|
"args": {
|
|
27653
|
-
"
|
|
27654
|
-
"description": "
|
|
27655
|
-
"name": "
|
|
27492
|
+
"product-id": {
|
|
27493
|
+
"description": "Product ID",
|
|
27494
|
+
"name": "product-id",
|
|
27656
27495
|
"required": true
|
|
27657
27496
|
}
|
|
27658
27497
|
},
|
|
27659
|
-
"description": "List
|
|
27498
|
+
"description": "List one product's variants (ids, SKU, price, stock, tracking)",
|
|
27660
27499
|
"examples": [
|
|
27661
|
-
"ecomweb
|
|
27500
|
+
"ecomweb products variants list 42",
|
|
27501
|
+
"ecomweb products variants list 42 --search 65"
|
|
27662
27502
|
],
|
|
27663
27503
|
"flags": {
|
|
27664
27504
|
"store-ref": {
|
|
@@ -27736,11 +27576,18 @@
|
|
|
27736
27576
|
"hasDynamicHelp": false,
|
|
27737
27577
|
"multiple": false,
|
|
27738
27578
|
"type": "option"
|
|
27579
|
+
},
|
|
27580
|
+
"search": {
|
|
27581
|
+
"description": "Filter by SKU or option value",
|
|
27582
|
+
"name": "search",
|
|
27583
|
+
"hasDynamicHelp": false,
|
|
27584
|
+
"multiple": false,
|
|
27585
|
+
"type": "option"
|
|
27739
27586
|
}
|
|
27740
27587
|
},
|
|
27741
27588
|
"hasDynamicHelp": false,
|
|
27742
27589
|
"hiddenAliases": [],
|
|
27743
|
-
"id": "
|
|
27590
|
+
"id": "products:variants:list",
|
|
27744
27591
|
"pluginAlias": "@ecomweb/cli",
|
|
27745
27592
|
"pluginName": "@ecomweb/cli",
|
|
27746
27593
|
"pluginType": "core",
|
|
@@ -27750,29 +27597,31 @@
|
|
|
27750
27597
|
"relativePath": [
|
|
27751
27598
|
"dist",
|
|
27752
27599
|
"commands",
|
|
27753
|
-
"
|
|
27754
|
-
"
|
|
27600
|
+
"products",
|
|
27601
|
+
"variants",
|
|
27755
27602
|
"list.js"
|
|
27756
27603
|
]
|
|
27757
27604
|
},
|
|
27758
|
-
"
|
|
27605
|
+
"products:variants:update": {
|
|
27759
27606
|
"aliases": [],
|
|
27760
27607
|
"args": {
|
|
27761
|
-
"
|
|
27762
|
-
"description": "
|
|
27763
|
-
"name": "
|
|
27608
|
+
"product-id": {
|
|
27609
|
+
"description": "Product ID",
|
|
27610
|
+
"name": "product-id",
|
|
27764
27611
|
"required": true
|
|
27765
27612
|
},
|
|
27766
|
-
"
|
|
27767
|
-
"description": "
|
|
27768
|
-
"name": "
|
|
27613
|
+
"variant-id": {
|
|
27614
|
+
"description": "Variant ID (see products variants list)",
|
|
27615
|
+
"name": "variant-id",
|
|
27769
27616
|
"required": true
|
|
27770
27617
|
}
|
|
27771
27618
|
},
|
|
27772
|
-
"description": "Update
|
|
27619
|
+
"description": "Update one variant; only the fields given are written (no price or combinations needed, unlike products update)",
|
|
27773
27620
|
"examples": [
|
|
27774
|
-
"ecomweb
|
|
27775
|
-
"ecomweb
|
|
27621
|
+
"ecomweb products variants update 42 7 --inventory 12 --track-inventory",
|
|
27622
|
+
"ecomweb products variants update 42 7 --no-track-inventory",
|
|
27623
|
+
"ecomweb products variants update 42 7 --price 15990000 --sku LG-55",
|
|
27624
|
+
"ecomweb products variants update 42 7 --stdin <<< '{\"weight\":1200}'"
|
|
27776
27625
|
],
|
|
27777
27626
|
"flags": {
|
|
27778
27627
|
"store-ref": {
|
|
@@ -27851,50 +27700,73 @@
|
|
|
27851
27700
|
"multiple": false,
|
|
27852
27701
|
"type": "option"
|
|
27853
27702
|
},
|
|
27854
|
-
"
|
|
27855
|
-
"description": "
|
|
27856
|
-
"name": "
|
|
27703
|
+
"stdin": {
|
|
27704
|
+
"description": "Read JSON body from stdin",
|
|
27705
|
+
"name": "stdin",
|
|
27706
|
+
"allowNo": false,
|
|
27707
|
+
"type": "boolean"
|
|
27708
|
+
},
|
|
27709
|
+
"file": {
|
|
27710
|
+
"description": "Read JSON body from file",
|
|
27711
|
+
"name": "file",
|
|
27857
27712
|
"hasDynamicHelp": false,
|
|
27858
27713
|
"multiple": false,
|
|
27859
27714
|
"type": "option"
|
|
27860
27715
|
},
|
|
27861
|
-
"
|
|
27862
|
-
"description": "
|
|
27863
|
-
"name": "
|
|
27716
|
+
"price": {
|
|
27717
|
+
"description": "Price",
|
|
27718
|
+
"name": "price",
|
|
27719
|
+
"hasDynamicHelp": false,
|
|
27720
|
+
"multiple": false,
|
|
27721
|
+
"type": "option"
|
|
27722
|
+
},
|
|
27723
|
+
"inventory": {
|
|
27724
|
+
"description": "Stock on hand",
|
|
27725
|
+
"name": "inventory",
|
|
27864
27726
|
"hasDynamicHelp": false,
|
|
27865
27727
|
"multiple": false,
|
|
27866
27728
|
"type": "option"
|
|
27867
27729
|
},
|
|
27868
|
-
"
|
|
27869
|
-
"description": "
|
|
27870
|
-
"name": "
|
|
27730
|
+
"track-inventory": {
|
|
27731
|
+
"description": "Track stock (--no-track-inventory: always buyable)",
|
|
27732
|
+
"name": "track-inventory",
|
|
27733
|
+
"allowNo": true,
|
|
27734
|
+
"type": "boolean"
|
|
27735
|
+
},
|
|
27736
|
+
"inventory-policy": {
|
|
27737
|
+
"description": "When tracked stock runs out: deny (sold out) or continue (keep selling)",
|
|
27738
|
+
"name": "inventory-policy",
|
|
27871
27739
|
"hasDynamicHelp": false,
|
|
27872
27740
|
"multiple": false,
|
|
27873
27741
|
"options": [
|
|
27874
|
-
"
|
|
27875
|
-
"
|
|
27876
|
-
"image"
|
|
27742
|
+
"deny",
|
|
27743
|
+
"continue"
|
|
27877
27744
|
],
|
|
27878
27745
|
"type": "option"
|
|
27879
27746
|
},
|
|
27880
|
-
"
|
|
27881
|
-
"description": "
|
|
27882
|
-
"name": "
|
|
27747
|
+
"sku": {
|
|
27748
|
+
"description": "Seller SKU",
|
|
27749
|
+
"name": "sku",
|
|
27883
27750
|
"hasDynamicHelp": false,
|
|
27884
27751
|
"multiple": false,
|
|
27885
27752
|
"type": "option"
|
|
27886
27753
|
},
|
|
27887
|
-
"
|
|
27888
|
-
"description": "
|
|
27889
|
-
"name": "
|
|
27754
|
+
"status": {
|
|
27755
|
+
"description": "Variant status",
|
|
27756
|
+
"name": "status",
|
|
27890
27757
|
"hasDynamicHelp": false,
|
|
27891
27758
|
"multiple": false,
|
|
27759
|
+
"options": [
|
|
27760
|
+
"active",
|
|
27761
|
+
"inactive",
|
|
27762
|
+
"out_of_stock"
|
|
27763
|
+
],
|
|
27892
27764
|
"type": "option"
|
|
27893
27765
|
}
|
|
27894
27766
|
},
|
|
27895
27767
|
"hasDynamicHelp": false,
|
|
27896
27768
|
"hiddenAliases": [],
|
|
27897
|
-
"id": "
|
|
27769
|
+
"id": "products:variants:update",
|
|
27898
27770
|
"pluginAlias": "@ecomweb/cli",
|
|
27899
27771
|
"pluginName": "@ecomweb/cli",
|
|
27900
27772
|
"pluginType": "core",
|
|
@@ -27904,8 +27776,8 @@
|
|
|
27904
27776
|
"relativePath": [
|
|
27905
27777
|
"dist",
|
|
27906
27778
|
"commands",
|
|
27907
|
-
"
|
|
27908
|
-
"
|
|
27779
|
+
"products",
|
|
27780
|
+
"variants",
|
|
27909
27781
|
"update.js"
|
|
27910
27782
|
]
|
|
27911
27783
|
},
|
|
@@ -28303,7 +28175,252 @@
|
|
|
28303
28175
|
"schema",
|
|
28304
28176
|
"push.js"
|
|
28305
28177
|
]
|
|
28178
|
+
},
|
|
28179
|
+
"theme:settings:get": {
|
|
28180
|
+
"aliases": [],
|
|
28181
|
+
"args": {
|
|
28182
|
+
"id": {
|
|
28183
|
+
"description": "The theme (see ecomweb theme list)",
|
|
28184
|
+
"name": "id",
|
|
28185
|
+
"required": true
|
|
28186
|
+
}
|
|
28187
|
+
},
|
|
28188
|
+
"description": "Show a theme's settings values (banners, shop introduction, menus, logo...) and the settings its schema declares",
|
|
28189
|
+
"examples": [
|
|
28190
|
+
"ecomweb theme settings get 55",
|
|
28191
|
+
"ecomweb theme settings get 55 --fields values"
|
|
28192
|
+
],
|
|
28193
|
+
"flags": {
|
|
28194
|
+
"store-ref": {
|
|
28195
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
28196
|
+
"env": "ECOMWEB_STORE_REF",
|
|
28197
|
+
"name": "store-ref",
|
|
28198
|
+
"hasDynamicHelp": false,
|
|
28199
|
+
"multiple": false,
|
|
28200
|
+
"type": "option"
|
|
28201
|
+
},
|
|
28202
|
+
"api-key": {
|
|
28203
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
28204
|
+
"env": "ECOMWEB_API_KEY",
|
|
28205
|
+
"name": "api-key",
|
|
28206
|
+
"hasDynamicHelp": false,
|
|
28207
|
+
"multiple": false,
|
|
28208
|
+
"type": "option"
|
|
28209
|
+
},
|
|
28210
|
+
"api-url": {
|
|
28211
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
28212
|
+
"env": "ECOMWEB_API_URL",
|
|
28213
|
+
"name": "api-url",
|
|
28214
|
+
"hasDynamicHelp": false,
|
|
28215
|
+
"multiple": false,
|
|
28216
|
+
"type": "option"
|
|
28217
|
+
},
|
|
28218
|
+
"output": {
|
|
28219
|
+
"description": "Output format",
|
|
28220
|
+
"name": "output",
|
|
28221
|
+
"default": "json",
|
|
28222
|
+
"hasDynamicHelp": false,
|
|
28223
|
+
"multiple": false,
|
|
28224
|
+
"options": [
|
|
28225
|
+
"json",
|
|
28226
|
+
"table",
|
|
28227
|
+
"csv"
|
|
28228
|
+
],
|
|
28229
|
+
"type": "option"
|
|
28230
|
+
},
|
|
28231
|
+
"quiet": {
|
|
28232
|
+
"description": "Suppress non-data output",
|
|
28233
|
+
"name": "quiet",
|
|
28234
|
+
"allowNo": false,
|
|
28235
|
+
"type": "boolean"
|
|
28236
|
+
},
|
|
28237
|
+
"dry-run": {
|
|
28238
|
+
"description": "Preview without executing",
|
|
28239
|
+
"name": "dry-run",
|
|
28240
|
+
"allowNo": false,
|
|
28241
|
+
"type": "boolean"
|
|
28242
|
+
},
|
|
28243
|
+
"profile": {
|
|
28244
|
+
"description": "Named config profile",
|
|
28245
|
+
"name": "profile",
|
|
28246
|
+
"hasDynamicHelp": false,
|
|
28247
|
+
"multiple": false,
|
|
28248
|
+
"type": "option"
|
|
28249
|
+
},
|
|
28250
|
+
"full": {
|
|
28251
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
28252
|
+
"name": "full",
|
|
28253
|
+
"allowNo": false,
|
|
28254
|
+
"type": "boolean"
|
|
28255
|
+
},
|
|
28256
|
+
"fields": {
|
|
28257
|
+
"description": "Comma-separated field names to include",
|
|
28258
|
+
"name": "fields",
|
|
28259
|
+
"hasDynamicHelp": false,
|
|
28260
|
+
"multiple": false,
|
|
28261
|
+
"type": "option"
|
|
28262
|
+
},
|
|
28263
|
+
"exclude": {
|
|
28264
|
+
"description": "Comma-separated field names to exclude",
|
|
28265
|
+
"name": "exclude",
|
|
28266
|
+
"hasDynamicHelp": false,
|
|
28267
|
+
"multiple": false,
|
|
28268
|
+
"type": "option"
|
|
28269
|
+
}
|
|
28270
|
+
},
|
|
28271
|
+
"hasDynamicHelp": false,
|
|
28272
|
+
"hiddenAliases": [],
|
|
28273
|
+
"id": "theme:settings:get",
|
|
28274
|
+
"pluginAlias": "@ecomweb/cli",
|
|
28275
|
+
"pluginName": "@ecomweb/cli",
|
|
28276
|
+
"pluginType": "core",
|
|
28277
|
+
"strict": true,
|
|
28278
|
+
"enableJsonFlag": false,
|
|
28279
|
+
"isESM": false,
|
|
28280
|
+
"relativePath": [
|
|
28281
|
+
"dist",
|
|
28282
|
+
"commands",
|
|
28283
|
+
"theme",
|
|
28284
|
+
"settings",
|
|
28285
|
+
"get.js"
|
|
28286
|
+
]
|
|
28287
|
+
},
|
|
28288
|
+
"theme:settings:set": {
|
|
28289
|
+
"aliases": [],
|
|
28290
|
+
"args": {
|
|
28291
|
+
"id": {
|
|
28292
|
+
"description": "The theme (see ecomweb theme list)",
|
|
28293
|
+
"name": "id",
|
|
28294
|
+
"required": true
|
|
28295
|
+
}
|
|
28296
|
+
},
|
|
28297
|
+
"description": "Change a theme's settings values. Merges over the saved values (null clears one); keys are checked against the theme's settings schema. On the live theme shoppers see the change right away",
|
|
28298
|
+
"examples": [
|
|
28299
|
+
"ecomweb theme settings set 55 --set shop_introduction='Chào mừng!'",
|
|
28300
|
+
"ecomweb theme settings set 55 --set show_banner=true --set banner_count=3",
|
|
28301
|
+
"ecomweb theme settings set 55 --file values.json --dry-run"
|
|
28302
|
+
],
|
|
28303
|
+
"flags": {
|
|
28304
|
+
"store-ref": {
|
|
28305
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
28306
|
+
"env": "ECOMWEB_STORE_REF",
|
|
28307
|
+
"name": "store-ref",
|
|
28308
|
+
"hasDynamicHelp": false,
|
|
28309
|
+
"multiple": false,
|
|
28310
|
+
"type": "option"
|
|
28311
|
+
},
|
|
28312
|
+
"api-key": {
|
|
28313
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
28314
|
+
"env": "ECOMWEB_API_KEY",
|
|
28315
|
+
"name": "api-key",
|
|
28316
|
+
"hasDynamicHelp": false,
|
|
28317
|
+
"multiple": false,
|
|
28318
|
+
"type": "option"
|
|
28319
|
+
},
|
|
28320
|
+
"api-url": {
|
|
28321
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
28322
|
+
"env": "ECOMWEB_API_URL",
|
|
28323
|
+
"name": "api-url",
|
|
28324
|
+
"hasDynamicHelp": false,
|
|
28325
|
+
"multiple": false,
|
|
28326
|
+
"type": "option"
|
|
28327
|
+
},
|
|
28328
|
+
"output": {
|
|
28329
|
+
"description": "Output format",
|
|
28330
|
+
"name": "output",
|
|
28331
|
+
"default": "json",
|
|
28332
|
+
"hasDynamicHelp": false,
|
|
28333
|
+
"multiple": false,
|
|
28334
|
+
"options": [
|
|
28335
|
+
"json",
|
|
28336
|
+
"table",
|
|
28337
|
+
"csv"
|
|
28338
|
+
],
|
|
28339
|
+
"type": "option"
|
|
28340
|
+
},
|
|
28341
|
+
"quiet": {
|
|
28342
|
+
"description": "Suppress non-data output",
|
|
28343
|
+
"name": "quiet",
|
|
28344
|
+
"allowNo": false,
|
|
28345
|
+
"type": "boolean"
|
|
28346
|
+
},
|
|
28347
|
+
"dry-run": {
|
|
28348
|
+
"description": "Preview without executing",
|
|
28349
|
+
"name": "dry-run",
|
|
28350
|
+
"allowNo": false,
|
|
28351
|
+
"type": "boolean"
|
|
28352
|
+
},
|
|
28353
|
+
"profile": {
|
|
28354
|
+
"description": "Named config profile",
|
|
28355
|
+
"name": "profile",
|
|
28356
|
+
"hasDynamicHelp": false,
|
|
28357
|
+
"multiple": false,
|
|
28358
|
+
"type": "option"
|
|
28359
|
+
},
|
|
28360
|
+
"full": {
|
|
28361
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
28362
|
+
"name": "full",
|
|
28363
|
+
"allowNo": false,
|
|
28364
|
+
"type": "boolean"
|
|
28365
|
+
},
|
|
28366
|
+
"fields": {
|
|
28367
|
+
"description": "Comma-separated field names to include",
|
|
28368
|
+
"name": "fields",
|
|
28369
|
+
"hasDynamicHelp": false,
|
|
28370
|
+
"multiple": false,
|
|
28371
|
+
"type": "option"
|
|
28372
|
+
},
|
|
28373
|
+
"exclude": {
|
|
28374
|
+
"description": "Comma-separated field names to exclude",
|
|
28375
|
+
"name": "exclude",
|
|
28376
|
+
"hasDynamicHelp": false,
|
|
28377
|
+
"multiple": false,
|
|
28378
|
+
"type": "option"
|
|
28379
|
+
},
|
|
28380
|
+
"set": {
|
|
28381
|
+
"description": "key=value; the value is JSON when it parses (true, 3, null, {...}), else text. Repeatable",
|
|
28382
|
+
"name": "set",
|
|
28383
|
+
"hasDynamicHelp": false,
|
|
28384
|
+
"multiple": true,
|
|
28385
|
+
"type": "option"
|
|
28386
|
+
},
|
|
28387
|
+
"file": {
|
|
28388
|
+
"description": "A JSON object of values (applied before --set)",
|
|
28389
|
+
"name": "file",
|
|
28390
|
+
"hasDynamicHelp": false,
|
|
28391
|
+
"multiple": false,
|
|
28392
|
+
"type": "option"
|
|
28393
|
+
},
|
|
28394
|
+
"stdin": {
|
|
28395
|
+
"description": "Read the JSON object of values from stdin",
|
|
28396
|
+
"name": "stdin",
|
|
28397
|
+
"allowNo": false,
|
|
28398
|
+
"type": "boolean"
|
|
28399
|
+
},
|
|
28400
|
+
"force": {
|
|
28401
|
+
"description": "Send keys the theme's schema doesn't declare",
|
|
28402
|
+
"name": "force",
|
|
28403
|
+
"allowNo": false,
|
|
28404
|
+
"type": "boolean"
|
|
28405
|
+
}
|
|
28406
|
+
},
|
|
28407
|
+
"hasDynamicHelp": false,
|
|
28408
|
+
"hiddenAliases": [],
|
|
28409
|
+
"id": "theme:settings:set",
|
|
28410
|
+
"pluginAlias": "@ecomweb/cli",
|
|
28411
|
+
"pluginName": "@ecomweb/cli",
|
|
28412
|
+
"pluginType": "core",
|
|
28413
|
+
"strict": true,
|
|
28414
|
+
"enableJsonFlag": false,
|
|
28415
|
+
"isESM": false,
|
|
28416
|
+
"relativePath": [
|
|
28417
|
+
"dist",
|
|
28418
|
+
"commands",
|
|
28419
|
+
"theme",
|
|
28420
|
+
"settings",
|
|
28421
|
+
"set.js"
|
|
28422
|
+
]
|
|
28306
28423
|
}
|
|
28307
28424
|
},
|
|
28308
|
-
"version": "
|
|
28425
|
+
"version": "1.2.1"
|
|
28309
28426
|
}
|