@ecomweb/cli 1.2.0 → 1.3.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.
@@ -2107,13 +2107,15 @@
2107
2107
  "upload.js"
2108
2108
  ]
2109
2109
  },
2110
- "attributes:create": {
2110
+ "auth:login": {
2111
2111
  "aliases": [],
2112
2112
  "args": {},
2113
- "description": "Create a product attribute in the store's library",
2113
+ "description": "Log in by approving this CLI in your browser",
2114
2114
  "examples": [
2115
- "ecomweb attributes create --name \"Color\"",
2116
- "ecomweb attributes create --name \"Color\" --type visual"
2115
+ "ecomweb auth login",
2116
+ "ecomweb auth login --wait",
2117
+ "ecomweb auth login --no-browser",
2118
+ "ecomweb auth login --store-ref abc123"
2117
2119
  ],
2118
2120
  "flags": {
2119
2121
  "store-ref": {
@@ -2192,37 +2194,22 @@
2192
2194
  "multiple": false,
2193
2195
  "type": "option"
2194
2196
  },
2195
- "name": {
2196
- "description": "Attribute name, e.g. Color",
2197
- "name": "name",
2198
- "required": true,
2199
- "hasDynamicHelp": false,
2200
- "multiple": false,
2201
- "type": "option"
2202
- },
2203
- "slug": {
2204
- "description": "URL-safe key; derived from the name when omitted",
2205
- "name": "slug",
2206
- "hasDynamicHelp": false,
2207
- "multiple": false,
2208
- "type": "option"
2197
+ "wait": {
2198
+ "description": "Wait (up to 100 seconds) for the approval of the code an earlier run printed",
2199
+ "name": "wait",
2200
+ "allowNo": false,
2201
+ "type": "boolean"
2209
2202
  },
2210
- "type": {
2211
- "description": "visual enables colour/image swatches on its values",
2212
- "name": "type",
2213
- "hasDynamicHelp": false,
2214
- "multiple": false,
2215
- "options": [
2216
- "select",
2217
- "text",
2218
- "visual"
2219
- ],
2220
- "type": "option"
2203
+ "browser": {
2204
+ "description": "Open the approval link in the browser (--no-browser only prints it)",
2205
+ "name": "browser",
2206
+ "allowNo": true,
2207
+ "type": "boolean"
2221
2208
  }
2222
2209
  },
2223
2210
  "hasDynamicHelp": false,
2224
2211
  "hiddenAliases": [],
2225
- "id": "attributes:create",
2212
+ "id": "auth:login",
2226
2213
  "pluginAlias": "@ecomweb/cli",
2227
2214
  "pluginName": "@ecomweb/cli",
2228
2215
  "pluginType": "core",
@@ -2232,23 +2219,17 @@
2232
2219
  "relativePath": [
2233
2220
  "dist",
2234
2221
  "commands",
2235
- "attributes",
2236
- "create.js"
2222
+ "auth",
2223
+ "login.js"
2237
2224
  ]
2238
2225
  },
2239
- "attributes:delete": {
2226
+ "auth:logout": {
2240
2227
  "aliases": [],
2241
- "args": {
2242
- "id": {
2243
- "description": "Attribute ID",
2244
- "name": "id",
2245
- "required": true
2246
- }
2247
- },
2248
- "description": "Delete an attribute from the store's library",
2228
+ "args": {},
2229
+ "description": "Log out: revoke this CLI's session and forget it",
2249
2230
  "examples": [
2250
- "ecomweb attributes delete 1",
2251
- "ecomweb attributes delete 1 --force"
2231
+ "ecomweb auth logout",
2232
+ "ecomweb auth logout --profile staging"
2252
2233
  ],
2253
2234
  "flags": {
2254
2235
  "store-ref": {
@@ -2326,17 +2307,11 @@
2326
2307
  "hasDynamicHelp": false,
2327
2308
  "multiple": false,
2328
2309
  "type": "option"
2329
- },
2330
- "force": {
2331
- "description": "Delete even if products use this attribute",
2332
- "name": "force",
2333
- "allowNo": false,
2334
- "type": "boolean"
2335
2310
  }
2336
2311
  },
2337
2312
  "hasDynamicHelp": false,
2338
2313
  "hiddenAliases": [],
2339
- "id": "attributes:delete",
2314
+ "id": "auth:logout",
2340
2315
  "pluginAlias": "@ecomweb/cli",
2341
2316
  "pluginName": "@ecomweb/cli",
2342
2317
  "pluginType": "core",
@@ -2346,18 +2321,17 @@
2346
2321
  "relativePath": [
2347
2322
  "dist",
2348
2323
  "commands",
2349
- "attributes",
2350
- "delete.js"
2324
+ "auth",
2325
+ "logout.js"
2351
2326
  ]
2352
2327
  },
2353
- "attributes:list": {
2328
+ "auth:status": {
2354
2329
  "aliases": [],
2355
2330
  "args": {},
2356
- "description": "List the store's product attributes and their values",
2331
+ "description": "Show who you are logged in as, and with what",
2357
2332
  "examples": [
2358
- "ecomweb attributes list",
2359
- "ecomweb attributes list --include-values",
2360
- "ecomweb attributes list --search color"
2333
+ "ecomweb auth status",
2334
+ "ecomweb auth status --profile staging"
2361
2335
  ],
2362
2336
  "flags": {
2363
2337
  "store-ref": {
@@ -2435,40 +2409,11 @@
2435
2409
  "hasDynamicHelp": false,
2436
2410
  "multiple": false,
2437
2411
  "type": "option"
2438
- },
2439
- "include-values": {
2440
- "description": "Include each attribute's values",
2441
- "name": "include-values",
2442
- "allowNo": false,
2443
- "type": "boolean"
2444
- },
2445
- "search": {
2446
- "description": "Filter by attribute name",
2447
- "name": "search",
2448
- "hasDynamicHelp": false,
2449
- "multiple": false,
2450
- "type": "option"
2451
- },
2452
- "limit": {
2453
- "description": "Results per page",
2454
- "name": "limit",
2455
- "default": 20,
2456
- "hasDynamicHelp": false,
2457
- "multiple": false,
2458
- "type": "option"
2459
- },
2460
- "offset": {
2461
- "description": "Offset for pagination",
2462
- "name": "offset",
2463
- "default": 0,
2464
- "hasDynamicHelp": false,
2465
- "multiple": false,
2466
- "type": "option"
2467
2412
  }
2468
2413
  },
2469
2414
  "hasDynamicHelp": false,
2470
2415
  "hiddenAliases": [],
2471
- "id": "attributes:list",
2416
+ "id": "auth:status",
2472
2417
  "pluginAlias": "@ecomweb/cli",
2473
2418
  "pluginName": "@ecomweb/cli",
2474
2419
  "pluginType": "core",
@@ -2478,23 +2423,18 @@
2478
2423
  "relativePath": [
2479
2424
  "dist",
2480
2425
  "commands",
2481
- "attributes",
2482
- "list.js"
2426
+ "auth",
2427
+ "status.js"
2483
2428
  ]
2484
2429
  },
2485
- "attributes:update": {
2430
+ "attributes:create": {
2486
2431
  "aliases": [],
2487
- "args": {
2488
- "id": {
2489
- "description": "Attribute ID",
2490
- "name": "id",
2491
- "required": true
2492
- }
2493
- },
2494
- "description": "Update a product attribute",
2432
+ "args": {},
2433
+ "description": "Create a product attribute in the store's library",
2495
2434
  "examples": [
2496
- "ecomweb attributes update 1 --name \"Colour\"",
2497
- "ecomweb attributes update 1 --type visual"
2435
+ "ecomweb attributes create --name \"Color\"",
2436
+ "ecomweb attributes create --name \"Color\" --type visual",
2437
+ "ecomweb attributes create --name \"Color\" --taxonomy-code color"
2498
2438
  ],
2499
2439
  "flags": {
2500
2440
  "store-ref": {
@@ -2576,12 +2516,13 @@
2576
2516
  "name": {
2577
2517
  "description": "Attribute name, e.g. Color",
2578
2518
  "name": "name",
2519
+ "required": true,
2579
2520
  "hasDynamicHelp": false,
2580
2521
  "multiple": false,
2581
2522
  "type": "option"
2582
2523
  },
2583
2524
  "slug": {
2584
- "description": "URL-safe key",
2525
+ "description": "URL-safe key; derived from the name when omitted",
2585
2526
  "name": "slug",
2586
2527
  "hasDynamicHelp": false,
2587
2528
  "multiple": false,
@@ -2598,11 +2539,30 @@
2598
2539
  "visual"
2599
2540
  ],
2600
2541
  "type": "option"
2542
+ },
2543
+ "taxonomy-code": {
2544
+ "description": "Link to a global taxonomy attribute (e.g. color). Without it the attribute is store-only (is_local)",
2545
+ "exclusive": [
2546
+ "local"
2547
+ ],
2548
+ "name": "taxonomy-code",
2549
+ "hasDynamicHelp": false,
2550
+ "multiple": false,
2551
+ "type": "option"
2552
+ },
2553
+ "local": {
2554
+ "description": "Store-only attribute, not linked to the taxonomy (the default when --taxonomy-code is not given)",
2555
+ "exclusive": [
2556
+ "taxonomy-code"
2557
+ ],
2558
+ "name": "local",
2559
+ "allowNo": false,
2560
+ "type": "boolean"
2601
2561
  }
2602
2562
  },
2603
2563
  "hasDynamicHelp": false,
2604
2564
  "hiddenAliases": [],
2605
- "id": "attributes:update",
2565
+ "id": "attributes:create",
2606
2566
  "pluginAlias": "@ecomweb/cli",
2607
2567
  "pluginName": "@ecomweb/cli",
2608
2568
  "pluginType": "core",
@@ -2613,18 +2573,22 @@
2613
2573
  "dist",
2614
2574
  "commands",
2615
2575
  "attributes",
2616
- "update.js"
2576
+ "create.js"
2617
2577
  ]
2618
2578
  },
2619
- "auth:login": {
2579
+ "attributes:delete": {
2620
2580
  "aliases": [],
2621
- "args": {},
2622
- "description": "Log in by approving this CLI in your browser",
2581
+ "args": {
2582
+ "id": {
2583
+ "description": "Attribute ID",
2584
+ "name": "id",
2585
+ "required": true
2586
+ }
2587
+ },
2588
+ "description": "Delete an attribute from the store's library",
2623
2589
  "examples": [
2624
- "ecomweb auth login",
2625
- "ecomweb auth login --wait",
2626
- "ecomweb auth login --no-browser",
2627
- "ecomweb auth login --store-ref abc123"
2590
+ "ecomweb attributes delete 1",
2591
+ "ecomweb attributes delete 1 --force"
2628
2592
  ],
2629
2593
  "flags": {
2630
2594
  "store-ref": {
@@ -2703,22 +2667,16 @@
2703
2667
  "multiple": false,
2704
2668
  "type": "option"
2705
2669
  },
2706
- "wait": {
2707
- "description": "Wait (up to 100 seconds) for the approval of the code an earlier run printed",
2708
- "name": "wait",
2670
+ "force": {
2671
+ "description": "Delete even if products use this attribute",
2672
+ "name": "force",
2709
2673
  "allowNo": false,
2710
2674
  "type": "boolean"
2711
- },
2712
- "browser": {
2713
- "description": "Open the approval link in the browser (--no-browser only prints it)",
2714
- "name": "browser",
2715
- "allowNo": true,
2716
- "type": "boolean"
2717
2675
  }
2718
2676
  },
2719
2677
  "hasDynamicHelp": false,
2720
2678
  "hiddenAliases": [],
2721
- "id": "auth:login",
2679
+ "id": "attributes:delete",
2722
2680
  "pluginAlias": "@ecomweb/cli",
2723
2681
  "pluginName": "@ecomweb/cli",
2724
2682
  "pluginType": "core",
@@ -2728,17 +2686,18 @@
2728
2686
  "relativePath": [
2729
2687
  "dist",
2730
2688
  "commands",
2731
- "auth",
2732
- "login.js"
2689
+ "attributes",
2690
+ "delete.js"
2733
2691
  ]
2734
2692
  },
2735
- "auth:logout": {
2693
+ "attributes:list": {
2736
2694
  "aliases": [],
2737
2695
  "args": {},
2738
- "description": "Log out: revoke this CLI's session and forget it",
2696
+ "description": "List the store's product attributes and their values",
2739
2697
  "examples": [
2740
- "ecomweb auth logout",
2741
- "ecomweb auth logout --profile staging"
2698
+ "ecomweb attributes list",
2699
+ "ecomweb attributes list --include-values",
2700
+ "ecomweb attributes list --search color"
2742
2701
  ],
2743
2702
  "flags": {
2744
2703
  "store-ref": {
@@ -2816,11 +2775,40 @@
2816
2775
  "hasDynamicHelp": false,
2817
2776
  "multiple": false,
2818
2777
  "type": "option"
2778
+ },
2779
+ "include-values": {
2780
+ "description": "Include each attribute's values",
2781
+ "name": "include-values",
2782
+ "allowNo": false,
2783
+ "type": "boolean"
2784
+ },
2785
+ "search": {
2786
+ "description": "Filter by attribute name",
2787
+ "name": "search",
2788
+ "hasDynamicHelp": false,
2789
+ "multiple": false,
2790
+ "type": "option"
2791
+ },
2792
+ "limit": {
2793
+ "description": "Results per page",
2794
+ "name": "limit",
2795
+ "default": 20,
2796
+ "hasDynamicHelp": false,
2797
+ "multiple": false,
2798
+ "type": "option"
2799
+ },
2800
+ "offset": {
2801
+ "description": "Offset for pagination",
2802
+ "name": "offset",
2803
+ "default": 0,
2804
+ "hasDynamicHelp": false,
2805
+ "multiple": false,
2806
+ "type": "option"
2819
2807
  }
2820
2808
  },
2821
2809
  "hasDynamicHelp": false,
2822
2810
  "hiddenAliases": [],
2823
- "id": "auth:logout",
2811
+ "id": "attributes:list",
2824
2812
  "pluginAlias": "@ecomweb/cli",
2825
2813
  "pluginName": "@ecomweb/cli",
2826
2814
  "pluginType": "core",
@@ -2830,17 +2818,23 @@
2830
2818
  "relativePath": [
2831
2819
  "dist",
2832
2820
  "commands",
2833
- "auth",
2834
- "logout.js"
2821
+ "attributes",
2822
+ "list.js"
2835
2823
  ]
2836
2824
  },
2837
- "auth:status": {
2825
+ "attributes:update": {
2838
2826
  "aliases": [],
2839
- "args": {},
2840
- "description": "Show who you are logged in as, and with what",
2827
+ "args": {
2828
+ "id": {
2829
+ "description": "Attribute ID",
2830
+ "name": "id",
2831
+ "required": true
2832
+ }
2833
+ },
2834
+ "description": "Update a product attribute",
2841
2835
  "examples": [
2842
- "ecomweb auth status",
2843
- "ecomweb auth status --profile staging"
2836
+ "ecomweb attributes update 1 --name \"Colour\"",
2837
+ "ecomweb attributes update 1 --type visual"
2844
2838
  ],
2845
2839
  "flags": {
2846
2840
  "store-ref": {
@@ -2918,11 +2912,37 @@
2918
2912
  "hasDynamicHelp": false,
2919
2913
  "multiple": false,
2920
2914
  "type": "option"
2921
- }
2922
- },
2923
- "hasDynamicHelp": false,
2924
- "hiddenAliases": [],
2925
- "id": "auth:status",
2915
+ },
2916
+ "name": {
2917
+ "description": "Attribute name, e.g. Color",
2918
+ "name": "name",
2919
+ "hasDynamicHelp": false,
2920
+ "multiple": false,
2921
+ "type": "option"
2922
+ },
2923
+ "slug": {
2924
+ "description": "URL-safe key",
2925
+ "name": "slug",
2926
+ "hasDynamicHelp": false,
2927
+ "multiple": false,
2928
+ "type": "option"
2929
+ },
2930
+ "type": {
2931
+ "description": "visual enables colour/image swatches on its values",
2932
+ "name": "type",
2933
+ "hasDynamicHelp": false,
2934
+ "multiple": false,
2935
+ "options": [
2936
+ "select",
2937
+ "text",
2938
+ "visual"
2939
+ ],
2940
+ "type": "option"
2941
+ }
2942
+ },
2943
+ "hasDynamicHelp": false,
2944
+ "hiddenAliases": [],
2945
+ "id": "attributes:update",
2926
2946
  "pluginAlias": "@ecomweb/cli",
2927
2947
  "pluginName": "@ecomweb/cli",
2928
2948
  "pluginType": "core",
@@ -2932,8 +2952,8 @@
2932
2952
  "relativePath": [
2933
2953
  "dist",
2934
2954
  "commands",
2935
- "auth",
2936
- "status.js"
2955
+ "attributes",
2956
+ "update.js"
2937
2957
  ]
2938
2958
  },
2939
2959
  "blog-categories:all": {
@@ -5921,7 +5941,407 @@
5921
5941
  },
5922
5942
  "hasDynamicHelp": false,
5923
5943
  "hiddenAliases": [],
5924
- "id": "blog-tags:list",
5944
+ "id": "blog-tags:list",
5945
+ "pluginAlias": "@ecomweb/cli",
5946
+ "pluginName": "@ecomweb/cli",
5947
+ "pluginType": "core",
5948
+ "strict": true,
5949
+ "enableJsonFlag": false,
5950
+ "isESM": false,
5951
+ "relativePath": [
5952
+ "dist",
5953
+ "commands",
5954
+ "blog-tags",
5955
+ "list.js"
5956
+ ]
5957
+ },
5958
+ "bug-reports:create": {
5959
+ "aliases": [],
5960
+ "args": {},
5961
+ "description": "Report a bug to ecomweb staff. It is about the current store unless you pass --no-store. You get a number; check on it with ecomweb bug-reports get.",
5962
+ "examples": [
5963
+ "ecomweb bug-reports create --title \"Can't save a product\" --description \"Save does nothing\"",
5964
+ "ecomweb bug-reports create --title \"Update fails\" --description \"It prints an error\" --blocking --command \"products update\" --error-code VALIDATION_ERROR",
5965
+ "ecomweb bug-reports create --title \"Login page\" --description \"The button is cut off\" --screenshot ./shot.png --no-store"
5966
+ ],
5967
+ "flags": {
5968
+ "store-ref": {
5969
+ "description": "Store ref (or env ECOMWEB_STORE_REF)",
5970
+ "env": "ECOMWEB_STORE_REF",
5971
+ "name": "store-ref",
5972
+ "hasDynamicHelp": false,
5973
+ "multiple": false,
5974
+ "type": "option"
5975
+ },
5976
+ "api-key": {
5977
+ "description": "API key (or env ECOMWEB_API_KEY)",
5978
+ "env": "ECOMWEB_API_KEY",
5979
+ "name": "api-key",
5980
+ "hasDynamicHelp": false,
5981
+ "multiple": false,
5982
+ "type": "option"
5983
+ },
5984
+ "api-url": {
5985
+ "description": "API base URL (or env ECOMWEB_API_URL)",
5986
+ "env": "ECOMWEB_API_URL",
5987
+ "name": "api-url",
5988
+ "hasDynamicHelp": false,
5989
+ "multiple": false,
5990
+ "type": "option"
5991
+ },
5992
+ "output": {
5993
+ "description": "Output format",
5994
+ "name": "output",
5995
+ "default": "json",
5996
+ "hasDynamicHelp": false,
5997
+ "multiple": false,
5998
+ "options": [
5999
+ "json",
6000
+ "table",
6001
+ "csv"
6002
+ ],
6003
+ "type": "option"
6004
+ },
6005
+ "quiet": {
6006
+ "description": "Suppress non-data output",
6007
+ "name": "quiet",
6008
+ "allowNo": false,
6009
+ "type": "boolean"
6010
+ },
6011
+ "dry-run": {
6012
+ "description": "Preview without executing",
6013
+ "name": "dry-run",
6014
+ "allowNo": false,
6015
+ "type": "boolean"
6016
+ },
6017
+ "profile": {
6018
+ "description": "Named config profile",
6019
+ "name": "profile",
6020
+ "hasDynamicHelp": false,
6021
+ "multiple": false,
6022
+ "type": "option"
6023
+ },
6024
+ "full": {
6025
+ "description": "Include all fields (content, toc, etc.)",
6026
+ "name": "full",
6027
+ "allowNo": false,
6028
+ "type": "boolean"
6029
+ },
6030
+ "fields": {
6031
+ "description": "Comma-separated field names to include",
6032
+ "name": "fields",
6033
+ "hasDynamicHelp": false,
6034
+ "multiple": false,
6035
+ "type": "option"
6036
+ },
6037
+ "exclude": {
6038
+ "description": "Comma-separated field names to exclude",
6039
+ "name": "exclude",
6040
+ "hasDynamicHelp": false,
6041
+ "multiple": false,
6042
+ "type": "option"
6043
+ },
6044
+ "title": {
6045
+ "description": "Short summary of the problem (at most 200 characters)",
6046
+ "name": "title",
6047
+ "required": true,
6048
+ "hasDynamicHelp": false,
6049
+ "multiple": false,
6050
+ "type": "option"
6051
+ },
6052
+ "description": {
6053
+ "description": "What happened, and what you expected (at most 5000 characters)",
6054
+ "name": "description",
6055
+ "required": true,
6056
+ "hasDynamicHelp": false,
6057
+ "multiple": false,
6058
+ "type": "option"
6059
+ },
6060
+ "steps": {
6061
+ "description": "Steps to reproduce (at most 5000 characters)",
6062
+ "name": "steps",
6063
+ "hasDynamicHelp": false,
6064
+ "multiple": false,
6065
+ "type": "option"
6066
+ },
6067
+ "blocking": {
6068
+ "description": "The problem stops you selling or running your store",
6069
+ "name": "blocking",
6070
+ "allowNo": false,
6071
+ "type": "boolean"
6072
+ },
6073
+ "screenshot": {
6074
+ "description": "A PNG, JPEG or WebP image of at most 5 MB",
6075
+ "name": "screenshot",
6076
+ "hasDynamicHelp": false,
6077
+ "multiple": false,
6078
+ "type": "option"
6079
+ },
6080
+ "command": {
6081
+ "description": "The ecomweb command that failed, e.g. \"products update\" (at most 64 characters)",
6082
+ "name": "command",
6083
+ "hasDynamicHelp": false,
6084
+ "multiple": false,
6085
+ "type": "option"
6086
+ },
6087
+ "error-code": {
6088
+ "description": "The error code it printed, e.g. VALIDATION_ERROR (at most 64 characters)",
6089
+ "name": "error-code",
6090
+ "hasDynamicHelp": false,
6091
+ "multiple": false,
6092
+ "type": "option"
6093
+ },
6094
+ "no-store": {
6095
+ "description": "File it as not about a store (by default it is about the current store)",
6096
+ "name": "no-store",
6097
+ "allowNo": false,
6098
+ "type": "boolean"
6099
+ }
6100
+ },
6101
+ "hasDynamicHelp": false,
6102
+ "hiddenAliases": [],
6103
+ "id": "bug-reports:create",
6104
+ "pluginAlias": "@ecomweb/cli",
6105
+ "pluginName": "@ecomweb/cli",
6106
+ "pluginType": "core",
6107
+ "strict": true,
6108
+ "enableJsonFlag": false,
6109
+ "isESM": false,
6110
+ "relativePath": [
6111
+ "dist",
6112
+ "commands",
6113
+ "bug-reports",
6114
+ "create.js"
6115
+ ]
6116
+ },
6117
+ "bug-reports:get": {
6118
+ "aliases": [],
6119
+ "args": {
6120
+ "number": {
6121
+ "description": "Report number: 1042 or '#1042' (quote it: # starts a comment in a shell)",
6122
+ "name": "number",
6123
+ "required": true
6124
+ }
6125
+ },
6126
+ "description": "Show one bug report: its status, and for a duplicate the original's status and the reply (outcome).",
6127
+ "examples": [
6128
+ "ecomweb bug-reports get 1042",
6129
+ "ecomweb bug-reports get '#1042'"
6130
+ ],
6131
+ "flags": {
6132
+ "store-ref": {
6133
+ "description": "Store ref (or env ECOMWEB_STORE_REF)",
6134
+ "env": "ECOMWEB_STORE_REF",
6135
+ "name": "store-ref",
6136
+ "hasDynamicHelp": false,
6137
+ "multiple": false,
6138
+ "type": "option"
6139
+ },
6140
+ "api-key": {
6141
+ "description": "API key (or env ECOMWEB_API_KEY)",
6142
+ "env": "ECOMWEB_API_KEY",
6143
+ "name": "api-key",
6144
+ "hasDynamicHelp": false,
6145
+ "multiple": false,
6146
+ "type": "option"
6147
+ },
6148
+ "api-url": {
6149
+ "description": "API base URL (or env ECOMWEB_API_URL)",
6150
+ "env": "ECOMWEB_API_URL",
6151
+ "name": "api-url",
6152
+ "hasDynamicHelp": false,
6153
+ "multiple": false,
6154
+ "type": "option"
6155
+ },
6156
+ "output": {
6157
+ "description": "Output format",
6158
+ "name": "output",
6159
+ "default": "json",
6160
+ "hasDynamicHelp": false,
6161
+ "multiple": false,
6162
+ "options": [
6163
+ "json",
6164
+ "table",
6165
+ "csv"
6166
+ ],
6167
+ "type": "option"
6168
+ },
6169
+ "quiet": {
6170
+ "description": "Suppress non-data output",
6171
+ "name": "quiet",
6172
+ "allowNo": false,
6173
+ "type": "boolean"
6174
+ },
6175
+ "dry-run": {
6176
+ "description": "Preview without executing",
6177
+ "name": "dry-run",
6178
+ "allowNo": false,
6179
+ "type": "boolean"
6180
+ },
6181
+ "profile": {
6182
+ "description": "Named config profile",
6183
+ "name": "profile",
6184
+ "hasDynamicHelp": false,
6185
+ "multiple": false,
6186
+ "type": "option"
6187
+ },
6188
+ "full": {
6189
+ "description": "Include all fields (content, toc, etc.)",
6190
+ "name": "full",
6191
+ "allowNo": false,
6192
+ "type": "boolean"
6193
+ },
6194
+ "fields": {
6195
+ "description": "Comma-separated field names to include",
6196
+ "name": "fields",
6197
+ "hasDynamicHelp": false,
6198
+ "multiple": false,
6199
+ "type": "option"
6200
+ },
6201
+ "exclude": {
6202
+ "description": "Comma-separated field names to exclude",
6203
+ "name": "exclude",
6204
+ "hasDynamicHelp": false,
6205
+ "multiple": false,
6206
+ "type": "option"
6207
+ }
6208
+ },
6209
+ "hasDynamicHelp": false,
6210
+ "hiddenAliases": [],
6211
+ "id": "bug-reports:get",
6212
+ "pluginAlias": "@ecomweb/cli",
6213
+ "pluginName": "@ecomweb/cli",
6214
+ "pluginType": "core",
6215
+ "strict": true,
6216
+ "enableJsonFlag": false,
6217
+ "isESM": false,
6218
+ "relativePath": [
6219
+ "dist",
6220
+ "commands",
6221
+ "bug-reports",
6222
+ "get.js"
6223
+ ]
6224
+ },
6225
+ "bug-reports:list": {
6226
+ "aliases": [],
6227
+ "args": {},
6228
+ "description": "List the bug reports you can see: yours, and those of your stores' team, newest first.",
6229
+ "examples": [
6230
+ "ecomweb bug-reports list",
6231
+ "ecomweb bug-reports list --status fixed --page 2"
6232
+ ],
6233
+ "flags": {
6234
+ "store-ref": {
6235
+ "description": "Store ref (or env ECOMWEB_STORE_REF)",
6236
+ "env": "ECOMWEB_STORE_REF",
6237
+ "name": "store-ref",
6238
+ "hasDynamicHelp": false,
6239
+ "multiple": false,
6240
+ "type": "option"
6241
+ },
6242
+ "api-key": {
6243
+ "description": "API key (or env ECOMWEB_API_KEY)",
6244
+ "env": "ECOMWEB_API_KEY",
6245
+ "name": "api-key",
6246
+ "hasDynamicHelp": false,
6247
+ "multiple": false,
6248
+ "type": "option"
6249
+ },
6250
+ "api-url": {
6251
+ "description": "API base URL (or env ECOMWEB_API_URL)",
6252
+ "env": "ECOMWEB_API_URL",
6253
+ "name": "api-url",
6254
+ "hasDynamicHelp": false,
6255
+ "multiple": false,
6256
+ "type": "option"
6257
+ },
6258
+ "output": {
6259
+ "description": "Output format",
6260
+ "name": "output",
6261
+ "default": "json",
6262
+ "hasDynamicHelp": false,
6263
+ "multiple": false,
6264
+ "options": [
6265
+ "json",
6266
+ "table",
6267
+ "csv"
6268
+ ],
6269
+ "type": "option"
6270
+ },
6271
+ "quiet": {
6272
+ "description": "Suppress non-data output",
6273
+ "name": "quiet",
6274
+ "allowNo": false,
6275
+ "type": "boolean"
6276
+ },
6277
+ "dry-run": {
6278
+ "description": "Preview without executing",
6279
+ "name": "dry-run",
6280
+ "allowNo": false,
6281
+ "type": "boolean"
6282
+ },
6283
+ "profile": {
6284
+ "description": "Named config profile",
6285
+ "name": "profile",
6286
+ "hasDynamicHelp": false,
6287
+ "multiple": false,
6288
+ "type": "option"
6289
+ },
6290
+ "full": {
6291
+ "description": "Include all fields (content, toc, etc.)",
6292
+ "name": "full",
6293
+ "allowNo": false,
6294
+ "type": "boolean"
6295
+ },
6296
+ "fields": {
6297
+ "description": "Comma-separated field names to include",
6298
+ "name": "fields",
6299
+ "hasDynamicHelp": false,
6300
+ "multiple": false,
6301
+ "type": "option"
6302
+ },
6303
+ "exclude": {
6304
+ "description": "Comma-separated field names to exclude",
6305
+ "name": "exclude",
6306
+ "hasDynamicHelp": false,
6307
+ "multiple": false,
6308
+ "type": "option"
6309
+ },
6310
+ "status": {
6311
+ "description": "Only reports with this status",
6312
+ "name": "status",
6313
+ "hasDynamicHelp": false,
6314
+ "multiple": false,
6315
+ "options": [
6316
+ "new",
6317
+ "confirmed",
6318
+ "in_progress",
6319
+ "fixed",
6320
+ "wont_fix",
6321
+ "duplicate"
6322
+ ],
6323
+ "type": "option"
6324
+ },
6325
+ "page": {
6326
+ "description": "Page number",
6327
+ "name": "page",
6328
+ "default": 1,
6329
+ "hasDynamicHelp": false,
6330
+ "multiple": false,
6331
+ "type": "option"
6332
+ },
6333
+ "limit": {
6334
+ "description": "Reports per page (at most 100)",
6335
+ "name": "limit",
6336
+ "default": 20,
6337
+ "hasDynamicHelp": false,
6338
+ "multiple": false,
6339
+ "type": "option"
6340
+ }
6341
+ },
6342
+ "hasDynamicHelp": false,
6343
+ "hiddenAliases": [],
6344
+ "id": "bug-reports:list",
5925
6345
  "pluginAlias": "@ecomweb/cli",
5926
6346
  "pluginName": "@ecomweb/cli",
5927
6347
  "pluginType": "core",
@@ -5931,7 +6351,7 @@
5931
6351
  "relativePath": [
5932
6352
  "dist",
5933
6353
  "commands",
5934
- "blog-tags",
6354
+ "bug-reports",
5935
6355
  "list.js"
5936
6356
  ]
5937
6357
  },
@@ -26621,19 +27041,18 @@
26621
27041
  "time-series.js"
26622
27042
  ]
26623
27043
  },
26624
- "attributes:values:create": {
27044
+ "auth:profiles:delete": {
26625
27045
  "aliases": [],
26626
27046
  "args": {
26627
- "attribute-id": {
26628
- "description": "Attribute ID",
26629
- "name": "attribute-id",
27047
+ "name": {
27048
+ "description": "Profile name to delete",
27049
+ "name": "name",
26630
27050
  "required": true
26631
27051
  }
26632
27052
  },
26633
- "description": "Create a value for a product attribute",
27053
+ "description": "Delete a profile and its credentials",
26634
27054
  "examples": [
26635
- "ecomweb attributes values create 1 --value red --display \"Red\"",
26636
- "ecomweb attributes values create 1 --value red --display \"Red\" --swatch-type color --swatch-value \"#ff0000\""
27055
+ "ecomweb auth profiles delete staging"
26637
27056
  ],
26638
27057
  "flags": {
26639
27058
  "store-ref": {
@@ -26711,46 +27130,11 @@
26711
27130
  "hasDynamicHelp": false,
26712
27131
  "multiple": false,
26713
27132
  "type": "option"
26714
- },
26715
- "value": {
26716
- "description": "Machine value, e.g. red",
26717
- "name": "value",
26718
- "required": true,
26719
- "hasDynamicHelp": false,
26720
- "multiple": false,
26721
- "type": "option"
26722
- },
26723
- "display": {
26724
- "description": "Display value, e.g. Red",
26725
- "name": "display",
26726
- "required": true,
26727
- "hasDynamicHelp": false,
26728
- "multiple": false,
26729
- "type": "option"
26730
- },
26731
- "swatch-type": {
26732
- "description": "How this value renders as a swatch",
26733
- "name": "swatch-type",
26734
- "hasDynamicHelp": false,
26735
- "multiple": false,
26736
- "options": [
26737
- "none",
26738
- "color",
26739
- "image"
26740
- ],
26741
- "type": "option"
26742
- },
26743
- "swatch-value": {
26744
- "description": "Hex color or image URL, depending on swatch-type",
26745
- "name": "swatch-value",
26746
- "hasDynamicHelp": false,
26747
- "multiple": false,
26748
- "type": "option"
26749
27133
  }
26750
27134
  },
26751
27135
  "hasDynamicHelp": false,
26752
27136
  "hiddenAliases": [],
26753
- "id": "attributes:values:create",
27137
+ "id": "auth:profiles:delete",
26754
27138
  "pluginAlias": "@ecomweb/cli",
26755
27139
  "pluginName": "@ecomweb/cli",
26756
27140
  "pluginType": "core",
@@ -26760,29 +27144,17 @@
26760
27144
  "relativePath": [
26761
27145
  "dist",
26762
27146
  "commands",
26763
- "attributes",
26764
- "values",
26765
- "create.js"
27147
+ "auth",
27148
+ "profiles",
27149
+ "delete.js"
26766
27150
  ]
26767
27151
  },
26768
- "attributes:values:delete": {
27152
+ "auth:profiles:list": {
26769
27153
  "aliases": [],
26770
- "args": {
26771
- "attribute-id": {
26772
- "description": "Attribute ID",
26773
- "name": "attribute-id",
26774
- "required": true
26775
- },
26776
- "value-id": {
26777
- "description": "Value ID",
26778
- "name": "value-id",
26779
- "required": true
26780
- }
26781
- },
26782
- "description": "Delete a product attribute value",
27154
+ "args": {},
27155
+ "description": "List all configured profiles",
26783
27156
  "examples": [
26784
- "ecomweb attributes values delete 1 5",
26785
- "ecomweb attributes values delete 1 5 --force"
27157
+ "ecomweb auth profiles list"
26786
27158
  ],
26787
27159
  "flags": {
26788
27160
  "store-ref": {
@@ -26860,17 +27232,11 @@
26860
27232
  "hasDynamicHelp": false,
26861
27233
  "multiple": false,
26862
27234
  "type": "option"
26863
- },
26864
- "force": {
26865
- "description": "Delete even if products use this value",
26866
- "name": "force",
26867
- "allowNo": false,
26868
- "type": "boolean"
26869
27235
  }
26870
27236
  },
26871
27237
  "hasDynamicHelp": false,
26872
27238
  "hiddenAliases": [],
26873
- "id": "attributes:values:delete",
27239
+ "id": "auth:profiles:list",
26874
27240
  "pluginAlias": "@ecomweb/cli",
26875
27241
  "pluginName": "@ecomweb/cli",
26876
27242
  "pluginType": "core",
@@ -26880,23 +27246,24 @@
26880
27246
  "relativePath": [
26881
27247
  "dist",
26882
27248
  "commands",
26883
- "attributes",
26884
- "values",
26885
- "delete.js"
27249
+ "auth",
27250
+ "profiles",
27251
+ "list.js"
26886
27252
  ]
26887
27253
  },
26888
- "attributes:values:list": {
27254
+ "auth:profiles:use": {
26889
27255
  "aliases": [],
26890
27256
  "args": {
26891
- "attribute-id": {
26892
- "description": "Attribute ID",
26893
- "name": "attribute-id",
27257
+ "name": {
27258
+ "description": "Profile name to activate",
27259
+ "name": "name",
26894
27260
  "required": true
26895
27261
  }
26896
27262
  },
26897
- "description": "List the values of a product attribute",
27263
+ "description": "Switch the active profile",
26898
27264
  "examples": [
26899
- "ecomweb attributes values list 1"
27265
+ "ecomweb auth profiles use production",
27266
+ "ecomweb auth profiles use staging"
26900
27267
  ],
26901
27268
  "flags": {
26902
27269
  "store-ref": {
@@ -26978,7 +27345,7 @@
26978
27345
  },
26979
27346
  "hasDynamicHelp": false,
26980
27347
  "hiddenAliases": [],
26981
- "id": "attributes:values:list",
27348
+ "id": "auth:profiles:use",
26982
27349
  "pluginAlias": "@ecomweb/cli",
26983
27350
  "pluginName": "@ecomweb/cli",
26984
27351
  "pluginType": "core",
@@ -26988,29 +27355,24 @@
26988
27355
  "relativePath": [
26989
27356
  "dist",
26990
27357
  "commands",
26991
- "attributes",
26992
- "values",
26993
- "list.js"
27358
+ "auth",
27359
+ "profiles",
27360
+ "use.js"
26994
27361
  ]
26995
27362
  },
26996
- "attributes:values:update": {
27363
+ "attributes:values:create": {
26997
27364
  "aliases": [],
26998
27365
  "args": {
26999
27366
  "attribute-id": {
27000
27367
  "description": "Attribute ID",
27001
27368
  "name": "attribute-id",
27002
27369
  "required": true
27003
- },
27004
- "value-id": {
27005
- "description": "Value ID",
27006
- "name": "value-id",
27007
- "required": true
27008
27370
  }
27009
27371
  },
27010
- "description": "Update a product attribute value",
27372
+ "description": "Create a value for a product attribute",
27011
27373
  "examples": [
27012
- "ecomweb attributes values update 1 5 --display \"Crimson\"",
27013
- "ecomweb attributes values update 1 5 --sort-order 2"
27374
+ "ecomweb attributes values create 1 --value red --display \"Red\"",
27375
+ "ecomweb attributes values create 1 --value red --display \"Red\" --swatch-type color --swatch-value \"#ff0000\""
27014
27376
  ],
27015
27377
  "flags": {
27016
27378
  "store-ref": {
@@ -27092,6 +27454,7 @@
27092
27454
  "value": {
27093
27455
  "description": "Machine value, e.g. red",
27094
27456
  "name": "value",
27457
+ "required": true,
27095
27458
  "hasDynamicHelp": false,
27096
27459
  "multiple": false,
27097
27460
  "type": "option"
@@ -27099,6 +27462,7 @@
27099
27462
  "display": {
27100
27463
  "description": "Display value, e.g. Red",
27101
27464
  "name": "display",
27465
+ "required": true,
27102
27466
  "hasDynamicHelp": false,
27103
27467
  "multiple": false,
27104
27468
  "type": "option"
@@ -27121,18 +27485,11 @@
27121
27485
  "hasDynamicHelp": false,
27122
27486
  "multiple": false,
27123
27487
  "type": "option"
27124
- },
27125
- "sort-order": {
27126
- "description": "Display order among sibling values",
27127
- "name": "sort-order",
27128
- "hasDynamicHelp": false,
27129
- "multiple": false,
27130
- "type": "option"
27131
27488
  }
27132
27489
  },
27133
27490
  "hasDynamicHelp": false,
27134
27491
  "hiddenAliases": [],
27135
- "id": "attributes:values:update",
27492
+ "id": "attributes:values:create",
27136
27493
  "pluginAlias": "@ecomweb/cli",
27137
27494
  "pluginName": "@ecomweb/cli",
27138
27495
  "pluginType": "core",
@@ -27144,21 +27501,27 @@
27144
27501
  "commands",
27145
27502
  "attributes",
27146
27503
  "values",
27147
- "update.js"
27504
+ "create.js"
27148
27505
  ]
27149
27506
  },
27150
- "auth:profiles:delete": {
27507
+ "attributes:values:delete": {
27151
27508
  "aliases": [],
27152
27509
  "args": {
27153
- "name": {
27154
- "description": "Profile name to delete",
27155
- "name": "name",
27510
+ "attribute-id": {
27511
+ "description": "Attribute ID",
27512
+ "name": "attribute-id",
27513
+ "required": true
27514
+ },
27515
+ "value-id": {
27516
+ "description": "Value ID",
27517
+ "name": "value-id",
27156
27518
  "required": true
27157
27519
  }
27158
27520
  },
27159
- "description": "Delete a profile and its credentials",
27521
+ "description": "Delete a product attribute value",
27160
27522
  "examples": [
27161
- "ecomweb auth profiles delete staging"
27523
+ "ecomweb attributes values delete 1 5",
27524
+ "ecomweb attributes values delete 1 5 --force"
27162
27525
  ],
27163
27526
  "flags": {
27164
27527
  "store-ref": {
@@ -27236,11 +27599,17 @@
27236
27599
  "hasDynamicHelp": false,
27237
27600
  "multiple": false,
27238
27601
  "type": "option"
27602
+ },
27603
+ "force": {
27604
+ "description": "Delete even if products use this value",
27605
+ "name": "force",
27606
+ "allowNo": false,
27607
+ "type": "boolean"
27239
27608
  }
27240
27609
  },
27241
27610
  "hasDynamicHelp": false,
27242
27611
  "hiddenAliases": [],
27243
- "id": "auth:profiles:delete",
27612
+ "id": "attributes:values:delete",
27244
27613
  "pluginAlias": "@ecomweb/cli",
27245
27614
  "pluginName": "@ecomweb/cli",
27246
27615
  "pluginType": "core",
@@ -27250,17 +27619,23 @@
27250
27619
  "relativePath": [
27251
27620
  "dist",
27252
27621
  "commands",
27253
- "auth",
27254
- "profiles",
27622
+ "attributes",
27623
+ "values",
27255
27624
  "delete.js"
27256
27625
  ]
27257
27626
  },
27258
- "auth:profiles:list": {
27627
+ "attributes:values:list": {
27259
27628
  "aliases": [],
27260
- "args": {},
27261
- "description": "List all configured profiles",
27629
+ "args": {
27630
+ "attribute-id": {
27631
+ "description": "Attribute ID",
27632
+ "name": "attribute-id",
27633
+ "required": true
27634
+ }
27635
+ },
27636
+ "description": "List the values of a product attribute",
27262
27637
  "examples": [
27263
- "ecomweb auth profiles list"
27638
+ "ecomweb attributes values list 1"
27264
27639
  ],
27265
27640
  "flags": {
27266
27641
  "store-ref": {
@@ -27342,7 +27717,7 @@
27342
27717
  },
27343
27718
  "hasDynamicHelp": false,
27344
27719
  "hiddenAliases": [],
27345
- "id": "auth:profiles:list",
27720
+ "id": "attributes:values:list",
27346
27721
  "pluginAlias": "@ecomweb/cli",
27347
27722
  "pluginName": "@ecomweb/cli",
27348
27723
  "pluginType": "core",
@@ -27352,24 +27727,29 @@
27352
27727
  "relativePath": [
27353
27728
  "dist",
27354
27729
  "commands",
27355
- "auth",
27356
- "profiles",
27730
+ "attributes",
27731
+ "values",
27357
27732
  "list.js"
27358
27733
  ]
27359
27734
  },
27360
- "auth:profiles:use": {
27735
+ "attributes:values:update": {
27361
27736
  "aliases": [],
27362
27737
  "args": {
27363
- "name": {
27364
- "description": "Profile name to activate",
27365
- "name": "name",
27738
+ "attribute-id": {
27739
+ "description": "Attribute ID",
27740
+ "name": "attribute-id",
27741
+ "required": true
27742
+ },
27743
+ "value-id": {
27744
+ "description": "Value ID",
27745
+ "name": "value-id",
27366
27746
  "required": true
27367
27747
  }
27368
27748
  },
27369
- "description": "Switch the active profile",
27749
+ "description": "Update a product attribute value",
27370
27750
  "examples": [
27371
- "ecomweb auth profiles use production",
27372
- "ecomweb auth profiles use staging"
27751
+ "ecomweb attributes values update 1 5 --display \"Crimson\"",
27752
+ "ecomweb attributes values update 1 5 --sort-order 2"
27373
27753
  ],
27374
27754
  "flags": {
27375
27755
  "store-ref": {
@@ -27447,11 +27827,51 @@
27447
27827
  "hasDynamicHelp": false,
27448
27828
  "multiple": false,
27449
27829
  "type": "option"
27830
+ },
27831
+ "value": {
27832
+ "description": "Machine value, e.g. red",
27833
+ "name": "value",
27834
+ "hasDynamicHelp": false,
27835
+ "multiple": false,
27836
+ "type": "option"
27837
+ },
27838
+ "display": {
27839
+ "description": "Display value, e.g. Red",
27840
+ "name": "display",
27841
+ "hasDynamicHelp": false,
27842
+ "multiple": false,
27843
+ "type": "option"
27844
+ },
27845
+ "swatch-type": {
27846
+ "description": "How this value renders as a swatch",
27847
+ "name": "swatch-type",
27848
+ "hasDynamicHelp": false,
27849
+ "multiple": false,
27850
+ "options": [
27851
+ "none",
27852
+ "color",
27853
+ "image"
27854
+ ],
27855
+ "type": "option"
27856
+ },
27857
+ "swatch-value": {
27858
+ "description": "Hex color or image URL, depending on swatch-type",
27859
+ "name": "swatch-value",
27860
+ "hasDynamicHelp": false,
27861
+ "multiple": false,
27862
+ "type": "option"
27863
+ },
27864
+ "sort-order": {
27865
+ "description": "Display order among sibling values",
27866
+ "name": "sort-order",
27867
+ "hasDynamicHelp": false,
27868
+ "multiple": false,
27869
+ "type": "option"
27450
27870
  }
27451
27871
  },
27452
27872
  "hasDynamicHelp": false,
27453
27873
  "hiddenAliases": [],
27454
- "id": "auth:profiles:use",
27874
+ "id": "attributes:values:update",
27455
27875
  "pluginAlias": "@ecomweb/cli",
27456
27876
  "pluginName": "@ecomweb/cli",
27457
27877
  "pluginType": "core",
@@ -27461,9 +27881,9 @@
27461
27881
  "relativePath": [
27462
27882
  "dist",
27463
27883
  "commands",
27464
- "auth",
27465
- "profiles",
27466
- "use.js"
27884
+ "attributes",
27885
+ "values",
27886
+ "update.js"
27467
27887
  ]
27468
27888
  },
27469
27889
  "products:variants:list": {
@@ -28402,5 +28822,5 @@
28402
28822
  ]
28403
28823
  }
28404
28824
  },
28405
- "version": "1.2.0"
28825
+ "version": "1.3.0"
28406
28826
  }