@ecomweb/cli 0.7.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/README.md +56 -32
- package/dist/base-command.d.ts +8 -0
- package/dist/base-command.js +43 -4
- package/dist/base-command.js.map +1 -1
- package/dist/commands/auth/login.d.ts +6 -4
- package/dist/commands/auth/login.js +117 -89
- package/dist/commands/auth/login.js.map +1 -1
- package/dist/commands/auth/logout.js +28 -9
- package/dist/commands/auth/logout.js.map +1 -1
- package/dist/commands/auth/profiles/delete.js +11 -0
- package/dist/commands/auth/profiles/delete.js.map +1 -1
- package/dist/commands/auth/profiles/list.js +2 -2
- package/dist/commands/auth/profiles/list.js.map +1 -1
- package/dist/commands/auth/status.js +17 -9
- package/dist/commands/auth/status.js.map +1 -1
- 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/commands/{auth/register.d.ts → stores/create.d.ts} +4 -3
- package/dist/commands/stores/create.js +68 -0
- package/dist/commands/stores/create.js.map +1 -0
- package/dist/commands/stores/current.js +1 -1
- package/dist/commands/stores/current.js.map +1 -1
- package/dist/commands/stores/list.js +3 -3
- package/dist/commands/stores/list.js.map +1 -1
- package/dist/commands/stores/switch.js +14 -6
- package/dist/commands/stores/switch.js.map +1 -1
- package/dist/lib/api-client.d.ts +5 -4
- package/dist/lib/api-client.js +32 -16
- package/dist/lib/api-client.js.map +1 -1
- package/dist/lib/codex-skill.d.ts +1 -1
- package/dist/lib/codex-skill.js +12 -8
- package/dist/lib/codex-skill.js.map +1 -1
- package/dist/lib/config.d.ts +6 -18
- package/dist/lib/config.js +35 -64
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/credential-store.d.ts +44 -0
- package/dist/lib/credential-store.js +137 -0
- package/dist/lib/credential-store.js.map +1 -0
- package/dist/lib/device-login.d.ts +22 -0
- package/dist/lib/device-login.js +66 -0
- package/dist/lib/device-login.js.map +1 -0
- package/dist/lib/errors.d.ts +1 -0
- package/dist/lib/errors.js +6 -1
- package/dist/lib/errors.js.map +1 -1
- package/dist/lib/file-lock.d.ts +6 -0
- package/dist/lib/file-lock.js +66 -0
- package/dist/lib/file-lock.js.map +1 -0
- package/dist/lib/open-browser.d.ts +13 -0
- package/dist/lib/open-browser.js +38 -0
- package/dist/lib/open-browser.js.map +1 -0
- package/dist/lib/pending-login.d.ts +5 -0
- package/dist/lib/pending-login.js +39 -0
- package/dist/lib/pending-login.js.map +1 -0
- 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/dist/lib/secure-file.d.ts +1 -0
- package/dist/lib/secure-file.js +15 -0
- package/dist/lib/secure-file.js.map +1 -0
- package/dist/lib/session.d.ts +40 -0
- package/dist/lib/session.js +80 -0
- package/dist/lib/session.js.map +1 -0
- package/dist/lib/store-selection.d.ts +19 -0
- package/dist/lib/store-selection.js +23 -0
- package/dist/lib/store-selection.js.map +1 -0
- package/oclif.manifest.json +1482 -1833
- package/package.json +2 -1
- package/dist/commands/auth/register.js +0 -35
- package/dist/commands/auth/register.js.map +0 -1
- package/dist/commands/auth/verify.d.ts +0 -20
- package/dist/commands/auth/verify.js +0 -43
- package/dist/commands/auth/verify.js.map +0 -1
- package/dist/commands/init.d.ts +0 -22
- package/dist/commands/init.js +0 -84
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/setup.d.ts +0 -19
- package/dist/commands/setup.js +0 -186
- package/dist/commands/setup.js.map +0 -1
- package/dist/lib/email-login.d.ts +0 -35
- package/dist/lib/email-login.js +0 -86
- package/dist/lib/email-login.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -279,131 +279,6 @@
|
|
|
279
279
|
"describe.js"
|
|
280
280
|
]
|
|
281
281
|
},
|
|
282
|
-
"init": {
|
|
283
|
-
"aliases": [],
|
|
284
|
-
"args": {},
|
|
285
|
-
"description": "Create a store and generate an API key (requires authenticated session)",
|
|
286
|
-
"examples": [
|
|
287
|
-
"ecomweb init --store-name \"My Store\"",
|
|
288
|
-
"ecomweb init --store-name \"My Store\" --store-description \"An awesome store\"",
|
|
289
|
-
"ecomweb init --store-name \"My Store\" --key-name \"Production Key\""
|
|
290
|
-
],
|
|
291
|
-
"flags": {
|
|
292
|
-
"store-ref": {
|
|
293
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
294
|
-
"env": "ECOMWEB_STORE_REF",
|
|
295
|
-
"name": "store-ref",
|
|
296
|
-
"hasDynamicHelp": false,
|
|
297
|
-
"multiple": false,
|
|
298
|
-
"type": "option"
|
|
299
|
-
},
|
|
300
|
-
"api-key": {
|
|
301
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
302
|
-
"env": "ECOMWEB_API_KEY",
|
|
303
|
-
"name": "api-key",
|
|
304
|
-
"hasDynamicHelp": false,
|
|
305
|
-
"multiple": false,
|
|
306
|
-
"type": "option"
|
|
307
|
-
},
|
|
308
|
-
"api-url": {
|
|
309
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
310
|
-
"env": "ECOMWEB_API_URL",
|
|
311
|
-
"name": "api-url",
|
|
312
|
-
"hasDynamicHelp": false,
|
|
313
|
-
"multiple": false,
|
|
314
|
-
"type": "option"
|
|
315
|
-
},
|
|
316
|
-
"output": {
|
|
317
|
-
"description": "Output format",
|
|
318
|
-
"name": "output",
|
|
319
|
-
"default": "json",
|
|
320
|
-
"hasDynamicHelp": false,
|
|
321
|
-
"multiple": false,
|
|
322
|
-
"options": [
|
|
323
|
-
"json",
|
|
324
|
-
"table",
|
|
325
|
-
"csv"
|
|
326
|
-
],
|
|
327
|
-
"type": "option"
|
|
328
|
-
},
|
|
329
|
-
"quiet": {
|
|
330
|
-
"description": "Suppress non-data output",
|
|
331
|
-
"name": "quiet",
|
|
332
|
-
"allowNo": false,
|
|
333
|
-
"type": "boolean"
|
|
334
|
-
},
|
|
335
|
-
"dry-run": {
|
|
336
|
-
"description": "Preview without executing",
|
|
337
|
-
"name": "dry-run",
|
|
338
|
-
"allowNo": false,
|
|
339
|
-
"type": "boolean"
|
|
340
|
-
},
|
|
341
|
-
"profile": {
|
|
342
|
-
"description": "Named config profile",
|
|
343
|
-
"name": "profile",
|
|
344
|
-
"hasDynamicHelp": false,
|
|
345
|
-
"multiple": false,
|
|
346
|
-
"type": "option"
|
|
347
|
-
},
|
|
348
|
-
"full": {
|
|
349
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
350
|
-
"name": "full",
|
|
351
|
-
"allowNo": false,
|
|
352
|
-
"type": "boolean"
|
|
353
|
-
},
|
|
354
|
-
"fields": {
|
|
355
|
-
"description": "Comma-separated field names to include",
|
|
356
|
-
"name": "fields",
|
|
357
|
-
"hasDynamicHelp": false,
|
|
358
|
-
"multiple": false,
|
|
359
|
-
"type": "option"
|
|
360
|
-
},
|
|
361
|
-
"exclude": {
|
|
362
|
-
"description": "Comma-separated field names to exclude",
|
|
363
|
-
"name": "exclude",
|
|
364
|
-
"hasDynamicHelp": false,
|
|
365
|
-
"multiple": false,
|
|
366
|
-
"type": "option"
|
|
367
|
-
},
|
|
368
|
-
"store-name": {
|
|
369
|
-
"description": "Name for the new store",
|
|
370
|
-
"name": "store-name",
|
|
371
|
-
"required": true,
|
|
372
|
-
"hasDynamicHelp": false,
|
|
373
|
-
"multiple": false,
|
|
374
|
-
"type": "option"
|
|
375
|
-
},
|
|
376
|
-
"store-description": {
|
|
377
|
-
"description": "Description for the new store",
|
|
378
|
-
"name": "store-description",
|
|
379
|
-
"hasDynamicHelp": false,
|
|
380
|
-
"multiple": false,
|
|
381
|
-
"type": "option"
|
|
382
|
-
},
|
|
383
|
-
"key-name": {
|
|
384
|
-
"description": "Name for the generated API key",
|
|
385
|
-
"name": "key-name",
|
|
386
|
-
"default": "CLI Key",
|
|
387
|
-
"hasDynamicHelp": false,
|
|
388
|
-
"multiple": false,
|
|
389
|
-
"type": "option"
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
"hasDynamicHelp": false,
|
|
393
|
-
"hiddenAliases": [],
|
|
394
|
-
"id": "init",
|
|
395
|
-
"pluginAlias": "@ecomweb/cli",
|
|
396
|
-
"pluginName": "@ecomweb/cli",
|
|
397
|
-
"pluginType": "core",
|
|
398
|
-
"strict": true,
|
|
399
|
-
"enableJsonFlag": false,
|
|
400
|
-
"isESM": false,
|
|
401
|
-
"relativePath": [
|
|
402
|
-
"dist",
|
|
403
|
-
"commands",
|
|
404
|
-
"init.js"
|
|
405
|
-
]
|
|
406
|
-
},
|
|
407
282
|
"logs": {
|
|
408
283
|
"aliases": [],
|
|
409
284
|
"args": {
|
|
@@ -517,107 +392,6 @@
|
|
|
517
392
|
"logs.js"
|
|
518
393
|
]
|
|
519
394
|
},
|
|
520
|
-
"setup": {
|
|
521
|
-
"aliases": [],
|
|
522
|
-
"args": {},
|
|
523
|
-
"description": "Interactive setup wizard — create account, verify email, and set up your store",
|
|
524
|
-
"examples": [
|
|
525
|
-
"ecomweb setup",
|
|
526
|
-
"ecomweb setup --profile staging"
|
|
527
|
-
],
|
|
528
|
-
"flags": {
|
|
529
|
-
"store-ref": {
|
|
530
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
531
|
-
"env": "ECOMWEB_STORE_REF",
|
|
532
|
-
"name": "store-ref",
|
|
533
|
-
"hasDynamicHelp": false,
|
|
534
|
-
"multiple": false,
|
|
535
|
-
"type": "option"
|
|
536
|
-
},
|
|
537
|
-
"api-key": {
|
|
538
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
539
|
-
"env": "ECOMWEB_API_KEY",
|
|
540
|
-
"name": "api-key",
|
|
541
|
-
"hasDynamicHelp": false,
|
|
542
|
-
"multiple": false,
|
|
543
|
-
"type": "option"
|
|
544
|
-
},
|
|
545
|
-
"api-url": {
|
|
546
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
547
|
-
"env": "ECOMWEB_API_URL",
|
|
548
|
-
"name": "api-url",
|
|
549
|
-
"hasDynamicHelp": false,
|
|
550
|
-
"multiple": false,
|
|
551
|
-
"type": "option"
|
|
552
|
-
},
|
|
553
|
-
"output": {
|
|
554
|
-
"description": "Output format",
|
|
555
|
-
"name": "output",
|
|
556
|
-
"default": "json",
|
|
557
|
-
"hasDynamicHelp": false,
|
|
558
|
-
"multiple": false,
|
|
559
|
-
"options": [
|
|
560
|
-
"json",
|
|
561
|
-
"table",
|
|
562
|
-
"csv"
|
|
563
|
-
],
|
|
564
|
-
"type": "option"
|
|
565
|
-
},
|
|
566
|
-
"quiet": {
|
|
567
|
-
"description": "Suppress non-data output",
|
|
568
|
-
"name": "quiet",
|
|
569
|
-
"allowNo": false,
|
|
570
|
-
"type": "boolean"
|
|
571
|
-
},
|
|
572
|
-
"dry-run": {
|
|
573
|
-
"description": "Preview without executing",
|
|
574
|
-
"name": "dry-run",
|
|
575
|
-
"allowNo": false,
|
|
576
|
-
"type": "boolean"
|
|
577
|
-
},
|
|
578
|
-
"profile": {
|
|
579
|
-
"description": "Named config profile",
|
|
580
|
-
"name": "profile",
|
|
581
|
-
"hasDynamicHelp": false,
|
|
582
|
-
"multiple": false,
|
|
583
|
-
"type": "option"
|
|
584
|
-
},
|
|
585
|
-
"full": {
|
|
586
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
587
|
-
"name": "full",
|
|
588
|
-
"allowNo": false,
|
|
589
|
-
"type": "boolean"
|
|
590
|
-
},
|
|
591
|
-
"fields": {
|
|
592
|
-
"description": "Comma-separated field names to include",
|
|
593
|
-
"name": "fields",
|
|
594
|
-
"hasDynamicHelp": false,
|
|
595
|
-
"multiple": false,
|
|
596
|
-
"type": "option"
|
|
597
|
-
},
|
|
598
|
-
"exclude": {
|
|
599
|
-
"description": "Comma-separated field names to exclude",
|
|
600
|
-
"name": "exclude",
|
|
601
|
-
"hasDynamicHelp": false,
|
|
602
|
-
"multiple": false,
|
|
603
|
-
"type": "option"
|
|
604
|
-
}
|
|
605
|
-
},
|
|
606
|
-
"hasDynamicHelp": false,
|
|
607
|
-
"hiddenAliases": [],
|
|
608
|
-
"id": "setup",
|
|
609
|
-
"pluginAlias": "@ecomweb/cli",
|
|
610
|
-
"pluginName": "@ecomweb/cli",
|
|
611
|
-
"pluginType": "core",
|
|
612
|
-
"strict": true,
|
|
613
|
-
"enableJsonFlag": false,
|
|
614
|
-
"isESM": false,
|
|
615
|
-
"relativePath": [
|
|
616
|
-
"dist",
|
|
617
|
-
"commands",
|
|
618
|
-
"setup.js"
|
|
619
|
-
]
|
|
620
|
-
},
|
|
621
395
|
"assets:bulk-delete": {
|
|
622
396
|
"aliases": [],
|
|
623
397
|
"args": {},
|
|
@@ -2841,12 +2615,12 @@
|
|
|
2841
2615
|
"auth:login": {
|
|
2842
2616
|
"aliases": [],
|
|
2843
2617
|
"args": {},
|
|
2844
|
-
"description": "Log in
|
|
2618
|
+
"description": "Log in by approving this CLI in your browser",
|
|
2845
2619
|
"examples": [
|
|
2846
|
-
"ecomweb auth login
|
|
2847
|
-
"ecomweb auth login --
|
|
2848
|
-
"ecomweb auth login --
|
|
2849
|
-
"
|
|
2620
|
+
"ecomweb auth login",
|
|
2621
|
+
"ecomweb auth login --wait",
|
|
2622
|
+
"ecomweb auth login --no-browser",
|
|
2623
|
+
"ecomweb auth login --store-ref abc123"
|
|
2850
2624
|
],
|
|
2851
2625
|
"flags": {
|
|
2852
2626
|
"store-ref": {
|
|
@@ -2925,26 +2699,17 @@
|
|
|
2925
2699
|
"multiple": false,
|
|
2926
2700
|
"type": "option"
|
|
2927
2701
|
},
|
|
2928
|
-
"
|
|
2929
|
-
"description": "
|
|
2930
|
-
"name": "
|
|
2931
|
-
"
|
|
2932
|
-
"
|
|
2933
|
-
"type": "option"
|
|
2934
|
-
},
|
|
2935
|
-
"code": {
|
|
2936
|
-
"description": "The emailed code (when not asked for in a terminal)",
|
|
2937
|
-
"name": "code",
|
|
2938
|
-
"hasDynamicHelp": false,
|
|
2939
|
-
"multiple": false,
|
|
2940
|
-
"type": "option"
|
|
2702
|
+
"wait": {
|
|
2703
|
+
"description": "Wait (up to 100 seconds) for the approval of the code an earlier run printed",
|
|
2704
|
+
"name": "wait",
|
|
2705
|
+
"allowNo": false,
|
|
2706
|
+
"type": "boolean"
|
|
2941
2707
|
},
|
|
2942
|
-
"
|
|
2943
|
-
"description": "
|
|
2944
|
-
"name": "
|
|
2945
|
-
"
|
|
2946
|
-
"
|
|
2947
|
-
"type": "option"
|
|
2708
|
+
"browser": {
|
|
2709
|
+
"description": "Open the approval link in the browser (--no-browser only prints it)",
|
|
2710
|
+
"name": "browser",
|
|
2711
|
+
"allowNo": true,
|
|
2712
|
+
"type": "boolean"
|
|
2948
2713
|
}
|
|
2949
2714
|
},
|
|
2950
2715
|
"hasDynamicHelp": false,
|
|
@@ -2966,10 +2731,10 @@
|
|
|
2966
2731
|
"auth:logout": {
|
|
2967
2732
|
"aliases": [],
|
|
2968
2733
|
"args": {},
|
|
2969
|
-
"description": "
|
|
2734
|
+
"description": "Log out: revoke this CLI's session and forget it",
|
|
2970
2735
|
"examples": [
|
|
2971
2736
|
"ecomweb auth logout",
|
|
2972
|
-
"ecomweb auth logout --profile
|
|
2737
|
+
"ecomweb auth logout --profile staging"
|
|
2973
2738
|
],
|
|
2974
2739
|
"flags": {
|
|
2975
2740
|
"store-ref": {
|
|
@@ -3065,13 +2830,13 @@
|
|
|
3065
2830
|
"logout.js"
|
|
3066
2831
|
]
|
|
3067
2832
|
},
|
|
3068
|
-
"auth:
|
|
2833
|
+
"auth:status": {
|
|
3069
2834
|
"aliases": [],
|
|
3070
2835
|
"args": {},
|
|
3071
|
-
"description": "
|
|
2836
|
+
"description": "Show who you are logged in as, and with what",
|
|
3072
2837
|
"examples": [
|
|
3073
|
-
"ecomweb auth
|
|
3074
|
-
"ecomweb auth
|
|
2838
|
+
"ecomweb auth status",
|
|
2839
|
+
"ecomweb auth status --profile staging"
|
|
3075
2840
|
],
|
|
3076
2841
|
"flags": {
|
|
3077
2842
|
"store-ref": {
|
|
@@ -3149,26 +2914,11 @@
|
|
|
3149
2914
|
"hasDynamicHelp": false,
|
|
3150
2915
|
"multiple": false,
|
|
3151
2916
|
"type": "option"
|
|
3152
|
-
},
|
|
3153
|
-
"email": {
|
|
3154
|
-
"description": "Email address for the new account",
|
|
3155
|
-
"name": "email",
|
|
3156
|
-
"required": true,
|
|
3157
|
-
"hasDynamicHelp": false,
|
|
3158
|
-
"multiple": false,
|
|
3159
|
-
"type": "option"
|
|
3160
|
-
},
|
|
3161
|
-
"name": {
|
|
3162
|
-
"description": "Display name for the account",
|
|
3163
|
-
"name": "name",
|
|
3164
|
-
"hasDynamicHelp": false,
|
|
3165
|
-
"multiple": false,
|
|
3166
|
-
"type": "option"
|
|
3167
2917
|
}
|
|
3168
2918
|
},
|
|
3169
2919
|
"hasDynamicHelp": false,
|
|
3170
2920
|
"hiddenAliases": [],
|
|
3171
|
-
"id": "auth:
|
|
2921
|
+
"id": "auth:status",
|
|
3172
2922
|
"pluginAlias": "@ecomweb/cli",
|
|
3173
2923
|
"pluginName": "@ecomweb/cli",
|
|
3174
2924
|
"pluginType": "core",
|
|
@@ -3179,235 +2929,17 @@
|
|
|
3179
2929
|
"dist",
|
|
3180
2930
|
"commands",
|
|
3181
2931
|
"auth",
|
|
3182
|
-
"
|
|
2932
|
+
"status.js"
|
|
3183
2933
|
]
|
|
3184
2934
|
},
|
|
3185
|
-
"
|
|
2935
|
+
"banners:create": {
|
|
3186
2936
|
"aliases": [],
|
|
3187
2937
|
"args": {},
|
|
3188
|
-
"description": "
|
|
2938
|
+
"description": "Create a new banner",
|
|
3189
2939
|
"examples": [
|
|
3190
|
-
"ecomweb
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
"store-ref": {
|
|
3194
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
3195
|
-
"env": "ECOMWEB_STORE_REF",
|
|
3196
|
-
"name": "store-ref",
|
|
3197
|
-
"hasDynamicHelp": false,
|
|
3198
|
-
"multiple": false,
|
|
3199
|
-
"type": "option"
|
|
3200
|
-
},
|
|
3201
|
-
"api-key": {
|
|
3202
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
3203
|
-
"env": "ECOMWEB_API_KEY",
|
|
3204
|
-
"name": "api-key",
|
|
3205
|
-
"hasDynamicHelp": false,
|
|
3206
|
-
"multiple": false,
|
|
3207
|
-
"type": "option"
|
|
3208
|
-
},
|
|
3209
|
-
"api-url": {
|
|
3210
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
3211
|
-
"env": "ECOMWEB_API_URL",
|
|
3212
|
-
"name": "api-url",
|
|
3213
|
-
"hasDynamicHelp": false,
|
|
3214
|
-
"multiple": false,
|
|
3215
|
-
"type": "option"
|
|
3216
|
-
},
|
|
3217
|
-
"output": {
|
|
3218
|
-
"description": "Output format",
|
|
3219
|
-
"name": "output",
|
|
3220
|
-
"default": "json",
|
|
3221
|
-
"hasDynamicHelp": false,
|
|
3222
|
-
"multiple": false,
|
|
3223
|
-
"options": [
|
|
3224
|
-
"json",
|
|
3225
|
-
"table",
|
|
3226
|
-
"csv"
|
|
3227
|
-
],
|
|
3228
|
-
"type": "option"
|
|
3229
|
-
},
|
|
3230
|
-
"quiet": {
|
|
3231
|
-
"description": "Suppress non-data output",
|
|
3232
|
-
"name": "quiet",
|
|
3233
|
-
"allowNo": false,
|
|
3234
|
-
"type": "boolean"
|
|
3235
|
-
},
|
|
3236
|
-
"dry-run": {
|
|
3237
|
-
"description": "Preview without executing",
|
|
3238
|
-
"name": "dry-run",
|
|
3239
|
-
"allowNo": false,
|
|
3240
|
-
"type": "boolean"
|
|
3241
|
-
},
|
|
3242
|
-
"profile": {
|
|
3243
|
-
"description": "Named config profile",
|
|
3244
|
-
"name": "profile",
|
|
3245
|
-
"hasDynamicHelp": false,
|
|
3246
|
-
"multiple": false,
|
|
3247
|
-
"type": "option"
|
|
3248
|
-
},
|
|
3249
|
-
"full": {
|
|
3250
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
3251
|
-
"name": "full",
|
|
3252
|
-
"allowNo": false,
|
|
3253
|
-
"type": "boolean"
|
|
3254
|
-
},
|
|
3255
|
-
"fields": {
|
|
3256
|
-
"description": "Comma-separated field names to include",
|
|
3257
|
-
"name": "fields",
|
|
3258
|
-
"hasDynamicHelp": false,
|
|
3259
|
-
"multiple": false,
|
|
3260
|
-
"type": "option"
|
|
3261
|
-
},
|
|
3262
|
-
"exclude": {
|
|
3263
|
-
"description": "Comma-separated field names to exclude",
|
|
3264
|
-
"name": "exclude",
|
|
3265
|
-
"hasDynamicHelp": false,
|
|
3266
|
-
"multiple": false,
|
|
3267
|
-
"type": "option"
|
|
3268
|
-
}
|
|
3269
|
-
},
|
|
3270
|
-
"hasDynamicHelp": false,
|
|
3271
|
-
"hiddenAliases": [],
|
|
3272
|
-
"id": "auth:status",
|
|
3273
|
-
"pluginAlias": "@ecomweb/cli",
|
|
3274
|
-
"pluginName": "@ecomweb/cli",
|
|
3275
|
-
"pluginType": "core",
|
|
3276
|
-
"strict": true,
|
|
3277
|
-
"enableJsonFlag": false,
|
|
3278
|
-
"isESM": false,
|
|
3279
|
-
"relativePath": [
|
|
3280
|
-
"dist",
|
|
3281
|
-
"commands",
|
|
3282
|
-
"auth",
|
|
3283
|
-
"status.js"
|
|
3284
|
-
]
|
|
3285
|
-
},
|
|
3286
|
-
"auth:verify": {
|
|
3287
|
-
"aliases": [],
|
|
3288
|
-
"args": {},
|
|
3289
|
-
"description": "Verify email with OTP code and authenticate",
|
|
3290
|
-
"examples": [
|
|
3291
|
-
"ecomweb auth verify --email user@example.com --code 123456"
|
|
3292
|
-
],
|
|
3293
|
-
"flags": {
|
|
3294
|
-
"store-ref": {
|
|
3295
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
3296
|
-
"env": "ECOMWEB_STORE_REF",
|
|
3297
|
-
"name": "store-ref",
|
|
3298
|
-
"hasDynamicHelp": false,
|
|
3299
|
-
"multiple": false,
|
|
3300
|
-
"type": "option"
|
|
3301
|
-
},
|
|
3302
|
-
"api-key": {
|
|
3303
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
3304
|
-
"env": "ECOMWEB_API_KEY",
|
|
3305
|
-
"name": "api-key",
|
|
3306
|
-
"hasDynamicHelp": false,
|
|
3307
|
-
"multiple": false,
|
|
3308
|
-
"type": "option"
|
|
3309
|
-
},
|
|
3310
|
-
"api-url": {
|
|
3311
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
3312
|
-
"env": "ECOMWEB_API_URL",
|
|
3313
|
-
"name": "api-url",
|
|
3314
|
-
"hasDynamicHelp": false,
|
|
3315
|
-
"multiple": false,
|
|
3316
|
-
"type": "option"
|
|
3317
|
-
},
|
|
3318
|
-
"output": {
|
|
3319
|
-
"description": "Output format",
|
|
3320
|
-
"name": "output",
|
|
3321
|
-
"default": "json",
|
|
3322
|
-
"hasDynamicHelp": false,
|
|
3323
|
-
"multiple": false,
|
|
3324
|
-
"options": [
|
|
3325
|
-
"json",
|
|
3326
|
-
"table",
|
|
3327
|
-
"csv"
|
|
3328
|
-
],
|
|
3329
|
-
"type": "option"
|
|
3330
|
-
},
|
|
3331
|
-
"quiet": {
|
|
3332
|
-
"description": "Suppress non-data output",
|
|
3333
|
-
"name": "quiet",
|
|
3334
|
-
"allowNo": false,
|
|
3335
|
-
"type": "boolean"
|
|
3336
|
-
},
|
|
3337
|
-
"dry-run": {
|
|
3338
|
-
"description": "Preview without executing",
|
|
3339
|
-
"name": "dry-run",
|
|
3340
|
-
"allowNo": false,
|
|
3341
|
-
"type": "boolean"
|
|
3342
|
-
},
|
|
3343
|
-
"profile": {
|
|
3344
|
-
"description": "Named config profile",
|
|
3345
|
-
"name": "profile",
|
|
3346
|
-
"hasDynamicHelp": false,
|
|
3347
|
-
"multiple": false,
|
|
3348
|
-
"type": "option"
|
|
3349
|
-
},
|
|
3350
|
-
"full": {
|
|
3351
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
3352
|
-
"name": "full",
|
|
3353
|
-
"allowNo": false,
|
|
3354
|
-
"type": "boolean"
|
|
3355
|
-
},
|
|
3356
|
-
"fields": {
|
|
3357
|
-
"description": "Comma-separated field names to include",
|
|
3358
|
-
"name": "fields",
|
|
3359
|
-
"hasDynamicHelp": false,
|
|
3360
|
-
"multiple": false,
|
|
3361
|
-
"type": "option"
|
|
3362
|
-
},
|
|
3363
|
-
"exclude": {
|
|
3364
|
-
"description": "Comma-separated field names to exclude",
|
|
3365
|
-
"name": "exclude",
|
|
3366
|
-
"hasDynamicHelp": false,
|
|
3367
|
-
"multiple": false,
|
|
3368
|
-
"type": "option"
|
|
3369
|
-
},
|
|
3370
|
-
"email": {
|
|
3371
|
-
"description": "Email address used during registration",
|
|
3372
|
-
"name": "email",
|
|
3373
|
-
"required": true,
|
|
3374
|
-
"hasDynamicHelp": false,
|
|
3375
|
-
"multiple": false,
|
|
3376
|
-
"type": "option"
|
|
3377
|
-
},
|
|
3378
|
-
"code": {
|
|
3379
|
-
"description": "6-digit verification code from email",
|
|
3380
|
-
"name": "code",
|
|
3381
|
-
"required": true,
|
|
3382
|
-
"hasDynamicHelp": false,
|
|
3383
|
-
"multiple": false,
|
|
3384
|
-
"type": "option"
|
|
3385
|
-
}
|
|
3386
|
-
},
|
|
3387
|
-
"hasDynamicHelp": false,
|
|
3388
|
-
"hiddenAliases": [],
|
|
3389
|
-
"id": "auth:verify",
|
|
3390
|
-
"pluginAlias": "@ecomweb/cli",
|
|
3391
|
-
"pluginName": "@ecomweb/cli",
|
|
3392
|
-
"pluginType": "core",
|
|
3393
|
-
"strict": true,
|
|
3394
|
-
"enableJsonFlag": false,
|
|
3395
|
-
"isESM": false,
|
|
3396
|
-
"relativePath": [
|
|
3397
|
-
"dist",
|
|
3398
|
-
"commands",
|
|
3399
|
-
"auth",
|
|
3400
|
-
"verify.js"
|
|
3401
|
-
]
|
|
3402
|
-
},
|
|
3403
|
-
"banners:create": {
|
|
3404
|
-
"aliases": [],
|
|
3405
|
-
"args": {},
|
|
3406
|
-
"description": "Create a new banner",
|
|
3407
|
-
"examples": [
|
|
3408
|
-
"ecomweb banners create --stdin <<< '{\"title\":\"Summer Sale\",\"image_url\":\"https://example.com/banner.jpg\"}'",
|
|
3409
|
-
"ecomweb banners create --title 'Summer Sale' --image-url https://example.com/banner.jpg",
|
|
3410
|
-
"ecomweb banners create --file banner.json"
|
|
2940
|
+
"ecomweb banners create --stdin <<< '{\"title\":\"Summer Sale\",\"image_url\":\"https://example.com/banner.jpg\"}'",
|
|
2941
|
+
"ecomweb banners create --title 'Summer Sale' --image-url https://example.com/banner.jpg",
|
|
2942
|
+
"ecomweb banners create --file banner.json"
|
|
3411
2943
|
],
|
|
3412
2944
|
"flags": {
|
|
3413
2945
|
"store-ref": {
|
|
@@ -4114,12 +3646,14 @@
|
|
|
4114
3646
|
"update.js"
|
|
4115
3647
|
]
|
|
4116
3648
|
},
|
|
4117
|
-
"blog-
|
|
3649
|
+
"blog-posts:all": {
|
|
4118
3650
|
"aliases": [],
|
|
4119
3651
|
"args": {},
|
|
4120
|
-
"description": "Get all blog
|
|
3652
|
+
"description": "Get all blog posts (no pagination, summary fields by default)",
|
|
4121
3653
|
"examples": [
|
|
4122
|
-
"ecomweb blog-
|
|
3654
|
+
"ecomweb blog-posts all",
|
|
3655
|
+
"ecomweb blog-posts all --status published",
|
|
3656
|
+
"ecomweb blog-posts all --full"
|
|
4123
3657
|
],
|
|
4124
3658
|
"flags": {
|
|
4125
3659
|
"store-ref": {
|
|
@@ -4197,11 +3731,24 @@
|
|
|
4197
3731
|
"hasDynamicHelp": false,
|
|
4198
3732
|
"multiple": false,
|
|
4199
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"
|
|
4200
3747
|
}
|
|
4201
3748
|
},
|
|
4202
3749
|
"hasDynamicHelp": false,
|
|
4203
3750
|
"hiddenAliases": [],
|
|
4204
|
-
"id": "blog-
|
|
3751
|
+
"id": "blog-posts:all",
|
|
4205
3752
|
"pluginAlias": "@ecomweb/cli",
|
|
4206
3753
|
"pluginName": "@ecomweb/cli",
|
|
4207
3754
|
"pluginType": "core",
|
|
@@ -4211,17 +3758,18 @@
|
|
|
4211
3758
|
"relativePath": [
|
|
4212
3759
|
"dist",
|
|
4213
3760
|
"commands",
|
|
4214
|
-
"blog-
|
|
3761
|
+
"blog-posts",
|
|
4215
3762
|
"all.js"
|
|
4216
3763
|
]
|
|
4217
3764
|
},
|
|
4218
|
-
"blog-
|
|
3765
|
+
"blog-posts:batch-create": {
|
|
4219
3766
|
"aliases": [],
|
|
4220
3767
|
"args": {},
|
|
4221
|
-
"description": "
|
|
3768
|
+
"description": "Batch create blog posts from a JSON array",
|
|
4222
3769
|
"examples": [
|
|
4223
|
-
"
|
|
4224
|
-
"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"
|
|
4225
3773
|
],
|
|
4226
3774
|
"flags": {
|
|
4227
3775
|
"store-ref": {
|
|
@@ -4301,57 +3849,36 @@
|
|
|
4301
3849
|
"type": "option"
|
|
4302
3850
|
},
|
|
4303
3851
|
"stdin": {
|
|
4304
|
-
"description": "Read JSON
|
|
3852
|
+
"description": "Read JSON array from stdin",
|
|
4305
3853
|
"name": "stdin",
|
|
4306
3854
|
"allowNo": false,
|
|
4307
3855
|
"type": "boolean"
|
|
4308
3856
|
},
|
|
4309
3857
|
"file": {
|
|
4310
|
-
"description": "Read JSON
|
|
3858
|
+
"description": "Read JSON array from file",
|
|
4311
3859
|
"name": "file",
|
|
4312
3860
|
"hasDynamicHelp": false,
|
|
4313
3861
|
"multiple": false,
|
|
4314
3862
|
"type": "option"
|
|
4315
3863
|
},
|
|
4316
|
-
"
|
|
4317
|
-
"description": "
|
|
4318
|
-
"name": "
|
|
4319
|
-
"
|
|
4320
|
-
"multiple": false,
|
|
4321
|
-
"type": "option"
|
|
4322
|
-
},
|
|
4323
|
-
"slug": {
|
|
4324
|
-
"description": "URL slug",
|
|
4325
|
-
"name": "slug",
|
|
3864
|
+
"concurrency": {
|
|
3865
|
+
"description": "Max concurrent requests",
|
|
3866
|
+
"name": "concurrency",
|
|
3867
|
+
"default": 5,
|
|
4326
3868
|
"hasDynamicHelp": false,
|
|
4327
3869
|
"multiple": false,
|
|
4328
3870
|
"type": "option"
|
|
4329
3871
|
},
|
|
4330
|
-
"
|
|
4331
|
-
"description": "
|
|
4332
|
-
"name": "
|
|
4333
|
-
"
|
|
4334
|
-
"
|
|
4335
|
-
"type": "option"
|
|
4336
|
-
},
|
|
4337
|
-
"color": {
|
|
4338
|
-
"description": "Hex color (e.g., #FF0000)",
|
|
4339
|
-
"name": "color",
|
|
4340
|
-
"hasDynamicHelp": false,
|
|
4341
|
-
"multiple": false,
|
|
4342
|
-
"type": "option"
|
|
4343
|
-
},
|
|
4344
|
-
"sort-order": {
|
|
4345
|
-
"description": "Sort order position",
|
|
4346
|
-
"name": "sort-order",
|
|
4347
|
-
"hasDynamicHelp": false,
|
|
4348
|
-
"multiple": false,
|
|
4349
|
-
"type": "option"
|
|
3872
|
+
"continue-on-error": {
|
|
3873
|
+
"description": "Continue if individual items fail",
|
|
3874
|
+
"name": "continue-on-error",
|
|
3875
|
+
"allowNo": false,
|
|
3876
|
+
"type": "boolean"
|
|
4350
3877
|
}
|
|
4351
3878
|
},
|
|
4352
3879
|
"hasDynamicHelp": false,
|
|
4353
3880
|
"hiddenAliases": [],
|
|
4354
|
-
"id": "blog-
|
|
3881
|
+
"id": "blog-posts:batch-create",
|
|
4355
3882
|
"pluginAlias": "@ecomweb/cli",
|
|
4356
3883
|
"pluginName": "@ecomweb/cli",
|
|
4357
3884
|
"pluginType": "core",
|
|
@@ -4361,23 +3888,17 @@
|
|
|
4361
3888
|
"relativePath": [
|
|
4362
3889
|
"dist",
|
|
4363
3890
|
"commands",
|
|
4364
|
-
"blog-
|
|
4365
|
-
"create.js"
|
|
3891
|
+
"blog-posts",
|
|
3892
|
+
"batch-create.js"
|
|
4366
3893
|
]
|
|
4367
3894
|
},
|
|
4368
|
-
"blog-
|
|
3895
|
+
"blog-posts:batch-delete": {
|
|
4369
3896
|
"aliases": [],
|
|
4370
|
-
"args": {
|
|
4371
|
-
|
|
4372
|
-
"description": "Category ID",
|
|
4373
|
-
"name": "id",
|
|
4374
|
-
"required": true
|
|
4375
|
-
}
|
|
4376
|
-
},
|
|
4377
|
-
"description": "Delete a blog category by ID",
|
|
3897
|
+
"args": {},
|
|
3898
|
+
"description": "Batch delete blog posts by IDs",
|
|
4378
3899
|
"examples": [
|
|
4379
|
-
"ecomweb blog-
|
|
4380
|
-
"ecomweb blog-
|
|
3900
|
+
"ecomweb blog-posts batch-delete --ids 1,2,3",
|
|
3901
|
+
"ecomweb blog-posts batch-delete --ids 1,2,3 --dry-run"
|
|
4381
3902
|
],
|
|
4382
3903
|
"flags": {
|
|
4383
3904
|
"store-ref": {
|
|
@@ -4455,11 +3976,33 @@
|
|
|
4455
3976
|
"hasDynamicHelp": false,
|
|
4456
3977
|
"multiple": false,
|
|
4457
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"
|
|
4458
4001
|
}
|
|
4459
4002
|
},
|
|
4460
4003
|
"hasDynamicHelp": false,
|
|
4461
4004
|
"hiddenAliases": [],
|
|
4462
|
-
"id": "blog-
|
|
4005
|
+
"id": "blog-posts:batch-delete",
|
|
4463
4006
|
"pluginAlias": "@ecomweb/cli",
|
|
4464
4007
|
"pluginName": "@ecomweb/cli",
|
|
4465
4008
|
"pluginType": "core",
|
|
@@ -4469,18 +4012,18 @@
|
|
|
4469
4012
|
"relativePath": [
|
|
4470
4013
|
"dist",
|
|
4471
4014
|
"commands",
|
|
4472
|
-
"blog-
|
|
4473
|
-
"delete.js"
|
|
4015
|
+
"blog-posts",
|
|
4016
|
+
"batch-delete.js"
|
|
4474
4017
|
]
|
|
4475
4018
|
},
|
|
4476
|
-
"blog-
|
|
4019
|
+
"blog-posts:batch-update": {
|
|
4477
4020
|
"aliases": [],
|
|
4478
4021
|
"args": {},
|
|
4479
|
-
"description": "
|
|
4022
|
+
"description": "Batch update blog posts from a JSON array (each item must have an id)",
|
|
4480
4023
|
"examples": [
|
|
4481
|
-
"ecomweb blog-
|
|
4482
|
-
"ecomweb blog-
|
|
4483
|
-
"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\"}'"
|
|
4484
4027
|
],
|
|
4485
4028
|
"flags": {
|
|
4486
4029
|
"store-ref": {
|
|
@@ -4559,57 +4102,51 @@
|
|
|
4559
4102
|
"multiple": false,
|
|
4560
4103
|
"type": "option"
|
|
4561
4104
|
},
|
|
4562
|
-
"
|
|
4563
|
-
"description": "
|
|
4564
|
-
"name": "
|
|
4565
|
-
"hasDynamicHelp": false,
|
|
4566
|
-
"multiple": false,
|
|
4567
|
-
"type": "option"
|
|
4568
|
-
},
|
|
4569
|
-
"include-post-counts": {
|
|
4570
|
-
"description": "Include post count per category",
|
|
4571
|
-
"name": "include-post-counts",
|
|
4105
|
+
"stdin": {
|
|
4106
|
+
"description": "Read JSON array from stdin (each item must have id)",
|
|
4107
|
+
"name": "stdin",
|
|
4572
4108
|
"allowNo": false,
|
|
4573
4109
|
"type": "boolean"
|
|
4574
4110
|
},
|
|
4575
|
-
"
|
|
4576
|
-
"description": "
|
|
4577
|
-
"name": "
|
|
4111
|
+
"file": {
|
|
4112
|
+
"description": "Read JSON array from file",
|
|
4113
|
+
"name": "file",
|
|
4578
4114
|
"hasDynamicHelp": false,
|
|
4579
4115
|
"multiple": false,
|
|
4580
4116
|
"type": "option"
|
|
4581
4117
|
},
|
|
4582
|
-
"
|
|
4583
|
-
"description": "
|
|
4584
|
-
"name": "
|
|
4118
|
+
"filter": {
|
|
4119
|
+
"description": "JSON filter to find posts (used with --set)",
|
|
4120
|
+
"name": "filter",
|
|
4585
4121
|
"hasDynamicHelp": false,
|
|
4586
4122
|
"multiple": false,
|
|
4587
|
-
"options": [
|
|
4588
|
-
"asc",
|
|
4589
|
-
"desc"
|
|
4590
|
-
],
|
|
4591
4123
|
"type": "option"
|
|
4592
4124
|
},
|
|
4593
|
-
"
|
|
4594
|
-
"description": "
|
|
4595
|
-
"name": "
|
|
4596
|
-
"default": 20,
|
|
4125
|
+
"set": {
|
|
4126
|
+
"description": "JSON object of fields to set (used with --filter)",
|
|
4127
|
+
"name": "set",
|
|
4597
4128
|
"hasDynamicHelp": false,
|
|
4598
4129
|
"multiple": false,
|
|
4599
4130
|
"type": "option"
|
|
4600
4131
|
},
|
|
4601
|
-
"
|
|
4602
|
-
"description": "
|
|
4603
|
-
"name": "
|
|
4604
|
-
"default":
|
|
4132
|
+
"concurrency": {
|
|
4133
|
+
"description": "Max concurrent requests",
|
|
4134
|
+
"name": "concurrency",
|
|
4135
|
+
"default": 5,
|
|
4605
4136
|
"hasDynamicHelp": false,
|
|
4606
4137
|
"multiple": false,
|
|
4607
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"
|
|
4608
4145
|
}
|
|
4609
4146
|
},
|
|
4610
4147
|
"hasDynamicHelp": false,
|
|
4611
4148
|
"hiddenAliases": [],
|
|
4612
|
-
"id": "blog-
|
|
4149
|
+
"id": "blog-posts:batch-update",
|
|
4613
4150
|
"pluginAlias": "@ecomweb/cli",
|
|
4614
4151
|
"pluginName": "@ecomweb/cli",
|
|
4615
4152
|
"pluginType": "core",
|
|
@@ -4619,23 +4156,19 @@
|
|
|
4619
4156
|
"relativePath": [
|
|
4620
4157
|
"dist",
|
|
4621
4158
|
"commands",
|
|
4622
|
-
"blog-
|
|
4623
|
-
"
|
|
4159
|
+
"blog-posts",
|
|
4160
|
+
"batch-update.js"
|
|
4624
4161
|
]
|
|
4625
4162
|
},
|
|
4626
|
-
"blog-
|
|
4163
|
+
"blog-posts:create": {
|
|
4627
4164
|
"aliases": [],
|
|
4628
|
-
"args": {
|
|
4629
|
-
|
|
4630
|
-
"description": "Category ID",
|
|
4631
|
-
"name": "id",
|
|
4632
|
-
"required": true
|
|
4633
|
-
}
|
|
4634
|
-
},
|
|
4635
|
-
"description": "Update a blog category by ID",
|
|
4165
|
+
"args": {},
|
|
4166
|
+
"description": "Create a new blog post",
|
|
4636
4167
|
"examples": [
|
|
4637
|
-
"ecomweb blog-
|
|
4638
|
-
"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"
|
|
4639
4172
|
],
|
|
4640
4173
|
"flags": {
|
|
4641
4174
|
"store-ref": {
|
|
@@ -4727,9 +4260,9 @@
|
|
|
4727
4260
|
"multiple": false,
|
|
4728
4261
|
"type": "option"
|
|
4729
4262
|
},
|
|
4730
|
-
"
|
|
4731
|
-
"description": "
|
|
4732
|
-
"name": "
|
|
4263
|
+
"title": {
|
|
4264
|
+
"description": "Post title",
|
|
4265
|
+
"name": "title",
|
|
4733
4266
|
"hasDynamicHelp": false,
|
|
4734
4267
|
"multiple": false,
|
|
4735
4268
|
"type": "option"
|
|
@@ -4741,23 +4274,70 @@
|
|
|
4741
4274
|
"multiple": false,
|
|
4742
4275
|
"type": "option"
|
|
4743
4276
|
},
|
|
4744
|
-
"
|
|
4745
|
-
"description": "
|
|
4746
|
-
"name": "
|
|
4277
|
+
"content": {
|
|
4278
|
+
"description": "HTML content",
|
|
4279
|
+
"name": "content",
|
|
4747
4280
|
"hasDynamicHelp": false,
|
|
4748
4281
|
"multiple": false,
|
|
4749
4282
|
"type": "option"
|
|
4750
4283
|
},
|
|
4751
|
-
"
|
|
4752
|
-
"description": "
|
|
4753
|
-
"name": "
|
|
4284
|
+
"excerpt": {
|
|
4285
|
+
"description": "Post excerpt",
|
|
4286
|
+
"name": "excerpt",
|
|
4754
4287
|
"hasDynamicHelp": false,
|
|
4755
4288
|
"multiple": false,
|
|
4756
4289
|
"type": "option"
|
|
4757
4290
|
},
|
|
4758
|
-
"
|
|
4759
|
-
"description": "
|
|
4760
|
-
"name": "
|
|
4291
|
+
"status": {
|
|
4292
|
+
"description": "Post status",
|
|
4293
|
+
"name": "status",
|
|
4294
|
+
"hasDynamicHelp": false,
|
|
4295
|
+
"multiple": false,
|
|
4296
|
+
"options": [
|
|
4297
|
+
"draft",
|
|
4298
|
+
"published",
|
|
4299
|
+
"scheduled",
|
|
4300
|
+
"unlisted"
|
|
4301
|
+
],
|
|
4302
|
+
"type": "option"
|
|
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",
|
|
4761
4341
|
"hasDynamicHelp": false,
|
|
4762
4342
|
"multiple": false,
|
|
4763
4343
|
"type": "option"
|
|
@@ -4765,7 +4345,7 @@
|
|
|
4765
4345
|
},
|
|
4766
4346
|
"hasDynamicHelp": false,
|
|
4767
4347
|
"hiddenAliases": [],
|
|
4768
|
-
"id": "blog-
|
|
4348
|
+
"id": "blog-posts:create",
|
|
4769
4349
|
"pluginAlias": "@ecomweb/cli",
|
|
4770
4350
|
"pluginName": "@ecomweb/cli",
|
|
4771
4351
|
"pluginType": "core",
|
|
@@ -4775,18 +4355,23 @@
|
|
|
4775
4355
|
"relativePath": [
|
|
4776
4356
|
"dist",
|
|
4777
4357
|
"commands",
|
|
4778
|
-
"blog-
|
|
4779
|
-
"
|
|
4358
|
+
"blog-posts",
|
|
4359
|
+
"create.js"
|
|
4780
4360
|
]
|
|
4781
4361
|
},
|
|
4782
|
-
"blog-posts:
|
|
4362
|
+
"blog-posts:delete": {
|
|
4783
4363
|
"aliases": [],
|
|
4784
|
-
"args": {
|
|
4785
|
-
|
|
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",
|
|
4786
4372
|
"examples": [
|
|
4787
|
-
"ecomweb blog-posts
|
|
4788
|
-
"ecomweb blog-posts
|
|
4789
|
-
"ecomweb blog-posts all --full"
|
|
4373
|
+
"ecomweb blog-posts delete 42",
|
|
4374
|
+
"ecomweb blog-posts delete 42 --dry-run"
|
|
4790
4375
|
],
|
|
4791
4376
|
"flags": {
|
|
4792
4377
|
"store-ref": {
|
|
@@ -4864,24 +4449,11 @@
|
|
|
4864
4449
|
"hasDynamicHelp": false,
|
|
4865
4450
|
"multiple": false,
|
|
4866
4451
|
"type": "option"
|
|
4867
|
-
},
|
|
4868
|
-
"status": {
|
|
4869
|
-
"description": "Filter by status",
|
|
4870
|
-
"name": "status",
|
|
4871
|
-
"hasDynamicHelp": false,
|
|
4872
|
-
"multiple": false,
|
|
4873
|
-
"options": [
|
|
4874
|
-
"draft",
|
|
4875
|
-
"published",
|
|
4876
|
-
"scheduled",
|
|
4877
|
-
"unlisted"
|
|
4878
|
-
],
|
|
4879
|
-
"type": "option"
|
|
4880
4452
|
}
|
|
4881
4453
|
},
|
|
4882
4454
|
"hasDynamicHelp": false,
|
|
4883
4455
|
"hiddenAliases": [],
|
|
4884
|
-
"id": "blog-posts:
|
|
4456
|
+
"id": "blog-posts:delete",
|
|
4885
4457
|
"pluginAlias": "@ecomweb/cli",
|
|
4886
4458
|
"pluginName": "@ecomweb/cli",
|
|
4887
4459
|
"pluginType": "core",
|
|
@@ -4892,17 +4464,22 @@
|
|
|
4892
4464
|
"dist",
|
|
4893
4465
|
"commands",
|
|
4894
4466
|
"blog-posts",
|
|
4895
|
-
"
|
|
4467
|
+
"delete.js"
|
|
4896
4468
|
]
|
|
4897
4469
|
},
|
|
4898
|
-
"blog-posts:
|
|
4470
|
+
"blog-posts:get": {
|
|
4899
4471
|
"aliases": [],
|
|
4900
|
-
"args": {
|
|
4901
|
-
|
|
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)",
|
|
4902
4480
|
"examples": [
|
|
4903
|
-
"
|
|
4904
|
-
"ecomweb blog-posts
|
|
4905
|
-
"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"
|
|
4906
4483
|
],
|
|
4907
4484
|
"flags": {
|
|
4908
4485
|
"store-ref": {
|
|
@@ -4980,38 +4557,11 @@
|
|
|
4980
4557
|
"hasDynamicHelp": false,
|
|
4981
4558
|
"multiple": false,
|
|
4982
4559
|
"type": "option"
|
|
4983
|
-
},
|
|
4984
|
-
"stdin": {
|
|
4985
|
-
"description": "Read JSON array from stdin",
|
|
4986
|
-
"name": "stdin",
|
|
4987
|
-
"allowNo": false,
|
|
4988
|
-
"type": "boolean"
|
|
4989
|
-
},
|
|
4990
|
-
"file": {
|
|
4991
|
-
"description": "Read JSON array from file",
|
|
4992
|
-
"name": "file",
|
|
4993
|
-
"hasDynamicHelp": false,
|
|
4994
|
-
"multiple": false,
|
|
4995
|
-
"type": "option"
|
|
4996
|
-
},
|
|
4997
|
-
"concurrency": {
|
|
4998
|
-
"description": "Max concurrent requests",
|
|
4999
|
-
"name": "concurrency",
|
|
5000
|
-
"default": 5,
|
|
5001
|
-
"hasDynamicHelp": false,
|
|
5002
|
-
"multiple": false,
|
|
5003
|
-
"type": "option"
|
|
5004
|
-
},
|
|
5005
|
-
"continue-on-error": {
|
|
5006
|
-
"description": "Continue if individual items fail",
|
|
5007
|
-
"name": "continue-on-error",
|
|
5008
|
-
"allowNo": false,
|
|
5009
|
-
"type": "boolean"
|
|
5010
4560
|
}
|
|
5011
4561
|
},
|
|
5012
4562
|
"hasDynamicHelp": false,
|
|
5013
4563
|
"hiddenAliases": [],
|
|
5014
|
-
"id": "blog-posts:
|
|
4564
|
+
"id": "blog-posts:get",
|
|
5015
4565
|
"pluginAlias": "@ecomweb/cli",
|
|
5016
4566
|
"pluginName": "@ecomweb/cli",
|
|
5017
4567
|
"pluginType": "core",
|
|
@@ -5022,16 +4572,22 @@
|
|
|
5022
4572
|
"dist",
|
|
5023
4573
|
"commands",
|
|
5024
4574
|
"blog-posts",
|
|
5025
|
-
"
|
|
4575
|
+
"get.js"
|
|
5026
4576
|
]
|
|
5027
4577
|
},
|
|
5028
|
-
"blog-posts:
|
|
4578
|
+
"blog-posts:import": {
|
|
5029
4579
|
"aliases": [],
|
|
5030
|
-
"args": {
|
|
5031
|
-
|
|
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",
|
|
5032
4588
|
"examples": [
|
|
5033
|
-
"ecomweb blog-posts
|
|
5034
|
-
"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"
|
|
5035
4591
|
],
|
|
5036
4592
|
"flags": {
|
|
5037
4593
|
"store-ref": {
|
|
@@ -5110,32 +4666,37 @@
|
|
|
5110
4666
|
"multiple": false,
|
|
5111
4667
|
"type": "option"
|
|
5112
4668
|
},
|
|
5113
|
-
"
|
|
5114
|
-
"description": "
|
|
5115
|
-
"name": "
|
|
5116
|
-
"required": true,
|
|
4669
|
+
"title": {
|
|
4670
|
+
"description": "Post title (overrides markdown frontmatter)",
|
|
4671
|
+
"name": "title",
|
|
5117
4672
|
"hasDynamicHelp": false,
|
|
5118
4673
|
"multiple": false,
|
|
5119
4674
|
"type": "option"
|
|
5120
4675
|
},
|
|
5121
|
-
"
|
|
5122
|
-
"description": "
|
|
5123
|
-
"name": "
|
|
5124
|
-
"default": 5,
|
|
4676
|
+
"slug": {
|
|
4677
|
+
"description": "URL slug",
|
|
4678
|
+
"name": "slug",
|
|
5125
4679
|
"hasDynamicHelp": false,
|
|
5126
4680
|
"multiple": false,
|
|
5127
4681
|
"type": "option"
|
|
5128
4682
|
},
|
|
5129
|
-
"
|
|
5130
|
-
"description": "
|
|
5131
|
-
"name": "
|
|
5132
|
-
"
|
|
5133
|
-
"
|
|
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"
|
|
5134
4695
|
}
|
|
5135
4696
|
},
|
|
5136
4697
|
"hasDynamicHelp": false,
|
|
5137
4698
|
"hiddenAliases": [],
|
|
5138
|
-
"id": "blog-posts:
|
|
4699
|
+
"id": "blog-posts:import",
|
|
5139
4700
|
"pluginAlias": "@ecomweb/cli",
|
|
5140
4701
|
"pluginName": "@ecomweb/cli",
|
|
5141
4702
|
"pluginType": "core",
|
|
@@ -5146,17 +4707,18 @@
|
|
|
5146
4707
|
"dist",
|
|
5147
4708
|
"commands",
|
|
5148
4709
|
"blog-posts",
|
|
5149
|
-
"
|
|
4710
|
+
"import.js"
|
|
5150
4711
|
]
|
|
5151
4712
|
},
|
|
5152
|
-
"blog-posts:
|
|
4713
|
+
"blog-posts:list": {
|
|
5153
4714
|
"aliases": [],
|
|
5154
4715
|
"args": {},
|
|
5155
|
-
"description": "
|
|
4716
|
+
"description": "List blog posts with pagination and filtering",
|
|
5156
4717
|
"examples": [
|
|
5157
|
-
"
|
|
5158
|
-
"ecomweb blog-posts
|
|
5159
|
-
"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"
|
|
5160
4722
|
],
|
|
5161
4723
|
"flags": {
|
|
5162
4724
|
"store-ref": {
|
|
@@ -5235,51 +4797,102 @@
|
|
|
5235
4797
|
"multiple": false,
|
|
5236
4798
|
"type": "option"
|
|
5237
4799
|
},
|
|
5238
|
-
"
|
|
5239
|
-
"description": "
|
|
5240
|
-
"name": "
|
|
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"
|
|
4812
|
+
},
|
|
4813
|
+
"category-id": {
|
|
4814
|
+
"description": "Filter by category ID",
|
|
4815
|
+
"name": "category-id",
|
|
4816
|
+
"hasDynamicHelp": false,
|
|
4817
|
+
"multiple": false,
|
|
4818
|
+
"type": "option"
|
|
4819
|
+
},
|
|
4820
|
+
"tag-id": {
|
|
4821
|
+
"description": "Filter by tag ID",
|
|
4822
|
+
"name": "tag-id",
|
|
4823
|
+
"hasDynamicHelp": false,
|
|
4824
|
+
"multiple": false,
|
|
4825
|
+
"type": "option"
|
|
4826
|
+
},
|
|
4827
|
+
"is-featured": {
|
|
4828
|
+
"description": "Filter featured posts only",
|
|
4829
|
+
"name": "is-featured",
|
|
5241
4830
|
"allowNo": false,
|
|
5242
4831
|
"type": "boolean"
|
|
5243
4832
|
},
|
|
5244
|
-
"
|
|
5245
|
-
"description": "
|
|
5246
|
-
"name": "
|
|
4833
|
+
"search": {
|
|
4834
|
+
"description": "Search in title/content",
|
|
4835
|
+
"name": "search",
|
|
5247
4836
|
"hasDynamicHelp": false,
|
|
5248
4837
|
"multiple": false,
|
|
5249
4838
|
"type": "option"
|
|
5250
4839
|
},
|
|
5251
|
-
"
|
|
5252
|
-
"description": "
|
|
5253
|
-
"name": "
|
|
4840
|
+
"sort-by": {
|
|
4841
|
+
"description": "Sort field",
|
|
4842
|
+
"name": "sort-by",
|
|
5254
4843
|
"hasDynamicHelp": false,
|
|
5255
4844
|
"multiple": false,
|
|
4845
|
+
"options": [
|
|
4846
|
+
"created_at",
|
|
4847
|
+
"published_at",
|
|
4848
|
+
"title",
|
|
4849
|
+
"view_count"
|
|
4850
|
+
],
|
|
5256
4851
|
"type": "option"
|
|
5257
4852
|
},
|
|
5258
|
-
"
|
|
5259
|
-
"description": "
|
|
5260
|
-
"name": "
|
|
4853
|
+
"sort-order": {
|
|
4854
|
+
"description": "Sort direction",
|
|
4855
|
+
"name": "sort-order",
|
|
5261
4856
|
"hasDynamicHelp": false,
|
|
5262
4857
|
"multiple": false,
|
|
4858
|
+
"options": [
|
|
4859
|
+
"asc",
|
|
4860
|
+
"desc"
|
|
4861
|
+
],
|
|
5263
4862
|
"type": "option"
|
|
5264
4863
|
},
|
|
5265
|
-
"
|
|
5266
|
-
"description": "
|
|
5267
|
-
"name": "
|
|
5268
|
-
"default":
|
|
4864
|
+
"limit": {
|
|
4865
|
+
"description": "Results per page",
|
|
4866
|
+
"name": "limit",
|
|
4867
|
+
"default": 20,
|
|
5269
4868
|
"hasDynamicHelp": false,
|
|
5270
4869
|
"multiple": false,
|
|
5271
4870
|
"type": "option"
|
|
5272
4871
|
},
|
|
5273
|
-
"
|
|
5274
|
-
"description": "
|
|
5275
|
-
"name": "
|
|
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",
|
|
5276
4889
|
"allowNo": false,
|
|
5277
4890
|
"type": "boolean"
|
|
5278
4891
|
}
|
|
5279
4892
|
},
|
|
5280
4893
|
"hasDynamicHelp": false,
|
|
5281
4894
|
"hiddenAliases": [],
|
|
5282
|
-
"id": "blog-posts:
|
|
4895
|
+
"id": "blog-posts:list",
|
|
5283
4896
|
"pluginAlias": "@ecomweb/cli",
|
|
5284
4897
|
"pluginName": "@ecomweb/cli",
|
|
5285
4898
|
"pluginType": "core",
|
|
@@ -5290,18 +4903,15 @@
|
|
|
5290
4903
|
"dist",
|
|
5291
4904
|
"commands",
|
|
5292
4905
|
"blog-posts",
|
|
5293
|
-
"
|
|
4906
|
+
"list.js"
|
|
5294
4907
|
]
|
|
5295
4908
|
},
|
|
5296
|
-
"blog-posts:
|
|
4909
|
+
"blog-posts:stats": {
|
|
5297
4910
|
"aliases": [],
|
|
5298
4911
|
"args": {},
|
|
5299
|
-
"description": "
|
|
4912
|
+
"description": "Get blog post statistics overview",
|
|
5300
4913
|
"examples": [
|
|
5301
|
-
"ecomweb blog-posts
|
|
5302
|
-
"ecomweb blog-posts create --title 'My Post' --slug my-post --status draft",
|
|
5303
|
-
"cat post.json | ecomweb blog-posts create --stdin",
|
|
5304
|
-
"ecomweb blog-posts create --file post.json"
|
|
4914
|
+
"ecomweb blog-posts stats"
|
|
5305
4915
|
],
|
|
5306
4916
|
"flags": {
|
|
5307
4917
|
"store-ref": {
|
|
@@ -5379,37 +4989,146 @@
|
|
|
5379
4989
|
"hasDynamicHelp": false,
|
|
5380
4990
|
"multiple": false,
|
|
5381
4991
|
"type": "option"
|
|
5382
|
-
}
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
"
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
"
|
|
5404
|
-
"description": "
|
|
5405
|
-
"name": "
|
|
5406
|
-
"
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
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"
|
|
5024
|
+
],
|
|
5025
|
+
"flags": {
|
|
5026
|
+
"store-ref": {
|
|
5027
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
5028
|
+
"env": "ECOMWEB_STORE_REF",
|
|
5029
|
+
"name": "store-ref",
|
|
5030
|
+
"hasDynamicHelp": false,
|
|
5031
|
+
"multiple": false,
|
|
5032
|
+
"type": "option"
|
|
5033
|
+
},
|
|
5034
|
+
"api-key": {
|
|
5035
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
5036
|
+
"env": "ECOMWEB_API_KEY",
|
|
5037
|
+
"name": "api-key",
|
|
5038
|
+
"hasDynamicHelp": false,
|
|
5039
|
+
"multiple": false,
|
|
5040
|
+
"type": "option"
|
|
5041
|
+
},
|
|
5042
|
+
"api-url": {
|
|
5043
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
5044
|
+
"env": "ECOMWEB_API_URL",
|
|
5045
|
+
"name": "api-url",
|
|
5046
|
+
"hasDynamicHelp": false,
|
|
5047
|
+
"multiple": false,
|
|
5048
|
+
"type": "option"
|
|
5049
|
+
},
|
|
5050
|
+
"output": {
|
|
5051
|
+
"description": "Output format",
|
|
5052
|
+
"name": "output",
|
|
5053
|
+
"default": "json",
|
|
5054
|
+
"hasDynamicHelp": false,
|
|
5055
|
+
"multiple": false,
|
|
5056
|
+
"options": [
|
|
5057
|
+
"json",
|
|
5058
|
+
"table",
|
|
5059
|
+
"csv"
|
|
5060
|
+
],
|
|
5061
|
+
"type": "option"
|
|
5062
|
+
},
|
|
5063
|
+
"quiet": {
|
|
5064
|
+
"description": "Suppress non-data output",
|
|
5065
|
+
"name": "quiet",
|
|
5066
|
+
"allowNo": false,
|
|
5067
|
+
"type": "boolean"
|
|
5068
|
+
},
|
|
5069
|
+
"dry-run": {
|
|
5070
|
+
"description": "Preview without executing",
|
|
5071
|
+
"name": "dry-run",
|
|
5072
|
+
"allowNo": false,
|
|
5073
|
+
"type": "boolean"
|
|
5074
|
+
},
|
|
5075
|
+
"profile": {
|
|
5076
|
+
"description": "Named config profile",
|
|
5077
|
+
"name": "profile",
|
|
5078
|
+
"hasDynamicHelp": false,
|
|
5079
|
+
"multiple": false,
|
|
5080
|
+
"type": "option"
|
|
5081
|
+
},
|
|
5082
|
+
"full": {
|
|
5083
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
5084
|
+
"name": "full",
|
|
5085
|
+
"allowNo": false,
|
|
5086
|
+
"type": "boolean"
|
|
5087
|
+
},
|
|
5088
|
+
"fields": {
|
|
5089
|
+
"description": "Comma-separated field names to include",
|
|
5090
|
+
"name": "fields",
|
|
5091
|
+
"hasDynamicHelp": false,
|
|
5092
|
+
"multiple": false,
|
|
5093
|
+
"type": "option"
|
|
5094
|
+
},
|
|
5095
|
+
"exclude": {
|
|
5096
|
+
"description": "Comma-separated field names to exclude",
|
|
5097
|
+
"name": "exclude",
|
|
5098
|
+
"hasDynamicHelp": false,
|
|
5099
|
+
"multiple": false,
|
|
5100
|
+
"type": "option"
|
|
5101
|
+
},
|
|
5102
|
+
"stdin": {
|
|
5103
|
+
"description": "Read JSON body from stdin",
|
|
5104
|
+
"name": "stdin",
|
|
5105
|
+
"allowNo": false,
|
|
5106
|
+
"type": "boolean"
|
|
5107
|
+
},
|
|
5108
|
+
"file": {
|
|
5109
|
+
"description": "Read JSON body from file",
|
|
5110
|
+
"name": "file",
|
|
5111
|
+
"hasDynamicHelp": false,
|
|
5112
|
+
"multiple": false,
|
|
5113
|
+
"type": "option"
|
|
5114
|
+
},
|
|
5115
|
+
"title": {
|
|
5116
|
+
"description": "Post title",
|
|
5117
|
+
"name": "title",
|
|
5118
|
+
"hasDynamicHelp": false,
|
|
5119
|
+
"multiple": false,
|
|
5120
|
+
"type": "option"
|
|
5121
|
+
},
|
|
5122
|
+
"slug": {
|
|
5123
|
+
"description": "URL slug",
|
|
5124
|
+
"name": "slug",
|
|
5125
|
+
"hasDynamicHelp": false,
|
|
5126
|
+
"multiple": false,
|
|
5127
|
+
"type": "option"
|
|
5128
|
+
},
|
|
5129
|
+
"content": {
|
|
5130
|
+
"description": "HTML content",
|
|
5131
|
+
"name": "content",
|
|
5413
5132
|
"hasDynamicHelp": false,
|
|
5414
5133
|
"multiple": false,
|
|
5415
5134
|
"type": "option"
|
|
@@ -5444,7 +5163,7 @@
|
|
|
5444
5163
|
"is-featured": {
|
|
5445
5164
|
"description": "Mark as featured",
|
|
5446
5165
|
"name": "is-featured",
|
|
5447
|
-
"allowNo":
|
|
5166
|
+
"allowNo": true,
|
|
5448
5167
|
"type": "boolean"
|
|
5449
5168
|
},
|
|
5450
5169
|
"category-ids": {
|
|
@@ -5478,7 +5197,7 @@
|
|
|
5478
5197
|
},
|
|
5479
5198
|
"hasDynamicHelp": false,
|
|
5480
5199
|
"hiddenAliases": [],
|
|
5481
|
-
"id": "blog-posts:
|
|
5200
|
+
"id": "blog-posts:update",
|
|
5482
5201
|
"pluginAlias": "@ecomweb/cli",
|
|
5483
5202
|
"pluginName": "@ecomweb/cli",
|
|
5484
5203
|
"pluginType": "core",
|
|
@@ -5489,22 +5208,15 @@
|
|
|
5489
5208
|
"dist",
|
|
5490
5209
|
"commands",
|
|
5491
5210
|
"blog-posts",
|
|
5492
|
-
"
|
|
5211
|
+
"update.js"
|
|
5493
5212
|
]
|
|
5494
5213
|
},
|
|
5495
|
-
"blog-
|
|
5214
|
+
"blog-categories:all": {
|
|
5496
5215
|
"aliases": [],
|
|
5497
|
-
"args": {
|
|
5498
|
-
|
|
5499
|
-
"description": "Blog post ID",
|
|
5500
|
-
"name": "id",
|
|
5501
|
-
"required": true
|
|
5502
|
-
}
|
|
5503
|
-
},
|
|
5504
|
-
"description": "Delete a blog post by ID",
|
|
5216
|
+
"args": {},
|
|
5217
|
+
"description": "Get all blog categories (no pagination)",
|
|
5505
5218
|
"examples": [
|
|
5506
|
-
"ecomweb blog-
|
|
5507
|
-
"ecomweb blog-posts delete 42 --dry-run"
|
|
5219
|
+
"ecomweb blog-categories all"
|
|
5508
5220
|
],
|
|
5509
5221
|
"flags": {
|
|
5510
5222
|
"store-ref": {
|
|
@@ -5586,7 +5298,7 @@
|
|
|
5586
5298
|
},
|
|
5587
5299
|
"hasDynamicHelp": false,
|
|
5588
5300
|
"hiddenAliases": [],
|
|
5589
|
-
"id": "blog-
|
|
5301
|
+
"id": "blog-categories:all",
|
|
5590
5302
|
"pluginAlias": "@ecomweb/cli",
|
|
5591
5303
|
"pluginName": "@ecomweb/cli",
|
|
5592
5304
|
"pluginType": "core",
|
|
@@ -5596,23 +5308,17 @@
|
|
|
5596
5308
|
"relativePath": [
|
|
5597
5309
|
"dist",
|
|
5598
5310
|
"commands",
|
|
5599
|
-
"blog-
|
|
5600
|
-
"
|
|
5311
|
+
"blog-categories",
|
|
5312
|
+
"all.js"
|
|
5601
5313
|
]
|
|
5602
5314
|
},
|
|
5603
|
-
"blog-
|
|
5315
|
+
"blog-categories:create": {
|
|
5604
5316
|
"aliases": [],
|
|
5605
|
-
"args": {
|
|
5606
|
-
|
|
5607
|
-
"description": "Blog post ID",
|
|
5608
|
-
"name": "id",
|
|
5609
|
-
"required": true
|
|
5610
|
-
}
|
|
5611
|
-
},
|
|
5612
|
-
"description": "Get a single blog post by ID (includes full content)",
|
|
5317
|
+
"args": {},
|
|
5318
|
+
"description": "Create a new blog category",
|
|
5613
5319
|
"examples": [
|
|
5614
|
-
"ecomweb blog-
|
|
5615
|
-
"ecomweb blog-
|
|
5320
|
+
"ecomweb blog-categories create --stdin <<< '{\"name\":\"Tech\",\"slug\":\"tech\"}'",
|
|
5321
|
+
"ecomweb blog-categories create --name Tech --slug tech --color '#0066CC'"
|
|
5616
5322
|
],
|
|
5617
5323
|
"flags": {
|
|
5618
5324
|
"store-ref": {
|
|
@@ -5690,11 +5396,59 @@
|
|
|
5690
5396
|
"hasDynamicHelp": false,
|
|
5691
5397
|
"multiple": false,
|
|
5692
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"
|
|
5693
5447
|
}
|
|
5694
5448
|
},
|
|
5695
5449
|
"hasDynamicHelp": false,
|
|
5696
5450
|
"hiddenAliases": [],
|
|
5697
|
-
"id": "blog-
|
|
5451
|
+
"id": "blog-categories:create",
|
|
5698
5452
|
"pluginAlias": "@ecomweb/cli",
|
|
5699
5453
|
"pluginName": "@ecomweb/cli",
|
|
5700
5454
|
"pluginType": "core",
|
|
@@ -5704,23 +5458,23 @@
|
|
|
5704
5458
|
"relativePath": [
|
|
5705
5459
|
"dist",
|
|
5706
5460
|
"commands",
|
|
5707
|
-
"blog-
|
|
5708
|
-
"
|
|
5461
|
+
"blog-categories",
|
|
5462
|
+
"create.js"
|
|
5709
5463
|
]
|
|
5710
5464
|
},
|
|
5711
|
-
"blog-
|
|
5465
|
+
"blog-categories:delete": {
|
|
5712
5466
|
"aliases": [],
|
|
5713
5467
|
"args": {
|
|
5714
|
-
"
|
|
5715
|
-
"description": "
|
|
5716
|
-
"name": "
|
|
5468
|
+
"id": {
|
|
5469
|
+
"description": "Category ID",
|
|
5470
|
+
"name": "id",
|
|
5717
5471
|
"required": true
|
|
5718
5472
|
}
|
|
5719
5473
|
},
|
|
5720
|
-
"description": "
|
|
5474
|
+
"description": "Delete a blog category by ID",
|
|
5721
5475
|
"examples": [
|
|
5722
|
-
"ecomweb blog-
|
|
5723
|
-
"ecomweb blog-
|
|
5476
|
+
"ecomweb blog-categories delete 5",
|
|
5477
|
+
"ecomweb blog-categories delete 5 --dry-run"
|
|
5724
5478
|
],
|
|
5725
5479
|
"flags": {
|
|
5726
5480
|
"store-ref": {
|
|
@@ -5798,38 +5552,11 @@
|
|
|
5798
5552
|
"hasDynamicHelp": false,
|
|
5799
5553
|
"multiple": false,
|
|
5800
5554
|
"type": "option"
|
|
5801
|
-
},
|
|
5802
|
-
"title": {
|
|
5803
|
-
"description": "Post title (overrides markdown frontmatter)",
|
|
5804
|
-
"name": "title",
|
|
5805
|
-
"hasDynamicHelp": false,
|
|
5806
|
-
"multiple": false,
|
|
5807
|
-
"type": "option"
|
|
5808
|
-
},
|
|
5809
|
-
"slug": {
|
|
5810
|
-
"description": "URL slug",
|
|
5811
|
-
"name": "slug",
|
|
5812
|
-
"hasDynamicHelp": false,
|
|
5813
|
-
"multiple": false,
|
|
5814
|
-
"type": "option"
|
|
5815
|
-
},
|
|
5816
|
-
"status": {
|
|
5817
|
-
"description": "Post status",
|
|
5818
|
-
"name": "status",
|
|
5819
|
-
"hasDynamicHelp": false,
|
|
5820
|
-
"multiple": false,
|
|
5821
|
-
"options": [
|
|
5822
|
-
"draft",
|
|
5823
|
-
"published",
|
|
5824
|
-
"scheduled",
|
|
5825
|
-
"unlisted"
|
|
5826
|
-
],
|
|
5827
|
-
"type": "option"
|
|
5828
5555
|
}
|
|
5829
5556
|
},
|
|
5830
5557
|
"hasDynamicHelp": false,
|
|
5831
5558
|
"hiddenAliases": [],
|
|
5832
|
-
"id": "blog-
|
|
5559
|
+
"id": "blog-categories:delete",
|
|
5833
5560
|
"pluginAlias": "@ecomweb/cli",
|
|
5834
5561
|
"pluginName": "@ecomweb/cli",
|
|
5835
5562
|
"pluginType": "core",
|
|
@@ -5839,19 +5566,18 @@
|
|
|
5839
5566
|
"relativePath": [
|
|
5840
5567
|
"dist",
|
|
5841
5568
|
"commands",
|
|
5842
|
-
"blog-
|
|
5843
|
-
"
|
|
5569
|
+
"blog-categories",
|
|
5570
|
+
"delete.js"
|
|
5844
5571
|
]
|
|
5845
5572
|
},
|
|
5846
|
-
"blog-
|
|
5573
|
+
"blog-categories:list": {
|
|
5847
5574
|
"aliases": [],
|
|
5848
5575
|
"args": {},
|
|
5849
|
-
"description": "List blog
|
|
5576
|
+
"description": "List blog categories with pagination",
|
|
5850
5577
|
"examples": [
|
|
5851
|
-
"ecomweb blog-
|
|
5852
|
-
"ecomweb blog-
|
|
5853
|
-
"ecomweb blog-
|
|
5854
|
-
"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"
|
|
5855
5581
|
],
|
|
5856
5582
|
"flags": {
|
|
5857
5583
|
"store-ref": {
|
|
@@ -5930,57 +5656,24 @@
|
|
|
5930
5656
|
"multiple": false,
|
|
5931
5657
|
"type": "option"
|
|
5932
5658
|
},
|
|
5933
|
-
"
|
|
5934
|
-
"description": "
|
|
5935
|
-
"name": "
|
|
5936
|
-
"hasDynamicHelp": false,
|
|
5937
|
-
"multiple": false,
|
|
5938
|
-
"options": [
|
|
5939
|
-
"draft",
|
|
5940
|
-
"published",
|
|
5941
|
-
"scheduled",
|
|
5942
|
-
"unlisted"
|
|
5943
|
-
],
|
|
5944
|
-
"type": "option"
|
|
5945
|
-
},
|
|
5946
|
-
"category-id": {
|
|
5947
|
-
"description": "Filter by category ID",
|
|
5948
|
-
"name": "category-id",
|
|
5949
|
-
"hasDynamicHelp": false,
|
|
5950
|
-
"multiple": false,
|
|
5951
|
-
"type": "option"
|
|
5952
|
-
},
|
|
5953
|
-
"tag-id": {
|
|
5954
|
-
"description": "Filter by tag ID",
|
|
5955
|
-
"name": "tag-id",
|
|
5659
|
+
"search": {
|
|
5660
|
+
"description": "Search categories by name",
|
|
5661
|
+
"name": "search",
|
|
5956
5662
|
"hasDynamicHelp": false,
|
|
5957
5663
|
"multiple": false,
|
|
5958
5664
|
"type": "option"
|
|
5959
5665
|
},
|
|
5960
|
-
"
|
|
5961
|
-
"description": "
|
|
5962
|
-
"name": "
|
|
5666
|
+
"include-post-counts": {
|
|
5667
|
+
"description": "Include post count per category",
|
|
5668
|
+
"name": "include-post-counts",
|
|
5963
5669
|
"allowNo": false,
|
|
5964
5670
|
"type": "boolean"
|
|
5965
5671
|
},
|
|
5966
|
-
"search": {
|
|
5967
|
-
"description": "Search in title/content",
|
|
5968
|
-
"name": "search",
|
|
5969
|
-
"hasDynamicHelp": false,
|
|
5970
|
-
"multiple": false,
|
|
5971
|
-
"type": "option"
|
|
5972
|
-
},
|
|
5973
5672
|
"sort-by": {
|
|
5974
5673
|
"description": "Sort field",
|
|
5975
5674
|
"name": "sort-by",
|
|
5976
5675
|
"hasDynamicHelp": false,
|
|
5977
5676
|
"multiple": false,
|
|
5978
|
-
"options": [
|
|
5979
|
-
"created_at",
|
|
5980
|
-
"published_at",
|
|
5981
|
-
"title",
|
|
5982
|
-
"view_count"
|
|
5983
|
-
],
|
|
5984
5677
|
"type": "option"
|
|
5985
5678
|
},
|
|
5986
5679
|
"sort-order": {
|
|
@@ -6009,23 +5702,11 @@
|
|
|
6009
5702
|
"hasDynamicHelp": false,
|
|
6010
5703
|
"multiple": false,
|
|
6011
5704
|
"type": "option"
|
|
6012
|
-
},
|
|
6013
|
-
"include-author": {
|
|
6014
|
-
"description": "Include author details",
|
|
6015
|
-
"name": "include-author",
|
|
6016
|
-
"allowNo": false,
|
|
6017
|
-
"type": "boolean"
|
|
6018
|
-
},
|
|
6019
|
-
"include-seo-metadata": {
|
|
6020
|
-
"description": "Include SEO metadata",
|
|
6021
|
-
"name": "include-seo-metadata",
|
|
6022
|
-
"allowNo": false,
|
|
6023
|
-
"type": "boolean"
|
|
6024
5705
|
}
|
|
6025
5706
|
},
|
|
6026
5707
|
"hasDynamicHelp": false,
|
|
6027
5708
|
"hiddenAliases": [],
|
|
6028
|
-
"id": "blog-
|
|
5709
|
+
"id": "blog-categories:list",
|
|
6029
5710
|
"pluginAlias": "@ecomweb/cli",
|
|
6030
5711
|
"pluginName": "@ecomweb/cli",
|
|
6031
5712
|
"pluginType": "core",
|
|
@@ -6035,16 +5716,23 @@
|
|
|
6035
5716
|
"relativePath": [
|
|
6036
5717
|
"dist",
|
|
6037
5718
|
"commands",
|
|
6038
|
-
"blog-
|
|
5719
|
+
"blog-categories",
|
|
6039
5720
|
"list.js"
|
|
6040
5721
|
]
|
|
6041
5722
|
},
|
|
6042
|
-
"blog-
|
|
5723
|
+
"blog-categories:update": {
|
|
6043
5724
|
"aliases": [],
|
|
6044
|
-
"args": {
|
|
6045
|
-
|
|
5725
|
+
"args": {
|
|
5726
|
+
"id": {
|
|
5727
|
+
"description": "Category ID",
|
|
5728
|
+
"name": "id",
|
|
5729
|
+
"required": true
|
|
5730
|
+
}
|
|
5731
|
+
},
|
|
5732
|
+
"description": "Update a blog category by ID",
|
|
6046
5733
|
"examples": [
|
|
6047
|
-
"ecomweb blog-
|
|
5734
|
+
"ecomweb blog-categories update 5 --stdin <<< '{\"name\":\"Technology\"}'",
|
|
5735
|
+
"ecomweb blog-categories update 5 --name Technology --color '#0066CC'"
|
|
6048
5736
|
],
|
|
6049
5737
|
"flags": {
|
|
6050
5738
|
"store-ref": {
|
|
@@ -6122,11 +5810,59 @@
|
|
|
6122
5810
|
"hasDynamicHelp": false,
|
|
6123
5811
|
"multiple": false,
|
|
6124
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"
|
|
6125
5861
|
}
|
|
6126
5862
|
},
|
|
6127
5863
|
"hasDynamicHelp": false,
|
|
6128
5864
|
"hiddenAliases": [],
|
|
6129
|
-
"id": "blog-
|
|
5865
|
+
"id": "blog-categories:update",
|
|
6130
5866
|
"pluginAlias": "@ecomweb/cli",
|
|
6131
5867
|
"pluginName": "@ecomweb/cli",
|
|
6132
5868
|
"pluginType": "core",
|
|
@@ -6136,24 +5872,16 @@
|
|
|
6136
5872
|
"relativePath": [
|
|
6137
5873
|
"dist",
|
|
6138
5874
|
"commands",
|
|
6139
|
-
"blog-
|
|
6140
|
-
"
|
|
5875
|
+
"blog-categories",
|
|
5876
|
+
"update.js"
|
|
6141
5877
|
]
|
|
6142
5878
|
},
|
|
6143
|
-
"blog-
|
|
5879
|
+
"blog-settings:get": {
|
|
6144
5880
|
"aliases": [],
|
|
6145
|
-
"args": {
|
|
6146
|
-
|
|
6147
|
-
"description": "Blog post ID",
|
|
6148
|
-
"name": "id",
|
|
6149
|
-
"required": true
|
|
6150
|
-
}
|
|
6151
|
-
},
|
|
6152
|
-
"description": "Update a blog post by ID",
|
|
5881
|
+
"args": {},
|
|
5882
|
+
"description": "Get blog settings for the current store",
|
|
6153
5883
|
"examples": [
|
|
6154
|
-
"ecomweb blog-
|
|
6155
|
-
"ecomweb blog-posts update 42 --status published",
|
|
6156
|
-
"ecomweb blog-posts get 42 | jq '.data.title = \"New\"' | ecomweb blog-posts update 42 --stdin"
|
|
5884
|
+
"ecomweb blog-settings get"
|
|
6157
5885
|
],
|
|
6158
5886
|
"flags": {
|
|
6159
5887
|
"store-ref": {
|
|
@@ -6231,265 +5959,69 @@
|
|
|
6231
5959
|
"hasDynamicHelp": false,
|
|
6232
5960
|
"multiple": false,
|
|
6233
5961
|
"type": "option"
|
|
6234
|
-
}
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
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",
|
|
6244
5994
|
"hasDynamicHelp": false,
|
|
6245
5995
|
"multiple": false,
|
|
6246
5996
|
"type": "option"
|
|
6247
5997
|
},
|
|
6248
|
-
"
|
|
6249
|
-
"description": "
|
|
6250
|
-
"
|
|
5998
|
+
"api-key": {
|
|
5999
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
6000
|
+
"env": "ECOMWEB_API_KEY",
|
|
6001
|
+
"name": "api-key",
|
|
6251
6002
|
"hasDynamicHelp": false,
|
|
6252
6003
|
"multiple": false,
|
|
6253
6004
|
"type": "option"
|
|
6254
6005
|
},
|
|
6255
|
-
"
|
|
6256
|
-
"description": "URL
|
|
6257
|
-
"
|
|
6006
|
+
"api-url": {
|
|
6007
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
6008
|
+
"env": "ECOMWEB_API_URL",
|
|
6009
|
+
"name": "api-url",
|
|
6258
6010
|
"hasDynamicHelp": false,
|
|
6259
6011
|
"multiple": false,
|
|
6260
6012
|
"type": "option"
|
|
6261
6013
|
},
|
|
6262
|
-
"
|
|
6263
|
-
"description": "
|
|
6264
|
-
"name": "
|
|
6014
|
+
"output": {
|
|
6015
|
+
"description": "Output format",
|
|
6016
|
+
"name": "output",
|
|
6017
|
+
"default": "json",
|
|
6265
6018
|
"hasDynamicHelp": false,
|
|
6266
6019
|
"multiple": false,
|
|
6267
|
-
"
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
"hasDynamicHelp": false,
|
|
6273
|
-
"multiple": false,
|
|
6274
|
-
"type": "option"
|
|
6275
|
-
},
|
|
6276
|
-
"status": {
|
|
6277
|
-
"description": "Post status",
|
|
6278
|
-
"name": "status",
|
|
6279
|
-
"hasDynamicHelp": false,
|
|
6280
|
-
"multiple": false,
|
|
6281
|
-
"options": [
|
|
6282
|
-
"draft",
|
|
6283
|
-
"published",
|
|
6284
|
-
"scheduled",
|
|
6285
|
-
"unlisted"
|
|
6286
|
-
],
|
|
6287
|
-
"type": "option"
|
|
6288
|
-
},
|
|
6289
|
-
"featured-image-url": {
|
|
6290
|
-
"description": "Featured image URL",
|
|
6291
|
-
"name": "featured-image-url",
|
|
6292
|
-
"hasDynamicHelp": false,
|
|
6293
|
-
"multiple": false,
|
|
6294
|
-
"type": "option"
|
|
6295
|
-
},
|
|
6296
|
-
"is-featured": {
|
|
6297
|
-
"description": "Mark as featured",
|
|
6298
|
-
"name": "is-featured",
|
|
6299
|
-
"allowNo": true,
|
|
6300
|
-
"type": "boolean"
|
|
6301
|
-
},
|
|
6302
|
-
"category-ids": {
|
|
6303
|
-
"description": "Comma-separated category IDs",
|
|
6304
|
-
"name": "category-ids",
|
|
6305
|
-
"hasDynamicHelp": false,
|
|
6306
|
-
"multiple": false,
|
|
6307
|
-
"type": "option"
|
|
6308
|
-
},
|
|
6309
|
-
"tag-ids": {
|
|
6310
|
-
"description": "Comma-separated tag IDs",
|
|
6311
|
-
"name": "tag-ids",
|
|
6312
|
-
"hasDynamicHelp": false,
|
|
6313
|
-
"multiple": false,
|
|
6314
|
-
"type": "option"
|
|
6315
|
-
},
|
|
6316
|
-
"product-ids": {
|
|
6317
|
-
"description": "Comma-separated product IDs",
|
|
6318
|
-
"name": "product-ids",
|
|
6319
|
-
"hasDynamicHelp": false,
|
|
6320
|
-
"multiple": false,
|
|
6321
|
-
"type": "option"
|
|
6322
|
-
},
|
|
6323
|
-
"scheduled-at": {
|
|
6324
|
-
"description": "Schedule date (ISO datetime)",
|
|
6325
|
-
"name": "scheduled-at",
|
|
6326
|
-
"hasDynamicHelp": false,
|
|
6327
|
-
"multiple": false,
|
|
6328
|
-
"type": "option"
|
|
6329
|
-
}
|
|
6330
|
-
},
|
|
6331
|
-
"hasDynamicHelp": false,
|
|
6332
|
-
"hiddenAliases": [],
|
|
6333
|
-
"id": "blog-posts:update",
|
|
6334
|
-
"pluginAlias": "@ecomweb/cli",
|
|
6335
|
-
"pluginName": "@ecomweb/cli",
|
|
6336
|
-
"pluginType": "core",
|
|
6337
|
-
"strict": true,
|
|
6338
|
-
"enableJsonFlag": false,
|
|
6339
|
-
"isESM": false,
|
|
6340
|
-
"relativePath": [
|
|
6341
|
-
"dist",
|
|
6342
|
-
"commands",
|
|
6343
|
-
"blog-posts",
|
|
6344
|
-
"update.js"
|
|
6345
|
-
]
|
|
6346
|
-
},
|
|
6347
|
-
"blog-settings:get": {
|
|
6348
|
-
"aliases": [],
|
|
6349
|
-
"args": {},
|
|
6350
|
-
"description": "Get blog settings for the current store",
|
|
6351
|
-
"examples": [
|
|
6352
|
-
"ecomweb blog-settings get"
|
|
6353
|
-
],
|
|
6354
|
-
"flags": {
|
|
6355
|
-
"store-ref": {
|
|
6356
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
6357
|
-
"env": "ECOMWEB_STORE_REF",
|
|
6358
|
-
"name": "store-ref",
|
|
6359
|
-
"hasDynamicHelp": false,
|
|
6360
|
-
"multiple": false,
|
|
6361
|
-
"type": "option"
|
|
6362
|
-
},
|
|
6363
|
-
"api-key": {
|
|
6364
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
6365
|
-
"env": "ECOMWEB_API_KEY",
|
|
6366
|
-
"name": "api-key",
|
|
6367
|
-
"hasDynamicHelp": false,
|
|
6368
|
-
"multiple": false,
|
|
6369
|
-
"type": "option"
|
|
6370
|
-
},
|
|
6371
|
-
"api-url": {
|
|
6372
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
6373
|
-
"env": "ECOMWEB_API_URL",
|
|
6374
|
-
"name": "api-url",
|
|
6375
|
-
"hasDynamicHelp": false,
|
|
6376
|
-
"multiple": false,
|
|
6377
|
-
"type": "option"
|
|
6378
|
-
},
|
|
6379
|
-
"output": {
|
|
6380
|
-
"description": "Output format",
|
|
6381
|
-
"name": "output",
|
|
6382
|
-
"default": "json",
|
|
6383
|
-
"hasDynamicHelp": false,
|
|
6384
|
-
"multiple": false,
|
|
6385
|
-
"options": [
|
|
6386
|
-
"json",
|
|
6387
|
-
"table",
|
|
6388
|
-
"csv"
|
|
6389
|
-
],
|
|
6390
|
-
"type": "option"
|
|
6391
|
-
},
|
|
6392
|
-
"quiet": {
|
|
6393
|
-
"description": "Suppress non-data output",
|
|
6394
|
-
"name": "quiet",
|
|
6395
|
-
"allowNo": false,
|
|
6396
|
-
"type": "boolean"
|
|
6397
|
-
},
|
|
6398
|
-
"dry-run": {
|
|
6399
|
-
"description": "Preview without executing",
|
|
6400
|
-
"name": "dry-run",
|
|
6401
|
-
"allowNo": false,
|
|
6402
|
-
"type": "boolean"
|
|
6403
|
-
},
|
|
6404
|
-
"profile": {
|
|
6405
|
-
"description": "Named config profile",
|
|
6406
|
-
"name": "profile",
|
|
6407
|
-
"hasDynamicHelp": false,
|
|
6408
|
-
"multiple": false,
|
|
6409
|
-
"type": "option"
|
|
6410
|
-
},
|
|
6411
|
-
"full": {
|
|
6412
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
6413
|
-
"name": "full",
|
|
6414
|
-
"allowNo": false,
|
|
6415
|
-
"type": "boolean"
|
|
6416
|
-
},
|
|
6417
|
-
"fields": {
|
|
6418
|
-
"description": "Comma-separated field names to include",
|
|
6419
|
-
"name": "fields",
|
|
6420
|
-
"hasDynamicHelp": false,
|
|
6421
|
-
"multiple": false,
|
|
6422
|
-
"type": "option"
|
|
6423
|
-
},
|
|
6424
|
-
"exclude": {
|
|
6425
|
-
"description": "Comma-separated field names to exclude",
|
|
6426
|
-
"name": "exclude",
|
|
6427
|
-
"hasDynamicHelp": false,
|
|
6428
|
-
"multiple": false,
|
|
6429
|
-
"type": "option"
|
|
6430
|
-
}
|
|
6431
|
-
},
|
|
6432
|
-
"hasDynamicHelp": false,
|
|
6433
|
-
"hiddenAliases": [],
|
|
6434
|
-
"id": "blog-settings:get",
|
|
6435
|
-
"pluginAlias": "@ecomweb/cli",
|
|
6436
|
-
"pluginName": "@ecomweb/cli",
|
|
6437
|
-
"pluginType": "core",
|
|
6438
|
-
"strict": true,
|
|
6439
|
-
"enableJsonFlag": false,
|
|
6440
|
-
"isESM": false,
|
|
6441
|
-
"relativePath": [
|
|
6442
|
-
"dist",
|
|
6443
|
-
"commands",
|
|
6444
|
-
"blog-settings",
|
|
6445
|
-
"get.js"
|
|
6446
|
-
]
|
|
6447
|
-
},
|
|
6448
|
-
"blog-settings:update": {
|
|
6449
|
-
"aliases": [],
|
|
6450
|
-
"args": {},
|
|
6451
|
-
"description": "Update blog settings for the current store",
|
|
6452
|
-
"examples": [
|
|
6453
|
-
"ecomweb blog-settings update --stdin <<< '{\"posts_per_page\":20}'",
|
|
6454
|
-
"ecomweb blog-settings update --posts-per-page 20 --allow-comments",
|
|
6455
|
-
"ecomweb blog-settings update --blog-title 'Our Blog' --enable-rss"
|
|
6456
|
-
],
|
|
6457
|
-
"flags": {
|
|
6458
|
-
"store-ref": {
|
|
6459
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
6460
|
-
"env": "ECOMWEB_STORE_REF",
|
|
6461
|
-
"name": "store-ref",
|
|
6462
|
-
"hasDynamicHelp": false,
|
|
6463
|
-
"multiple": false,
|
|
6464
|
-
"type": "option"
|
|
6465
|
-
},
|
|
6466
|
-
"api-key": {
|
|
6467
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
6468
|
-
"env": "ECOMWEB_API_KEY",
|
|
6469
|
-
"name": "api-key",
|
|
6470
|
-
"hasDynamicHelp": false,
|
|
6471
|
-
"multiple": false,
|
|
6472
|
-
"type": "option"
|
|
6473
|
-
},
|
|
6474
|
-
"api-url": {
|
|
6475
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
6476
|
-
"env": "ECOMWEB_API_URL",
|
|
6477
|
-
"name": "api-url",
|
|
6478
|
-
"hasDynamicHelp": false,
|
|
6479
|
-
"multiple": false,
|
|
6480
|
-
"type": "option"
|
|
6481
|
-
},
|
|
6482
|
-
"output": {
|
|
6483
|
-
"description": "Output format",
|
|
6484
|
-
"name": "output",
|
|
6485
|
-
"default": "json",
|
|
6486
|
-
"hasDynamicHelp": false,
|
|
6487
|
-
"multiple": false,
|
|
6488
|
-
"options": [
|
|
6489
|
-
"json",
|
|
6490
|
-
"table",
|
|
6491
|
-
"csv"
|
|
6492
|
-
],
|
|
6020
|
+
"options": [
|
|
6021
|
+
"json",
|
|
6022
|
+
"table",
|
|
6023
|
+
"csv"
|
|
6024
|
+
],
|
|
6493
6025
|
"type": "option"
|
|
6494
6026
|
},
|
|
6495
6027
|
"quiet": {
|
|
@@ -7112,10 +6644,15 @@
|
|
|
7112
6644
|
"list.js"
|
|
7113
6645
|
]
|
|
7114
6646
|
},
|
|
7115
|
-
"
|
|
6647
|
+
"collections:all": {
|
|
7116
6648
|
"aliases": [],
|
|
7117
6649
|
"args": {},
|
|
7118
|
-
"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
|
+
],
|
|
7119
6656
|
"flags": {
|
|
7120
6657
|
"store-ref": {
|
|
7121
6658
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7192,30 +6729,47 @@
|
|
|
7192
6729
|
"hasDynamicHelp": false,
|
|
7193
6730
|
"multiple": false,
|
|
7194
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"
|
|
7195
6745
|
}
|
|
7196
6746
|
},
|
|
7197
6747
|
"hasDynamicHelp": false,
|
|
7198
|
-
"hidden": true,
|
|
7199
6748
|
"hiddenAliases": [],
|
|
7200
|
-
"id": "
|
|
6749
|
+
"id": "collections:all",
|
|
7201
6750
|
"pluginAlias": "@ecomweb/cli",
|
|
7202
6751
|
"pluginName": "@ecomweb/cli",
|
|
7203
6752
|
"pluginType": "core",
|
|
7204
|
-
"strict":
|
|
6753
|
+
"strict": true,
|
|
7205
6754
|
"enableJsonFlag": false,
|
|
7206
6755
|
"isESM": false,
|
|
7207
6756
|
"relativePath": [
|
|
7208
6757
|
"dist",
|
|
7209
6758
|
"commands",
|
|
7210
|
-
"
|
|
6759
|
+
"collections",
|
|
7211
6760
|
"all.js"
|
|
7212
6761
|
]
|
|
7213
6762
|
},
|
|
7214
|
-
"
|
|
6763
|
+
"collections:create": {
|
|
7215
6764
|
"aliases": [],
|
|
7216
6765
|
"args": {},
|
|
7217
|
-
"description": "
|
|
7218
|
-
"
|
|
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
|
+
],
|
|
6772
|
+
"flags": {
|
|
7219
6773
|
"store-ref": {
|
|
7220
6774
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
7221
6775
|
"env": "ECOMWEB_STORE_REF",
|
|
@@ -7291,29 +6845,129 @@
|
|
|
7291
6845
|
"hasDynamicHelp": false,
|
|
7292
6846
|
"multiple": false,
|
|
7293
6847
|
"type": "option"
|
|
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",
|
|
6858
|
+
"hasDynamicHelp": false,
|
|
6859
|
+
"multiple": false,
|
|
6860
|
+
"type": "option"
|
|
6861
|
+
},
|
|
6862
|
+
"name": {
|
|
6863
|
+
"description": "Collection name",
|
|
6864
|
+
"name": "name",
|
|
6865
|
+
"hasDynamicHelp": false,
|
|
6866
|
+
"multiple": false,
|
|
6867
|
+
"type": "option"
|
|
6868
|
+
},
|
|
6869
|
+
"type": {
|
|
6870
|
+
"description": "Collection type (default: manual; smart needs search_criteria, so pass it with --stdin or --file)",
|
|
6871
|
+
"name": "type",
|
|
6872
|
+
"hasDynamicHelp": false,
|
|
6873
|
+
"multiple": false,
|
|
6874
|
+
"options": [
|
|
6875
|
+
"manual",
|
|
6876
|
+
"smart"
|
|
6877
|
+
],
|
|
6878
|
+
"type": "option"
|
|
6879
|
+
},
|
|
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",
|
|
6890
|
+
"hasDynamicHelp": false,
|
|
6891
|
+
"multiple": false,
|
|
6892
|
+
"options": [
|
|
6893
|
+
"draft",
|
|
6894
|
+
"active",
|
|
6895
|
+
"archived",
|
|
6896
|
+
"unlisted"
|
|
6897
|
+
],
|
|
6898
|
+
"type": "option"
|
|
6899
|
+
},
|
|
6900
|
+
"description": {
|
|
6901
|
+
"description": "Collection description",
|
|
6902
|
+
"name": "description",
|
|
6903
|
+
"hasDynamicHelp": false,
|
|
6904
|
+
"multiple": false,
|
|
6905
|
+
"type": "option"
|
|
6906
|
+
},
|
|
6907
|
+
"image-url": {
|
|
6908
|
+
"description": "Collection image URL",
|
|
6909
|
+
"name": "image-url",
|
|
6910
|
+
"hasDynamicHelp": false,
|
|
6911
|
+
"multiple": false,
|
|
6912
|
+
"type": "option"
|
|
6913
|
+
},
|
|
6914
|
+
"collection-sort": {
|
|
6915
|
+
"description": "Product sort order within collection",
|
|
6916
|
+
"name": "collection-sort",
|
|
6917
|
+
"hasDynamicHelp": false,
|
|
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
|
+
],
|
|
6929
|
+
"type": "option"
|
|
6930
|
+
},
|
|
6931
|
+
"product-ids": {
|
|
6932
|
+
"description": "Comma-separated product IDs (for manual collections)",
|
|
6933
|
+
"name": "product-ids",
|
|
6934
|
+
"hasDynamicHelp": false,
|
|
6935
|
+
"multiple": false,
|
|
6936
|
+
"type": "option"
|
|
7294
6937
|
}
|
|
7295
6938
|
},
|
|
7296
6939
|
"hasDynamicHelp": false,
|
|
7297
|
-
"hidden": true,
|
|
7298
6940
|
"hiddenAliases": [],
|
|
7299
|
-
"id": "
|
|
6941
|
+
"id": "collections:create",
|
|
7300
6942
|
"pluginAlias": "@ecomweb/cli",
|
|
7301
6943
|
"pluginName": "@ecomweb/cli",
|
|
7302
6944
|
"pluginType": "core",
|
|
7303
|
-
"strict":
|
|
6945
|
+
"strict": true,
|
|
7304
6946
|
"enableJsonFlag": false,
|
|
7305
6947
|
"isESM": false,
|
|
7306
6948
|
"relativePath": [
|
|
7307
6949
|
"dist",
|
|
7308
6950
|
"commands",
|
|
7309
|
-
"
|
|
6951
|
+
"collections",
|
|
7310
6952
|
"create.js"
|
|
7311
6953
|
]
|
|
7312
6954
|
},
|
|
7313
|
-
"
|
|
6955
|
+
"collections:delete": {
|
|
7314
6956
|
"aliases": [],
|
|
7315
|
-
"args": {
|
|
7316
|
-
|
|
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
|
+
],
|
|
7317
6971
|
"flags": {
|
|
7318
6972
|
"store-ref": {
|
|
7319
6973
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7390,29 +7044,49 @@
|
|
|
7390
7044
|
"hasDynamicHelp": false,
|
|
7391
7045
|
"multiple": false,
|
|
7392
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"
|
|
7393
7059
|
}
|
|
7394
7060
|
},
|
|
7395
7061
|
"hasDynamicHelp": false,
|
|
7396
|
-
"hidden": true,
|
|
7397
7062
|
"hiddenAliases": [],
|
|
7398
|
-
"id": "
|
|
7063
|
+
"id": "collections:delete",
|
|
7399
7064
|
"pluginAlias": "@ecomweb/cli",
|
|
7400
7065
|
"pluginName": "@ecomweb/cli",
|
|
7401
7066
|
"pluginType": "core",
|
|
7402
|
-
"strict":
|
|
7067
|
+
"strict": true,
|
|
7403
7068
|
"enableJsonFlag": false,
|
|
7404
7069
|
"isESM": false,
|
|
7405
7070
|
"relativePath": [
|
|
7406
7071
|
"dist",
|
|
7407
7072
|
"commands",
|
|
7408
|
-
"
|
|
7073
|
+
"collections",
|
|
7409
7074
|
"delete.js"
|
|
7410
7075
|
]
|
|
7411
7076
|
},
|
|
7412
|
-
"
|
|
7077
|
+
"collections:get": {
|
|
7413
7078
|
"aliases": [],
|
|
7414
|
-
"args": {
|
|
7415
|
-
|
|
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
|
+
],
|
|
7416
7090
|
"flags": {
|
|
7417
7091
|
"store-ref": {
|
|
7418
7092
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7492,26 +7166,30 @@
|
|
|
7492
7166
|
}
|
|
7493
7167
|
},
|
|
7494
7168
|
"hasDynamicHelp": false,
|
|
7495
|
-
"hidden": true,
|
|
7496
7169
|
"hiddenAliases": [],
|
|
7497
|
-
"id": "
|
|
7170
|
+
"id": "collections:get",
|
|
7498
7171
|
"pluginAlias": "@ecomweb/cli",
|
|
7499
7172
|
"pluginName": "@ecomweb/cli",
|
|
7500
7173
|
"pluginType": "core",
|
|
7501
|
-
"strict":
|
|
7174
|
+
"strict": true,
|
|
7502
7175
|
"enableJsonFlag": false,
|
|
7503
7176
|
"isESM": false,
|
|
7504
7177
|
"relativePath": [
|
|
7505
7178
|
"dist",
|
|
7506
7179
|
"commands",
|
|
7507
|
-
"
|
|
7180
|
+
"collections",
|
|
7508
7181
|
"get.js"
|
|
7509
7182
|
]
|
|
7510
7183
|
},
|
|
7511
|
-
"
|
|
7184
|
+
"collections:list": {
|
|
7512
7185
|
"aliases": [],
|
|
7513
7186
|
"args": {},
|
|
7514
|
-
"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
|
+
],
|
|
7515
7193
|
"flags": {
|
|
7516
7194
|
"store-ref": {
|
|
7517
7195
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7588,29 +7266,130 @@
|
|
|
7588
7266
|
"hasDynamicHelp": false,
|
|
7589
7267
|
"multiple": false,
|
|
7590
7268
|
"type": "option"
|
|
7269
|
+
},
|
|
7270
|
+
"type": {
|
|
7271
|
+
"description": "Filter by collection type",
|
|
7272
|
+
"name": "type",
|
|
7273
|
+
"hasDynamicHelp": false,
|
|
7274
|
+
"multiple": false,
|
|
7275
|
+
"options": [
|
|
7276
|
+
"manual",
|
|
7277
|
+
"smart"
|
|
7278
|
+
],
|
|
7279
|
+
"type": "option"
|
|
7280
|
+
},
|
|
7281
|
+
"status": {
|
|
7282
|
+
"description": "Filter by status",
|
|
7283
|
+
"name": "status",
|
|
7284
|
+
"hasDynamicHelp": false,
|
|
7285
|
+
"multiple": false,
|
|
7286
|
+
"options": [
|
|
7287
|
+
"draft",
|
|
7288
|
+
"active",
|
|
7289
|
+
"archived",
|
|
7290
|
+
"unlisted"
|
|
7291
|
+
],
|
|
7292
|
+
"type": "option"
|
|
7293
|
+
},
|
|
7294
|
+
"search": {
|
|
7295
|
+
"description": "Search by name/description",
|
|
7296
|
+
"name": "search",
|
|
7297
|
+
"hasDynamicHelp": false,
|
|
7298
|
+
"multiple": false,
|
|
7299
|
+
"type": "option"
|
|
7300
|
+
},
|
|
7301
|
+
"name": {
|
|
7302
|
+
"description": "Filter by exact name",
|
|
7303
|
+
"name": "name",
|
|
7304
|
+
"hasDynamicHelp": false,
|
|
7305
|
+
"multiple": false,
|
|
7306
|
+
"type": "option"
|
|
7307
|
+
},
|
|
7308
|
+
"slug": {
|
|
7309
|
+
"description": "Filter by exact slug",
|
|
7310
|
+
"name": "slug",
|
|
7311
|
+
"hasDynamicHelp": false,
|
|
7312
|
+
"multiple": false,
|
|
7313
|
+
"type": "option"
|
|
7314
|
+
},
|
|
7315
|
+
"sort-by": {
|
|
7316
|
+
"description": "Sort field",
|
|
7317
|
+
"name": "sort-by",
|
|
7318
|
+
"hasDynamicHelp": false,
|
|
7319
|
+
"multiple": false,
|
|
7320
|
+
"type": "option"
|
|
7321
|
+
},
|
|
7322
|
+
"sort-order": {
|
|
7323
|
+
"description": "Sort direction",
|
|
7324
|
+
"name": "sort-order",
|
|
7325
|
+
"hasDynamicHelp": false,
|
|
7326
|
+
"multiple": false,
|
|
7327
|
+
"options": [
|
|
7328
|
+
"asc",
|
|
7329
|
+
"desc"
|
|
7330
|
+
],
|
|
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"
|
|
7591
7360
|
}
|
|
7592
7361
|
},
|
|
7593
7362
|
"hasDynamicHelp": false,
|
|
7594
|
-
"hidden": true,
|
|
7595
7363
|
"hiddenAliases": [],
|
|
7596
|
-
"id": "
|
|
7364
|
+
"id": "collections:list",
|
|
7597
7365
|
"pluginAlias": "@ecomweb/cli",
|
|
7598
7366
|
"pluginName": "@ecomweb/cli",
|
|
7599
7367
|
"pluginType": "core",
|
|
7600
|
-
"strict":
|
|
7368
|
+
"strict": true,
|
|
7601
7369
|
"enableJsonFlag": false,
|
|
7602
7370
|
"isESM": false,
|
|
7603
7371
|
"relativePath": [
|
|
7604
7372
|
"dist",
|
|
7605
7373
|
"commands",
|
|
7606
|
-
"
|
|
7374
|
+
"collections",
|
|
7607
7375
|
"list.js"
|
|
7608
7376
|
]
|
|
7609
7377
|
},
|
|
7610
|
-
"
|
|
7378
|
+
"collections:update": {
|
|
7611
7379
|
"aliases": [],
|
|
7612
|
-
"args": {
|
|
7613
|
-
|
|
7380
|
+
"args": {
|
|
7381
|
+
"id": {
|
|
7382
|
+
"description": "Collection ID",
|
|
7383
|
+
"name": "id",
|
|
7384
|
+
"required": true
|
|
7385
|
+
}
|
|
7386
|
+
},
|
|
7387
|
+
"description": "Update a collection by ID",
|
|
7388
|
+
"examples": [
|
|
7389
|
+
"ecomweb collections update 42 --stdin <<< '{\"name\":\"Updated Collection\"}'",
|
|
7390
|
+
"ecomweb collections update 42 --status active",
|
|
7391
|
+
"ecomweb collections update 42 --name 'Winter Sale' --slug winter-sale"
|
|
7392
|
+
],
|
|
7614
7393
|
"flags": {
|
|
7615
7394
|
"store-ref": {
|
|
7616
7395
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7687,34 +7466,117 @@
|
|
|
7687
7466
|
"hasDynamicHelp": false,
|
|
7688
7467
|
"multiple": false,
|
|
7689
7468
|
"type": "option"
|
|
7469
|
+
},
|
|
7470
|
+
"stdin": {
|
|
7471
|
+
"description": "Read JSON body from stdin",
|
|
7472
|
+
"name": "stdin",
|
|
7473
|
+
"allowNo": false,
|
|
7474
|
+
"type": "boolean"
|
|
7475
|
+
},
|
|
7476
|
+
"file": {
|
|
7477
|
+
"description": "Read JSON body from file",
|
|
7478
|
+
"name": "file",
|
|
7479
|
+
"hasDynamicHelp": false,
|
|
7480
|
+
"multiple": false,
|
|
7481
|
+
"type": "option"
|
|
7482
|
+
},
|
|
7483
|
+
"name": {
|
|
7484
|
+
"description": "Collection name",
|
|
7485
|
+
"name": "name",
|
|
7486
|
+
"hasDynamicHelp": false,
|
|
7487
|
+
"multiple": false,
|
|
7488
|
+
"type": "option"
|
|
7489
|
+
},
|
|
7490
|
+
"type": {
|
|
7491
|
+
"description": "Collection type",
|
|
7492
|
+
"name": "type",
|
|
7493
|
+
"hasDynamicHelp": false,
|
|
7494
|
+
"multiple": false,
|
|
7495
|
+
"options": [
|
|
7496
|
+
"manual",
|
|
7497
|
+
"smart"
|
|
7498
|
+
],
|
|
7499
|
+
"type": "option"
|
|
7500
|
+
},
|
|
7501
|
+
"slug": {
|
|
7502
|
+
"description": "URL-friendly slug",
|
|
7503
|
+
"name": "slug",
|
|
7504
|
+
"hasDynamicHelp": false,
|
|
7505
|
+
"multiple": false,
|
|
7506
|
+
"type": "option"
|
|
7507
|
+
},
|
|
7508
|
+
"status": {
|
|
7509
|
+
"description": "Collection status",
|
|
7510
|
+
"name": "status",
|
|
7511
|
+
"hasDynamicHelp": false,
|
|
7512
|
+
"multiple": false,
|
|
7513
|
+
"options": [
|
|
7514
|
+
"draft",
|
|
7515
|
+
"active",
|
|
7516
|
+
"archived",
|
|
7517
|
+
"unlisted"
|
|
7518
|
+
],
|
|
7519
|
+
"type": "option"
|
|
7520
|
+
},
|
|
7521
|
+
"description": {
|
|
7522
|
+
"description": "Collection description",
|
|
7523
|
+
"name": "description",
|
|
7524
|
+
"hasDynamicHelp": false,
|
|
7525
|
+
"multiple": false,
|
|
7526
|
+
"type": "option"
|
|
7527
|
+
},
|
|
7528
|
+
"image-url": {
|
|
7529
|
+
"description": "Collection image URL",
|
|
7530
|
+
"name": "image-url",
|
|
7531
|
+
"hasDynamicHelp": false,
|
|
7532
|
+
"multiple": false,
|
|
7533
|
+
"type": "option"
|
|
7534
|
+
},
|
|
7535
|
+
"collection-sort": {
|
|
7536
|
+
"description": "Product sort order within collection",
|
|
7537
|
+
"name": "collection-sort",
|
|
7538
|
+
"hasDynamicHelp": false,
|
|
7539
|
+
"multiple": false,
|
|
7540
|
+
"options": [
|
|
7541
|
+
"manual",
|
|
7542
|
+
"product_name_asc",
|
|
7543
|
+
"product_name_desc",
|
|
7544
|
+
"best_selling",
|
|
7545
|
+
"highest_price",
|
|
7546
|
+
"lowest_price",
|
|
7547
|
+
"newest",
|
|
7548
|
+
"oldest"
|
|
7549
|
+
],
|
|
7550
|
+
"type": "option"
|
|
7551
|
+
},
|
|
7552
|
+
"product-ids": {
|
|
7553
|
+
"description": "Comma-separated product IDs (for manual collections)",
|
|
7554
|
+
"name": "product-ids",
|
|
7555
|
+
"hasDynamicHelp": false,
|
|
7556
|
+
"multiple": false,
|
|
7557
|
+
"type": "option"
|
|
7690
7558
|
}
|
|
7691
7559
|
},
|
|
7692
7560
|
"hasDynamicHelp": false,
|
|
7693
|
-
"hidden": true,
|
|
7694
7561
|
"hiddenAliases": [],
|
|
7695
|
-
"id": "
|
|
7562
|
+
"id": "collections:update",
|
|
7696
7563
|
"pluginAlias": "@ecomweb/cli",
|
|
7697
7564
|
"pluginName": "@ecomweb/cli",
|
|
7698
7565
|
"pluginType": "core",
|
|
7699
|
-
"strict":
|
|
7566
|
+
"strict": true,
|
|
7700
7567
|
"enableJsonFlag": false,
|
|
7701
7568
|
"isESM": false,
|
|
7702
7569
|
"relativePath": [
|
|
7703
7570
|
"dist",
|
|
7704
7571
|
"commands",
|
|
7705
|
-
"
|
|
7572
|
+
"collections",
|
|
7706
7573
|
"update.js"
|
|
7707
7574
|
]
|
|
7708
7575
|
},
|
|
7709
|
-
"
|
|
7576
|
+
"categories:all": {
|
|
7710
7577
|
"aliases": [],
|
|
7711
7578
|
"args": {},
|
|
7712
|
-
"description": "
|
|
7713
|
-
"examples": [
|
|
7714
|
-
"ecomweb collections all",
|
|
7715
|
-
"ecomweb collections all --status active",
|
|
7716
|
-
"ecomweb collections all --full"
|
|
7717
|
-
],
|
|
7579
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7718
7580
|
"flags": {
|
|
7719
7581
|
"store-ref": {
|
|
7720
7582
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7791,46 +7653,29 @@
|
|
|
7791
7653
|
"hasDynamicHelp": false,
|
|
7792
7654
|
"multiple": false,
|
|
7793
7655
|
"type": "option"
|
|
7794
|
-
},
|
|
7795
|
-
"status": {
|
|
7796
|
-
"description": "Filter by status",
|
|
7797
|
-
"name": "status",
|
|
7798
|
-
"hasDynamicHelp": false,
|
|
7799
|
-
"multiple": false,
|
|
7800
|
-
"options": [
|
|
7801
|
-
"draft",
|
|
7802
|
-
"active",
|
|
7803
|
-
"archived",
|
|
7804
|
-
"unlisted"
|
|
7805
|
-
],
|
|
7806
|
-
"type": "option"
|
|
7807
7656
|
}
|
|
7808
7657
|
},
|
|
7809
7658
|
"hasDynamicHelp": false,
|
|
7659
|
+
"hidden": true,
|
|
7810
7660
|
"hiddenAliases": [],
|
|
7811
|
-
"id": "
|
|
7661
|
+
"id": "categories:all",
|
|
7812
7662
|
"pluginAlias": "@ecomweb/cli",
|
|
7813
7663
|
"pluginName": "@ecomweb/cli",
|
|
7814
7664
|
"pluginType": "core",
|
|
7815
|
-
"strict":
|
|
7665
|
+
"strict": false,
|
|
7816
7666
|
"enableJsonFlag": false,
|
|
7817
7667
|
"isESM": false,
|
|
7818
7668
|
"relativePath": [
|
|
7819
7669
|
"dist",
|
|
7820
7670
|
"commands",
|
|
7821
|
-
"
|
|
7671
|
+
"categories",
|
|
7822
7672
|
"all.js"
|
|
7823
7673
|
]
|
|
7824
7674
|
},
|
|
7825
|
-
"
|
|
7675
|
+
"categories:create": {
|
|
7826
7676
|
"aliases": [],
|
|
7827
7677
|
"args": {},
|
|
7828
|
-
"description": "
|
|
7829
|
-
"examples": [
|
|
7830
|
-
"ecomweb collections create --stdin <<< '{\"name\":\"Summer\",\"type\":\"manual\",\"slug\":\"summer\",\"product_ids\":[1,2,3]}'",
|
|
7831
|
-
"ecomweb collections create --name Summer --slug summer --product-ids 1,2,3",
|
|
7832
|
-
"ecomweb collections create --file collection.json"
|
|
7833
|
-
],
|
|
7678
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
7834
7679
|
"flags": {
|
|
7835
7680
|
"store-ref": {
|
|
7836
7681
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -7907,129 +7752,29 @@
|
|
|
7907
7752
|
"hasDynamicHelp": false,
|
|
7908
7753
|
"multiple": false,
|
|
7909
7754
|
"type": "option"
|
|
7910
|
-
},
|
|
7911
|
-
"stdin": {
|
|
7912
|
-
"description": "Read JSON body from stdin",
|
|
7913
|
-
"name": "stdin",
|
|
7914
|
-
"allowNo": false,
|
|
7915
|
-
"type": "boolean"
|
|
7916
|
-
},
|
|
7917
|
-
"file": {
|
|
7918
|
-
"description": "Read JSON body from file",
|
|
7919
|
-
"name": "file",
|
|
7920
|
-
"hasDynamicHelp": false,
|
|
7921
|
-
"multiple": false,
|
|
7922
|
-
"type": "option"
|
|
7923
|
-
},
|
|
7924
|
-
"name": {
|
|
7925
|
-
"description": "Collection name",
|
|
7926
|
-
"name": "name",
|
|
7927
|
-
"hasDynamicHelp": false,
|
|
7928
|
-
"multiple": false,
|
|
7929
|
-
"type": "option"
|
|
7930
|
-
},
|
|
7931
|
-
"type": {
|
|
7932
|
-
"description": "Collection type (default: manual; smart needs search_criteria, so pass it with --stdin or --file)",
|
|
7933
|
-
"name": "type",
|
|
7934
|
-
"hasDynamicHelp": false,
|
|
7935
|
-
"multiple": false,
|
|
7936
|
-
"options": [
|
|
7937
|
-
"manual",
|
|
7938
|
-
"smart"
|
|
7939
|
-
],
|
|
7940
|
-
"type": "option"
|
|
7941
|
-
},
|
|
7942
|
-
"slug": {
|
|
7943
|
-
"description": "URL-friendly slug",
|
|
7944
|
-
"name": "slug",
|
|
7945
|
-
"hasDynamicHelp": false,
|
|
7946
|
-
"multiple": false,
|
|
7947
|
-
"type": "option"
|
|
7948
|
-
},
|
|
7949
|
-
"status": {
|
|
7950
|
-
"description": "Collection status",
|
|
7951
|
-
"name": "status",
|
|
7952
|
-
"hasDynamicHelp": false,
|
|
7953
|
-
"multiple": false,
|
|
7954
|
-
"options": [
|
|
7955
|
-
"draft",
|
|
7956
|
-
"active",
|
|
7957
|
-
"archived",
|
|
7958
|
-
"unlisted"
|
|
7959
|
-
],
|
|
7960
|
-
"type": "option"
|
|
7961
|
-
},
|
|
7962
|
-
"description": {
|
|
7963
|
-
"description": "Collection description",
|
|
7964
|
-
"name": "description",
|
|
7965
|
-
"hasDynamicHelp": false,
|
|
7966
|
-
"multiple": false,
|
|
7967
|
-
"type": "option"
|
|
7968
|
-
},
|
|
7969
|
-
"image-url": {
|
|
7970
|
-
"description": "Collection image URL",
|
|
7971
|
-
"name": "image-url",
|
|
7972
|
-
"hasDynamicHelp": false,
|
|
7973
|
-
"multiple": false,
|
|
7974
|
-
"type": "option"
|
|
7975
|
-
},
|
|
7976
|
-
"collection-sort": {
|
|
7977
|
-
"description": "Product sort order within collection",
|
|
7978
|
-
"name": "collection-sort",
|
|
7979
|
-
"hasDynamicHelp": false,
|
|
7980
|
-
"multiple": false,
|
|
7981
|
-
"options": [
|
|
7982
|
-
"manual",
|
|
7983
|
-
"product_name_asc",
|
|
7984
|
-
"product_name_desc",
|
|
7985
|
-
"best_selling",
|
|
7986
|
-
"highest_price",
|
|
7987
|
-
"lowest_price",
|
|
7988
|
-
"newest",
|
|
7989
|
-
"oldest"
|
|
7990
|
-
],
|
|
7991
|
-
"type": "option"
|
|
7992
|
-
},
|
|
7993
|
-
"product-ids": {
|
|
7994
|
-
"description": "Comma-separated product IDs (for manual collections)",
|
|
7995
|
-
"name": "product-ids",
|
|
7996
|
-
"hasDynamicHelp": false,
|
|
7997
|
-
"multiple": false,
|
|
7998
|
-
"type": "option"
|
|
7999
7755
|
}
|
|
8000
7756
|
},
|
|
8001
7757
|
"hasDynamicHelp": false,
|
|
7758
|
+
"hidden": true,
|
|
8002
7759
|
"hiddenAliases": [],
|
|
8003
|
-
"id": "
|
|
7760
|
+
"id": "categories:create",
|
|
8004
7761
|
"pluginAlias": "@ecomweb/cli",
|
|
8005
7762
|
"pluginName": "@ecomweb/cli",
|
|
8006
7763
|
"pluginType": "core",
|
|
8007
|
-
"strict":
|
|
7764
|
+
"strict": false,
|
|
8008
7765
|
"enableJsonFlag": false,
|
|
8009
7766
|
"isESM": false,
|
|
8010
7767
|
"relativePath": [
|
|
8011
7768
|
"dist",
|
|
8012
7769
|
"commands",
|
|
8013
|
-
"
|
|
7770
|
+
"categories",
|
|
8014
7771
|
"create.js"
|
|
8015
7772
|
]
|
|
8016
7773
|
},
|
|
8017
|
-
"
|
|
7774
|
+
"categories:delete": {
|
|
8018
7775
|
"aliases": [],
|
|
8019
|
-
"args": {
|
|
8020
|
-
|
|
8021
|
-
"description": "Collection ID",
|
|
8022
|
-
"name": "id",
|
|
8023
|
-
"required": true
|
|
8024
|
-
}
|
|
8025
|
-
},
|
|
8026
|
-
"description": "Delete a collection by ID",
|
|
8027
|
-
"examples": [
|
|
8028
|
-
"ecomweb collections delete 42",
|
|
8029
|
-
"ecomweb collections delete 42 --no-soft-delete",
|
|
8030
|
-
"ecomweb collections delete 42 --force",
|
|
8031
|
-
"ecomweb collections delete 42 --dry-run"
|
|
8032
|
-
],
|
|
7776
|
+
"args": {},
|
|
7777
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
8033
7778
|
"flags": {
|
|
8034
7779
|
"store-ref": {
|
|
8035
7780
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -8106,49 +7851,29 @@
|
|
|
8106
7851
|
"hasDynamicHelp": false,
|
|
8107
7852
|
"multiple": false,
|
|
8108
7853
|
"type": "option"
|
|
8109
|
-
},
|
|
8110
|
-
"soft-delete": {
|
|
8111
|
-
"description": "Soft delete (default: true)",
|
|
8112
|
-
"name": "soft-delete",
|
|
8113
|
-
"allowNo": true,
|
|
8114
|
-
"type": "boolean"
|
|
8115
|
-
},
|
|
8116
|
-
"force": {
|
|
8117
|
-
"description": "Force delete even if collection has products",
|
|
8118
|
-
"name": "force",
|
|
8119
|
-
"allowNo": false,
|
|
8120
|
-
"type": "boolean"
|
|
8121
7854
|
}
|
|
8122
7855
|
},
|
|
8123
7856
|
"hasDynamicHelp": false,
|
|
7857
|
+
"hidden": true,
|
|
8124
7858
|
"hiddenAliases": [],
|
|
8125
|
-
"id": "
|
|
7859
|
+
"id": "categories:delete",
|
|
8126
7860
|
"pluginAlias": "@ecomweb/cli",
|
|
8127
7861
|
"pluginName": "@ecomweb/cli",
|
|
8128
7862
|
"pluginType": "core",
|
|
8129
|
-
"strict":
|
|
7863
|
+
"strict": false,
|
|
8130
7864
|
"enableJsonFlag": false,
|
|
8131
7865
|
"isESM": false,
|
|
8132
7866
|
"relativePath": [
|
|
8133
7867
|
"dist",
|
|
8134
7868
|
"commands",
|
|
8135
|
-
"
|
|
7869
|
+
"categories",
|
|
8136
7870
|
"delete.js"
|
|
8137
7871
|
]
|
|
8138
7872
|
},
|
|
8139
|
-
"
|
|
7873
|
+
"categories:get": {
|
|
8140
7874
|
"aliases": [],
|
|
8141
|
-
"args": {
|
|
8142
|
-
|
|
8143
|
-
"description": "Collection ID",
|
|
8144
|
-
"name": "id",
|
|
8145
|
-
"required": true
|
|
8146
|
-
}
|
|
8147
|
-
},
|
|
8148
|
-
"description": "Get a collection by ID",
|
|
8149
|
-
"examples": [
|
|
8150
|
-
"ecomweb collections get 42"
|
|
8151
|
-
],
|
|
7875
|
+
"args": {},
|
|
7876
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
8152
7877
|
"flags": {
|
|
8153
7878
|
"store-ref": {
|
|
8154
7879
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -8228,30 +7953,26 @@
|
|
|
8228
7953
|
}
|
|
8229
7954
|
},
|
|
8230
7955
|
"hasDynamicHelp": false,
|
|
7956
|
+
"hidden": true,
|
|
8231
7957
|
"hiddenAliases": [],
|
|
8232
|
-
"id": "
|
|
7958
|
+
"id": "categories:get",
|
|
8233
7959
|
"pluginAlias": "@ecomweb/cli",
|
|
8234
7960
|
"pluginName": "@ecomweb/cli",
|
|
8235
7961
|
"pluginType": "core",
|
|
8236
|
-
"strict":
|
|
7962
|
+
"strict": false,
|
|
8237
7963
|
"enableJsonFlag": false,
|
|
8238
7964
|
"isESM": false,
|
|
8239
7965
|
"relativePath": [
|
|
8240
7966
|
"dist",
|
|
8241
7967
|
"commands",
|
|
8242
|
-
"
|
|
7968
|
+
"categories",
|
|
8243
7969
|
"get.js"
|
|
8244
7970
|
]
|
|
8245
7971
|
},
|
|
8246
|
-
"
|
|
7972
|
+
"categories:list": {
|
|
8247
7973
|
"aliases": [],
|
|
8248
7974
|
"args": {},
|
|
8249
|
-
"description": "
|
|
8250
|
-
"examples": [
|
|
8251
|
-
"ecomweb collections list",
|
|
8252
|
-
"ecomweb collections list --status active --type manual",
|
|
8253
|
-
"ecomweb collections list --search summer --include-product-count"
|
|
8254
|
-
],
|
|
7975
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
8255
7976
|
"flags": {
|
|
8256
7977
|
"store-ref": {
|
|
8257
7978
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -8324,134 +8045,33 @@
|
|
|
8324
8045
|
},
|
|
8325
8046
|
"exclude": {
|
|
8326
8047
|
"description": "Comma-separated field names to exclude",
|
|
8327
|
-
"name": "exclude",
|
|
8328
|
-
"hasDynamicHelp": false,
|
|
8329
|
-
"multiple": false,
|
|
8330
|
-
"type": "option"
|
|
8331
|
-
},
|
|
8332
|
-
"type": {
|
|
8333
|
-
"description": "Filter by collection type",
|
|
8334
|
-
"name": "type",
|
|
8335
|
-
"hasDynamicHelp": false,
|
|
8336
|
-
"multiple": false,
|
|
8337
|
-
"options": [
|
|
8338
|
-
"manual",
|
|
8339
|
-
"smart"
|
|
8340
|
-
],
|
|
8341
|
-
"type": "option"
|
|
8342
|
-
},
|
|
8343
|
-
"status": {
|
|
8344
|
-
"description": "Filter by status",
|
|
8345
|
-
"name": "status",
|
|
8346
|
-
"hasDynamicHelp": false,
|
|
8347
|
-
"multiple": false,
|
|
8348
|
-
"options": [
|
|
8349
|
-
"draft",
|
|
8350
|
-
"active",
|
|
8351
|
-
"archived",
|
|
8352
|
-
"unlisted"
|
|
8353
|
-
],
|
|
8354
|
-
"type": "option"
|
|
8355
|
-
},
|
|
8356
|
-
"search": {
|
|
8357
|
-
"description": "Search by name/description",
|
|
8358
|
-
"name": "search",
|
|
8359
|
-
"hasDynamicHelp": false,
|
|
8360
|
-
"multiple": false,
|
|
8361
|
-
"type": "option"
|
|
8362
|
-
},
|
|
8363
|
-
"name": {
|
|
8364
|
-
"description": "Filter by exact name",
|
|
8365
|
-
"name": "name",
|
|
8366
|
-
"hasDynamicHelp": false,
|
|
8367
|
-
"multiple": false,
|
|
8368
|
-
"type": "option"
|
|
8369
|
-
},
|
|
8370
|
-
"slug": {
|
|
8371
|
-
"description": "Filter by exact slug",
|
|
8372
|
-
"name": "slug",
|
|
8373
|
-
"hasDynamicHelp": false,
|
|
8374
|
-
"multiple": false,
|
|
8375
|
-
"type": "option"
|
|
8376
|
-
},
|
|
8377
|
-
"sort-by": {
|
|
8378
|
-
"description": "Sort field",
|
|
8379
|
-
"name": "sort-by",
|
|
8380
|
-
"hasDynamicHelp": false,
|
|
8381
|
-
"multiple": false,
|
|
8382
|
-
"type": "option"
|
|
8383
|
-
},
|
|
8384
|
-
"sort-order": {
|
|
8385
|
-
"description": "Sort direction",
|
|
8386
|
-
"name": "sort-order",
|
|
8387
|
-
"hasDynamicHelp": false,
|
|
8388
|
-
"multiple": false,
|
|
8389
|
-
"options": [
|
|
8390
|
-
"asc",
|
|
8391
|
-
"desc"
|
|
8392
|
-
],
|
|
8393
|
-
"type": "option"
|
|
8394
|
-
},
|
|
8395
|
-
"include-product-count": {
|
|
8396
|
-
"description": "Include product count per collection",
|
|
8397
|
-
"name": "include-product-count",
|
|
8398
|
-
"allowNo": false,
|
|
8399
|
-
"type": "boolean"
|
|
8400
|
-
},
|
|
8401
|
-
"include-seo-metadata": {
|
|
8402
|
-
"description": "Include SEO metadata",
|
|
8403
|
-
"name": "include-seo-metadata",
|
|
8404
|
-
"allowNo": false,
|
|
8405
|
-
"type": "boolean"
|
|
8406
|
-
},
|
|
8407
|
-
"limit": {
|
|
8408
|
-
"description": "Results per page",
|
|
8409
|
-
"name": "limit",
|
|
8410
|
-
"default": 20,
|
|
8411
|
-
"hasDynamicHelp": false,
|
|
8412
|
-
"multiple": false,
|
|
8413
|
-
"type": "option"
|
|
8414
|
-
},
|
|
8415
|
-
"offset": {
|
|
8416
|
-
"description": "Offset for pagination",
|
|
8417
|
-
"name": "offset",
|
|
8418
|
-
"default": 0,
|
|
8048
|
+
"name": "exclude",
|
|
8419
8049
|
"hasDynamicHelp": false,
|
|
8420
8050
|
"multiple": false,
|
|
8421
8051
|
"type": "option"
|
|
8422
8052
|
}
|
|
8423
8053
|
},
|
|
8424
8054
|
"hasDynamicHelp": false,
|
|
8055
|
+
"hidden": true,
|
|
8425
8056
|
"hiddenAliases": [],
|
|
8426
|
-
"id": "
|
|
8057
|
+
"id": "categories:list",
|
|
8427
8058
|
"pluginAlias": "@ecomweb/cli",
|
|
8428
8059
|
"pluginName": "@ecomweb/cli",
|
|
8429
8060
|
"pluginType": "core",
|
|
8430
|
-
"strict":
|
|
8061
|
+
"strict": false,
|
|
8431
8062
|
"enableJsonFlag": false,
|
|
8432
8063
|
"isESM": false,
|
|
8433
8064
|
"relativePath": [
|
|
8434
8065
|
"dist",
|
|
8435
8066
|
"commands",
|
|
8436
|
-
"
|
|
8067
|
+
"categories",
|
|
8437
8068
|
"list.js"
|
|
8438
8069
|
]
|
|
8439
8070
|
},
|
|
8440
|
-
"
|
|
8071
|
+
"categories:update": {
|
|
8441
8072
|
"aliases": [],
|
|
8442
|
-
"args": {
|
|
8443
|
-
|
|
8444
|
-
"description": "Collection ID",
|
|
8445
|
-
"name": "id",
|
|
8446
|
-
"required": true
|
|
8447
|
-
}
|
|
8448
|
-
},
|
|
8449
|
-
"description": "Update a collection by ID",
|
|
8450
|
-
"examples": [
|
|
8451
|
-
"ecomweb collections update 42 --stdin <<< '{\"name\":\"Updated Collection\"}'",
|
|
8452
|
-
"ecomweb collections update 42 --status active",
|
|
8453
|
-
"ecomweb collections update 42 --name 'Winter Sale' --slug winter-sale"
|
|
8454
|
-
],
|
|
8073
|
+
"args": {},
|
|
8074
|
+
"description": "Removed: categories were replaced by collections (ecomweb collections --help)",
|
|
8455
8075
|
"flags": {
|
|
8456
8076
|
"store-ref": {
|
|
8457
8077
|
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
@@ -8528,110 +8148,22 @@
|
|
|
8528
8148
|
"hasDynamicHelp": false,
|
|
8529
8149
|
"multiple": false,
|
|
8530
8150
|
"type": "option"
|
|
8531
|
-
},
|
|
8532
|
-
"stdin": {
|
|
8533
|
-
"description": "Read JSON body from stdin",
|
|
8534
|
-
"name": "stdin",
|
|
8535
|
-
"allowNo": false,
|
|
8536
|
-
"type": "boolean"
|
|
8537
|
-
},
|
|
8538
|
-
"file": {
|
|
8539
|
-
"description": "Read JSON body from file",
|
|
8540
|
-
"name": "file",
|
|
8541
|
-
"hasDynamicHelp": false,
|
|
8542
|
-
"multiple": false,
|
|
8543
|
-
"type": "option"
|
|
8544
|
-
},
|
|
8545
|
-
"name": {
|
|
8546
|
-
"description": "Collection name",
|
|
8547
|
-
"name": "name",
|
|
8548
|
-
"hasDynamicHelp": false,
|
|
8549
|
-
"multiple": false,
|
|
8550
|
-
"type": "option"
|
|
8551
|
-
},
|
|
8552
|
-
"type": {
|
|
8553
|
-
"description": "Collection type",
|
|
8554
|
-
"name": "type",
|
|
8555
|
-
"hasDynamicHelp": false,
|
|
8556
|
-
"multiple": false,
|
|
8557
|
-
"options": [
|
|
8558
|
-
"manual",
|
|
8559
|
-
"smart"
|
|
8560
|
-
],
|
|
8561
|
-
"type": "option"
|
|
8562
|
-
},
|
|
8563
|
-
"slug": {
|
|
8564
|
-
"description": "URL-friendly slug",
|
|
8565
|
-
"name": "slug",
|
|
8566
|
-
"hasDynamicHelp": false,
|
|
8567
|
-
"multiple": false,
|
|
8568
|
-
"type": "option"
|
|
8569
|
-
},
|
|
8570
|
-
"status": {
|
|
8571
|
-
"description": "Collection status",
|
|
8572
|
-
"name": "status",
|
|
8573
|
-
"hasDynamicHelp": false,
|
|
8574
|
-
"multiple": false,
|
|
8575
|
-
"options": [
|
|
8576
|
-
"draft",
|
|
8577
|
-
"active",
|
|
8578
|
-
"archived",
|
|
8579
|
-
"unlisted"
|
|
8580
|
-
],
|
|
8581
|
-
"type": "option"
|
|
8582
|
-
},
|
|
8583
|
-
"description": {
|
|
8584
|
-
"description": "Collection description",
|
|
8585
|
-
"name": "description",
|
|
8586
|
-
"hasDynamicHelp": false,
|
|
8587
|
-
"multiple": false,
|
|
8588
|
-
"type": "option"
|
|
8589
|
-
},
|
|
8590
|
-
"image-url": {
|
|
8591
|
-
"description": "Collection image URL",
|
|
8592
|
-
"name": "image-url",
|
|
8593
|
-
"hasDynamicHelp": false,
|
|
8594
|
-
"multiple": false,
|
|
8595
|
-
"type": "option"
|
|
8596
|
-
},
|
|
8597
|
-
"collection-sort": {
|
|
8598
|
-
"description": "Product sort order within collection",
|
|
8599
|
-
"name": "collection-sort",
|
|
8600
|
-
"hasDynamicHelp": false,
|
|
8601
|
-
"multiple": false,
|
|
8602
|
-
"options": [
|
|
8603
|
-
"manual",
|
|
8604
|
-
"product_name_asc",
|
|
8605
|
-
"product_name_desc",
|
|
8606
|
-
"best_selling",
|
|
8607
|
-
"highest_price",
|
|
8608
|
-
"lowest_price",
|
|
8609
|
-
"newest",
|
|
8610
|
-
"oldest"
|
|
8611
|
-
],
|
|
8612
|
-
"type": "option"
|
|
8613
|
-
},
|
|
8614
|
-
"product-ids": {
|
|
8615
|
-
"description": "Comma-separated product IDs (for manual collections)",
|
|
8616
|
-
"name": "product-ids",
|
|
8617
|
-
"hasDynamicHelp": false,
|
|
8618
|
-
"multiple": false,
|
|
8619
|
-
"type": "option"
|
|
8620
8151
|
}
|
|
8621
8152
|
},
|
|
8622
8153
|
"hasDynamicHelp": false,
|
|
8154
|
+
"hidden": true,
|
|
8623
8155
|
"hiddenAliases": [],
|
|
8624
|
-
"id": "
|
|
8156
|
+
"id": "categories:update",
|
|
8625
8157
|
"pluginAlias": "@ecomweb/cli",
|
|
8626
8158
|
"pluginName": "@ecomweb/cli",
|
|
8627
8159
|
"pluginType": "core",
|
|
8628
|
-
"strict":
|
|
8160
|
+
"strict": false,
|
|
8629
8161
|
"enableJsonFlag": false,
|
|
8630
8162
|
"isESM": false,
|
|
8631
8163
|
"relativePath": [
|
|
8632
8164
|
"dist",
|
|
8633
8165
|
"commands",
|
|
8634
|
-
"
|
|
8166
|
+
"categories",
|
|
8635
8167
|
"update.js"
|
|
8636
8168
|
]
|
|
8637
8169
|
},
|
|
@@ -20396,148 +19928,32 @@
|
|
|
20396
19928
|
},
|
|
20397
19929
|
"status": {
|
|
20398
19930
|
"description": "Review status",
|
|
20399
|
-
"name": "status",
|
|
20400
|
-
"hasDynamicHelp": false,
|
|
20401
|
-
"multiple": false,
|
|
20402
|
-
"options": [
|
|
20403
|
-
"PENDING",
|
|
20404
|
-
"APPROVED",
|
|
20405
|
-
"REJECTED",
|
|
20406
|
-
"HIDDEN"
|
|
20407
|
-
],
|
|
20408
|
-
"type": "option"
|
|
20409
|
-
},
|
|
20410
|
-
"is-featured": {
|
|
20411
|
-
"description": "Mark as featured",
|
|
20412
|
-
"name": "is-featured",
|
|
20413
|
-
"allowNo": true,
|
|
20414
|
-
"type": "boolean"
|
|
20415
|
-
},
|
|
20416
|
-
"is-pinned": {
|
|
20417
|
-
"description": "Pin the review",
|
|
20418
|
-
"name": "is-pinned",
|
|
20419
|
-
"allowNo": true,
|
|
20420
|
-
"type": "boolean"
|
|
20421
|
-
},
|
|
20422
|
-
"review-date": {
|
|
20423
|
-
"description": "Review date (ISO 8601 string, e.g. 2025-01-15T10:00:00Z)",
|
|
20424
|
-
"name": "review-date",
|
|
20425
|
-
"hasDynamicHelp": false,
|
|
20426
|
-
"multiple": false,
|
|
20427
|
-
"type": "option"
|
|
20428
|
-
}
|
|
20429
|
-
},
|
|
20430
|
-
"hasDynamicHelp": false,
|
|
20431
|
-
"hiddenAliases": [],
|
|
20432
|
-
"id": "reviews:update",
|
|
20433
|
-
"pluginAlias": "@ecomweb/cli",
|
|
20434
|
-
"pluginName": "@ecomweb/cli",
|
|
20435
|
-
"pluginType": "core",
|
|
20436
|
-
"strict": true,
|
|
20437
|
-
"enableJsonFlag": false,
|
|
20438
|
-
"isESM": false,
|
|
20439
|
-
"relativePath": [
|
|
20440
|
-
"dist",
|
|
20441
|
-
"commands",
|
|
20442
|
-
"reviews",
|
|
20443
|
-
"update.js"
|
|
20444
|
-
]
|
|
20445
|
-
},
|
|
20446
|
-
"shipping:locations": {
|
|
20447
|
-
"aliases": [],
|
|
20448
|
-
"args": {},
|
|
20449
|
-
"description": "List administrative areas (provinces and wards) for shipping zone configuration",
|
|
20450
|
-
"examples": [
|
|
20451
|
-
"ecomweb shipping locations --level 1",
|
|
20452
|
-
"ecomweb shipping locations --parent-code 11"
|
|
20453
|
-
],
|
|
20454
|
-
"flags": {
|
|
20455
|
-
"store-ref": {
|
|
20456
|
-
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
20457
|
-
"env": "ECOMWEB_STORE_REF",
|
|
20458
|
-
"name": "store-ref",
|
|
20459
|
-
"hasDynamicHelp": false,
|
|
20460
|
-
"multiple": false,
|
|
20461
|
-
"type": "option"
|
|
20462
|
-
},
|
|
20463
|
-
"api-key": {
|
|
20464
|
-
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
20465
|
-
"env": "ECOMWEB_API_KEY",
|
|
20466
|
-
"name": "api-key",
|
|
20467
|
-
"hasDynamicHelp": false,
|
|
20468
|
-
"multiple": false,
|
|
20469
|
-
"type": "option"
|
|
20470
|
-
},
|
|
20471
|
-
"api-url": {
|
|
20472
|
-
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
20473
|
-
"env": "ECOMWEB_API_URL",
|
|
20474
|
-
"name": "api-url",
|
|
20475
|
-
"hasDynamicHelp": false,
|
|
20476
|
-
"multiple": false,
|
|
20477
|
-
"type": "option"
|
|
20478
|
-
},
|
|
20479
|
-
"output": {
|
|
20480
|
-
"description": "Output format",
|
|
20481
|
-
"name": "output",
|
|
20482
|
-
"default": "json",
|
|
20483
|
-
"hasDynamicHelp": false,
|
|
20484
|
-
"multiple": false,
|
|
20485
|
-
"options": [
|
|
20486
|
-
"json",
|
|
20487
|
-
"table",
|
|
20488
|
-
"csv"
|
|
20489
|
-
],
|
|
20490
|
-
"type": "option"
|
|
20491
|
-
},
|
|
20492
|
-
"quiet": {
|
|
20493
|
-
"description": "Suppress non-data output",
|
|
20494
|
-
"name": "quiet",
|
|
20495
|
-
"allowNo": false,
|
|
20496
|
-
"type": "boolean"
|
|
20497
|
-
},
|
|
20498
|
-
"dry-run": {
|
|
20499
|
-
"description": "Preview without executing",
|
|
20500
|
-
"name": "dry-run",
|
|
20501
|
-
"allowNo": false,
|
|
20502
|
-
"type": "boolean"
|
|
20503
|
-
},
|
|
20504
|
-
"profile": {
|
|
20505
|
-
"description": "Named config profile",
|
|
20506
|
-
"name": "profile",
|
|
20507
|
-
"hasDynamicHelp": false,
|
|
20508
|
-
"multiple": false,
|
|
20509
|
-
"type": "option"
|
|
20510
|
-
},
|
|
20511
|
-
"full": {
|
|
20512
|
-
"description": "Include all fields (content, toc, etc.)",
|
|
20513
|
-
"name": "full",
|
|
20514
|
-
"allowNo": false,
|
|
20515
|
-
"type": "boolean"
|
|
20516
|
-
},
|
|
20517
|
-
"fields": {
|
|
20518
|
-
"description": "Comma-separated field names to include",
|
|
20519
|
-
"name": "fields",
|
|
20520
|
-
"hasDynamicHelp": false,
|
|
20521
|
-
"multiple": false,
|
|
20522
|
-
"type": "option"
|
|
20523
|
-
},
|
|
20524
|
-
"exclude": {
|
|
20525
|
-
"description": "Comma-separated field names to exclude",
|
|
20526
|
-
"name": "exclude",
|
|
20527
|
-
"hasDynamicHelp": false,
|
|
20528
|
-
"multiple": false,
|
|
20529
|
-
"type": "option"
|
|
20530
|
-
},
|
|
20531
|
-
"level": {
|
|
20532
|
-
"description": "Administrative level. For Vietnam: 1 = province, 2 = ward. Validated server-side.",
|
|
20533
|
-
"name": "level",
|
|
19931
|
+
"name": "status",
|
|
20534
19932
|
"hasDynamicHelp": false,
|
|
20535
19933
|
"multiple": false,
|
|
19934
|
+
"options": [
|
|
19935
|
+
"PENDING",
|
|
19936
|
+
"APPROVED",
|
|
19937
|
+
"REJECTED",
|
|
19938
|
+
"HIDDEN"
|
|
19939
|
+
],
|
|
20536
19940
|
"type": "option"
|
|
20537
19941
|
},
|
|
20538
|
-
"
|
|
20539
|
-
"description": "
|
|
20540
|
-
"name": "
|
|
19942
|
+
"is-featured": {
|
|
19943
|
+
"description": "Mark as featured",
|
|
19944
|
+
"name": "is-featured",
|
|
19945
|
+
"allowNo": true,
|
|
19946
|
+
"type": "boolean"
|
|
19947
|
+
},
|
|
19948
|
+
"is-pinned": {
|
|
19949
|
+
"description": "Pin the review",
|
|
19950
|
+
"name": "is-pinned",
|
|
19951
|
+
"allowNo": true,
|
|
19952
|
+
"type": "boolean"
|
|
19953
|
+
},
|
|
19954
|
+
"review-date": {
|
|
19955
|
+
"description": "Review date (ISO 8601 string, e.g. 2025-01-15T10:00:00Z)",
|
|
19956
|
+
"name": "review-date",
|
|
20541
19957
|
"hasDynamicHelp": false,
|
|
20542
19958
|
"multiple": false,
|
|
20543
19959
|
"type": "option"
|
|
@@ -20545,7 +19961,7 @@
|
|
|
20545
19961
|
},
|
|
20546
19962
|
"hasDynamicHelp": false,
|
|
20547
19963
|
"hiddenAliases": [],
|
|
20548
|
-
"id": "
|
|
19964
|
+
"id": "reviews:update",
|
|
20549
19965
|
"pluginAlias": "@ecomweb/cli",
|
|
20550
19966
|
"pluginName": "@ecomweb/cli",
|
|
20551
19967
|
"pluginType": "core",
|
|
@@ -20555,8 +19971,8 @@
|
|
|
20555
19971
|
"relativePath": [
|
|
20556
19972
|
"dist",
|
|
20557
19973
|
"commands",
|
|
20558
|
-
"
|
|
20559
|
-
"
|
|
19974
|
+
"reviews",
|
|
19975
|
+
"update.js"
|
|
20560
19976
|
]
|
|
20561
19977
|
},
|
|
20562
19978
|
"shipping-rates:create": {
|
|
@@ -24180,7 +23596,7 @@
|
|
|
24180
23596
|
"aliases": [],
|
|
24181
23597
|
"args": {
|
|
24182
23598
|
"dir": {
|
|
24183
|
-
"description": "Target directory (default: ./<store-ref
|
|
23599
|
+
"description": "Target directory (default: ./<store-name>-<store-ref>); must be empty",
|
|
24184
23600
|
"name": "dir",
|
|
24185
23601
|
"required": false
|
|
24186
23602
|
}
|
|
@@ -24554,6 +23970,239 @@
|
|
|
24554
23970
|
"skill.js"
|
|
24555
23971
|
]
|
|
24556
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
|
+
"stores:create": {
|
|
24090
|
+
"aliases": [],
|
|
24091
|
+
"args": {},
|
|
24092
|
+
"description": "Create a store (you become its owner) and make it the current store",
|
|
24093
|
+
"examples": [
|
|
24094
|
+
"ecomweb stores create --name \"My Store\"",
|
|
24095
|
+
"ecomweb stores create --name \"My Store\" --description \"Shoes\""
|
|
24096
|
+
],
|
|
24097
|
+
"flags": {
|
|
24098
|
+
"store-ref": {
|
|
24099
|
+
"description": "Store ref (or env ECOMWEB_STORE_REF)",
|
|
24100
|
+
"env": "ECOMWEB_STORE_REF",
|
|
24101
|
+
"name": "store-ref",
|
|
24102
|
+
"hasDynamicHelp": false,
|
|
24103
|
+
"multiple": false,
|
|
24104
|
+
"type": "option"
|
|
24105
|
+
},
|
|
24106
|
+
"api-key": {
|
|
24107
|
+
"description": "API key (or env ECOMWEB_API_KEY)",
|
|
24108
|
+
"env": "ECOMWEB_API_KEY",
|
|
24109
|
+
"name": "api-key",
|
|
24110
|
+
"hasDynamicHelp": false,
|
|
24111
|
+
"multiple": false,
|
|
24112
|
+
"type": "option"
|
|
24113
|
+
},
|
|
24114
|
+
"api-url": {
|
|
24115
|
+
"description": "API base URL (or env ECOMWEB_API_URL)",
|
|
24116
|
+
"env": "ECOMWEB_API_URL",
|
|
24117
|
+
"name": "api-url",
|
|
24118
|
+
"hasDynamicHelp": false,
|
|
24119
|
+
"multiple": false,
|
|
24120
|
+
"type": "option"
|
|
24121
|
+
},
|
|
24122
|
+
"output": {
|
|
24123
|
+
"description": "Output format",
|
|
24124
|
+
"name": "output",
|
|
24125
|
+
"default": "json",
|
|
24126
|
+
"hasDynamicHelp": false,
|
|
24127
|
+
"multiple": false,
|
|
24128
|
+
"options": [
|
|
24129
|
+
"json",
|
|
24130
|
+
"table",
|
|
24131
|
+
"csv"
|
|
24132
|
+
],
|
|
24133
|
+
"type": "option"
|
|
24134
|
+
},
|
|
24135
|
+
"quiet": {
|
|
24136
|
+
"description": "Suppress non-data output",
|
|
24137
|
+
"name": "quiet",
|
|
24138
|
+
"allowNo": false,
|
|
24139
|
+
"type": "boolean"
|
|
24140
|
+
},
|
|
24141
|
+
"dry-run": {
|
|
24142
|
+
"description": "Preview without executing",
|
|
24143
|
+
"name": "dry-run",
|
|
24144
|
+
"allowNo": false,
|
|
24145
|
+
"type": "boolean"
|
|
24146
|
+
},
|
|
24147
|
+
"profile": {
|
|
24148
|
+
"description": "Named config profile",
|
|
24149
|
+
"name": "profile",
|
|
24150
|
+
"hasDynamicHelp": false,
|
|
24151
|
+
"multiple": false,
|
|
24152
|
+
"type": "option"
|
|
24153
|
+
},
|
|
24154
|
+
"full": {
|
|
24155
|
+
"description": "Include all fields (content, toc, etc.)",
|
|
24156
|
+
"name": "full",
|
|
24157
|
+
"allowNo": false,
|
|
24158
|
+
"type": "boolean"
|
|
24159
|
+
},
|
|
24160
|
+
"fields": {
|
|
24161
|
+
"description": "Comma-separated field names to include",
|
|
24162
|
+
"name": "fields",
|
|
24163
|
+
"hasDynamicHelp": false,
|
|
24164
|
+
"multiple": false,
|
|
24165
|
+
"type": "option"
|
|
24166
|
+
},
|
|
24167
|
+
"exclude": {
|
|
24168
|
+
"description": "Comma-separated field names to exclude",
|
|
24169
|
+
"name": "exclude",
|
|
24170
|
+
"hasDynamicHelp": false,
|
|
24171
|
+
"multiple": false,
|
|
24172
|
+
"type": "option"
|
|
24173
|
+
},
|
|
24174
|
+
"name": {
|
|
24175
|
+
"description": "Store name (2 to 100 characters)",
|
|
24176
|
+
"name": "name",
|
|
24177
|
+
"required": true,
|
|
24178
|
+
"hasDynamicHelp": false,
|
|
24179
|
+
"multiple": false,
|
|
24180
|
+
"type": "option"
|
|
24181
|
+
},
|
|
24182
|
+
"description": {
|
|
24183
|
+
"description": "Store description",
|
|
24184
|
+
"name": "description",
|
|
24185
|
+
"hasDynamicHelp": false,
|
|
24186
|
+
"multiple": false,
|
|
24187
|
+
"type": "option"
|
|
24188
|
+
}
|
|
24189
|
+
},
|
|
24190
|
+
"hasDynamicHelp": false,
|
|
24191
|
+
"hiddenAliases": [],
|
|
24192
|
+
"id": "stores:create",
|
|
24193
|
+
"pluginAlias": "@ecomweb/cli",
|
|
24194
|
+
"pluginName": "@ecomweb/cli",
|
|
24195
|
+
"pluginType": "core",
|
|
24196
|
+
"strict": true,
|
|
24197
|
+
"enableJsonFlag": false,
|
|
24198
|
+
"isESM": false,
|
|
24199
|
+
"relativePath": [
|
|
24200
|
+
"dist",
|
|
24201
|
+
"commands",
|
|
24202
|
+
"stores",
|
|
24203
|
+
"create.js"
|
|
24204
|
+
]
|
|
24205
|
+
},
|
|
24557
24206
|
"stores:current": {
|
|
24558
24207
|
"aliases": [],
|
|
24559
24208
|
"args": {},
|
|
@@ -24765,7 +24414,7 @@
|
|
|
24765
24414
|
"stores:list": {
|
|
24766
24415
|
"aliases": [],
|
|
24767
24416
|
"args": {},
|
|
24768
|
-
"description": "List
|
|
24417
|
+
"description": "List the stores you can open",
|
|
24769
24418
|
"examples": [
|
|
24770
24419
|
"ecomweb stores list"
|
|
24771
24420
|
],
|
|
@@ -24872,7 +24521,7 @@
|
|
|
24872
24521
|
"required": true
|
|
24873
24522
|
}
|
|
24874
24523
|
},
|
|
24875
|
-
"description": "Switch the
|
|
24524
|
+
"description": "Switch the current store (checks you can open it; persists to the profile)",
|
|
24876
24525
|
"examples": [
|
|
24877
24526
|
"ecomweb stores switch abc123def456",
|
|
24878
24527
|
"ecomweb stores switch abc123def456 --profile production"
|
|
@@ -27415,19 +27064,18 @@
|
|
|
27415
27064
|
"time-series.js"
|
|
27416
27065
|
]
|
|
27417
27066
|
},
|
|
27418
|
-
"
|
|
27067
|
+
"auth:profiles:delete": {
|
|
27419
27068
|
"aliases": [],
|
|
27420
27069
|
"args": {
|
|
27421
|
-
"
|
|
27422
|
-
"description": "
|
|
27423
|
-
"name": "
|
|
27070
|
+
"name": {
|
|
27071
|
+
"description": "Profile name to delete",
|
|
27072
|
+
"name": "name",
|
|
27424
27073
|
"required": true
|
|
27425
27074
|
}
|
|
27426
27075
|
},
|
|
27427
|
-
"description": "
|
|
27076
|
+
"description": "Delete a profile and its credentials",
|
|
27428
27077
|
"examples": [
|
|
27429
|
-
"ecomweb
|
|
27430
|
-
"ecomweb attributes values create 1 --value red --display \"Red\" --swatch-type color --swatch-value \"#ff0000\""
|
|
27078
|
+
"ecomweb auth profiles delete staging"
|
|
27431
27079
|
],
|
|
27432
27080
|
"flags": {
|
|
27433
27081
|
"store-ref": {
|
|
@@ -27505,46 +27153,11 @@
|
|
|
27505
27153
|
"hasDynamicHelp": false,
|
|
27506
27154
|
"multiple": false,
|
|
27507
27155
|
"type": "option"
|
|
27508
|
-
},
|
|
27509
|
-
"value": {
|
|
27510
|
-
"description": "Machine value, e.g. red",
|
|
27511
|
-
"name": "value",
|
|
27512
|
-
"required": true,
|
|
27513
|
-
"hasDynamicHelp": false,
|
|
27514
|
-
"multiple": false,
|
|
27515
|
-
"type": "option"
|
|
27516
|
-
},
|
|
27517
|
-
"display": {
|
|
27518
|
-
"description": "Display value, e.g. Red",
|
|
27519
|
-
"name": "display",
|
|
27520
|
-
"required": true,
|
|
27521
|
-
"hasDynamicHelp": false,
|
|
27522
|
-
"multiple": false,
|
|
27523
|
-
"type": "option"
|
|
27524
|
-
},
|
|
27525
|
-
"swatch-type": {
|
|
27526
|
-
"description": "How this value renders as a swatch",
|
|
27527
|
-
"name": "swatch-type",
|
|
27528
|
-
"hasDynamicHelp": false,
|
|
27529
|
-
"multiple": false,
|
|
27530
|
-
"options": [
|
|
27531
|
-
"none",
|
|
27532
|
-
"color",
|
|
27533
|
-
"image"
|
|
27534
|
-
],
|
|
27535
|
-
"type": "option"
|
|
27536
|
-
},
|
|
27537
|
-
"swatch-value": {
|
|
27538
|
-
"description": "Hex color or image URL, depending on swatch-type",
|
|
27539
|
-
"name": "swatch-value",
|
|
27540
|
-
"hasDynamicHelp": false,
|
|
27541
|
-
"multiple": false,
|
|
27542
|
-
"type": "option"
|
|
27543
27156
|
}
|
|
27544
27157
|
},
|
|
27545
27158
|
"hasDynamicHelp": false,
|
|
27546
27159
|
"hiddenAliases": [],
|
|
27547
|
-
"id": "
|
|
27160
|
+
"id": "auth:profiles:delete",
|
|
27548
27161
|
"pluginAlias": "@ecomweb/cli",
|
|
27549
27162
|
"pluginName": "@ecomweb/cli",
|
|
27550
27163
|
"pluginType": "core",
|
|
@@ -27554,29 +27167,17 @@
|
|
|
27554
27167
|
"relativePath": [
|
|
27555
27168
|
"dist",
|
|
27556
27169
|
"commands",
|
|
27557
|
-
"
|
|
27558
|
-
"
|
|
27559
|
-
"
|
|
27170
|
+
"auth",
|
|
27171
|
+
"profiles",
|
|
27172
|
+
"delete.js"
|
|
27560
27173
|
]
|
|
27561
27174
|
},
|
|
27562
|
-
"
|
|
27175
|
+
"auth:profiles:list": {
|
|
27563
27176
|
"aliases": [],
|
|
27564
|
-
"args": {
|
|
27565
|
-
|
|
27566
|
-
"description": "Attribute ID",
|
|
27567
|
-
"name": "attribute-id",
|
|
27568
|
-
"required": true
|
|
27569
|
-
},
|
|
27570
|
-
"value-id": {
|
|
27571
|
-
"description": "Value ID",
|
|
27572
|
-
"name": "value-id",
|
|
27573
|
-
"required": true
|
|
27574
|
-
}
|
|
27575
|
-
},
|
|
27576
|
-
"description": "Delete a product attribute value",
|
|
27177
|
+
"args": {},
|
|
27178
|
+
"description": "List all configured profiles",
|
|
27577
27179
|
"examples": [
|
|
27578
|
-
"ecomweb
|
|
27579
|
-
"ecomweb attributes values delete 1 5 --force"
|
|
27180
|
+
"ecomweb auth profiles list"
|
|
27580
27181
|
],
|
|
27581
27182
|
"flags": {
|
|
27582
27183
|
"store-ref": {
|
|
@@ -27654,17 +27255,11 @@
|
|
|
27654
27255
|
"hasDynamicHelp": false,
|
|
27655
27256
|
"multiple": false,
|
|
27656
27257
|
"type": "option"
|
|
27657
|
-
},
|
|
27658
|
-
"force": {
|
|
27659
|
-
"description": "Delete even if products use this value",
|
|
27660
|
-
"name": "force",
|
|
27661
|
-
"allowNo": false,
|
|
27662
|
-
"type": "boolean"
|
|
27663
27258
|
}
|
|
27664
27259
|
},
|
|
27665
27260
|
"hasDynamicHelp": false,
|
|
27666
27261
|
"hiddenAliases": [],
|
|
27667
|
-
"id": "
|
|
27262
|
+
"id": "auth:profiles:list",
|
|
27668
27263
|
"pluginAlias": "@ecomweb/cli",
|
|
27669
27264
|
"pluginName": "@ecomweb/cli",
|
|
27670
27265
|
"pluginType": "core",
|
|
@@ -27674,23 +27269,24 @@
|
|
|
27674
27269
|
"relativePath": [
|
|
27675
27270
|
"dist",
|
|
27676
27271
|
"commands",
|
|
27677
|
-
"
|
|
27678
|
-
"
|
|
27679
|
-
"
|
|
27272
|
+
"auth",
|
|
27273
|
+
"profiles",
|
|
27274
|
+
"list.js"
|
|
27680
27275
|
]
|
|
27681
27276
|
},
|
|
27682
|
-
"
|
|
27277
|
+
"auth:profiles:use": {
|
|
27683
27278
|
"aliases": [],
|
|
27684
27279
|
"args": {
|
|
27685
|
-
"
|
|
27686
|
-
"description": "
|
|
27687
|
-
"name": "
|
|
27280
|
+
"name": {
|
|
27281
|
+
"description": "Profile name to activate",
|
|
27282
|
+
"name": "name",
|
|
27688
27283
|
"required": true
|
|
27689
27284
|
}
|
|
27690
27285
|
},
|
|
27691
|
-
"description": "
|
|
27286
|
+
"description": "Switch the active profile",
|
|
27692
27287
|
"examples": [
|
|
27693
|
-
"ecomweb
|
|
27288
|
+
"ecomweb auth profiles use production",
|
|
27289
|
+
"ecomweb auth profiles use staging"
|
|
27694
27290
|
],
|
|
27695
27291
|
"flags": {
|
|
27696
27292
|
"store-ref": {
|
|
@@ -27772,7 +27368,7 @@
|
|
|
27772
27368
|
},
|
|
27773
27369
|
"hasDynamicHelp": false,
|
|
27774
27370
|
"hiddenAliases": [],
|
|
27775
|
-
"id": "
|
|
27371
|
+
"id": "auth:profiles:use",
|
|
27776
27372
|
"pluginAlias": "@ecomweb/cli",
|
|
27777
27373
|
"pluginName": "@ecomweb/cli",
|
|
27778
27374
|
"pluginType": "core",
|
|
@@ -27782,29 +27378,24 @@
|
|
|
27782
27378
|
"relativePath": [
|
|
27783
27379
|
"dist",
|
|
27784
27380
|
"commands",
|
|
27785
|
-
"
|
|
27786
|
-
"
|
|
27787
|
-
"
|
|
27381
|
+
"auth",
|
|
27382
|
+
"profiles",
|
|
27383
|
+
"use.js"
|
|
27788
27384
|
]
|
|
27789
27385
|
},
|
|
27790
|
-
"attributes:values:
|
|
27386
|
+
"attributes:values:create": {
|
|
27791
27387
|
"aliases": [],
|
|
27792
27388
|
"args": {
|
|
27793
27389
|
"attribute-id": {
|
|
27794
27390
|
"description": "Attribute ID",
|
|
27795
27391
|
"name": "attribute-id",
|
|
27796
27392
|
"required": true
|
|
27797
|
-
},
|
|
27798
|
-
"value-id": {
|
|
27799
|
-
"description": "Value ID",
|
|
27800
|
-
"name": "value-id",
|
|
27801
|
-
"required": true
|
|
27802
27393
|
}
|
|
27803
27394
|
},
|
|
27804
|
-
"description": "
|
|
27395
|
+
"description": "Create a value for a product attribute",
|
|
27805
27396
|
"examples": [
|
|
27806
|
-
"ecomweb attributes values
|
|
27807
|
-
"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\""
|
|
27808
27399
|
],
|
|
27809
27400
|
"flags": {
|
|
27810
27401
|
"store-ref": {
|
|
@@ -27886,6 +27477,7 @@
|
|
|
27886
27477
|
"value": {
|
|
27887
27478
|
"description": "Machine value, e.g. red",
|
|
27888
27479
|
"name": "value",
|
|
27480
|
+
"required": true,
|
|
27889
27481
|
"hasDynamicHelp": false,
|
|
27890
27482
|
"multiple": false,
|
|
27891
27483
|
"type": "option"
|
|
@@ -27893,6 +27485,7 @@
|
|
|
27893
27485
|
"display": {
|
|
27894
27486
|
"description": "Display value, e.g. Red",
|
|
27895
27487
|
"name": "display",
|
|
27488
|
+
"required": true,
|
|
27896
27489
|
"hasDynamicHelp": false,
|
|
27897
27490
|
"multiple": false,
|
|
27898
27491
|
"type": "option"
|
|
@@ -27915,18 +27508,11 @@
|
|
|
27915
27508
|
"hasDynamicHelp": false,
|
|
27916
27509
|
"multiple": false,
|
|
27917
27510
|
"type": "option"
|
|
27918
|
-
},
|
|
27919
|
-
"sort-order": {
|
|
27920
|
-
"description": "Display order among sibling values",
|
|
27921
|
-
"name": "sort-order",
|
|
27922
|
-
"hasDynamicHelp": false,
|
|
27923
|
-
"multiple": false,
|
|
27924
|
-
"type": "option"
|
|
27925
27511
|
}
|
|
27926
27512
|
},
|
|
27927
27513
|
"hasDynamicHelp": false,
|
|
27928
27514
|
"hiddenAliases": [],
|
|
27929
|
-
"id": "attributes:values:
|
|
27515
|
+
"id": "attributes:values:create",
|
|
27930
27516
|
"pluginAlias": "@ecomweb/cli",
|
|
27931
27517
|
"pluginName": "@ecomweb/cli",
|
|
27932
27518
|
"pluginType": "core",
|
|
@@ -27938,21 +27524,27 @@
|
|
|
27938
27524
|
"commands",
|
|
27939
27525
|
"attributes",
|
|
27940
27526
|
"values",
|
|
27941
|
-
"
|
|
27527
|
+
"create.js"
|
|
27942
27528
|
]
|
|
27943
27529
|
},
|
|
27944
|
-
"
|
|
27530
|
+
"attributes:values:delete": {
|
|
27945
27531
|
"aliases": [],
|
|
27946
27532
|
"args": {
|
|
27947
|
-
"
|
|
27948
|
-
"description": "
|
|
27949
|
-
"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",
|
|
27950
27541
|
"required": true
|
|
27951
27542
|
}
|
|
27952
27543
|
},
|
|
27953
|
-
"description": "Delete a
|
|
27544
|
+
"description": "Delete a product attribute value",
|
|
27954
27545
|
"examples": [
|
|
27955
|
-
"ecomweb
|
|
27546
|
+
"ecomweb attributes values delete 1 5",
|
|
27547
|
+
"ecomweb attributes values delete 1 5 --force"
|
|
27956
27548
|
],
|
|
27957
27549
|
"flags": {
|
|
27958
27550
|
"store-ref": {
|
|
@@ -28030,11 +27622,17 @@
|
|
|
28030
27622
|
"hasDynamicHelp": false,
|
|
28031
27623
|
"multiple": false,
|
|
28032
27624
|
"type": "option"
|
|
27625
|
+
},
|
|
27626
|
+
"force": {
|
|
27627
|
+
"description": "Delete even if products use this value",
|
|
27628
|
+
"name": "force",
|
|
27629
|
+
"allowNo": false,
|
|
27630
|
+
"type": "boolean"
|
|
28033
27631
|
}
|
|
28034
27632
|
},
|
|
28035
27633
|
"hasDynamicHelp": false,
|
|
28036
27634
|
"hiddenAliases": [],
|
|
28037
|
-
"id": "
|
|
27635
|
+
"id": "attributes:values:delete",
|
|
28038
27636
|
"pluginAlias": "@ecomweb/cli",
|
|
28039
27637
|
"pluginName": "@ecomweb/cli",
|
|
28040
27638
|
"pluginType": "core",
|
|
@@ -28044,17 +27642,23 @@
|
|
|
28044
27642
|
"relativePath": [
|
|
28045
27643
|
"dist",
|
|
28046
27644
|
"commands",
|
|
28047
|
-
"
|
|
28048
|
-
"
|
|
27645
|
+
"attributes",
|
|
27646
|
+
"values",
|
|
28049
27647
|
"delete.js"
|
|
28050
27648
|
]
|
|
28051
27649
|
},
|
|
28052
|
-
"
|
|
27650
|
+
"attributes:values:list": {
|
|
28053
27651
|
"aliases": [],
|
|
28054
|
-
"args": {
|
|
28055
|
-
|
|
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",
|
|
28056
27660
|
"examples": [
|
|
28057
|
-
"ecomweb
|
|
27661
|
+
"ecomweb attributes values list 1"
|
|
28058
27662
|
],
|
|
28059
27663
|
"flags": {
|
|
28060
27664
|
"store-ref": {
|
|
@@ -28136,7 +27740,7 @@
|
|
|
28136
27740
|
},
|
|
28137
27741
|
"hasDynamicHelp": false,
|
|
28138
27742
|
"hiddenAliases": [],
|
|
28139
|
-
"id": "
|
|
27743
|
+
"id": "attributes:values:list",
|
|
28140
27744
|
"pluginAlias": "@ecomweb/cli",
|
|
28141
27745
|
"pluginName": "@ecomweb/cli",
|
|
28142
27746
|
"pluginType": "core",
|
|
@@ -28146,24 +27750,29 @@
|
|
|
28146
27750
|
"relativePath": [
|
|
28147
27751
|
"dist",
|
|
28148
27752
|
"commands",
|
|
28149
|
-
"
|
|
28150
|
-
"
|
|
27753
|
+
"attributes",
|
|
27754
|
+
"values",
|
|
28151
27755
|
"list.js"
|
|
28152
27756
|
]
|
|
28153
27757
|
},
|
|
28154
|
-
"
|
|
27758
|
+
"attributes:values:update": {
|
|
28155
27759
|
"aliases": [],
|
|
28156
27760
|
"args": {
|
|
28157
|
-
"
|
|
28158
|
-
"description": "
|
|
28159
|
-
"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",
|
|
28160
27769
|
"required": true
|
|
28161
27770
|
}
|
|
28162
27771
|
},
|
|
28163
|
-
"description": "
|
|
27772
|
+
"description": "Update a product attribute value",
|
|
28164
27773
|
"examples": [
|
|
28165
|
-
"ecomweb
|
|
28166
|
-
"ecomweb
|
|
27774
|
+
"ecomweb attributes values update 1 5 --display \"Crimson\"",
|
|
27775
|
+
"ecomweb attributes values update 1 5 --sort-order 2"
|
|
28167
27776
|
],
|
|
28168
27777
|
"flags": {
|
|
28169
27778
|
"store-ref": {
|
|
@@ -28241,11 +27850,51 @@
|
|
|
28241
27850
|
"hasDynamicHelp": false,
|
|
28242
27851
|
"multiple": false,
|
|
28243
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"
|
|
28244
27893
|
}
|
|
28245
27894
|
},
|
|
28246
27895
|
"hasDynamicHelp": false,
|
|
28247
27896
|
"hiddenAliases": [],
|
|
28248
|
-
"id": "
|
|
27897
|
+
"id": "attributes:values:update",
|
|
28249
27898
|
"pluginAlias": "@ecomweb/cli",
|
|
28250
27899
|
"pluginName": "@ecomweb/cli",
|
|
28251
27900
|
"pluginType": "core",
|
|
@@ -28255,9 +27904,9 @@
|
|
|
28255
27904
|
"relativePath": [
|
|
28256
27905
|
"dist",
|
|
28257
27906
|
"commands",
|
|
28258
|
-
"
|
|
28259
|
-
"
|
|
28260
|
-
"
|
|
27907
|
+
"attributes",
|
|
27908
|
+
"values",
|
|
27909
|
+
"update.js"
|
|
28261
27910
|
]
|
|
28262
27911
|
},
|
|
28263
27912
|
"store-settings:auth:get": {
|
|
@@ -28656,5 +28305,5 @@
|
|
|
28656
28305
|
]
|
|
28657
28306
|
}
|
|
28658
28307
|
},
|
|
28659
|
-
"version": "0.
|
|
28308
|
+
"version": "0.9.0"
|
|
28660
28309
|
}
|