@ecomweb/cli 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/storefront/init.d.ts +2 -1
- package/dist/commands/storefront/init.js +10 -5
- package/dist/commands/storefront/init.js.map +1 -1
- package/dist/lib/project-setup.d.ts +1 -0
- package/dist/lib/project-setup.js +12 -0
- package/dist/lib/project-setup.js.map +1 -1
- package/oclif.manifest.json +1320 -1320
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -3646,12 +3646,14 @@
|
|
|
3646
3646
|
"update.js"
|
|
3647
3647
|
]
|
|
3648
3648
|
},
|
|
3649
|
-
"blog-
|
|
3649
|
+
"blog-posts:all": {
|
|
3650
3650
|
"aliases": [],
|
|
3651
3651
|
"args": {},
|
|
3652
|
-
"description": "Get all blog
|
|
3652
|
+
"description": "Get all blog posts (no pagination, summary fields by default)",
|
|
3653
3653
|
"examples": [
|
|
3654
|
-
"ecomweb blog-
|
|
3654
|
+
"ecomweb blog-posts all",
|
|
3655
|
+
"ecomweb blog-posts all --status published",
|
|
3656
|
+
"ecomweb blog-posts all --full"
|
|
3655
3657
|
],
|
|
3656
3658
|
"flags": {
|
|
3657
3659
|
"store-ref": {
|
|
@@ -3729,11 +3731,24 @@
|
|
|
3729
3731
|
"hasDynamicHelp": false,
|
|
3730
3732
|
"multiple": false,
|
|
3731
3733
|
"type": "option"
|
|
3734
|
+
},
|
|
3735
|
+
"status": {
|
|
3736
|
+
"description": "Filter by status",
|
|
3737
|
+
"name": "status",
|
|
3738
|
+
"hasDynamicHelp": false,
|
|
3739
|
+
"multiple": false,
|
|
3740
|
+
"options": [
|
|
3741
|
+
"draft",
|
|
3742
|
+
"published",
|
|
3743
|
+
"scheduled",
|
|
3744
|
+
"unlisted"
|
|
3745
|
+
],
|
|
3746
|
+
"type": "option"
|
|
3732
3747
|
}
|
|
3733
3748
|
},
|
|
3734
3749
|
"hasDynamicHelp": false,
|
|
3735
3750
|
"hiddenAliases": [],
|
|
3736
|
-
"id": "blog-
|
|
3751
|
+
"id": "blog-posts:all",
|
|
3737
3752
|
"pluginAlias": "@ecomweb/cli",
|
|
3738
3753
|
"pluginName": "@ecomweb/cli",
|
|
3739
3754
|
"pluginType": "core",
|
|
@@ -3743,17 +3758,18 @@
|
|
|
3743
3758
|
"relativePath": [
|
|
3744
3759
|
"dist",
|
|
3745
3760
|
"commands",
|
|
3746
|
-
"blog-
|
|
3761
|
+
"blog-posts",
|
|
3747
3762
|
"all.js"
|
|
3748
3763
|
]
|
|
3749
3764
|
},
|
|
3750
|
-
"blog-
|
|
3765
|
+
"blog-posts:batch-create": {
|
|
3751
3766
|
"aliases": [],
|
|
3752
3767
|
"args": {},
|
|
3753
|
-
"description": "
|
|
3768
|
+
"description": "Batch create blog posts from a JSON array",
|
|
3754
3769
|
"examples": [
|
|
3755
|
-
"
|
|
3756
|
-
"ecomweb blog-
|
|
3770
|
+
"echo '[{\"title\":\"A\",\"slug\":\"a\"},{\"title\":\"B\",\"slug\":\"b\"}]' | ecomweb blog-posts batch-create --stdin",
|
|
3771
|
+
"ecomweb blog-posts batch-create --file posts.json",
|
|
3772
|
+
"ecomweb blog-posts batch-create --file posts.json --dry-run"
|
|
3757
3773
|
],
|
|
3758
3774
|
"flags": {
|
|
3759
3775
|
"store-ref": {
|
|
@@ -3833,57 +3849,36 @@
|
|
|
3833
3849
|
"type": "option"
|
|
3834
3850
|
},
|
|
3835
3851
|
"stdin": {
|
|
3836
|
-
"description": "Read JSON
|
|
3852
|
+
"description": "Read JSON array from stdin",
|
|
3837
3853
|
"name": "stdin",
|
|
3838
3854
|
"allowNo": false,
|
|
3839
3855
|
"type": "boolean"
|
|
3840
3856
|
},
|
|
3841
3857
|
"file": {
|
|
3842
|
-
"description": "Read JSON
|
|
3858
|
+
"description": "Read JSON array from file",
|
|
3843
3859
|
"name": "file",
|
|
3844
3860
|
"hasDynamicHelp": false,
|
|
3845
3861
|
"multiple": false,
|
|
3846
3862
|
"type": "option"
|
|
3847
3863
|
},
|
|
3848
|
-
"
|
|
3849
|
-
"description": "
|
|
3850
|
-
"name": "
|
|
3851
|
-
"
|
|
3852
|
-
"multiple": false,
|
|
3853
|
-
"type": "option"
|
|
3854
|
-
},
|
|
3855
|
-
"slug": {
|
|
3856
|
-
"description": "URL slug",
|
|
3857
|
-
"name": "slug",
|
|
3858
|
-
"hasDynamicHelp": false,
|
|
3859
|
-
"multiple": false,
|
|
3860
|
-
"type": "option"
|
|
3861
|
-
},
|
|
3862
|
-
"description": {
|
|
3863
|
-
"description": "Category description",
|
|
3864
|
-
"name": "description",
|
|
3865
|
-
"hasDynamicHelp": false,
|
|
3866
|
-
"multiple": false,
|
|
3867
|
-
"type": "option"
|
|
3868
|
-
},
|
|
3869
|
-
"color": {
|
|
3870
|
-
"description": "Hex color (e.g., #FF0000)",
|
|
3871
|
-
"name": "color",
|
|
3864
|
+
"concurrency": {
|
|
3865
|
+
"description": "Max concurrent requests",
|
|
3866
|
+
"name": "concurrency",
|
|
3867
|
+
"default": 5,
|
|
3872
3868
|
"hasDynamicHelp": false,
|
|
3873
3869
|
"multiple": false,
|
|
3874
3870
|
"type": "option"
|
|
3875
3871
|
},
|
|
3876
|
-
"
|
|
3877
|
-
"description": "
|
|
3878
|
-
"name": "
|
|
3879
|
-
"
|
|
3880
|
-
"
|
|
3881
|
-
"type": "option"
|
|
3872
|
+
"continue-on-error": {
|
|
3873
|
+
"description": "Continue if individual items fail",
|
|
3874
|
+
"name": "continue-on-error",
|
|
3875
|
+
"allowNo": false,
|
|
3876
|
+
"type": "boolean"
|
|
3882
3877
|
}
|
|
3883
3878
|
},
|
|
3884
3879
|
"hasDynamicHelp": false,
|
|
3885
3880
|
"hiddenAliases": [],
|
|
3886
|
-
"id": "blog-
|
|
3881
|
+
"id": "blog-posts:batch-create",
|
|
3887
3882
|
"pluginAlias": "@ecomweb/cli",
|
|
3888
3883
|
"pluginName": "@ecomweb/cli",
|
|
3889
3884
|
"pluginType": "core",
|
|
@@ -3893,23 +3888,17 @@
|
|
|
3893
3888
|
"relativePath": [
|
|
3894
3889
|
"dist",
|
|
3895
3890
|
"commands",
|
|
3896
|
-
"blog-
|
|
3897
|
-
"create.js"
|
|
3891
|
+
"blog-posts",
|
|
3892
|
+
"batch-create.js"
|
|
3898
3893
|
]
|
|
3899
3894
|
},
|
|
3900
|
-
"blog-
|
|
3895
|
+
"blog-posts:batch-delete": {
|
|
3901
3896
|
"aliases": [],
|
|
3902
|
-
"args": {
|
|
3903
|
-
|
|
3904
|
-
"description": "Category ID",
|
|
3905
|
-
"name": "id",
|
|
3906
|
-
"required": true
|
|
3907
|
-
}
|
|
3908
|
-
},
|
|
3909
|
-
"description": "Delete a blog category by ID",
|
|
3897
|
+
"args": {},
|
|
3898
|
+
"description": "Batch delete blog posts by IDs",
|
|
3910
3899
|
"examples": [
|
|
3911
|
-
"ecomweb blog-
|
|
3912
|
-
"ecomweb blog-
|
|
3900
|
+
"ecomweb blog-posts batch-delete --ids 1,2,3",
|
|
3901
|
+
"ecomweb blog-posts batch-delete --ids 1,2,3 --dry-run"
|
|
3913
3902
|
],
|
|
3914
3903
|
"flags": {
|
|
3915
3904
|
"store-ref": {
|
|
@@ -3987,11 +3976,33 @@
|
|
|
3987
3976
|
"hasDynamicHelp": false,
|
|
3988
3977
|
"multiple": false,
|
|
3989
3978
|
"type": "option"
|
|
3979
|
+
},
|
|
3980
|
+
"ids": {
|
|
3981
|
+
"description": "Comma-separated post IDs to delete",
|
|
3982
|
+
"name": "ids",
|
|
3983
|
+
"required": true,
|
|
3984
|
+
"hasDynamicHelp": false,
|
|
3985
|
+
"multiple": false,
|
|
3986
|
+
"type": "option"
|
|
3987
|
+
},
|
|
3988
|
+
"concurrency": {
|
|
3989
|
+
"description": "Max concurrent requests",
|
|
3990
|
+
"name": "concurrency",
|
|
3991
|
+
"default": 5,
|
|
3992
|
+
"hasDynamicHelp": false,
|
|
3993
|
+
"multiple": false,
|
|
3994
|
+
"type": "option"
|
|
3995
|
+
},
|
|
3996
|
+
"continue-on-error": {
|
|
3997
|
+
"description": "Continue if individual deletes fail",
|
|
3998
|
+
"name": "continue-on-error",
|
|
3999
|
+
"allowNo": false,
|
|
4000
|
+
"type": "boolean"
|
|
3990
4001
|
}
|
|
3991
4002
|
},
|
|
3992
4003
|
"hasDynamicHelp": false,
|
|
3993
4004
|
"hiddenAliases": [],
|
|
3994
|
-
"id": "blog-
|
|
4005
|
+
"id": "blog-posts:batch-delete",
|
|
3995
4006
|
"pluginAlias": "@ecomweb/cli",
|
|
3996
4007
|
"pluginName": "@ecomweb/cli",
|
|
3997
4008
|
"pluginType": "core",
|
|
@@ -4001,18 +4012,18 @@
|
|
|
4001
4012
|
"relativePath": [
|
|
4002
4013
|
"dist",
|
|
4003
4014
|
"commands",
|
|
4004
|
-
"blog-
|
|
4005
|
-
"delete.js"
|
|
4015
|
+
"blog-posts",
|
|
4016
|
+
"batch-delete.js"
|
|
4006
4017
|
]
|
|
4007
4018
|
},
|
|
4008
|
-
"blog-
|
|
4019
|
+
"blog-posts:batch-update": {
|
|
4009
4020
|
"aliases": [],
|
|
4010
4021
|
"args": {},
|
|
4011
|
-
"description": "
|
|
4022
|
+
"description": "Batch update blog posts from a JSON array (each item must have an id)",
|
|
4012
4023
|
"examples": [
|
|
4013
|
-
"ecomweb blog-
|
|
4014
|
-
"ecomweb blog-
|
|
4015
|
-
"ecomweb blog-
|
|
4024
|
+
"echo '[{\"id\":1,\"status\":\"published\"},{\"id\":2,\"status\":\"published\"}]' | ecomweb blog-posts batch-update --stdin",
|
|
4025
|
+
"ecomweb blog-posts batch-update --file updates.json --dry-run",
|
|
4026
|
+
"ecomweb blog-posts batch-update --filter '{\"status\":\"draft\"}' --set '{\"status\":\"published\"}'"
|
|
4016
4027
|
],
|
|
4017
4028
|
"flags": {
|
|
4018
4029
|
"store-ref": {
|
|
@@ -4091,57 +4102,51 @@
|
|
|
4091
4102
|
"multiple": false,
|
|
4092
4103
|
"type": "option"
|
|
4093
4104
|
},
|
|
4094
|
-
"
|
|
4095
|
-
"description": "
|
|
4096
|
-
"name": "
|
|
4097
|
-
"hasDynamicHelp": false,
|
|
4098
|
-
"multiple": false,
|
|
4099
|
-
"type": "option"
|
|
4100
|
-
},
|
|
4101
|
-
"include-post-counts": {
|
|
4102
|
-
"description": "Include post count per category",
|
|
4103
|
-
"name": "include-post-counts",
|
|
4105
|
+
"stdin": {
|
|
4106
|
+
"description": "Read JSON array from stdin (each item must have id)",
|
|
4107
|
+
"name": "stdin",
|
|
4104
4108
|
"allowNo": false,
|
|
4105
4109
|
"type": "boolean"
|
|
4106
4110
|
},
|
|
4107
|
-
"
|
|
4108
|
-
"description": "
|
|
4109
|
-
"name": "
|
|
4111
|
+
"file": {
|
|
4112
|
+
"description": "Read JSON array from file",
|
|
4113
|
+
"name": "file",
|
|
4110
4114
|
"hasDynamicHelp": false,
|
|
4111
4115
|
"multiple": false,
|
|
4112
4116
|
"type": "option"
|
|
4113
4117
|
},
|
|
4114
|
-
"
|
|
4115
|
-
"description": "
|
|
4116
|
-
"name": "
|
|
4118
|
+
"filter": {
|
|
4119
|
+
"description": "JSON filter to find posts (used with --set)",
|
|
4120
|
+
"name": "filter",
|
|
4117
4121
|
"hasDynamicHelp": false,
|
|
4118
4122
|
"multiple": false,
|
|
4119
|
-
"options": [
|
|
4120
|
-
"asc",
|
|
4121
|
-
"desc"
|
|
4122
|
-
],
|
|
4123
4123
|
"type": "option"
|
|
4124
4124
|
},
|
|
4125
|
-
"
|
|
4126
|
-
"description": "
|
|
4127
|
-
"name": "
|
|
4128
|
-
"default": 20,
|
|
4125
|
+
"set": {
|
|
4126
|
+
"description": "JSON object of fields to set (used with --filter)",
|
|
4127
|
+
"name": "set",
|
|
4129
4128
|
"hasDynamicHelp": false,
|
|
4130
4129
|
"multiple": false,
|
|
4131
4130
|
"type": "option"
|
|
4132
4131
|
},
|
|
4133
|
-
"
|
|
4134
|
-
"description": "
|
|
4135
|
-
"name": "
|
|
4136
|
-
"default":
|
|
4132
|
+
"concurrency": {
|
|
4133
|
+
"description": "Max concurrent requests",
|
|
4134
|
+
"name": "concurrency",
|
|
4135
|
+
"default": 5,
|
|
4137
4136
|
"hasDynamicHelp": false,
|
|
4138
4137
|
"multiple": false,
|
|
4139
4138
|
"type": "option"
|
|
4139
|
+
},
|
|
4140
|
+
"continue-on-error": {
|
|
4141
|
+
"description": "Continue if individual items fail",
|
|
4142
|
+
"name": "continue-on-error",
|
|
4143
|
+
"allowNo": false,
|
|
4144
|
+
"type": "boolean"
|
|
4140
4145
|
}
|
|
4141
4146
|
},
|
|
4142
4147
|
"hasDynamicHelp": false,
|
|
4143
4148
|
"hiddenAliases": [],
|
|
4144
|
-
"id": "blog-
|
|
4149
|
+
"id": "blog-posts:batch-update",
|
|
4145
4150
|
"pluginAlias": "@ecomweb/cli",
|
|
4146
4151
|
"pluginName": "@ecomweb/cli",
|
|
4147
4152
|
"pluginType": "core",
|
|
@@ -4151,23 +4156,19 @@
|
|
|
4151
4156
|
"relativePath": [
|
|
4152
4157
|
"dist",
|
|
4153
4158
|
"commands",
|
|
4154
|
-
"blog-
|
|
4155
|
-
"
|
|
4159
|
+
"blog-posts",
|
|
4160
|
+
"batch-update.js"
|
|
4156
4161
|
]
|
|
4157
4162
|
},
|
|
4158
|
-
"blog-
|
|
4163
|
+
"blog-posts:create": {
|
|
4159
4164
|
"aliases": [],
|
|
4160
|
-
"args": {
|
|
4161
|
-
|
|
4162
|
-
"description": "Category ID",
|
|
4163
|
-
"name": "id",
|
|
4164
|
-
"required": true
|
|
4165
|
-
}
|
|
4166
|
-
},
|
|
4167
|
-
"description": "Update a blog category by ID",
|
|
4165
|
+
"args": {},
|
|
4166
|
+
"description": "Create a new blog post",
|
|
4168
4167
|
"examples": [
|
|
4169
|
-
"ecomweb blog-
|
|
4170
|
-
"ecomweb blog-
|
|
4168
|
+
"ecomweb blog-posts create --stdin <<< '{\"title\":\"My Post\",\"slug\":\"my-post\",\"status\":\"draft\"}'",
|
|
4169
|
+
"ecomweb blog-posts create --title 'My Post' --slug my-post --status draft",
|
|
4170
|
+
"cat post.json | ecomweb blog-posts create --stdin",
|
|
4171
|
+
"ecomweb blog-posts create --file post.json"
|
|
4171
4172
|
],
|
|
4172
4173
|
"flags": {
|
|
4173
4174
|
"store-ref": {
|
|
@@ -4259,9 +4260,9 @@
|
|
|
4259
4260
|
"multiple": false,
|
|
4260
4261
|
"type": "option"
|
|
4261
4262
|
},
|
|
4262
|
-
"
|
|
4263
|
-
"description": "
|
|
4264
|
-
"name": "
|
|
4263
|
+
"title": {
|
|
4264
|
+
"description": "Post title",
|
|
4265
|
+
"name": "title",
|
|
4265
4266
|
"hasDynamicHelp": false,
|
|
4266
4267
|
"multiple": false,
|
|
4267
4268
|
"type": "option"
|
|
@@ -4273,52 +4274,104 @@
|
|
|
4273
4274
|
"multiple": false,
|
|
4274
4275
|
"type": "option"
|
|
4275
4276
|
},
|
|
4276
|
-
"
|
|
4277
|
-
"description": "
|
|
4278
|
-
"name": "
|
|
4277
|
+
"content": {
|
|
4278
|
+
"description": "HTML content",
|
|
4279
|
+
"name": "content",
|
|
4279
4280
|
"hasDynamicHelp": false,
|
|
4280
4281
|
"multiple": false,
|
|
4281
4282
|
"type": "option"
|
|
4282
4283
|
},
|
|
4283
|
-
"
|
|
4284
|
-
"description": "
|
|
4285
|
-
"name": "
|
|
4284
|
+
"excerpt": {
|
|
4285
|
+
"description": "Post excerpt",
|
|
4286
|
+
"name": "excerpt",
|
|
4286
4287
|
"hasDynamicHelp": false,
|
|
4287
4288
|
"multiple": false,
|
|
4288
4289
|
"type": "option"
|
|
4289
4290
|
},
|
|
4290
|
-
"
|
|
4291
|
-
"description": "
|
|
4292
|
-
"name": "
|
|
4291
|
+
"status": {
|
|
4292
|
+
"description": "Post status",
|
|
4293
|
+
"name": "status",
|
|
4293
4294
|
"hasDynamicHelp": false,
|
|
4294
4295
|
"multiple": false,
|
|
4296
|
+
"options": [
|
|
4297
|
+
"draft",
|
|
4298
|
+
"published",
|
|
4299
|
+
"scheduled",
|
|
4300
|
+
"unlisted"
|
|
4301
|
+
],
|
|
4295
4302
|
"type": "option"
|
|
4296
|
-
}
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
"
|
|
4311
|
-
|
|
4303
|
+
},
|
|
4304
|
+
"featured-image-url": {
|
|
4305
|
+
"description": "Featured image URL",
|
|
4306
|
+
"name": "featured-image-url",
|
|
4307
|
+
"hasDynamicHelp": false,
|
|
4308
|
+
"multiple": false,
|
|
4309
|
+
"type": "option"
|
|
4310
|
+
},
|
|
4311
|
+
"is-featured": {
|
|
4312
|
+
"description": "Mark as featured",
|
|
4313
|
+
"name": "is-featured",
|
|
4314
|
+
"allowNo": false,
|
|
4315
|
+
"type": "boolean"
|
|
4316
|
+
},
|
|
4317
|
+
"category-ids": {
|
|
4318
|
+
"description": "Comma-separated category IDs",
|
|
4319
|
+
"name": "category-ids",
|
|
4320
|
+
"hasDynamicHelp": false,
|
|
4321
|
+
"multiple": false,
|
|
4322
|
+
"type": "option"
|
|
4323
|
+
},
|
|
4324
|
+
"tag-ids": {
|
|
4325
|
+
"description": "Comma-separated tag IDs",
|
|
4326
|
+
"name": "tag-ids",
|
|
4327
|
+
"hasDynamicHelp": false,
|
|
4328
|
+
"multiple": false,
|
|
4329
|
+
"type": "option"
|
|
4330
|
+
},
|
|
4331
|
+
"product-ids": {
|
|
4332
|
+
"description": "Comma-separated product IDs",
|
|
4333
|
+
"name": "product-ids",
|
|
4334
|
+
"hasDynamicHelp": false,
|
|
4335
|
+
"multiple": false,
|
|
4336
|
+
"type": "option"
|
|
4337
|
+
},
|
|
4338
|
+
"scheduled-at": {
|
|
4339
|
+
"description": "Schedule date (ISO datetime)",
|
|
4340
|
+
"name": "scheduled-at",
|
|
4341
|
+
"hasDynamicHelp": false,
|
|
4342
|
+
"multiple": false,
|
|
4343
|
+
"type": "option"
|
|
4344
|
+
}
|
|
4345
|
+
},
|
|
4346
|
+
"hasDynamicHelp": false,
|
|
4347
|
+
"hiddenAliases": [],
|
|
4348
|
+
"id": "blog-posts:create",
|
|
4349
|
+
"pluginAlias": "@ecomweb/cli",
|
|
4350
|
+
"pluginName": "@ecomweb/cli",
|
|
4351
|
+
"pluginType": "core",
|
|
4352
|
+
"strict": true,
|
|
4353
|
+
"enableJsonFlag": false,
|
|
4354
|
+
"isESM": false,
|
|
4355
|
+
"relativePath": [
|
|
4356
|
+
"dist",
|
|
4357
|
+
"commands",
|
|
4358
|
+
"blog-posts",
|
|
4359
|
+
"create.js"
|
|
4312
4360
|
]
|
|
4313
4361
|
},
|
|
4314
|
-
"blog-posts:
|
|
4362
|
+
"blog-posts:delete": {
|
|
4315
4363
|
"aliases": [],
|
|
4316
|
-
"args": {
|
|
4317
|
-
|
|
4364
|
+
"args": {
|
|
4365
|
+
"id": {
|
|
4366
|
+
"description": "Blog post ID",
|
|
4367
|
+
"name": "id",
|
|
4368
|
+
"required": true
|
|
4369
|
+
}
|
|
4370
|
+
},
|
|
4371
|
+
"description": "Delete a blog post by ID",
|
|
4318
4372
|
"examples": [
|
|
4319
|
-
"ecomweb blog-posts
|
|
4320
|
-
"ecomweb blog-posts
|
|
4321
|
-
"ecomweb blog-posts all --full"
|
|
4373
|
+
"ecomweb blog-posts delete 42",
|
|
4374
|
+
"ecomweb blog-posts delete 42 --dry-run"
|
|
4322
4375
|
],
|
|
4323
4376
|
"flags": {
|
|
4324
4377
|
"store-ref": {
|
|
@@ -4396,24 +4449,11 @@
|
|
|
4396
4449
|
"hasDynamicHelp": false,
|
|
4397
4450
|
"multiple": false,
|
|
4398
4451
|
"type": "option"
|
|
4399
|
-
},
|
|
4400
|
-
"status": {
|
|
4401
|
-
"description": "Filter by status",
|
|
4402
|
-
"name": "status",
|
|
4403
|
-
"hasDynamicHelp": false,
|
|
4404
|
-
"multiple": false,
|
|
4405
|
-
"options": [
|
|
4406
|
-
"draft",
|
|
4407
|
-
"published",
|
|
4408
|
-
"scheduled",
|
|
4409
|
-
"unlisted"
|
|
4410
|
-
],
|
|
4411
|
-
"type": "option"
|
|
4412
4452
|
}
|
|
4413
4453
|
},
|
|
4414
4454
|
"hasDynamicHelp": false,
|
|
4415
4455
|
"hiddenAliases": [],
|
|
4416
|
-
"id": "blog-posts:
|
|
4456
|
+
"id": "blog-posts:delete",
|
|
4417
4457
|
"pluginAlias": "@ecomweb/cli",
|
|
4418
4458
|
"pluginName": "@ecomweb/cli",
|
|
4419
4459
|
"pluginType": "core",
|
|
@@ -4424,17 +4464,22 @@
|
|
|
4424
4464
|
"dist",
|
|
4425
4465
|
"commands",
|
|
4426
4466
|
"blog-posts",
|
|
4427
|
-
"
|
|
4467
|
+
"delete.js"
|
|
4428
4468
|
]
|
|
4429
4469
|
},
|
|
4430
|
-
"blog-posts:
|
|
4470
|
+
"blog-posts:get": {
|
|
4431
4471
|
"aliases": [],
|
|
4432
|
-
"args": {
|
|
4433
|
-
|
|
4472
|
+
"args": {
|
|
4473
|
+
"id": {
|
|
4474
|
+
"description": "Blog post ID",
|
|
4475
|
+
"name": "id",
|
|
4476
|
+
"required": true
|
|
4477
|
+
}
|
|
4478
|
+
},
|
|
4479
|
+
"description": "Get a single blog post by ID (includes full content)",
|
|
4434
4480
|
"examples": [
|
|
4435
|
-
"
|
|
4436
|
-
"ecomweb blog-posts
|
|
4437
|
-
"ecomweb blog-posts batch-create --file posts.json --dry-run"
|
|
4481
|
+
"ecomweb blog-posts get 42",
|
|
4482
|
+
"ecomweb blog-posts get 42 --fields id,title,status"
|
|
4438
4483
|
],
|
|
4439
4484
|
"flags": {
|
|
4440
4485
|
"store-ref": {
|
|
@@ -4512,38 +4557,11 @@
|
|
|
4512
4557
|
"hasDynamicHelp": false,
|
|
4513
4558
|
"multiple": false,
|
|
4514
4559
|
"type": "option"
|
|
4515
|
-
},
|
|
4516
|
-
"stdin": {
|
|
4517
|
-
"description": "Read JSON array from stdin",
|
|
4518
|
-
"name": "stdin",
|
|
4519
|
-
"allowNo": false,
|
|
4520
|
-
"type": "boolean"
|
|
4521
|
-
},
|
|
4522
|
-
"file": {
|
|
4523
|
-
"description": "Read JSON array from file",
|
|
4524
|
-
"name": "file",
|
|
4525
|
-
"hasDynamicHelp": false,
|
|
4526
|
-
"multiple": false,
|
|
4527
|
-
"type": "option"
|
|
4528
|
-
},
|
|
4529
|
-
"concurrency": {
|
|
4530
|
-
"description": "Max concurrent requests",
|
|
4531
|
-
"name": "concurrency",
|
|
4532
|
-
"default": 5,
|
|
4533
|
-
"hasDynamicHelp": false,
|
|
4534
|
-
"multiple": false,
|
|
4535
|
-
"type": "option"
|
|
4536
|
-
},
|
|
4537
|
-
"continue-on-error": {
|
|
4538
|
-
"description": "Continue if individual items fail",
|
|
4539
|
-
"name": "continue-on-error",
|
|
4540
|
-
"allowNo": false,
|
|
4541
|
-
"type": "boolean"
|
|
4542
4560
|
}
|
|
4543
4561
|
},
|
|
4544
4562
|
"hasDynamicHelp": false,
|
|
4545
4563
|
"hiddenAliases": [],
|
|
4546
|
-
"id": "blog-posts:
|
|
4564
|
+
"id": "blog-posts:get",
|
|
4547
4565
|
"pluginAlias": "@ecomweb/cli",
|
|
4548
4566
|
"pluginName": "@ecomweb/cli",
|
|
4549
4567
|
"pluginType": "core",
|
|
@@ -4554,16 +4572,22 @@
|
|
|
4554
4572
|
"dist",
|
|
4555
4573
|
"commands",
|
|
4556
4574
|
"blog-posts",
|
|
4557
|
-
"
|
|
4575
|
+
"get.js"
|
|
4558
4576
|
]
|
|
4559
4577
|
},
|
|
4560
|
-
"blog-posts:
|
|
4578
|
+
"blog-posts:import": {
|
|
4561
4579
|
"aliases": [],
|
|
4562
|
-
"args": {
|
|
4563
|
-
|
|
4580
|
+
"args": {
|
|
4581
|
+
"file": {
|
|
4582
|
+
"description": "Path to markdown file",
|
|
4583
|
+
"name": "file",
|
|
4584
|
+
"required": true
|
|
4585
|
+
}
|
|
4586
|
+
},
|
|
4587
|
+
"description": "Import a blog post from a markdown file",
|
|
4564
4588
|
"examples": [
|
|
4565
|
-
"ecomweb blog-posts
|
|
4566
|
-
"ecomweb blog-posts
|
|
4589
|
+
"ecomweb blog-posts import ./post.md",
|
|
4590
|
+
"ecomweb blog-posts import ./post.md --title 'My Post' --slug my-post --status published"
|
|
4567
4591
|
],
|
|
4568
4592
|
"flags": {
|
|
4569
4593
|
"store-ref": {
|
|
@@ -4642,32 +4666,37 @@
|
|
|
4642
4666
|
"multiple": false,
|
|
4643
4667
|
"type": "option"
|
|
4644
4668
|
},
|
|
4645
|
-
"
|
|
4646
|
-
"description": "
|
|
4647
|
-
"name": "
|
|
4648
|
-
"required": true,
|
|
4669
|
+
"title": {
|
|
4670
|
+
"description": "Post title (overrides markdown frontmatter)",
|
|
4671
|
+
"name": "title",
|
|
4649
4672
|
"hasDynamicHelp": false,
|
|
4650
4673
|
"multiple": false,
|
|
4651
4674
|
"type": "option"
|
|
4652
4675
|
},
|
|
4653
|
-
"
|
|
4654
|
-
"description": "
|
|
4655
|
-
"name": "
|
|
4656
|
-
"default": 5,
|
|
4676
|
+
"slug": {
|
|
4677
|
+
"description": "URL slug",
|
|
4678
|
+
"name": "slug",
|
|
4657
4679
|
"hasDynamicHelp": false,
|
|
4658
4680
|
"multiple": false,
|
|
4659
4681
|
"type": "option"
|
|
4660
4682
|
},
|
|
4661
|
-
"
|
|
4662
|
-
"description": "
|
|
4663
|
-
"name": "
|
|
4664
|
-
"
|
|
4665
|
-
"
|
|
4683
|
+
"status": {
|
|
4684
|
+
"description": "Post status",
|
|
4685
|
+
"name": "status",
|
|
4686
|
+
"hasDynamicHelp": false,
|
|
4687
|
+
"multiple": false,
|
|
4688
|
+
"options": [
|
|
4689
|
+
"draft",
|
|
4690
|
+
"published",
|
|
4691
|
+
"scheduled",
|
|
4692
|
+
"unlisted"
|
|
4693
|
+
],
|
|
4694
|
+
"type": "option"
|
|
4666
4695
|
}
|
|
4667
4696
|
},
|
|
4668
4697
|
"hasDynamicHelp": false,
|
|
4669
4698
|
"hiddenAliases": [],
|
|
4670
|
-
"id": "blog-posts:
|
|
4699
|
+
"id": "blog-posts:import",
|
|
4671
4700
|
"pluginAlias": "@ecomweb/cli",
|
|
4672
4701
|
"pluginName": "@ecomweb/cli",
|
|
4673
4702
|
"pluginType": "core",
|
|
@@ -4678,17 +4707,18 @@
|
|
|
4678
4707
|
"dist",
|
|
4679
4708
|
"commands",
|
|
4680
4709
|
"blog-posts",
|
|
4681
|
-
"
|
|
4710
|
+
"import.js"
|
|
4682
4711
|
]
|
|
4683
4712
|
},
|
|
4684
|
-
"blog-posts:
|
|
4713
|
+
"blog-posts:list": {
|
|
4685
4714
|
"aliases": [],
|
|
4686
4715
|
"args": {},
|
|
4687
|
-
"description": "
|
|
4716
|
+
"description": "List blog posts with pagination and filtering",
|
|
4688
4717
|
"examples": [
|
|
4689
|
-
"
|
|
4690
|
-
"ecomweb blog-posts
|
|
4691
|
-
"ecomweb blog-posts
|
|
4718
|
+
"ecomweb blog-posts list",
|
|
4719
|
+
"ecomweb blog-posts list --status published --limit 10",
|
|
4720
|
+
"ecomweb blog-posts list --category-id 3 --sort-by view_count --sort-order desc",
|
|
4721
|
+
"ecomweb blog-posts list --is-featured --output table"
|
|
4692
4722
|
],
|
|
4693
4723
|
"flags": {
|
|
4694
4724
|
"store-ref": {
|
|
@@ -4767,51 +4797,102 @@
|
|
|
4767
4797
|
"multiple": false,
|
|
4768
4798
|
"type": "option"
|
|
4769
4799
|
},
|
|
4770
|
-
"
|
|
4771
|
-
"description": "
|
|
4772
|
-
"name": "
|
|
4773
|
-
"
|
|
4774
|
-
"
|
|
4800
|
+
"status": {
|
|
4801
|
+
"description": "Filter by status",
|
|
4802
|
+
"name": "status",
|
|
4803
|
+
"hasDynamicHelp": false,
|
|
4804
|
+
"multiple": false,
|
|
4805
|
+
"options": [
|
|
4806
|
+
"draft",
|
|
4807
|
+
"published",
|
|
4808
|
+
"scheduled",
|
|
4809
|
+
"unlisted"
|
|
4810
|
+
],
|
|
4811
|
+
"type": "option"
|
|
4775
4812
|
},
|
|
4776
|
-
"
|
|
4777
|
-
"description": "
|
|
4778
|
-
"name": "
|
|
4813
|
+
"category-id": {
|
|
4814
|
+
"description": "Filter by category ID",
|
|
4815
|
+
"name": "category-id",
|
|
4779
4816
|
"hasDynamicHelp": false,
|
|
4780
4817
|
"multiple": false,
|
|
4781
4818
|
"type": "option"
|
|
4782
4819
|
},
|
|
4783
|
-
"
|
|
4784
|
-
"description": "
|
|
4785
|
-
"name": "
|
|
4820
|
+
"tag-id": {
|
|
4821
|
+
"description": "Filter by tag ID",
|
|
4822
|
+
"name": "tag-id",
|
|
4786
4823
|
"hasDynamicHelp": false,
|
|
4787
4824
|
"multiple": false,
|
|
4788
4825
|
"type": "option"
|
|
4789
4826
|
},
|
|
4790
|
-
"
|
|
4791
|
-
"description": "
|
|
4792
|
-
"name": "
|
|
4827
|
+
"is-featured": {
|
|
4828
|
+
"description": "Filter featured posts only",
|
|
4829
|
+
"name": "is-featured",
|
|
4830
|
+
"allowNo": false,
|
|
4831
|
+
"type": "boolean"
|
|
4832
|
+
},
|
|
4833
|
+
"search": {
|
|
4834
|
+
"description": "Search in title/content",
|
|
4835
|
+
"name": "search",
|
|
4793
4836
|
"hasDynamicHelp": false,
|
|
4794
4837
|
"multiple": false,
|
|
4795
4838
|
"type": "option"
|
|
4796
4839
|
},
|
|
4797
|
-
"
|
|
4798
|
-
"description": "
|
|
4799
|
-
"name": "
|
|
4800
|
-
"default": 5,
|
|
4840
|
+
"sort-by": {
|
|
4841
|
+
"description": "Sort field",
|
|
4842
|
+
"name": "sort-by",
|
|
4801
4843
|
"hasDynamicHelp": false,
|
|
4802
4844
|
"multiple": false,
|
|
4845
|
+
"options": [
|
|
4846
|
+
"created_at",
|
|
4847
|
+
"published_at",
|
|
4848
|
+
"title",
|
|
4849
|
+
"view_count"
|
|
4850
|
+
],
|
|
4803
4851
|
"type": "option"
|
|
4804
4852
|
},
|
|
4805
|
-
"
|
|
4806
|
-
"description": "
|
|
4807
|
-
"name": "
|
|
4853
|
+
"sort-order": {
|
|
4854
|
+
"description": "Sort direction",
|
|
4855
|
+
"name": "sort-order",
|
|
4856
|
+
"hasDynamicHelp": false,
|
|
4857
|
+
"multiple": false,
|
|
4858
|
+
"options": [
|
|
4859
|
+
"asc",
|
|
4860
|
+
"desc"
|
|
4861
|
+
],
|
|
4862
|
+
"type": "option"
|
|
4863
|
+
},
|
|
4864
|
+
"limit": {
|
|
4865
|
+
"description": "Results per page",
|
|
4866
|
+
"name": "limit",
|
|
4867
|
+
"default": 20,
|
|
4868
|
+
"hasDynamicHelp": false,
|
|
4869
|
+
"multiple": false,
|
|
4870
|
+
"type": "option"
|
|
4871
|
+
},
|
|
4872
|
+
"offset": {
|
|
4873
|
+
"description": "Offset for pagination",
|
|
4874
|
+
"name": "offset",
|
|
4875
|
+
"default": 0,
|
|
4876
|
+
"hasDynamicHelp": false,
|
|
4877
|
+
"multiple": false,
|
|
4878
|
+
"type": "option"
|
|
4879
|
+
},
|
|
4880
|
+
"include-author": {
|
|
4881
|
+
"description": "Include author details",
|
|
4882
|
+
"name": "include-author",
|
|
4883
|
+
"allowNo": false,
|
|
4884
|
+
"type": "boolean"
|
|
4885
|
+
},
|
|
4886
|
+
"include-seo-metadata": {
|
|
4887
|
+
"description": "Include SEO metadata",
|
|
4888
|
+
"name": "include-seo-metadata",
|
|
4808
4889
|
"allowNo": false,
|
|
4809
4890
|
"type": "boolean"
|
|
4810
4891
|
}
|
|
4811
4892
|
},
|
|
4812
4893
|
"hasDynamicHelp": false,
|
|
4813
4894
|
"hiddenAliases": [],
|
|
4814
|
-
"id": "blog-posts:
|
|
4895
|
+
"id": "blog-posts:list",
|
|
4815
4896
|
"pluginAlias": "@ecomweb/cli",
|
|
4816
4897
|
"pluginName": "@ecomweb/cli",
|
|
4817
4898
|
"pluginType": "core",
|
|
@@ -4822,18 +4903,124 @@
|
|
|
4822
4903
|
"dist",
|
|
4823
4904
|
"commands",
|
|
4824
4905
|
"blog-posts",
|
|
4825
|
-
"
|
|
4906
|
+
"list.js"
|
|
4826
4907
|
]
|
|
4827
4908
|
},
|
|
4828
|
-
"blog-posts:
|
|
4909
|
+
"blog-posts:stats": {
|
|
4829
4910
|
"aliases": [],
|
|
4830
4911
|
"args": {},
|
|
4831
|
-
"description": "
|
|
4912
|
+
"description": "Get blog post statistics overview",
|
|
4832
4913
|
"examples": [
|
|
4833
|
-
"ecomweb blog-posts
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
"
|
|
4914
|
+
"ecomweb blog-posts stats"
|
|
4915
|
+
],
|
|
4916
|
+
"flags": {
|
|
4917
|
+
"store-ref": {
|
|
4918
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
4919
|
+
"env": "ECOMWEB_STORE_REF",
|
|
4920
|
+
"name": "store-ref",
|
|
4921
|
+
"hasDynamicHelp": false,
|
|
4922
|
+
"multiple": false,
|
|
4923
|
+
"type": "option"
|
|
4924
|
+
},
|
|
4925
|
+
"api-key": {
|
|
4926
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
4927
|
+
"env": "ECOMWEB_API_KEY",
|
|
4928
|
+
"name": "api-key",
|
|
4929
|
+
"hasDynamicHelp": false,
|
|
4930
|
+
"multiple": false,
|
|
4931
|
+
"type": "option"
|
|
4932
|
+
},
|
|
4933
|
+
"api-url": {
|
|
4934
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
4935
|
+
"env": "ECOMWEB_API_URL",
|
|
4936
|
+
"name": "api-url",
|
|
4937
|
+
"hasDynamicHelp": false,
|
|
4938
|
+
"multiple": false,
|
|
4939
|
+
"type": "option"
|
|
4940
|
+
},
|
|
4941
|
+
"output": {
|
|
4942
|
+
"description": "Output format",
|
|
4943
|
+
"name": "output",
|
|
4944
|
+
"default": "json",
|
|
4945
|
+
"hasDynamicHelp": false,
|
|
4946
|
+
"multiple": false,
|
|
4947
|
+
"options": [
|
|
4948
|
+
"json",
|
|
4949
|
+
"table",
|
|
4950
|
+
"csv"
|
|
4951
|
+
],
|
|
4952
|
+
"type": "option"
|
|
4953
|
+
},
|
|
4954
|
+
"quiet": {
|
|
4955
|
+
"description": "Suppress non-data output",
|
|
4956
|
+
"name": "quiet",
|
|
4957
|
+
"allowNo": false,
|
|
4958
|
+
"type": "boolean"
|
|
4959
|
+
},
|
|
4960
|
+
"dry-run": {
|
|
4961
|
+
"description": "Preview without executing",
|
|
4962
|
+
"name": "dry-run",
|
|
4963
|
+
"allowNo": false,
|
|
4964
|
+
"type": "boolean"
|
|
4965
|
+
},
|
|
4966
|
+
"profile": {
|
|
4967
|
+
"description": "Named config profile",
|
|
4968
|
+
"name": "profile",
|
|
4969
|
+
"hasDynamicHelp": false,
|
|
4970
|
+
"multiple": false,
|
|
4971
|
+
"type": "option"
|
|
4972
|
+
},
|
|
4973
|
+
"full": {
|
|
4974
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
4975
|
+
"name": "full",
|
|
4976
|
+
"allowNo": false,
|
|
4977
|
+
"type": "boolean"
|
|
4978
|
+
},
|
|
4979
|
+
"fields": {
|
|
4980
|
+
"description": "Comma-separated field names to include",
|
|
4981
|
+
"name": "fields",
|
|
4982
|
+
"hasDynamicHelp": false,
|
|
4983
|
+
"multiple": false,
|
|
4984
|
+
"type": "option"
|
|
4985
|
+
},
|
|
4986
|
+
"exclude": {
|
|
4987
|
+
"description": "Comma-separated field names to exclude",
|
|
4988
|
+
"name": "exclude",
|
|
4989
|
+
"hasDynamicHelp": false,
|
|
4990
|
+
"multiple": false,
|
|
4991
|
+
"type": "option"
|
|
4992
|
+
}
|
|
4993
|
+
},
|
|
4994
|
+
"hasDynamicHelp": false,
|
|
4995
|
+
"hiddenAliases": [],
|
|
4996
|
+
"id": "blog-posts:stats",
|
|
4997
|
+
"pluginAlias": "@ecomweb/cli",
|
|
4998
|
+
"pluginName": "@ecomweb/cli",
|
|
4999
|
+
"pluginType": "core",
|
|
5000
|
+
"strict": true,
|
|
5001
|
+
"enableJsonFlag": false,
|
|
5002
|
+
"isESM": false,
|
|
5003
|
+
"relativePath": [
|
|
5004
|
+
"dist",
|
|
5005
|
+
"commands",
|
|
5006
|
+
"blog-posts",
|
|
5007
|
+
"stats.js"
|
|
5008
|
+
]
|
|
5009
|
+
},
|
|
5010
|
+
"blog-posts:update": {
|
|
5011
|
+
"aliases": [],
|
|
5012
|
+
"args": {
|
|
5013
|
+
"id": {
|
|
5014
|
+
"description": "Blog post ID",
|
|
5015
|
+
"name": "id",
|
|
5016
|
+
"required": true
|
|
5017
|
+
}
|
|
5018
|
+
},
|
|
5019
|
+
"description": "Update a blog post by ID",
|
|
5020
|
+
"examples": [
|
|
5021
|
+
"ecomweb blog-posts update 42 --stdin <<< '{\"title\":\"Updated Title\"}'",
|
|
5022
|
+
"ecomweb blog-posts update 42 --status published",
|
|
5023
|
+
"ecomweb blog-posts get 42 | jq '.data.title = \"New\"' | ecomweb blog-posts update 42 --stdin"
|
|
4837
5024
|
],
|
|
4838
5025
|
"flags": {
|
|
4839
5026
|
"store-ref": {
|
|
@@ -4976,7 +5163,7 @@
|
|
|
4976
5163
|
"is-featured": {
|
|
4977
5164
|
"description": "Mark as featured",
|
|
4978
5165
|
"name": "is-featured",
|
|
4979
|
-
"allowNo":
|
|
5166
|
+
"allowNo": true,
|
|
4980
5167
|
"type": "boolean"
|
|
4981
5168
|
},
|
|
4982
5169
|
"category-ids": {
|
|
@@ -5010,7 +5197,7 @@
|
|
|
5010
5197
|
},
|
|
5011
5198
|
"hasDynamicHelp": false,
|
|
5012
5199
|
"hiddenAliases": [],
|
|
5013
|
-
"id": "blog-posts:
|
|
5200
|
+
"id": "blog-posts:update",
|
|
5014
5201
|
"pluginAlias": "@ecomweb/cli",
|
|
5015
5202
|
"pluginName": "@ecomweb/cli",
|
|
5016
5203
|
"pluginType": "core",
|
|
@@ -5021,22 +5208,15 @@
|
|
|
5021
5208
|
"dist",
|
|
5022
5209
|
"commands",
|
|
5023
5210
|
"blog-posts",
|
|
5024
|
-
"
|
|
5211
|
+
"update.js"
|
|
5025
5212
|
]
|
|
5026
5213
|
},
|
|
5027
|
-
"blog-
|
|
5214
|
+
"blog-categories:all": {
|
|
5028
5215
|
"aliases": [],
|
|
5029
|
-
"args": {
|
|
5030
|
-
|
|
5031
|
-
"description": "Blog post ID",
|
|
5032
|
-
"name": "id",
|
|
5033
|
-
"required": true
|
|
5034
|
-
}
|
|
5035
|
-
},
|
|
5036
|
-
"description": "Delete a blog post by ID",
|
|
5216
|
+
"args": {},
|
|
5217
|
+
"description": "Get all blog categories (no pagination)",
|
|
5037
5218
|
"examples": [
|
|
5038
|
-
"ecomweb blog-
|
|
5039
|
-
"ecomweb blog-posts delete 42 --dry-run"
|
|
5219
|
+
"ecomweb blog-categories all"
|
|
5040
5220
|
],
|
|
5041
5221
|
"flags": {
|
|
5042
5222
|
"store-ref": {
|
|
@@ -5118,7 +5298,7 @@
|
|
|
5118
5298
|
},
|
|
5119
5299
|
"hasDynamicHelp": false,
|
|
5120
5300
|
"hiddenAliases": [],
|
|
5121
|
-
"id": "blog-
|
|
5301
|
+
"id": "blog-categories:all",
|
|
5122
5302
|
"pluginAlias": "@ecomweb/cli",
|
|
5123
5303
|
"pluginName": "@ecomweb/cli",
|
|
5124
5304
|
"pluginType": "core",
|
|
@@ -5128,23 +5308,17 @@
|
|
|
5128
5308
|
"relativePath": [
|
|
5129
5309
|
"dist",
|
|
5130
5310
|
"commands",
|
|
5131
|
-
"blog-
|
|
5132
|
-
"
|
|
5311
|
+
"blog-categories",
|
|
5312
|
+
"all.js"
|
|
5133
5313
|
]
|
|
5134
5314
|
},
|
|
5135
|
-
"blog-
|
|
5315
|
+
"blog-categories:create": {
|
|
5136
5316
|
"aliases": [],
|
|
5137
|
-
"args": {
|
|
5138
|
-
|
|
5139
|
-
"description": "Blog post ID",
|
|
5140
|
-
"name": "id",
|
|
5141
|
-
"required": true
|
|
5142
|
-
}
|
|
5143
|
-
},
|
|
5144
|
-
"description": "Get a single blog post by ID (includes full content)",
|
|
5317
|
+
"args": {},
|
|
5318
|
+
"description": "Create a new blog category",
|
|
5145
5319
|
"examples": [
|
|
5146
|
-
"ecomweb blog-
|
|
5147
|
-
"ecomweb blog-
|
|
5320
|
+
"ecomweb blog-categories create --stdin <<< '{\"name\":\"Tech\",\"slug\":\"tech\"}'",
|
|
5321
|
+
"ecomweb blog-categories create --name Tech --slug tech --color '#0066CC'"
|
|
5148
5322
|
],
|
|
5149
5323
|
"flags": {
|
|
5150
5324
|
"store-ref": {
|
|
@@ -5222,11 +5396,59 @@
|
|
|
5222
5396
|
"hasDynamicHelp": false,
|
|
5223
5397
|
"multiple": false,
|
|
5224
5398
|
"type": "option"
|
|
5399
|
+
},
|
|
5400
|
+
"stdin": {
|
|
5401
|
+
"description": "Read JSON body from stdin",
|
|
5402
|
+
"name": "stdin",
|
|
5403
|
+
"allowNo": false,
|
|
5404
|
+
"type": "boolean"
|
|
5405
|
+
},
|
|
5406
|
+
"file": {
|
|
5407
|
+
"description": "Read JSON body from file",
|
|
5408
|
+
"name": "file",
|
|
5409
|
+
"hasDynamicHelp": false,
|
|
5410
|
+
"multiple": false,
|
|
5411
|
+
"type": "option"
|
|
5412
|
+
},
|
|
5413
|
+
"name": {
|
|
5414
|
+
"description": "Category name",
|
|
5415
|
+
"name": "name",
|
|
5416
|
+
"hasDynamicHelp": false,
|
|
5417
|
+
"multiple": false,
|
|
5418
|
+
"type": "option"
|
|
5419
|
+
},
|
|
5420
|
+
"slug": {
|
|
5421
|
+
"description": "URL slug",
|
|
5422
|
+
"name": "slug",
|
|
5423
|
+
"hasDynamicHelp": false,
|
|
5424
|
+
"multiple": false,
|
|
5425
|
+
"type": "option"
|
|
5426
|
+
},
|
|
5427
|
+
"description": {
|
|
5428
|
+
"description": "Category description",
|
|
5429
|
+
"name": "description",
|
|
5430
|
+
"hasDynamicHelp": false,
|
|
5431
|
+
"multiple": false,
|
|
5432
|
+
"type": "option"
|
|
5433
|
+
},
|
|
5434
|
+
"color": {
|
|
5435
|
+
"description": "Hex color (e.g., #FF0000)",
|
|
5436
|
+
"name": "color",
|
|
5437
|
+
"hasDynamicHelp": false,
|
|
5438
|
+
"multiple": false,
|
|
5439
|
+
"type": "option"
|
|
5440
|
+
},
|
|
5441
|
+
"sort-order": {
|
|
5442
|
+
"description": "Sort order position",
|
|
5443
|
+
"name": "sort-order",
|
|
5444
|
+
"hasDynamicHelp": false,
|
|
5445
|
+
"multiple": false,
|
|
5446
|
+
"type": "option"
|
|
5225
5447
|
}
|
|
5226
5448
|
},
|
|
5227
5449
|
"hasDynamicHelp": false,
|
|
5228
5450
|
"hiddenAliases": [],
|
|
5229
|
-
"id": "blog-
|
|
5451
|
+
"id": "blog-categories:create",
|
|
5230
5452
|
"pluginAlias": "@ecomweb/cli",
|
|
5231
5453
|
"pluginName": "@ecomweb/cli",
|
|
5232
5454
|
"pluginType": "core",
|
|
@@ -5236,23 +5458,23 @@
|
|
|
5236
5458
|
"relativePath": [
|
|
5237
5459
|
"dist",
|
|
5238
5460
|
"commands",
|
|
5239
|
-
"blog-
|
|
5240
|
-
"
|
|
5461
|
+
"blog-categories",
|
|
5462
|
+
"create.js"
|
|
5241
5463
|
]
|
|
5242
5464
|
},
|
|
5243
|
-
"blog-
|
|
5465
|
+
"blog-categories:delete": {
|
|
5244
5466
|
"aliases": [],
|
|
5245
5467
|
"args": {
|
|
5246
|
-
"
|
|
5247
|
-
"description": "
|
|
5248
|
-
"name": "
|
|
5468
|
+
"id": {
|
|
5469
|
+
"description": "Category ID",
|
|
5470
|
+
"name": "id",
|
|
5249
5471
|
"required": true
|
|
5250
5472
|
}
|
|
5251
5473
|
},
|
|
5252
|
-
"description": "
|
|
5474
|
+
"description": "Delete a blog category by ID",
|
|
5253
5475
|
"examples": [
|
|
5254
|
-
"ecomweb blog-
|
|
5255
|
-
"ecomweb blog-
|
|
5476
|
+
"ecomweb blog-categories delete 5",
|
|
5477
|
+
"ecomweb blog-categories delete 5 --dry-run"
|
|
5256
5478
|
],
|
|
5257
5479
|
"flags": {
|
|
5258
5480
|
"store-ref": {
|
|
@@ -5330,38 +5552,11 @@
|
|
|
5330
5552
|
"hasDynamicHelp": false,
|
|
5331
5553
|
"multiple": false,
|
|
5332
5554
|
"type": "option"
|
|
5333
|
-
},
|
|
5334
|
-
"title": {
|
|
5335
|
-
"description": "Post title (overrides markdown frontmatter)",
|
|
5336
|
-
"name": "title",
|
|
5337
|
-
"hasDynamicHelp": false,
|
|
5338
|
-
"multiple": false,
|
|
5339
|
-
"type": "option"
|
|
5340
|
-
},
|
|
5341
|
-
"slug": {
|
|
5342
|
-
"description": "URL slug",
|
|
5343
|
-
"name": "slug",
|
|
5344
|
-
"hasDynamicHelp": false,
|
|
5345
|
-
"multiple": false,
|
|
5346
|
-
"type": "option"
|
|
5347
|
-
},
|
|
5348
|
-
"status": {
|
|
5349
|
-
"description": "Post status",
|
|
5350
|
-
"name": "status",
|
|
5351
|
-
"hasDynamicHelp": false,
|
|
5352
|
-
"multiple": false,
|
|
5353
|
-
"options": [
|
|
5354
|
-
"draft",
|
|
5355
|
-
"published",
|
|
5356
|
-
"scheduled",
|
|
5357
|
-
"unlisted"
|
|
5358
|
-
],
|
|
5359
|
-
"type": "option"
|
|
5360
5555
|
}
|
|
5361
5556
|
},
|
|
5362
5557
|
"hasDynamicHelp": false,
|
|
5363
5558
|
"hiddenAliases": [],
|
|
5364
|
-
"id": "blog-
|
|
5559
|
+
"id": "blog-categories:delete",
|
|
5365
5560
|
"pluginAlias": "@ecomweb/cli",
|
|
5366
5561
|
"pluginName": "@ecomweb/cli",
|
|
5367
5562
|
"pluginType": "core",
|
|
@@ -5371,19 +5566,18 @@
|
|
|
5371
5566
|
"relativePath": [
|
|
5372
5567
|
"dist",
|
|
5373
5568
|
"commands",
|
|
5374
|
-
"blog-
|
|
5375
|
-
"
|
|
5569
|
+
"blog-categories",
|
|
5570
|
+
"delete.js"
|
|
5376
5571
|
]
|
|
5377
5572
|
},
|
|
5378
|
-
"blog-
|
|
5573
|
+
"blog-categories:list": {
|
|
5379
5574
|
"aliases": [],
|
|
5380
5575
|
"args": {},
|
|
5381
|
-
"description": "List blog
|
|
5576
|
+
"description": "List blog categories with pagination",
|
|
5382
5577
|
"examples": [
|
|
5383
|
-
"ecomweb blog-
|
|
5384
|
-
"ecomweb blog-
|
|
5385
|
-
"ecomweb blog-
|
|
5386
|
-
"ecomweb blog-posts list --is-featured --output table"
|
|
5578
|
+
"ecomweb blog-categories list",
|
|
5579
|
+
"ecomweb blog-categories list --include-post-counts",
|
|
5580
|
+
"ecomweb blog-categories list --search tech"
|
|
5387
5581
|
],
|
|
5388
5582
|
"flags": {
|
|
5389
5583
|
"store-ref": {
|
|
@@ -5462,57 +5656,24 @@
|
|
|
5462
5656
|
"multiple": false,
|
|
5463
5657
|
"type": "option"
|
|
5464
5658
|
},
|
|
5465
|
-
"
|
|
5466
|
-
"description": "
|
|
5467
|
-
"name": "
|
|
5468
|
-
"hasDynamicHelp": false,
|
|
5469
|
-
"multiple": false,
|
|
5470
|
-
"options": [
|
|
5471
|
-
"draft",
|
|
5472
|
-
"published",
|
|
5473
|
-
"scheduled",
|
|
5474
|
-
"unlisted"
|
|
5475
|
-
],
|
|
5476
|
-
"type": "option"
|
|
5477
|
-
},
|
|
5478
|
-
"category-id": {
|
|
5479
|
-
"description": "Filter by category ID",
|
|
5480
|
-
"name": "category-id",
|
|
5481
|
-
"hasDynamicHelp": false,
|
|
5482
|
-
"multiple": false,
|
|
5483
|
-
"type": "option"
|
|
5484
|
-
},
|
|
5485
|
-
"tag-id": {
|
|
5486
|
-
"description": "Filter by tag ID",
|
|
5487
|
-
"name": "tag-id",
|
|
5659
|
+
"search": {
|
|
5660
|
+
"description": "Search categories by name",
|
|
5661
|
+
"name": "search",
|
|
5488
5662
|
"hasDynamicHelp": false,
|
|
5489
5663
|
"multiple": false,
|
|
5490
5664
|
"type": "option"
|
|
5491
5665
|
},
|
|
5492
|
-
"
|
|
5493
|
-
"description": "
|
|
5494
|
-
"name": "
|
|
5666
|
+
"include-post-counts": {
|
|
5667
|
+
"description": "Include post count per category",
|
|
5668
|
+
"name": "include-post-counts",
|
|
5495
5669
|
"allowNo": false,
|
|
5496
5670
|
"type": "boolean"
|
|
5497
5671
|
},
|
|
5498
|
-
"search": {
|
|
5499
|
-
"description": "Search in title/content",
|
|
5500
|
-
"name": "search",
|
|
5501
|
-
"hasDynamicHelp": false,
|
|
5502
|
-
"multiple": false,
|
|
5503
|
-
"type": "option"
|
|
5504
|
-
},
|
|
5505
5672
|
"sort-by": {
|
|
5506
5673
|
"description": "Sort field",
|
|
5507
5674
|
"name": "sort-by",
|
|
5508
5675
|
"hasDynamicHelp": false,
|
|
5509
5676
|
"multiple": false,
|
|
5510
|
-
"options": [
|
|
5511
|
-
"created_at",
|
|
5512
|
-
"published_at",
|
|
5513
|
-
"title",
|
|
5514
|
-
"view_count"
|
|
5515
|
-
],
|
|
5516
5677
|
"type": "option"
|
|
5517
5678
|
},
|
|
5518
5679
|
"sort-order": {
|
|
@@ -5541,23 +5702,11 @@
|
|
|
5541
5702
|
"hasDynamicHelp": false,
|
|
5542
5703
|
"multiple": false,
|
|
5543
5704
|
"type": "option"
|
|
5544
|
-
},
|
|
5545
|
-
"include-author": {
|
|
5546
|
-
"description": "Include author details",
|
|
5547
|
-
"name": "include-author",
|
|
5548
|
-
"allowNo": false,
|
|
5549
|
-
"type": "boolean"
|
|
5550
|
-
},
|
|
5551
|
-
"include-seo-metadata": {
|
|
5552
|
-
"description": "Include SEO metadata",
|
|
5553
|
-
"name": "include-seo-metadata",
|
|
5554
|
-
"allowNo": false,
|
|
5555
|
-
"type": "boolean"
|
|
5556
5705
|
}
|
|
5557
5706
|
},
|
|
5558
5707
|
"hasDynamicHelp": false,
|
|
5559
5708
|
"hiddenAliases": [],
|
|
5560
|
-
"id": "blog-
|
|
5709
|
+
"id": "blog-categories:list",
|
|
5561
5710
|
"pluginAlias": "@ecomweb/cli",
|
|
5562
5711
|
"pluginName": "@ecomweb/cli",
|
|
5563
5712
|
"pluginType": "core",
|
|
@@ -5567,16 +5716,23 @@
|
|
|
5567
5716
|
"relativePath": [
|
|
5568
5717
|
"dist",
|
|
5569
5718
|
"commands",
|
|
5570
|
-
"blog-
|
|
5719
|
+
"blog-categories",
|
|
5571
5720
|
"list.js"
|
|
5572
5721
|
]
|
|
5573
5722
|
},
|
|
5574
|
-
"blog-
|
|
5723
|
+
"blog-categories:update": {
|
|
5575
5724
|
"aliases": [],
|
|
5576
|
-
"args": {
|
|
5577
|
-
|
|
5725
|
+
"args": {
|
|
5726
|
+
"id": {
|
|
5727
|
+
"description": "Category ID",
|
|
5728
|
+
"name": "id",
|
|
5729
|
+
"required": true
|
|
5730
|
+
}
|
|
5731
|
+
},
|
|
5732
|
+
"description": "Update a blog category by ID",
|
|
5578
5733
|
"examples": [
|
|
5579
|
-
"ecomweb blog-
|
|
5734
|
+
"ecomweb blog-categories update 5 --stdin <<< '{\"name\":\"Technology\"}'",
|
|
5735
|
+
"ecomweb blog-categories update 5 --name Technology --color '#0066CC'"
|
|
5580
5736
|
],
|
|
5581
5737
|
"flags": {
|
|
5582
5738
|
"store-ref": {
|
|
@@ -5654,11 +5810,59 @@
|
|
|
5654
5810
|
"hasDynamicHelp": false,
|
|
5655
5811
|
"multiple": false,
|
|
5656
5812
|
"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"
|
|
5657
5861
|
}
|
|
5658
5862
|
},
|
|
5659
5863
|
"hasDynamicHelp": false,
|
|
5660
5864
|
"hiddenAliases": [],
|
|
5661
|
-
"id": "blog-
|
|
5865
|
+
"id": "blog-categories:update",
|
|
5662
5866
|
"pluginAlias": "@ecomweb/cli",
|
|
5663
5867
|
"pluginName": "@ecomweb/cli",
|
|
5664
5868
|
"pluginType": "core",
|
|
@@ -5668,24 +5872,16 @@
|
|
|
5668
5872
|
"relativePath": [
|
|
5669
5873
|
"dist",
|
|
5670
5874
|
"commands",
|
|
5671
|
-
"blog-
|
|
5672
|
-
"
|
|
5875
|
+
"blog-categories",
|
|
5876
|
+
"update.js"
|
|
5673
5877
|
]
|
|
5674
5878
|
},
|
|
5675
|
-
"blog-
|
|
5879
|
+
"blog-settings:get": {
|
|
5676
5880
|
"aliases": [],
|
|
5677
|
-
"args": {
|
|
5678
|
-
|
|
5679
|
-
"description": "Blog post ID",
|
|
5680
|
-
"name": "id",
|
|
5681
|
-
"required": true
|
|
5682
|
-
}
|
|
5683
|
-
},
|
|
5684
|
-
"description": "Update a blog post by ID",
|
|
5881
|
+
"args": {},
|
|
5882
|
+
"description": "Get blog settings for the current store",
|
|
5685
5883
|
"examples": [
|
|
5686
|
-
"ecomweb blog-
|
|
5687
|
-
"ecomweb blog-posts update 42 --status published",
|
|
5688
|
-
"ecomweb blog-posts get 42 | jq '.data.title = \"New\"' | ecomweb blog-posts update 42 --stdin"
|
|
5884
|
+
"ecomweb blog-settings get"
|
|
5689
5885
|
],
|
|
5690
5886
|
"flags": {
|
|
5691
5887
|
"store-ref": {
|
|
@@ -5763,242 +5959,46 @@
|
|
|
5763
5959
|
"hasDynamicHelp": false,
|
|
5764
5960
|
"multiple": false,
|
|
5765
5961
|
"type": "option"
|
|
5766
|
-
}
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5962
|
+
}
|
|
5963
|
+
},
|
|
5964
|
+
"hasDynamicHelp": false,
|
|
5965
|
+
"hiddenAliases": [],
|
|
5966
|
+
"id": "blog-settings:get",
|
|
5967
|
+
"pluginAlias": "@ecomweb/cli",
|
|
5968
|
+
"pluginName": "@ecomweb/cli",
|
|
5969
|
+
"pluginType": "core",
|
|
5970
|
+
"strict": true,
|
|
5971
|
+
"enableJsonFlag": false,
|
|
5972
|
+
"isESM": false,
|
|
5973
|
+
"relativePath": [
|
|
5974
|
+
"dist",
|
|
5975
|
+
"commands",
|
|
5976
|
+
"blog-settings",
|
|
5977
|
+
"get.js"
|
|
5978
|
+
]
|
|
5979
|
+
},
|
|
5980
|
+
"blog-settings:update": {
|
|
5981
|
+
"aliases": [],
|
|
5982
|
+
"args": {},
|
|
5983
|
+
"description": "Update blog settings for the current store",
|
|
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
|
+
],
|
|
5989
|
+
"flags": {
|
|
5990
|
+
"store-ref": {
|
|
5991
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
5992
|
+
"env": "ECOMWEB_STORE_REF",
|
|
5993
|
+
"name": "store-ref",
|
|
5776
5994
|
"hasDynamicHelp": false,
|
|
5777
5995
|
"multiple": false,
|
|
5778
5996
|
"type": "option"
|
|
5779
5997
|
},
|
|
5780
|
-
"
|
|
5781
|
-
"description": "
|
|
5782
|
-
"
|
|
5783
|
-
"
|
|
5784
|
-
"multiple": false,
|
|
5785
|
-
"type": "option"
|
|
5786
|
-
},
|
|
5787
|
-
"slug": {
|
|
5788
|
-
"description": "URL slug",
|
|
5789
|
-
"name": "slug",
|
|
5790
|
-
"hasDynamicHelp": false,
|
|
5791
|
-
"multiple": false,
|
|
5792
|
-
"type": "option"
|
|
5793
|
-
},
|
|
5794
|
-
"content": {
|
|
5795
|
-
"description": "HTML content",
|
|
5796
|
-
"name": "content",
|
|
5797
|
-
"hasDynamicHelp": false,
|
|
5798
|
-
"multiple": false,
|
|
5799
|
-
"type": "option"
|
|
5800
|
-
},
|
|
5801
|
-
"excerpt": {
|
|
5802
|
-
"description": "Post excerpt",
|
|
5803
|
-
"name": "excerpt",
|
|
5804
|
-
"hasDynamicHelp": false,
|
|
5805
|
-
"multiple": false,
|
|
5806
|
-
"type": "option"
|
|
5807
|
-
},
|
|
5808
|
-
"status": {
|
|
5809
|
-
"description": "Post status",
|
|
5810
|
-
"name": "status",
|
|
5811
|
-
"hasDynamicHelp": false,
|
|
5812
|
-
"multiple": false,
|
|
5813
|
-
"options": [
|
|
5814
|
-
"draft",
|
|
5815
|
-
"published",
|
|
5816
|
-
"scheduled",
|
|
5817
|
-
"unlisted"
|
|
5818
|
-
],
|
|
5819
|
-
"type": "option"
|
|
5820
|
-
},
|
|
5821
|
-
"featured-image-url": {
|
|
5822
|
-
"description": "Featured image URL",
|
|
5823
|
-
"name": "featured-image-url",
|
|
5824
|
-
"hasDynamicHelp": false,
|
|
5825
|
-
"multiple": false,
|
|
5826
|
-
"type": "option"
|
|
5827
|
-
},
|
|
5828
|
-
"is-featured": {
|
|
5829
|
-
"description": "Mark as featured",
|
|
5830
|
-
"name": "is-featured",
|
|
5831
|
-
"allowNo": true,
|
|
5832
|
-
"type": "boolean"
|
|
5833
|
-
},
|
|
5834
|
-
"category-ids": {
|
|
5835
|
-
"description": "Comma-separated category IDs",
|
|
5836
|
-
"name": "category-ids",
|
|
5837
|
-
"hasDynamicHelp": false,
|
|
5838
|
-
"multiple": false,
|
|
5839
|
-
"type": "option"
|
|
5840
|
-
},
|
|
5841
|
-
"tag-ids": {
|
|
5842
|
-
"description": "Comma-separated tag IDs",
|
|
5843
|
-
"name": "tag-ids",
|
|
5844
|
-
"hasDynamicHelp": false,
|
|
5845
|
-
"multiple": false,
|
|
5846
|
-
"type": "option"
|
|
5847
|
-
},
|
|
5848
|
-
"product-ids": {
|
|
5849
|
-
"description": "Comma-separated product IDs",
|
|
5850
|
-
"name": "product-ids",
|
|
5851
|
-
"hasDynamicHelp": false,
|
|
5852
|
-
"multiple": false,
|
|
5853
|
-
"type": "option"
|
|
5854
|
-
},
|
|
5855
|
-
"scheduled-at": {
|
|
5856
|
-
"description": "Schedule date (ISO datetime)",
|
|
5857
|
-
"name": "scheduled-at",
|
|
5858
|
-
"hasDynamicHelp": false,
|
|
5859
|
-
"multiple": false,
|
|
5860
|
-
"type": "option"
|
|
5861
|
-
}
|
|
5862
|
-
},
|
|
5863
|
-
"hasDynamicHelp": false,
|
|
5864
|
-
"hiddenAliases": [],
|
|
5865
|
-
"id": "blog-posts:update",
|
|
5866
|
-
"pluginAlias": "@ecomweb/cli",
|
|
5867
|
-
"pluginName": "@ecomweb/cli",
|
|
5868
|
-
"pluginType": "core",
|
|
5869
|
-
"strict": true,
|
|
5870
|
-
"enableJsonFlag": false,
|
|
5871
|
-
"isESM": false,
|
|
5872
|
-
"relativePath": [
|
|
5873
|
-
"dist",
|
|
5874
|
-
"commands",
|
|
5875
|
-
"blog-posts",
|
|
5876
|
-
"update.js"
|
|
5877
|
-
]
|
|
5878
|
-
},
|
|
5879
|
-
"blog-settings:get": {
|
|
5880
|
-
"aliases": [],
|
|
5881
|
-
"args": {},
|
|
5882
|
-
"description": "Get blog settings for the current store",
|
|
5883
|
-
"examples": [
|
|
5884
|
-
"ecomweb blog-settings get"
|
|
5885
|
-
],
|
|
5886
|
-
"flags": {
|
|
5887
|
-
"store-ref": {
|
|
5888
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
5889
|
-
"env": "ECOMWEB_STORE_REF",
|
|
5890
|
-
"name": "store-ref",
|
|
5891
|
-
"hasDynamicHelp": false,
|
|
5892
|
-
"multiple": false,
|
|
5893
|
-
"type": "option"
|
|
5894
|
-
},
|
|
5895
|
-
"api-key": {
|
|
5896
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
5897
|
-
"env": "ECOMWEB_API_KEY",
|
|
5898
|
-
"name": "api-key",
|
|
5899
|
-
"hasDynamicHelp": false,
|
|
5900
|
-
"multiple": false,
|
|
5901
|
-
"type": "option"
|
|
5902
|
-
},
|
|
5903
|
-
"api-url": {
|
|
5904
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
5905
|
-
"env": "ECOMWEB_API_URL",
|
|
5906
|
-
"name": "api-url",
|
|
5907
|
-
"hasDynamicHelp": false,
|
|
5908
|
-
"multiple": false,
|
|
5909
|
-
"type": "option"
|
|
5910
|
-
},
|
|
5911
|
-
"output": {
|
|
5912
|
-
"description": "Output format",
|
|
5913
|
-
"name": "output",
|
|
5914
|
-
"default": "json",
|
|
5915
|
-
"hasDynamicHelp": false,
|
|
5916
|
-
"multiple": false,
|
|
5917
|
-
"options": [
|
|
5918
|
-
"json",
|
|
5919
|
-
"table",
|
|
5920
|
-
"csv"
|
|
5921
|
-
],
|
|
5922
|
-
"type": "option"
|
|
5923
|
-
},
|
|
5924
|
-
"quiet": {
|
|
5925
|
-
"description": "Suppress non-data output",
|
|
5926
|
-
"name": "quiet",
|
|
5927
|
-
"allowNo": false,
|
|
5928
|
-
"type": "boolean"
|
|
5929
|
-
},
|
|
5930
|
-
"dry-run": {
|
|
5931
|
-
"description": "Preview without executing",
|
|
5932
|
-
"name": "dry-run",
|
|
5933
|
-
"allowNo": false,
|
|
5934
|
-
"type": "boolean"
|
|
5935
|
-
},
|
|
5936
|
-
"profile": {
|
|
5937
|
-
"description": "Named config profile",
|
|
5938
|
-
"name": "profile",
|
|
5939
|
-
"hasDynamicHelp": false,
|
|
5940
|
-
"multiple": false,
|
|
5941
|
-
"type": "option"
|
|
5942
|
-
},
|
|
5943
|
-
"full": {
|
|
5944
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
5945
|
-
"name": "full",
|
|
5946
|
-
"allowNo": false,
|
|
5947
|
-
"type": "boolean"
|
|
5948
|
-
},
|
|
5949
|
-
"fields": {
|
|
5950
|
-
"description": "Comma-separated field names to include",
|
|
5951
|
-
"name": "fields",
|
|
5952
|
-
"hasDynamicHelp": false,
|
|
5953
|
-
"multiple": false,
|
|
5954
|
-
"type": "option"
|
|
5955
|
-
},
|
|
5956
|
-
"exclude": {
|
|
5957
|
-
"description": "Comma-separated field names to exclude",
|
|
5958
|
-
"name": "exclude",
|
|
5959
|
-
"hasDynamicHelp": false,
|
|
5960
|
-
"multiple": false,
|
|
5961
|
-
"type": "option"
|
|
5962
|
-
}
|
|
5963
|
-
},
|
|
5964
|
-
"hasDynamicHelp": false,
|
|
5965
|
-
"hiddenAliases": [],
|
|
5966
|
-
"id": "blog-settings:get",
|
|
5967
|
-
"pluginAlias": "@ecomweb/cli",
|
|
5968
|
-
"pluginName": "@ecomweb/cli",
|
|
5969
|
-
"pluginType": "core",
|
|
5970
|
-
"strict": true,
|
|
5971
|
-
"enableJsonFlag": false,
|
|
5972
|
-
"isESM": false,
|
|
5973
|
-
"relativePath": [
|
|
5974
|
-
"dist",
|
|
5975
|
-
"commands",
|
|
5976
|
-
"blog-settings",
|
|
5977
|
-
"get.js"
|
|
5978
|
-
]
|
|
5979
|
-
},
|
|
5980
|
-
"blog-settings:update": {
|
|
5981
|
-
"aliases": [],
|
|
5982
|
-
"args": {},
|
|
5983
|
-
"description": "Update blog settings for the current store",
|
|
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
|
-
],
|
|
5989
|
-
"flags": {
|
|
5990
|
-
"store-ref": {
|
|
5991
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
5992
|
-
"env": "ECOMWEB_STORE_REF",
|
|
5993
|
-
"name": "store-ref",
|
|
5994
|
-
"hasDynamicHelp": false,
|
|
5995
|
-
"multiple": false,
|
|
5996
|
-
"type": "option"
|
|
5997
|
-
},
|
|
5998
|
-
"api-key": {
|
|
5999
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
6000
|
-
"env": "ECOMWEB_API_KEY",
|
|
6001
|
-
"name": "api-key",
|
|
5998
|
+
"api-key": {
|
|
5999
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
6000
|
+
"env": "ECOMWEB_API_KEY",
|
|
6001
|
+
"name": "api-key",
|
|
6002
6002
|
"hasDynamicHelp": false,
|
|
6003
6003
|
"multiple": false,
|
|
6004
6004
|
"type": "option"
|
|
@@ -6644,10 +6644,15 @@
|
|
|
6644
6644
|
"list.js"
|
|
6645
6645
|
]
|
|
6646
6646
|
},
|
|
6647
|
-
"
|
|
6647
|
+
"collections:all": {
|
|
6648
6648
|
"aliases": [],
|
|
6649
6649
|
"args": {},
|
|
6650
|
-
"description": "
|
|
6650
|
+
"description": "Get all collections (no pagination)",
|
|
6651
|
+
"examples": [
|
|
6652
|
+
"ecomweb collections all",
|
|
6653
|
+
"ecomweb collections all --status active",
|
|
6654
|
+
"ecomweb collections all --full"
|
|
6655
|
+
],
|
|
6651
6656
|
"flags": {
|
|
6652
6657
|
"store-ref": {
|
|
6653
6658
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -6724,29 +6729,46 @@
|
|
|
6724
6729
|
"hasDynamicHelp": false,
|
|
6725
6730
|
"multiple": false,
|
|
6726
6731
|
"type": "option"
|
|
6732
|
+
},
|
|
6733
|
+
"status": {
|
|
6734
|
+
"description": "Filter by status",
|
|
6735
|
+
"name": "status",
|
|
6736
|
+
"hasDynamicHelp": false,
|
|
6737
|
+
"multiple": false,
|
|
6738
|
+
"options": [
|
|
6739
|
+
"draft",
|
|
6740
|
+
"active",
|
|
6741
|
+
"archived",
|
|
6742
|
+
"unlisted"
|
|
6743
|
+
],
|
|
6744
|
+
"type": "option"
|
|
6727
6745
|
}
|
|
6728
6746
|
},
|
|
6729
6747
|
"hasDynamicHelp": false,
|
|
6730
|
-
"hidden": true,
|
|
6731
6748
|
"hiddenAliases": [],
|
|
6732
|
-
"id": "
|
|
6749
|
+
"id": "collections:all",
|
|
6733
6750
|
"pluginAlias": "@ecomweb/cli",
|
|
6734
6751
|
"pluginName": "@ecomweb/cli",
|
|
6735
6752
|
"pluginType": "core",
|
|
6736
|
-
"strict":
|
|
6753
|
+
"strict": true,
|
|
6737
6754
|
"enableJsonFlag": false,
|
|
6738
6755
|
"isESM": false,
|
|
6739
6756
|
"relativePath": [
|
|
6740
6757
|
"dist",
|
|
6741
6758
|
"commands",
|
|
6742
|
-
"
|
|
6759
|
+
"collections",
|
|
6743
6760
|
"all.js"
|
|
6744
6761
|
]
|
|
6745
6762
|
},
|
|
6746
|
-
"
|
|
6763
|
+
"collections:create": {
|
|
6747
6764
|
"aliases": [],
|
|
6748
6765
|
"args": {},
|
|
6749
|
-
"description": "
|
|
6766
|
+
"description": "Create a new collection",
|
|
6767
|
+
"examples": [
|
|
6768
|
+
"ecomweb collections create --stdin <<< '{\"name\":\"Summer\",\"type\":\"manual\",\"slug\":\"summer\",\"product_ids\":[1,2,3]}'",
|
|
6769
|
+
"ecomweb collections create --name Summer --slug summer --product-ids 1,2,3",
|
|
6770
|
+
"ecomweb collections create --file collection.json"
|
|
6771
|
+
],
|
|
6750
6772
|
"flags": {
|
|
6751
6773
|
"store-ref": {
|
|
6752
6774
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -6823,128 +6845,129 @@
|
|
|
6823
6845
|
"hasDynamicHelp": false,
|
|
6824
6846
|
"multiple": false,
|
|
6825
6847
|
"type": "option"
|
|
6826
|
-
}
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
"enableJsonFlag": false,
|
|
6837
|
-
"isESM": false,
|
|
6838
|
-
"relativePath": [
|
|
6839
|
-
"dist",
|
|
6840
|
-
"commands",
|
|
6841
|
-
"categories",
|
|
6842
|
-
"create.js"
|
|
6843
|
-
]
|
|
6844
|
-
},
|
|
6845
|
-
"categories:delete": {
|
|
6846
|
-
"aliases": [],
|
|
6847
|
-
"args": {},
|
|
6848
|
-
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
6849
|
-
"flags": {
|
|
6850
|
-
"store-ref": {
|
|
6851
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
6852
|
-
"env": "ECOMWEB_STORE_REF",
|
|
6853
|
-
"name": "store-ref",
|
|
6848
|
+
},
|
|
6849
|
+
"stdin": {
|
|
6850
|
+
"description": "Read JSON body from stdin",
|
|
6851
|
+
"name": "stdin",
|
|
6852
|
+
"allowNo": false,
|
|
6853
|
+
"type": "boolean"
|
|
6854
|
+
},
|
|
6855
|
+
"file": {
|
|
6856
|
+
"description": "Read JSON body from file",
|
|
6857
|
+
"name": "file",
|
|
6854
6858
|
"hasDynamicHelp": false,
|
|
6855
6859
|
"multiple": false,
|
|
6856
6860
|
"type": "option"
|
|
6857
6861
|
},
|
|
6858
|
-
"
|
|
6859
|
-
"description": "
|
|
6860
|
-
"
|
|
6861
|
-
"name": "api-key",
|
|
6862
|
+
"name": {
|
|
6863
|
+
"description": "Collection name",
|
|
6864
|
+
"name": "name",
|
|
6862
6865
|
"hasDynamicHelp": false,
|
|
6863
6866
|
"multiple": false,
|
|
6864
6867
|
"type": "option"
|
|
6865
6868
|
},
|
|
6866
|
-
"
|
|
6867
|
-
"description": "
|
|
6868
|
-
"
|
|
6869
|
-
"name": "api-url",
|
|
6869
|
+
"type": {
|
|
6870
|
+
"description": "Collection type (default: manual; smart needs search_criteria, so pass it with --stdin or --file)",
|
|
6871
|
+
"name": "type",
|
|
6870
6872
|
"hasDynamicHelp": false,
|
|
6871
6873
|
"multiple": false,
|
|
6874
|
+
"options": [
|
|
6875
|
+
"manual",
|
|
6876
|
+
"smart"
|
|
6877
|
+
],
|
|
6872
6878
|
"type": "option"
|
|
6873
6879
|
},
|
|
6874
|
-
"
|
|
6875
|
-
"description": "
|
|
6876
|
-
"name": "
|
|
6877
|
-
"
|
|
6880
|
+
"slug": {
|
|
6881
|
+
"description": "URL-friendly slug",
|
|
6882
|
+
"name": "slug",
|
|
6883
|
+
"hasDynamicHelp": false,
|
|
6884
|
+
"multiple": false,
|
|
6885
|
+
"type": "option"
|
|
6886
|
+
},
|
|
6887
|
+
"status": {
|
|
6888
|
+
"description": "Collection status",
|
|
6889
|
+
"name": "status",
|
|
6878
6890
|
"hasDynamicHelp": false,
|
|
6879
6891
|
"multiple": false,
|
|
6880
6892
|
"options": [
|
|
6881
|
-
"
|
|
6882
|
-
"
|
|
6883
|
-
"
|
|
6893
|
+
"draft",
|
|
6894
|
+
"active",
|
|
6895
|
+
"archived",
|
|
6896
|
+
"unlisted"
|
|
6884
6897
|
],
|
|
6885
6898
|
"type": "option"
|
|
6886
6899
|
},
|
|
6887
|
-
"
|
|
6888
|
-
"description": "
|
|
6889
|
-
"name": "
|
|
6890
|
-
"allowNo": false,
|
|
6891
|
-
"type": "boolean"
|
|
6892
|
-
},
|
|
6893
|
-
"dry-run": {
|
|
6894
|
-
"description": "Preview without executing",
|
|
6895
|
-
"name": "dry-run",
|
|
6896
|
-
"allowNo": false,
|
|
6897
|
-
"type": "boolean"
|
|
6898
|
-
},
|
|
6899
|
-
"profile": {
|
|
6900
|
-
"description": "Named config profile",
|
|
6901
|
-
"name": "profile",
|
|
6900
|
+
"description": {
|
|
6901
|
+
"description": "Collection description",
|
|
6902
|
+
"name": "description",
|
|
6902
6903
|
"hasDynamicHelp": false,
|
|
6903
6904
|
"multiple": false,
|
|
6904
6905
|
"type": "option"
|
|
6905
6906
|
},
|
|
6906
|
-
"
|
|
6907
|
-
"description": "
|
|
6908
|
-
"name": "
|
|
6909
|
-
"
|
|
6910
|
-
"
|
|
6907
|
+
"image-url": {
|
|
6908
|
+
"description": "Collection image URL",
|
|
6909
|
+
"name": "image-url",
|
|
6910
|
+
"hasDynamicHelp": false,
|
|
6911
|
+
"multiple": false,
|
|
6912
|
+
"type": "option"
|
|
6911
6913
|
},
|
|
6912
|
-
"
|
|
6913
|
-
"description": "
|
|
6914
|
-
"name": "
|
|
6914
|
+
"collection-sort": {
|
|
6915
|
+
"description": "Product sort order within collection",
|
|
6916
|
+
"name": "collection-sort",
|
|
6915
6917
|
"hasDynamicHelp": false,
|
|
6916
6918
|
"multiple": false,
|
|
6919
|
+
"options": [
|
|
6920
|
+
"manual",
|
|
6921
|
+
"product_name_asc",
|
|
6922
|
+
"product_name_desc",
|
|
6923
|
+
"best_selling",
|
|
6924
|
+
"highest_price",
|
|
6925
|
+
"lowest_price",
|
|
6926
|
+
"newest",
|
|
6927
|
+
"oldest"
|
|
6928
|
+
],
|
|
6917
6929
|
"type": "option"
|
|
6918
6930
|
},
|
|
6919
|
-
"
|
|
6920
|
-
"description": "Comma-separated
|
|
6921
|
-
"name": "
|
|
6931
|
+
"product-ids": {
|
|
6932
|
+
"description": "Comma-separated product IDs (for manual collections)",
|
|
6933
|
+
"name": "product-ids",
|
|
6922
6934
|
"hasDynamicHelp": false,
|
|
6923
6935
|
"multiple": false,
|
|
6924
6936
|
"type": "option"
|
|
6925
6937
|
}
|
|
6926
6938
|
},
|
|
6927
6939
|
"hasDynamicHelp": false,
|
|
6928
|
-
"hidden": true,
|
|
6929
6940
|
"hiddenAliases": [],
|
|
6930
|
-
"id": "
|
|
6941
|
+
"id": "collections:create",
|
|
6931
6942
|
"pluginAlias": "@ecomweb/cli",
|
|
6932
6943
|
"pluginName": "@ecomweb/cli",
|
|
6933
6944
|
"pluginType": "core",
|
|
6934
|
-
"strict":
|
|
6945
|
+
"strict": true,
|
|
6935
6946
|
"enableJsonFlag": false,
|
|
6936
6947
|
"isESM": false,
|
|
6937
6948
|
"relativePath": [
|
|
6938
6949
|
"dist",
|
|
6939
6950
|
"commands",
|
|
6940
|
-
"
|
|
6941
|
-
"
|
|
6951
|
+
"collections",
|
|
6952
|
+
"create.js"
|
|
6942
6953
|
]
|
|
6943
6954
|
},
|
|
6944
|
-
"
|
|
6955
|
+
"collections:delete": {
|
|
6945
6956
|
"aliases": [],
|
|
6946
|
-
"args": {
|
|
6947
|
-
|
|
6957
|
+
"args": {
|
|
6958
|
+
"id": {
|
|
6959
|
+
"description": "Collection ID",
|
|
6960
|
+
"name": "id",
|
|
6961
|
+
"required": true
|
|
6962
|
+
}
|
|
6963
|
+
},
|
|
6964
|
+
"description": "Delete a collection by ID",
|
|
6965
|
+
"examples": [
|
|
6966
|
+
"ecomweb collections delete 42",
|
|
6967
|
+
"ecomweb collections delete 42 --no-soft-delete",
|
|
6968
|
+
"ecomweb collections delete 42 --force",
|
|
6969
|
+
"ecomweb collections delete 42 --dry-run"
|
|
6970
|
+
],
|
|
6948
6971
|
"flags": {
|
|
6949
6972
|
"store-ref": {
|
|
6950
6973
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7021,29 +7044,49 @@
|
|
|
7021
7044
|
"hasDynamicHelp": false,
|
|
7022
7045
|
"multiple": false,
|
|
7023
7046
|
"type": "option"
|
|
7047
|
+
},
|
|
7048
|
+
"soft-delete": {
|
|
7049
|
+
"description": "Soft delete (default: true)",
|
|
7050
|
+
"name": "soft-delete",
|
|
7051
|
+
"allowNo": true,
|
|
7052
|
+
"type": "boolean"
|
|
7053
|
+
},
|
|
7054
|
+
"force": {
|
|
7055
|
+
"description": "Force delete even if collection has products",
|
|
7056
|
+
"name": "force",
|
|
7057
|
+
"allowNo": false,
|
|
7058
|
+
"type": "boolean"
|
|
7024
7059
|
}
|
|
7025
7060
|
},
|
|
7026
7061
|
"hasDynamicHelp": false,
|
|
7027
|
-
"hidden": true,
|
|
7028
7062
|
"hiddenAliases": [],
|
|
7029
|
-
"id": "
|
|
7063
|
+
"id": "collections:delete",
|
|
7030
7064
|
"pluginAlias": "@ecomweb/cli",
|
|
7031
7065
|
"pluginName": "@ecomweb/cli",
|
|
7032
7066
|
"pluginType": "core",
|
|
7033
|
-
"strict":
|
|
7067
|
+
"strict": true,
|
|
7034
7068
|
"enableJsonFlag": false,
|
|
7035
7069
|
"isESM": false,
|
|
7036
7070
|
"relativePath": [
|
|
7037
7071
|
"dist",
|
|
7038
7072
|
"commands",
|
|
7039
|
-
"
|
|
7040
|
-
"
|
|
7073
|
+
"collections",
|
|
7074
|
+
"delete.js"
|
|
7041
7075
|
]
|
|
7042
7076
|
},
|
|
7043
|
-
"
|
|
7077
|
+
"collections:get": {
|
|
7044
7078
|
"aliases": [],
|
|
7045
|
-
"args": {
|
|
7046
|
-
|
|
7079
|
+
"args": {
|
|
7080
|
+
"id": {
|
|
7081
|
+
"description": "Collection ID",
|
|
7082
|
+
"name": "id",
|
|
7083
|
+
"required": true
|
|
7084
|
+
}
|
|
7085
|
+
},
|
|
7086
|
+
"description": "Get a collection by ID",
|
|
7087
|
+
"examples": [
|
|
7088
|
+
"ecomweb collections get 42"
|
|
7089
|
+
],
|
|
7047
7090
|
"flags": {
|
|
7048
7091
|
"store-ref": {
|
|
7049
7092
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7123,26 +7166,30 @@
|
|
|
7123
7166
|
}
|
|
7124
7167
|
},
|
|
7125
7168
|
"hasDynamicHelp": false,
|
|
7126
|
-
"hidden": true,
|
|
7127
7169
|
"hiddenAliases": [],
|
|
7128
|
-
"id": "
|
|
7170
|
+
"id": "collections:get",
|
|
7129
7171
|
"pluginAlias": "@ecomweb/cli",
|
|
7130
7172
|
"pluginName": "@ecomweb/cli",
|
|
7131
7173
|
"pluginType": "core",
|
|
7132
|
-
"strict":
|
|
7174
|
+
"strict": true,
|
|
7133
7175
|
"enableJsonFlag": false,
|
|
7134
7176
|
"isESM": false,
|
|
7135
7177
|
"relativePath": [
|
|
7136
7178
|
"dist",
|
|
7137
7179
|
"commands",
|
|
7138
|
-
"
|
|
7139
|
-
"
|
|
7180
|
+
"collections",
|
|
7181
|
+
"get.js"
|
|
7140
7182
|
]
|
|
7141
7183
|
},
|
|
7142
|
-
"
|
|
7184
|
+
"collections:list": {
|
|
7143
7185
|
"aliases": [],
|
|
7144
7186
|
"args": {},
|
|
7145
|
-
"description": "
|
|
7187
|
+
"description": "List collections with pagination and filtering",
|
|
7188
|
+
"examples": [
|
|
7189
|
+
"ecomweb collections list",
|
|
7190
|
+
"ecomweb collections list --status active --type manual",
|
|
7191
|
+
"ecomweb collections list --search summer --include-product-count"
|
|
7192
|
+
],
|
|
7146
7193
|
"flags": {
|
|
7147
7194
|
"store-ref": {
|
|
7148
7195
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7219,128 +7266,102 @@
|
|
|
7219
7266
|
"hasDynamicHelp": false,
|
|
7220
7267
|
"multiple": false,
|
|
7221
7268
|
"type": "option"
|
|
7222
|
-
}
|
|
7223
|
-
},
|
|
7224
|
-
"hasDynamicHelp": false,
|
|
7225
|
-
"hidden": true,
|
|
7226
|
-
"hiddenAliases": [],
|
|
7227
|
-
"id": "categories:update",
|
|
7228
|
-
"pluginAlias": "@ecomweb/cli",
|
|
7229
|
-
"pluginName": "@ecomweb/cli",
|
|
7230
|
-
"pluginType": "core",
|
|
7231
|
-
"strict": false,
|
|
7232
|
-
"enableJsonFlag": false,
|
|
7233
|
-
"isESM": false,
|
|
7234
|
-
"relativePath": [
|
|
7235
|
-
"dist",
|
|
7236
|
-
"commands",
|
|
7237
|
-
"categories",
|
|
7238
|
-
"update.js"
|
|
7239
|
-
]
|
|
7240
|
-
},
|
|
7241
|
-
"collections:all": {
|
|
7242
|
-
"aliases": [],
|
|
7243
|
-
"args": {},
|
|
7244
|
-
"description": "Get all collections (no pagination)",
|
|
7245
|
-
"examples": [
|
|
7246
|
-
"ecomweb collections all",
|
|
7247
|
-
"ecomweb collections all --status active",
|
|
7248
|
-
"ecomweb collections all --full"
|
|
7249
|
-
],
|
|
7250
|
-
"flags": {
|
|
7251
|
-
"store-ref": {
|
|
7252
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
7253
|
-
"env": "ECOMWEB_STORE_REF",
|
|
7254
|
-
"name": "store-ref",
|
|
7255
|
-
"hasDynamicHelp": false,
|
|
7256
|
-
"multiple": false,
|
|
7257
|
-
"type": "option"
|
|
7258
7269
|
},
|
|
7259
|
-
"
|
|
7260
|
-
"description": "
|
|
7261
|
-
"
|
|
7262
|
-
"name": "api-key",
|
|
7270
|
+
"type": {
|
|
7271
|
+
"description": "Filter by collection type",
|
|
7272
|
+
"name": "type",
|
|
7263
7273
|
"hasDynamicHelp": false,
|
|
7264
7274
|
"multiple": false,
|
|
7275
|
+
"options": [
|
|
7276
|
+
"manual",
|
|
7277
|
+
"smart"
|
|
7278
|
+
],
|
|
7265
7279
|
"type": "option"
|
|
7266
7280
|
},
|
|
7267
|
-
"
|
|
7268
|
-
"description": "
|
|
7269
|
-
"
|
|
7270
|
-
"name": "api-url",
|
|
7281
|
+
"status": {
|
|
7282
|
+
"description": "Filter by status",
|
|
7283
|
+
"name": "status",
|
|
7271
7284
|
"hasDynamicHelp": false,
|
|
7272
7285
|
"multiple": false,
|
|
7286
|
+
"options": [
|
|
7287
|
+
"draft",
|
|
7288
|
+
"active",
|
|
7289
|
+
"archived",
|
|
7290
|
+
"unlisted"
|
|
7291
|
+
],
|
|
7273
7292
|
"type": "option"
|
|
7274
7293
|
},
|
|
7275
|
-
"
|
|
7276
|
-
"description": "
|
|
7277
|
-
"name": "
|
|
7278
|
-
"default": "json",
|
|
7294
|
+
"search": {
|
|
7295
|
+
"description": "Search by name/description",
|
|
7296
|
+
"name": "search",
|
|
7279
7297
|
"hasDynamicHelp": false,
|
|
7280
7298
|
"multiple": false,
|
|
7281
|
-
"options": [
|
|
7282
|
-
"json",
|
|
7283
|
-
"table",
|
|
7284
|
-
"csv"
|
|
7285
|
-
],
|
|
7286
7299
|
"type": "option"
|
|
7287
7300
|
},
|
|
7288
|
-
"
|
|
7289
|
-
"description": "
|
|
7290
|
-
"name": "
|
|
7291
|
-
"allowNo": false,
|
|
7292
|
-
"type": "boolean"
|
|
7293
|
-
},
|
|
7294
|
-
"dry-run": {
|
|
7295
|
-
"description": "Preview without executing",
|
|
7296
|
-
"name": "dry-run",
|
|
7297
|
-
"allowNo": false,
|
|
7298
|
-
"type": "boolean"
|
|
7299
|
-
},
|
|
7300
|
-
"profile": {
|
|
7301
|
-
"description": "Named config profile",
|
|
7302
|
-
"name": "profile",
|
|
7301
|
+
"name": {
|
|
7302
|
+
"description": "Filter by exact name",
|
|
7303
|
+
"name": "name",
|
|
7303
7304
|
"hasDynamicHelp": false,
|
|
7304
7305
|
"multiple": false,
|
|
7305
7306
|
"type": "option"
|
|
7306
7307
|
},
|
|
7307
|
-
"
|
|
7308
|
-
"description": "
|
|
7309
|
-
"name": "
|
|
7310
|
-
"allowNo": false,
|
|
7311
|
-
"type": "boolean"
|
|
7312
|
-
},
|
|
7313
|
-
"fields": {
|
|
7314
|
-
"description": "Comma-separated field names to include",
|
|
7315
|
-
"name": "fields",
|
|
7308
|
+
"slug": {
|
|
7309
|
+
"description": "Filter by exact slug",
|
|
7310
|
+
"name": "slug",
|
|
7316
7311
|
"hasDynamicHelp": false,
|
|
7317
7312
|
"multiple": false,
|
|
7318
7313
|
"type": "option"
|
|
7319
7314
|
},
|
|
7320
|
-
"
|
|
7321
|
-
"description": "
|
|
7322
|
-
"name": "
|
|
7315
|
+
"sort-by": {
|
|
7316
|
+
"description": "Sort field",
|
|
7317
|
+
"name": "sort-by",
|
|
7323
7318
|
"hasDynamicHelp": false,
|
|
7324
7319
|
"multiple": false,
|
|
7325
7320
|
"type": "option"
|
|
7326
7321
|
},
|
|
7327
|
-
"
|
|
7328
|
-
"description": "
|
|
7329
|
-
"name": "
|
|
7322
|
+
"sort-order": {
|
|
7323
|
+
"description": "Sort direction",
|
|
7324
|
+
"name": "sort-order",
|
|
7330
7325
|
"hasDynamicHelp": false,
|
|
7331
7326
|
"multiple": false,
|
|
7332
7327
|
"options": [
|
|
7333
|
-
"
|
|
7334
|
-
"
|
|
7335
|
-
"archived",
|
|
7336
|
-
"unlisted"
|
|
7328
|
+
"asc",
|
|
7329
|
+
"desc"
|
|
7337
7330
|
],
|
|
7338
7331
|
"type": "option"
|
|
7332
|
+
},
|
|
7333
|
+
"include-product-count": {
|
|
7334
|
+
"description": "Include product count per collection",
|
|
7335
|
+
"name": "include-product-count",
|
|
7336
|
+
"allowNo": false,
|
|
7337
|
+
"type": "boolean"
|
|
7338
|
+
},
|
|
7339
|
+
"include-seo-metadata": {
|
|
7340
|
+
"description": "Include SEO metadata",
|
|
7341
|
+
"name": "include-seo-metadata",
|
|
7342
|
+
"allowNo": false,
|
|
7343
|
+
"type": "boolean"
|
|
7344
|
+
},
|
|
7345
|
+
"limit": {
|
|
7346
|
+
"description": "Results per page",
|
|
7347
|
+
"name": "limit",
|
|
7348
|
+
"default": 20,
|
|
7349
|
+
"hasDynamicHelp": false,
|
|
7350
|
+
"multiple": false,
|
|
7351
|
+
"type": "option"
|
|
7352
|
+
},
|
|
7353
|
+
"offset": {
|
|
7354
|
+
"description": "Offset for pagination",
|
|
7355
|
+
"name": "offset",
|
|
7356
|
+
"default": 0,
|
|
7357
|
+
"hasDynamicHelp": false,
|
|
7358
|
+
"multiple": false,
|
|
7359
|
+
"type": "option"
|
|
7339
7360
|
}
|
|
7340
7361
|
},
|
|
7341
7362
|
"hasDynamicHelp": false,
|
|
7342
7363
|
"hiddenAliases": [],
|
|
7343
|
-
"id": "collections:
|
|
7364
|
+
"id": "collections:list",
|
|
7344
7365
|
"pluginAlias": "@ecomweb/cli",
|
|
7345
7366
|
"pluginName": "@ecomweb/cli",
|
|
7346
7367
|
"pluginType": "core",
|
|
@@ -7351,17 +7372,23 @@
|
|
|
7351
7372
|
"dist",
|
|
7352
7373
|
"commands",
|
|
7353
7374
|
"collections",
|
|
7354
|
-
"
|
|
7375
|
+
"list.js"
|
|
7355
7376
|
]
|
|
7356
7377
|
},
|
|
7357
|
-
"collections:
|
|
7378
|
+
"collections:update": {
|
|
7358
7379
|
"aliases": [],
|
|
7359
|
-
"args": {
|
|
7360
|
-
|
|
7380
|
+
"args": {
|
|
7381
|
+
"id": {
|
|
7382
|
+
"description": "Collection ID",
|
|
7383
|
+
"name": "id",
|
|
7384
|
+
"required": true
|
|
7385
|
+
}
|
|
7386
|
+
},
|
|
7387
|
+
"description": "Update a collection by ID",
|
|
7361
7388
|
"examples": [
|
|
7362
|
-
"ecomweb collections
|
|
7363
|
-
"ecomweb collections
|
|
7364
|
-
"ecomweb collections
|
|
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"
|
|
7365
7392
|
],
|
|
7366
7393
|
"flags": {
|
|
7367
7394
|
"store-ref": {
|
|
@@ -7461,7 +7488,7 @@
|
|
|
7461
7488
|
"type": "option"
|
|
7462
7489
|
},
|
|
7463
7490
|
"type": {
|
|
7464
|
-
"description": "Collection type
|
|
7491
|
+
"description": "Collection type",
|
|
7465
7492
|
"name": "type",
|
|
7466
7493
|
"hasDynamicHelp": false,
|
|
7467
7494
|
"multiple": false,
|
|
@@ -7532,7 +7559,7 @@
|
|
|
7532
7559
|
},
|
|
7533
7560
|
"hasDynamicHelp": false,
|
|
7534
7561
|
"hiddenAliases": [],
|
|
7535
|
-
"id": "collections:
|
|
7562
|
+
"id": "collections:update",
|
|
7536
7563
|
"pluginAlias": "@ecomweb/cli",
|
|
7537
7564
|
"pluginName": "@ecomweb/cli",
|
|
7538
7565
|
"pluginType": "core",
|
|
@@ -7543,25 +7570,211 @@
|
|
|
7543
7570
|
"dist",
|
|
7544
7571
|
"commands",
|
|
7545
7572
|
"collections",
|
|
7546
|
-
"
|
|
7573
|
+
"update.js"
|
|
7547
7574
|
]
|
|
7548
7575
|
},
|
|
7549
|
-
"
|
|
7576
|
+
"categories:all": {
|
|
7550
7577
|
"aliases": [],
|
|
7551
|
-
"args": {
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
"
|
|
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"
|
|
7556
7656
|
}
|
|
7557
7657
|
},
|
|
7558
|
-
"
|
|
7559
|
-
"
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
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)",
|
|
7565
7778
|
"flags": {
|
|
7566
7779
|
"store-ref": {
|
|
7567
7780
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7638,49 +7851,29 @@
|
|
|
7638
7851
|
"hasDynamicHelp": false,
|
|
7639
7852
|
"multiple": false,
|
|
7640
7853
|
"type": "option"
|
|
7641
|
-
},
|
|
7642
|
-
"soft-delete": {
|
|
7643
|
-
"description": "Soft delete (default: true)",
|
|
7644
|
-
"name": "soft-delete",
|
|
7645
|
-
"allowNo": true,
|
|
7646
|
-
"type": "boolean"
|
|
7647
|
-
},
|
|
7648
|
-
"force": {
|
|
7649
|
-
"description": "Force delete even if collection has products",
|
|
7650
|
-
"name": "force",
|
|
7651
|
-
"allowNo": false,
|
|
7652
|
-
"type": "boolean"
|
|
7653
7854
|
}
|
|
7654
7855
|
},
|
|
7655
7856
|
"hasDynamicHelp": false,
|
|
7857
|
+
"hidden": true,
|
|
7656
7858
|
"hiddenAliases": [],
|
|
7657
|
-
"id": "
|
|
7859
|
+
"id": "categories:delete",
|
|
7658
7860
|
"pluginAlias": "@ecomweb/cli",
|
|
7659
7861
|
"pluginName": "@ecomweb/cli",
|
|
7660
7862
|
"pluginType": "core",
|
|
7661
|
-
"strict":
|
|
7863
|
+
"strict": false,
|
|
7662
7864
|
"enableJsonFlag": false,
|
|
7663
7865
|
"isESM": false,
|
|
7664
7866
|
"relativePath": [
|
|
7665
7867
|
"dist",
|
|
7666
7868
|
"commands",
|
|
7667
|
-
"
|
|
7869
|
+
"categories",
|
|
7668
7870
|
"delete.js"
|
|
7669
7871
|
]
|
|
7670
7872
|
},
|
|
7671
|
-
"
|
|
7873
|
+
"categories:get": {
|
|
7672
7874
|
"aliases": [],
|
|
7673
|
-
"args": {
|
|
7674
|
-
|
|
7675
|
-
"description": "Collection ID",
|
|
7676
|
-
"name": "id",
|
|
7677
|
-
"required": true
|
|
7678
|
-
}
|
|
7679
|
-
},
|
|
7680
|
-
"description": "Get a collection by ID",
|
|
7681
|
-
"examples": [
|
|
7682
|
-
"ecomweb collections get 42"
|
|
7683
|
-
],
|
|
7875
|
+
"args": {},
|
|
7876
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7684
7877
|
"flags": {
|
|
7685
7878
|
"store-ref": {
|
|
7686
7879
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7760,30 +7953,26 @@
|
|
|
7760
7953
|
}
|
|
7761
7954
|
},
|
|
7762
7955
|
"hasDynamicHelp": false,
|
|
7956
|
+
"hidden": true,
|
|
7763
7957
|
"hiddenAliases": [],
|
|
7764
|
-
"id": "
|
|
7958
|
+
"id": "categories:get",
|
|
7765
7959
|
"pluginAlias": "@ecomweb/cli",
|
|
7766
7960
|
"pluginName": "@ecomweb/cli",
|
|
7767
7961
|
"pluginType": "core",
|
|
7768
|
-
"strict":
|
|
7962
|
+
"strict": false,
|
|
7769
7963
|
"enableJsonFlag": false,
|
|
7770
7964
|
"isESM": false,
|
|
7771
7965
|
"relativePath": [
|
|
7772
7966
|
"dist",
|
|
7773
7967
|
"commands",
|
|
7774
|
-
"
|
|
7968
|
+
"categories",
|
|
7775
7969
|
"get.js"
|
|
7776
7970
|
]
|
|
7777
7971
|
},
|
|
7778
|
-
"
|
|
7972
|
+
"categories:list": {
|
|
7779
7973
|
"aliases": [],
|
|
7780
7974
|
"args": {},
|
|
7781
|
-
"description": "
|
|
7782
|
-
"examples": [
|
|
7783
|
-
"ecomweb collections list",
|
|
7784
|
-
"ecomweb collections list --status active --type manual",
|
|
7785
|
-
"ecomweb collections list --search summer --include-product-count"
|
|
7786
|
-
],
|
|
7975
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7787
7976
|
"flags": {
|
|
7788
7977
|
"store-ref": {
|
|
7789
7978
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7860,130 +8049,29 @@
|
|
|
7860
8049
|
"hasDynamicHelp": false,
|
|
7861
8050
|
"multiple": false,
|
|
7862
8051
|
"type": "option"
|
|
7863
|
-
},
|
|
7864
|
-
"type": {
|
|
7865
|
-
"description": "Filter by collection type",
|
|
7866
|
-
"name": "type",
|
|
7867
|
-
"hasDynamicHelp": false,
|
|
7868
|
-
"multiple": false,
|
|
7869
|
-
"options": [
|
|
7870
|
-
"manual",
|
|
7871
|
-
"smart"
|
|
7872
|
-
],
|
|
7873
|
-
"type": "option"
|
|
7874
|
-
},
|
|
7875
|
-
"status": {
|
|
7876
|
-
"description": "Filter by status",
|
|
7877
|
-
"name": "status",
|
|
7878
|
-
"hasDynamicHelp": false,
|
|
7879
|
-
"multiple": false,
|
|
7880
|
-
"options": [
|
|
7881
|
-
"draft",
|
|
7882
|
-
"active",
|
|
7883
|
-
"archived",
|
|
7884
|
-
"unlisted"
|
|
7885
|
-
],
|
|
7886
|
-
"type": "option"
|
|
7887
|
-
},
|
|
7888
|
-
"search": {
|
|
7889
|
-
"description": "Search by name/description",
|
|
7890
|
-
"name": "search",
|
|
7891
|
-
"hasDynamicHelp": false,
|
|
7892
|
-
"multiple": false,
|
|
7893
|
-
"type": "option"
|
|
7894
|
-
},
|
|
7895
|
-
"name": {
|
|
7896
|
-
"description": "Filter by exact name",
|
|
7897
|
-
"name": "name",
|
|
7898
|
-
"hasDynamicHelp": false,
|
|
7899
|
-
"multiple": false,
|
|
7900
|
-
"type": "option"
|
|
7901
|
-
},
|
|
7902
|
-
"slug": {
|
|
7903
|
-
"description": "Filter by exact slug",
|
|
7904
|
-
"name": "slug",
|
|
7905
|
-
"hasDynamicHelp": false,
|
|
7906
|
-
"multiple": false,
|
|
7907
|
-
"type": "option"
|
|
7908
|
-
},
|
|
7909
|
-
"sort-by": {
|
|
7910
|
-
"description": "Sort field",
|
|
7911
|
-
"name": "sort-by",
|
|
7912
|
-
"hasDynamicHelp": false,
|
|
7913
|
-
"multiple": false,
|
|
7914
|
-
"type": "option"
|
|
7915
|
-
},
|
|
7916
|
-
"sort-order": {
|
|
7917
|
-
"description": "Sort direction",
|
|
7918
|
-
"name": "sort-order",
|
|
7919
|
-
"hasDynamicHelp": false,
|
|
7920
|
-
"multiple": false,
|
|
7921
|
-
"options": [
|
|
7922
|
-
"asc",
|
|
7923
|
-
"desc"
|
|
7924
|
-
],
|
|
7925
|
-
"type": "option"
|
|
7926
|
-
},
|
|
7927
|
-
"include-product-count": {
|
|
7928
|
-
"description": "Include product count per collection",
|
|
7929
|
-
"name": "include-product-count",
|
|
7930
|
-
"allowNo": false,
|
|
7931
|
-
"type": "boolean"
|
|
7932
|
-
},
|
|
7933
|
-
"include-seo-metadata": {
|
|
7934
|
-
"description": "Include SEO metadata",
|
|
7935
|
-
"name": "include-seo-metadata",
|
|
7936
|
-
"allowNo": false,
|
|
7937
|
-
"type": "boolean"
|
|
7938
|
-
},
|
|
7939
|
-
"limit": {
|
|
7940
|
-
"description": "Results per page",
|
|
7941
|
-
"name": "limit",
|
|
7942
|
-
"default": 20,
|
|
7943
|
-
"hasDynamicHelp": false,
|
|
7944
|
-
"multiple": false,
|
|
7945
|
-
"type": "option"
|
|
7946
|
-
},
|
|
7947
|
-
"offset": {
|
|
7948
|
-
"description": "Offset for pagination",
|
|
7949
|
-
"name": "offset",
|
|
7950
|
-
"default": 0,
|
|
7951
|
-
"hasDynamicHelp": false,
|
|
7952
|
-
"multiple": false,
|
|
7953
|
-
"type": "option"
|
|
7954
8052
|
}
|
|
7955
8053
|
},
|
|
7956
8054
|
"hasDynamicHelp": false,
|
|
8055
|
+
"hidden": true,
|
|
7957
8056
|
"hiddenAliases": [],
|
|
7958
|
-
"id": "
|
|
8057
|
+
"id": "categories:list",
|
|
7959
8058
|
"pluginAlias": "@ecomweb/cli",
|
|
7960
8059
|
"pluginName": "@ecomweb/cli",
|
|
7961
8060
|
"pluginType": "core",
|
|
7962
|
-
"strict":
|
|
8061
|
+
"strict": false,
|
|
7963
8062
|
"enableJsonFlag": false,
|
|
7964
8063
|
"isESM": false,
|
|
7965
8064
|
"relativePath": [
|
|
7966
8065
|
"dist",
|
|
7967
8066
|
"commands",
|
|
7968
|
-
"
|
|
8067
|
+
"categories",
|
|
7969
8068
|
"list.js"
|
|
7970
8069
|
]
|
|
7971
8070
|
},
|
|
7972
|
-
"
|
|
8071
|
+
"categories:update": {
|
|
7973
8072
|
"aliases": [],
|
|
7974
|
-
"args": {
|
|
7975
|
-
|
|
7976
|
-
"description": "Collection ID",
|
|
7977
|
-
"name": "id",
|
|
7978
|
-
"required": true
|
|
7979
|
-
}
|
|
7980
|
-
},
|
|
7981
|
-
"description": "Update a collection by ID",
|
|
7982
|
-
"examples": [
|
|
7983
|
-
"ecomweb collections update 42 --stdin <<< '{\"name\":\"Updated Collection\"}'",
|
|
7984
|
-
"ecomweb collections update 42 --status active",
|
|
7985
|
-
"ecomweb collections update 42 --name 'Winter Sale' --slug winter-sale"
|
|
7986
|
-
],
|
|
8073
|
+
"args": {},
|
|
8074
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7987
8075
|
"flags": {
|
|
7988
8076
|
"store-ref": {
|
|
7989
8077
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -8047,123 +8135,35 @@
|
|
|
8047
8135
|
"allowNo": false,
|
|
8048
8136
|
"type": "boolean"
|
|
8049
8137
|
},
|
|
8050
|
-
"fields": {
|
|
8051
|
-
"description": "Comma-separated field names to include",
|
|
8052
|
-
"name": "fields",
|
|
8053
|
-
"hasDynamicHelp": false,
|
|
8054
|
-
"multiple": false,
|
|
8055
|
-
"type": "option"
|
|
8056
|
-
},
|
|
8057
|
-
"exclude": {
|
|
8058
|
-
"description": "Comma-separated field names to exclude",
|
|
8059
|
-
"name": "exclude",
|
|
8060
|
-
"hasDynamicHelp": false,
|
|
8061
|
-
"multiple": false,
|
|
8062
|
-
"type": "option"
|
|
8063
|
-
},
|
|
8064
|
-
"stdin": {
|
|
8065
|
-
"description": "Read JSON body from stdin",
|
|
8066
|
-
"name": "stdin",
|
|
8067
|
-
"allowNo": false,
|
|
8068
|
-
"type": "boolean"
|
|
8069
|
-
},
|
|
8070
|
-
"file": {
|
|
8071
|
-
"description": "Read JSON body from file",
|
|
8072
|
-
"name": "file",
|
|
8073
|
-
"hasDynamicHelp": false,
|
|
8074
|
-
"multiple": false,
|
|
8075
|
-
"type": "option"
|
|
8076
|
-
},
|
|
8077
|
-
"name": {
|
|
8078
|
-
"description": "Collection name",
|
|
8079
|
-
"name": "name",
|
|
8080
|
-
"hasDynamicHelp": false,
|
|
8081
|
-
"multiple": false,
|
|
8082
|
-
"type": "option"
|
|
8083
|
-
},
|
|
8084
|
-
"type": {
|
|
8085
|
-
"description": "Collection type",
|
|
8086
|
-
"name": "type",
|
|
8087
|
-
"hasDynamicHelp": false,
|
|
8088
|
-
"multiple": false,
|
|
8089
|
-
"options": [
|
|
8090
|
-
"manual",
|
|
8091
|
-
"smart"
|
|
8092
|
-
],
|
|
8093
|
-
"type": "option"
|
|
8094
|
-
},
|
|
8095
|
-
"slug": {
|
|
8096
|
-
"description": "URL-friendly slug",
|
|
8097
|
-
"name": "slug",
|
|
8098
|
-
"hasDynamicHelp": false,
|
|
8099
|
-
"multiple": false,
|
|
8100
|
-
"type": "option"
|
|
8101
|
-
},
|
|
8102
|
-
"status": {
|
|
8103
|
-
"description": "Collection status",
|
|
8104
|
-
"name": "status",
|
|
8105
|
-
"hasDynamicHelp": false,
|
|
8106
|
-
"multiple": false,
|
|
8107
|
-
"options": [
|
|
8108
|
-
"draft",
|
|
8109
|
-
"active",
|
|
8110
|
-
"archived",
|
|
8111
|
-
"unlisted"
|
|
8112
|
-
],
|
|
8113
|
-
"type": "option"
|
|
8114
|
-
},
|
|
8115
|
-
"description": {
|
|
8116
|
-
"description": "Collection description",
|
|
8117
|
-
"name": "description",
|
|
8118
|
-
"hasDynamicHelp": false,
|
|
8119
|
-
"multiple": false,
|
|
8120
|
-
"type": "option"
|
|
8121
|
-
},
|
|
8122
|
-
"image-url": {
|
|
8123
|
-
"description": "Collection image URL",
|
|
8124
|
-
"name": "image-url",
|
|
8125
|
-
"hasDynamicHelp": false,
|
|
8126
|
-
"multiple": false,
|
|
8127
|
-
"type": "option"
|
|
8128
|
-
},
|
|
8129
|
-
"collection-sort": {
|
|
8130
|
-
"description": "Product sort order within collection",
|
|
8131
|
-
"name": "collection-sort",
|
|
8138
|
+
"fields": {
|
|
8139
|
+
"description": "Comma-separated field names to include",
|
|
8140
|
+
"name": "fields",
|
|
8132
8141
|
"hasDynamicHelp": false,
|
|
8133
8142
|
"multiple": false,
|
|
8134
|
-
"options": [
|
|
8135
|
-
"manual",
|
|
8136
|
-
"product_name_asc",
|
|
8137
|
-
"product_name_desc",
|
|
8138
|
-
"best_selling",
|
|
8139
|
-
"highest_price",
|
|
8140
|
-
"lowest_price",
|
|
8141
|
-
"newest",
|
|
8142
|
-
"oldest"
|
|
8143
|
-
],
|
|
8144
8143
|
"type": "option"
|
|
8145
8144
|
},
|
|
8146
|
-
"
|
|
8147
|
-
"description": "Comma-separated
|
|
8148
|
-
"name": "
|
|
8145
|
+
"exclude": {
|
|
8146
|
+
"description": "Comma-separated field names to exclude",
|
|
8147
|
+
"name": "exclude",
|
|
8149
8148
|
"hasDynamicHelp": false,
|
|
8150
8149
|
"multiple": false,
|
|
8151
8150
|
"type": "option"
|
|
8152
8151
|
}
|
|
8153
8152
|
},
|
|
8154
8153
|
"hasDynamicHelp": false,
|
|
8154
|
+
"hidden": true,
|
|
8155
8155
|
"hiddenAliases": [],
|
|
8156
|
-
"id": "
|
|
8156
|
+
"id": "categories:update",
|
|
8157
8157
|
"pluginAlias": "@ecomweb/cli",
|
|
8158
8158
|
"pluginName": "@ecomweb/cli",
|
|
8159
8159
|
"pluginType": "core",
|
|
8160
|
-
"strict":
|
|
8160
|
+
"strict": false,
|
|
8161
8161
|
"enableJsonFlag": false,
|
|
8162
8162
|
"isESM": false,
|
|
8163
8163
|
"relativePath": [
|
|
8164
8164
|
"dist",
|
|
8165
8165
|
"commands",
|
|
8166
|
-
"
|
|
8166
|
+
"categories",
|
|
8167
8167
|
"update.js"
|
|
8168
8168
|
]
|
|
8169
8169
|
},
|
|
@@ -19975,122 +19975,6 @@
|
|
|
19975
19975
|
"update.js"
|
|
19976
19976
|
]
|
|
19977
19977
|
},
|
|
19978
|
-
"shipping:locations": {
|
|
19979
|
-
"aliases": [],
|
|
19980
|
-
"args": {},
|
|
19981
|
-
"description": "List administrative areas (provinces and wards) for shipping zone configuration",
|
|
19982
|
-
"examples": [
|
|
19983
|
-
"ecomweb shipping locations --level 1",
|
|
19984
|
-
"ecomweb shipping locations --parent-code 11"
|
|
19985
|
-
],
|
|
19986
|
-
"flags": {
|
|
19987
|
-
"store-ref": {
|
|
19988
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
19989
|
-
"env": "ECOMWEB_STORE_REF",
|
|
19990
|
-
"name": "store-ref",
|
|
19991
|
-
"hasDynamicHelp": false,
|
|
19992
|
-
"multiple": false,
|
|
19993
|
-
"type": "option"
|
|
19994
|
-
},
|
|
19995
|
-
"api-key": {
|
|
19996
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
19997
|
-
"env": "ECOMWEB_API_KEY",
|
|
19998
|
-
"name": "api-key",
|
|
19999
|
-
"hasDynamicHelp": false,
|
|
20000
|
-
"multiple": false,
|
|
20001
|
-
"type": "option"
|
|
20002
|
-
},
|
|
20003
|
-
"api-url": {
|
|
20004
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
20005
|
-
"env": "ECOMWEB_API_URL",
|
|
20006
|
-
"name": "api-url",
|
|
20007
|
-
"hasDynamicHelp": false,
|
|
20008
|
-
"multiple": false,
|
|
20009
|
-
"type": "option"
|
|
20010
|
-
},
|
|
20011
|
-
"output": {
|
|
20012
|
-
"description": "Output format",
|
|
20013
|
-
"name": "output",
|
|
20014
|
-
"default": "json",
|
|
20015
|
-
"hasDynamicHelp": false,
|
|
20016
|
-
"multiple": false,
|
|
20017
|
-
"options": [
|
|
20018
|
-
"json",
|
|
20019
|
-
"table",
|
|
20020
|
-
"csv"
|
|
20021
|
-
],
|
|
20022
|
-
"type": "option"
|
|
20023
|
-
},
|
|
20024
|
-
"quiet": {
|
|
20025
|
-
"description": "Suppress non-data output",
|
|
20026
|
-
"name": "quiet",
|
|
20027
|
-
"allowNo": false,
|
|
20028
|
-
"type": "boolean"
|
|
20029
|
-
},
|
|
20030
|
-
"dry-run": {
|
|
20031
|
-
"description": "Preview without executing",
|
|
20032
|
-
"name": "dry-run",
|
|
20033
|
-
"allowNo": false,
|
|
20034
|
-
"type": "boolean"
|
|
20035
|
-
},
|
|
20036
|
-
"profile": {
|
|
20037
|
-
"description": "Named config profile",
|
|
20038
|
-
"name": "profile",
|
|
20039
|
-
"hasDynamicHelp": false,
|
|
20040
|
-
"multiple": false,
|
|
20041
|
-
"type": "option"
|
|
20042
|
-
},
|
|
20043
|
-
"full": {
|
|
20044
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
20045
|
-
"name": "full",
|
|
20046
|
-
"allowNo": false,
|
|
20047
|
-
"type": "boolean"
|
|
20048
|
-
},
|
|
20049
|
-
"fields": {
|
|
20050
|
-
"description": "Comma-separated field names to include",
|
|
20051
|
-
"name": "fields",
|
|
20052
|
-
"hasDynamicHelp": false,
|
|
20053
|
-
"multiple": false,
|
|
20054
|
-
"type": "option"
|
|
20055
|
-
},
|
|
20056
|
-
"exclude": {
|
|
20057
|
-
"description": "Comma-separated field names to exclude",
|
|
20058
|
-
"name": "exclude",
|
|
20059
|
-
"hasDynamicHelp": false,
|
|
20060
|
-
"multiple": false,
|
|
20061
|
-
"type": "option"
|
|
20062
|
-
},
|
|
20063
|
-
"level": {
|
|
20064
|
-
"description": "Administrative level. For Vietnam: 1 = province, 2 = ward. Validated server-side.",
|
|
20065
|
-
"name": "level",
|
|
20066
|
-
"hasDynamicHelp": false,
|
|
20067
|
-
"multiple": false,
|
|
20068
|
-
"type": "option"
|
|
20069
|
-
},
|
|
20070
|
-
"parent-code": {
|
|
20071
|
-
"description": "Return the children of this area, e.g. 11 for Ha Noi",
|
|
20072
|
-
"name": "parent-code",
|
|
20073
|
-
"hasDynamicHelp": false,
|
|
20074
|
-
"multiple": false,
|
|
20075
|
-
"type": "option"
|
|
20076
|
-
}
|
|
20077
|
-
},
|
|
20078
|
-
"hasDynamicHelp": false,
|
|
20079
|
-
"hiddenAliases": [],
|
|
20080
|
-
"id": "shipping:locations",
|
|
20081
|
-
"pluginAlias": "@ecomweb/cli",
|
|
20082
|
-
"pluginName": "@ecomweb/cli",
|
|
20083
|
-
"pluginType": "core",
|
|
20084
|
-
"strict": true,
|
|
20085
|
-
"enableJsonFlag": false,
|
|
20086
|
-
"isESM": false,
|
|
20087
|
-
"relativePath": [
|
|
20088
|
-
"dist",
|
|
20089
|
-
"commands",
|
|
20090
|
-
"shipping",
|
|
20091
|
-
"locations.js"
|
|
20092
|
-
]
|
|
20093
|
-
},
|
|
20094
19978
|
"shipping-rates:create": {
|
|
20095
19979
|
"aliases": [],
|
|
20096
19980
|
"args": {},
|
|
@@ -23712,7 +23596,7 @@
|
|
|
23712
23596
|
"aliases": [],
|
|
23713
23597
|
"args": {
|
|
23714
23598
|
"dir": {
|
|
23715
|
-
"description": "Target directory (default: ./<store-ref
|
|
23599
|
+
"description": "Target directory (default: ./<store-name>-<store-ref>); must be empty",
|
|
23716
23600
|
"name": "dir",
|
|
23717
23601
|
"required": false
|
|
23718
23602
|
}
|
|
@@ -24086,6 +23970,122 @@
|
|
|
24086
23970
|
"skill.js"
|
|
24087
23971
|
]
|
|
24088
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",
|
|
24068
|
+
"hasDynamicHelp": false,
|
|
24069
|
+
"multiple": false,
|
|
24070
|
+
"type": "option"
|
|
24071
|
+
}
|
|
24072
|
+
},
|
|
24073
|
+
"hasDynamicHelp": false,
|
|
24074
|
+
"hiddenAliases": [],
|
|
24075
|
+
"id": "shipping:locations",
|
|
24076
|
+
"pluginAlias": "@ecomweb/cli",
|
|
24077
|
+
"pluginName": "@ecomweb/cli",
|
|
24078
|
+
"pluginType": "core",
|
|
24079
|
+
"strict": true,
|
|
24080
|
+
"enableJsonFlag": false,
|
|
24081
|
+
"isESM": false,
|
|
24082
|
+
"relativePath": [
|
|
24083
|
+
"dist",
|
|
24084
|
+
"commands",
|
|
24085
|
+
"shipping",
|
|
24086
|
+
"locations.js"
|
|
24087
|
+
]
|
|
24088
|
+
},
|
|
24089
24089
|
"stores:create": {
|
|
24090
24090
|
"aliases": [],
|
|
24091
24091
|
"args": {},
|
|
@@ -27064,19 +27064,18 @@
|
|
|
27064
27064
|
"time-series.js"
|
|
27065
27065
|
]
|
|
27066
27066
|
},
|
|
27067
|
-
"
|
|
27067
|
+
"auth:profiles:delete": {
|
|
27068
27068
|
"aliases": [],
|
|
27069
27069
|
"args": {
|
|
27070
|
-
"
|
|
27071
|
-
"description": "
|
|
27072
|
-
"name": "
|
|
27070
|
+
"name": {
|
|
27071
|
+
"description": "Profile name to delete",
|
|
27072
|
+
"name": "name",
|
|
27073
27073
|
"required": true
|
|
27074
27074
|
}
|
|
27075
27075
|
},
|
|
27076
|
-
"description": "
|
|
27076
|
+
"description": "Delete a profile and its credentials",
|
|
27077
27077
|
"examples": [
|
|
27078
|
-
"ecomweb
|
|
27079
|
-
"ecomweb attributes values create 1 --value red --display \"Red\" --swatch-type color --swatch-value \"#ff0000\""
|
|
27078
|
+
"ecomweb auth profiles delete staging"
|
|
27080
27079
|
],
|
|
27081
27080
|
"flags": {
|
|
27082
27081
|
"store-ref": {
|
|
@@ -27154,46 +27153,11 @@
|
|
|
27154
27153
|
"hasDynamicHelp": false,
|
|
27155
27154
|
"multiple": false,
|
|
27156
27155
|
"type": "option"
|
|
27157
|
-
},
|
|
27158
|
-
"value": {
|
|
27159
|
-
"description": "Machine value, e.g. red",
|
|
27160
|
-
"name": "value",
|
|
27161
|
-
"required": true,
|
|
27162
|
-
"hasDynamicHelp": false,
|
|
27163
|
-
"multiple": false,
|
|
27164
|
-
"type": "option"
|
|
27165
|
-
},
|
|
27166
|
-
"display": {
|
|
27167
|
-
"description": "Display value, e.g. Red",
|
|
27168
|
-
"name": "display",
|
|
27169
|
-
"required": true,
|
|
27170
|
-
"hasDynamicHelp": false,
|
|
27171
|
-
"multiple": false,
|
|
27172
|
-
"type": "option"
|
|
27173
|
-
},
|
|
27174
|
-
"swatch-type": {
|
|
27175
|
-
"description": "How this value renders as a swatch",
|
|
27176
|
-
"name": "swatch-type",
|
|
27177
|
-
"hasDynamicHelp": false,
|
|
27178
|
-
"multiple": false,
|
|
27179
|
-
"options": [
|
|
27180
|
-
"none",
|
|
27181
|
-
"color",
|
|
27182
|
-
"image"
|
|
27183
|
-
],
|
|
27184
|
-
"type": "option"
|
|
27185
|
-
},
|
|
27186
|
-
"swatch-value": {
|
|
27187
|
-
"description": "Hex color or image URL, depending on swatch-type",
|
|
27188
|
-
"name": "swatch-value",
|
|
27189
|
-
"hasDynamicHelp": false,
|
|
27190
|
-
"multiple": false,
|
|
27191
|
-
"type": "option"
|
|
27192
27156
|
}
|
|
27193
27157
|
},
|
|
27194
27158
|
"hasDynamicHelp": false,
|
|
27195
27159
|
"hiddenAliases": [],
|
|
27196
|
-
"id": "
|
|
27160
|
+
"id": "auth:profiles:delete",
|
|
27197
27161
|
"pluginAlias": "@ecomweb/cli",
|
|
27198
27162
|
"pluginName": "@ecomweb/cli",
|
|
27199
27163
|
"pluginType": "core",
|
|
@@ -27203,29 +27167,17 @@
|
|
|
27203
27167
|
"relativePath": [
|
|
27204
27168
|
"dist",
|
|
27205
27169
|
"commands",
|
|
27206
|
-
"
|
|
27207
|
-
"
|
|
27208
|
-
"
|
|
27170
|
+
"auth",
|
|
27171
|
+
"profiles",
|
|
27172
|
+
"delete.js"
|
|
27209
27173
|
]
|
|
27210
27174
|
},
|
|
27211
|
-
"
|
|
27175
|
+
"auth:profiles:list": {
|
|
27212
27176
|
"aliases": [],
|
|
27213
|
-
"args": {
|
|
27214
|
-
|
|
27215
|
-
"description": "Attribute ID",
|
|
27216
|
-
"name": "attribute-id",
|
|
27217
|
-
"required": true
|
|
27218
|
-
},
|
|
27219
|
-
"value-id": {
|
|
27220
|
-
"description": "Value ID",
|
|
27221
|
-
"name": "value-id",
|
|
27222
|
-
"required": true
|
|
27223
|
-
}
|
|
27224
|
-
},
|
|
27225
|
-
"description": "Delete a product attribute value",
|
|
27177
|
+
"args": {},
|
|
27178
|
+
"description": "List all configured profiles",
|
|
27226
27179
|
"examples": [
|
|
27227
|
-
"ecomweb
|
|
27228
|
-
"ecomweb attributes values delete 1 5 --force"
|
|
27180
|
+
"ecomweb auth profiles list"
|
|
27229
27181
|
],
|
|
27230
27182
|
"flags": {
|
|
27231
27183
|
"store-ref": {
|
|
@@ -27303,17 +27255,11 @@
|
|
|
27303
27255
|
"hasDynamicHelp": false,
|
|
27304
27256
|
"multiple": false,
|
|
27305
27257
|
"type": "option"
|
|
27306
|
-
},
|
|
27307
|
-
"force": {
|
|
27308
|
-
"description": "Delete even if products use this value",
|
|
27309
|
-
"name": "force",
|
|
27310
|
-
"allowNo": false,
|
|
27311
|
-
"type": "boolean"
|
|
27312
27258
|
}
|
|
27313
27259
|
},
|
|
27314
27260
|
"hasDynamicHelp": false,
|
|
27315
27261
|
"hiddenAliases": [],
|
|
27316
|
-
"id": "
|
|
27262
|
+
"id": "auth:profiles:list",
|
|
27317
27263
|
"pluginAlias": "@ecomweb/cli",
|
|
27318
27264
|
"pluginName": "@ecomweb/cli",
|
|
27319
27265
|
"pluginType": "core",
|
|
@@ -27323,23 +27269,24 @@
|
|
|
27323
27269
|
"relativePath": [
|
|
27324
27270
|
"dist",
|
|
27325
27271
|
"commands",
|
|
27326
|
-
"
|
|
27327
|
-
"
|
|
27328
|
-
"
|
|
27272
|
+
"auth",
|
|
27273
|
+
"profiles",
|
|
27274
|
+
"list.js"
|
|
27329
27275
|
]
|
|
27330
27276
|
},
|
|
27331
|
-
"
|
|
27277
|
+
"auth:profiles:use": {
|
|
27332
27278
|
"aliases": [],
|
|
27333
27279
|
"args": {
|
|
27334
|
-
"
|
|
27335
|
-
"description": "
|
|
27336
|
-
"name": "
|
|
27280
|
+
"name": {
|
|
27281
|
+
"description": "Profile name to activate",
|
|
27282
|
+
"name": "name",
|
|
27337
27283
|
"required": true
|
|
27338
27284
|
}
|
|
27339
27285
|
},
|
|
27340
|
-
"description": "
|
|
27286
|
+
"description": "Switch the active profile",
|
|
27341
27287
|
"examples": [
|
|
27342
|
-
"ecomweb
|
|
27288
|
+
"ecomweb auth profiles use production",
|
|
27289
|
+
"ecomweb auth profiles use staging"
|
|
27343
27290
|
],
|
|
27344
27291
|
"flags": {
|
|
27345
27292
|
"store-ref": {
|
|
@@ -27421,7 +27368,7 @@
|
|
|
27421
27368
|
},
|
|
27422
27369
|
"hasDynamicHelp": false,
|
|
27423
27370
|
"hiddenAliases": [],
|
|
27424
|
-
"id": "
|
|
27371
|
+
"id": "auth:profiles:use",
|
|
27425
27372
|
"pluginAlias": "@ecomweb/cli",
|
|
27426
27373
|
"pluginName": "@ecomweb/cli",
|
|
27427
27374
|
"pluginType": "core",
|
|
@@ -27431,29 +27378,24 @@
|
|
|
27431
27378
|
"relativePath": [
|
|
27432
27379
|
"dist",
|
|
27433
27380
|
"commands",
|
|
27434
|
-
"
|
|
27435
|
-
"
|
|
27436
|
-
"
|
|
27381
|
+
"auth",
|
|
27382
|
+
"profiles",
|
|
27383
|
+
"use.js"
|
|
27437
27384
|
]
|
|
27438
27385
|
},
|
|
27439
|
-
"attributes:values:
|
|
27386
|
+
"attributes:values:create": {
|
|
27440
27387
|
"aliases": [],
|
|
27441
27388
|
"args": {
|
|
27442
27389
|
"attribute-id": {
|
|
27443
27390
|
"description": "Attribute ID",
|
|
27444
27391
|
"name": "attribute-id",
|
|
27445
27392
|
"required": true
|
|
27446
|
-
},
|
|
27447
|
-
"value-id": {
|
|
27448
|
-
"description": "Value ID",
|
|
27449
|
-
"name": "value-id",
|
|
27450
|
-
"required": true
|
|
27451
27393
|
}
|
|
27452
27394
|
},
|
|
27453
|
-
"description": "
|
|
27395
|
+
"description": "Create a value for a product attribute",
|
|
27454
27396
|
"examples": [
|
|
27455
|
-
"ecomweb attributes values
|
|
27456
|
-
"ecomweb attributes values
|
|
27397
|
+
"ecomweb attributes values create 1 --value red --display \"Red\"",
|
|
27398
|
+
"ecomweb attributes values create 1 --value red --display \"Red\" --swatch-type color --swatch-value \"#ff0000\""
|
|
27457
27399
|
],
|
|
27458
27400
|
"flags": {
|
|
27459
27401
|
"store-ref": {
|
|
@@ -27535,6 +27477,7 @@
|
|
|
27535
27477
|
"value": {
|
|
27536
27478
|
"description": "Machine value, e.g. red",
|
|
27537
27479
|
"name": "value",
|
|
27480
|
+
"required": true,
|
|
27538
27481
|
"hasDynamicHelp": false,
|
|
27539
27482
|
"multiple": false,
|
|
27540
27483
|
"type": "option"
|
|
@@ -27542,6 +27485,7 @@
|
|
|
27542
27485
|
"display": {
|
|
27543
27486
|
"description": "Display value, e.g. Red",
|
|
27544
27487
|
"name": "display",
|
|
27488
|
+
"required": true,
|
|
27545
27489
|
"hasDynamicHelp": false,
|
|
27546
27490
|
"multiple": false,
|
|
27547
27491
|
"type": "option"
|
|
@@ -27564,18 +27508,11 @@
|
|
|
27564
27508
|
"hasDynamicHelp": false,
|
|
27565
27509
|
"multiple": false,
|
|
27566
27510
|
"type": "option"
|
|
27567
|
-
},
|
|
27568
|
-
"sort-order": {
|
|
27569
|
-
"description": "Display order among sibling values",
|
|
27570
|
-
"name": "sort-order",
|
|
27571
|
-
"hasDynamicHelp": false,
|
|
27572
|
-
"multiple": false,
|
|
27573
|
-
"type": "option"
|
|
27574
27511
|
}
|
|
27575
27512
|
},
|
|
27576
27513
|
"hasDynamicHelp": false,
|
|
27577
27514
|
"hiddenAliases": [],
|
|
27578
|
-
"id": "attributes:values:
|
|
27515
|
+
"id": "attributes:values:create",
|
|
27579
27516
|
"pluginAlias": "@ecomweb/cli",
|
|
27580
27517
|
"pluginName": "@ecomweb/cli",
|
|
27581
27518
|
"pluginType": "core",
|
|
@@ -27587,21 +27524,27 @@
|
|
|
27587
27524
|
"commands",
|
|
27588
27525
|
"attributes",
|
|
27589
27526
|
"values",
|
|
27590
|
-
"
|
|
27527
|
+
"create.js"
|
|
27591
27528
|
]
|
|
27592
27529
|
},
|
|
27593
|
-
"
|
|
27530
|
+
"attributes:values:delete": {
|
|
27594
27531
|
"aliases": [],
|
|
27595
27532
|
"args": {
|
|
27596
|
-
"
|
|
27597
|
-
"description": "
|
|
27598
|
-
"name": "
|
|
27533
|
+
"attribute-id": {
|
|
27534
|
+
"description": "Attribute ID",
|
|
27535
|
+
"name": "attribute-id",
|
|
27536
|
+
"required": true
|
|
27537
|
+
},
|
|
27538
|
+
"value-id": {
|
|
27539
|
+
"description": "Value ID",
|
|
27540
|
+
"name": "value-id",
|
|
27599
27541
|
"required": true
|
|
27600
27542
|
}
|
|
27601
27543
|
},
|
|
27602
|
-
"description": "Delete a
|
|
27544
|
+
"description": "Delete a product attribute value",
|
|
27603
27545
|
"examples": [
|
|
27604
|
-
"ecomweb
|
|
27546
|
+
"ecomweb attributes values delete 1 5",
|
|
27547
|
+
"ecomweb attributes values delete 1 5 --force"
|
|
27605
27548
|
],
|
|
27606
27549
|
"flags": {
|
|
27607
27550
|
"store-ref": {
|
|
@@ -27679,11 +27622,17 @@
|
|
|
27679
27622
|
"hasDynamicHelp": false,
|
|
27680
27623
|
"multiple": false,
|
|
27681
27624
|
"type": "option"
|
|
27625
|
+
},
|
|
27626
|
+
"force": {
|
|
27627
|
+
"description": "Delete even if products use this value",
|
|
27628
|
+
"name": "force",
|
|
27629
|
+
"allowNo": false,
|
|
27630
|
+
"type": "boolean"
|
|
27682
27631
|
}
|
|
27683
27632
|
},
|
|
27684
27633
|
"hasDynamicHelp": false,
|
|
27685
27634
|
"hiddenAliases": [],
|
|
27686
|
-
"id": "
|
|
27635
|
+
"id": "attributes:values:delete",
|
|
27687
27636
|
"pluginAlias": "@ecomweb/cli",
|
|
27688
27637
|
"pluginName": "@ecomweb/cli",
|
|
27689
27638
|
"pluginType": "core",
|
|
@@ -27693,17 +27642,23 @@
|
|
|
27693
27642
|
"relativePath": [
|
|
27694
27643
|
"dist",
|
|
27695
27644
|
"commands",
|
|
27696
|
-
"
|
|
27697
|
-
"
|
|
27645
|
+
"attributes",
|
|
27646
|
+
"values",
|
|
27698
27647
|
"delete.js"
|
|
27699
27648
|
]
|
|
27700
27649
|
},
|
|
27701
|
-
"
|
|
27650
|
+
"attributes:values:list": {
|
|
27702
27651
|
"aliases": [],
|
|
27703
|
-
"args": {
|
|
27704
|
-
|
|
27652
|
+
"args": {
|
|
27653
|
+
"attribute-id": {
|
|
27654
|
+
"description": "Attribute ID",
|
|
27655
|
+
"name": "attribute-id",
|
|
27656
|
+
"required": true
|
|
27657
|
+
}
|
|
27658
|
+
},
|
|
27659
|
+
"description": "List the values of a product attribute",
|
|
27705
27660
|
"examples": [
|
|
27706
|
-
"ecomweb
|
|
27661
|
+
"ecomweb attributes values list 1"
|
|
27707
27662
|
],
|
|
27708
27663
|
"flags": {
|
|
27709
27664
|
"store-ref": {
|
|
@@ -27785,7 +27740,7 @@
|
|
|
27785
27740
|
},
|
|
27786
27741
|
"hasDynamicHelp": false,
|
|
27787
27742
|
"hiddenAliases": [],
|
|
27788
|
-
"id": "
|
|
27743
|
+
"id": "attributes:values:list",
|
|
27789
27744
|
"pluginAlias": "@ecomweb/cli",
|
|
27790
27745
|
"pluginName": "@ecomweb/cli",
|
|
27791
27746
|
"pluginType": "core",
|
|
@@ -27795,24 +27750,29 @@
|
|
|
27795
27750
|
"relativePath": [
|
|
27796
27751
|
"dist",
|
|
27797
27752
|
"commands",
|
|
27798
|
-
"
|
|
27799
|
-
"
|
|
27753
|
+
"attributes",
|
|
27754
|
+
"values",
|
|
27800
27755
|
"list.js"
|
|
27801
27756
|
]
|
|
27802
27757
|
},
|
|
27803
|
-
"
|
|
27758
|
+
"attributes:values:update": {
|
|
27804
27759
|
"aliases": [],
|
|
27805
27760
|
"args": {
|
|
27806
|
-
"
|
|
27807
|
-
"description": "
|
|
27808
|
-
"name": "
|
|
27761
|
+
"attribute-id": {
|
|
27762
|
+
"description": "Attribute ID",
|
|
27763
|
+
"name": "attribute-id",
|
|
27764
|
+
"required": true
|
|
27765
|
+
},
|
|
27766
|
+
"value-id": {
|
|
27767
|
+
"description": "Value ID",
|
|
27768
|
+
"name": "value-id",
|
|
27809
27769
|
"required": true
|
|
27810
27770
|
}
|
|
27811
27771
|
},
|
|
27812
|
-
"description": "
|
|
27772
|
+
"description": "Update a product attribute value",
|
|
27813
27773
|
"examples": [
|
|
27814
|
-
"ecomweb
|
|
27815
|
-
"ecomweb
|
|
27774
|
+
"ecomweb attributes values update 1 5 --display \"Crimson\"",
|
|
27775
|
+
"ecomweb attributes values update 1 5 --sort-order 2"
|
|
27816
27776
|
],
|
|
27817
27777
|
"flags": {
|
|
27818
27778
|
"store-ref": {
|
|
@@ -27890,11 +27850,51 @@
|
|
|
27890
27850
|
"hasDynamicHelp": false,
|
|
27891
27851
|
"multiple": false,
|
|
27892
27852
|
"type": "option"
|
|
27853
|
+
},
|
|
27854
|
+
"value": {
|
|
27855
|
+
"description": "Machine value, e.g. red",
|
|
27856
|
+
"name": "value",
|
|
27857
|
+
"hasDynamicHelp": false,
|
|
27858
|
+
"multiple": false,
|
|
27859
|
+
"type": "option"
|
|
27860
|
+
},
|
|
27861
|
+
"display": {
|
|
27862
|
+
"description": "Display value, e.g. Red",
|
|
27863
|
+
"name": "display",
|
|
27864
|
+
"hasDynamicHelp": false,
|
|
27865
|
+
"multiple": false,
|
|
27866
|
+
"type": "option"
|
|
27867
|
+
},
|
|
27868
|
+
"swatch-type": {
|
|
27869
|
+
"description": "How this value renders as a swatch",
|
|
27870
|
+
"name": "swatch-type",
|
|
27871
|
+
"hasDynamicHelp": false,
|
|
27872
|
+
"multiple": false,
|
|
27873
|
+
"options": [
|
|
27874
|
+
"none",
|
|
27875
|
+
"color",
|
|
27876
|
+
"image"
|
|
27877
|
+
],
|
|
27878
|
+
"type": "option"
|
|
27879
|
+
},
|
|
27880
|
+
"swatch-value": {
|
|
27881
|
+
"description": "Hex color or image URL, depending on swatch-type",
|
|
27882
|
+
"name": "swatch-value",
|
|
27883
|
+
"hasDynamicHelp": false,
|
|
27884
|
+
"multiple": false,
|
|
27885
|
+
"type": "option"
|
|
27886
|
+
},
|
|
27887
|
+
"sort-order": {
|
|
27888
|
+
"description": "Display order among sibling values",
|
|
27889
|
+
"name": "sort-order",
|
|
27890
|
+
"hasDynamicHelp": false,
|
|
27891
|
+
"multiple": false,
|
|
27892
|
+
"type": "option"
|
|
27893
27893
|
}
|
|
27894
27894
|
},
|
|
27895
27895
|
"hasDynamicHelp": false,
|
|
27896
27896
|
"hiddenAliases": [],
|
|
27897
|
-
"id": "
|
|
27897
|
+
"id": "attributes:values:update",
|
|
27898
27898
|
"pluginAlias": "@ecomweb/cli",
|
|
27899
27899
|
"pluginName": "@ecomweb/cli",
|
|
27900
27900
|
"pluginType": "core",
|
|
@@ -27904,9 +27904,9 @@
|
|
|
27904
27904
|
"relativePath": [
|
|
27905
27905
|
"dist",
|
|
27906
27906
|
"commands",
|
|
27907
|
-
"
|
|
27908
|
-
"
|
|
27909
|
-
"
|
|
27907
|
+
"attributes",
|
|
27908
|
+
"values",
|
|
27909
|
+
"update.js"
|
|
27910
27910
|
]
|
|
27911
27911
|
},
|
|
27912
27912
|
"store-settings:auth:get": {
|
|
@@ -28305,5 +28305,5 @@
|
|
|
28305
28305
|
]
|
|
28306
28306
|
}
|
|
28307
28307
|
},
|
|
28308
|
-
"version": "0.
|
|
28308
|
+
"version": "0.9.0"
|
|
28309
28309
|
}
|