@salesforce/b2c-cli 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/mrt/bundle/deploy.d.ts +2 -2
- package/dist/commands/mrt/bundle/download.d.ts +2 -2
- package/dist/commands/mrt/bundle/history.d.ts +2 -2
- package/dist/commands/mrt/bundle/list.d.ts +2 -2
- package/dist/commands/mrt/env/access-control/list.d.ts +2 -2
- package/dist/commands/mrt/env/b2c.d.ts +2 -2
- package/dist/commands/mrt/env/create.d.ts +2 -2
- package/dist/commands/mrt/env/delete.d.ts +2 -2
- package/dist/commands/mrt/env/get.d.ts +2 -2
- package/dist/commands/mrt/env/invalidate.d.ts +2 -2
- package/dist/commands/mrt/env/list.d.ts +2 -2
- package/dist/commands/mrt/env/redirect/clone.d.ts +2 -2
- package/dist/commands/mrt/env/redirect/create.d.ts +2 -2
- package/dist/commands/mrt/env/redirect/delete.d.ts +2 -2
- package/dist/commands/mrt/env/redirect/list.d.ts +2 -2
- package/dist/commands/mrt/env/update.d.ts +2 -2
- package/dist/commands/mrt/env/var/delete.d.ts +2 -2
- package/dist/commands/mrt/env/var/list.d.ts +2 -2
- package/dist/commands/mrt/env/var/set.d.ts +2 -2
- package/dist/commands/mrt/org/b2c.d.ts +2 -2
- package/dist/commands/mrt/org/list.d.ts +2 -2
- package/dist/commands/mrt/project/create.d.ts +2 -2
- package/dist/commands/mrt/project/delete.d.ts +2 -2
- package/dist/commands/mrt/project/get.d.ts +2 -2
- package/dist/commands/mrt/project/list.d.ts +2 -2
- package/dist/commands/mrt/project/member/add.d.ts +2 -2
- package/dist/commands/mrt/project/member/get.d.ts +2 -2
- package/dist/commands/mrt/project/member/list.d.ts +2 -2
- package/dist/commands/mrt/project/member/remove.d.ts +2 -2
- package/dist/commands/mrt/project/member/update.d.ts +2 -2
- package/dist/commands/mrt/project/notification/create.d.ts +2 -2
- package/dist/commands/mrt/project/notification/delete.d.ts +2 -2
- package/dist/commands/mrt/project/notification/get.d.ts +2 -2
- package/dist/commands/mrt/project/notification/list.d.ts +2 -2
- package/dist/commands/mrt/project/notification/update.d.ts +2 -2
- package/dist/commands/mrt/project/update.d.ts +2 -2
- package/dist/commands/mrt/tail-logs.d.ts +2 -2
- package/dist/commands/mrt/user/api-key.d.ts +2 -2
- package/dist/commands/mrt/user/email-prefs.d.ts +2 -2
- package/dist/commands/mrt/user/profile.d.ts +2 -2
- package/dist/commands/setup/ide/prophet.js +13 -13
- package/dist/utils/cip/command.js +1 -1
- package/dist/utils/cip/command.js.map +1 -1
- package/oclif.manifest.json +1369 -1369
- package/package.json +3 -3
package/oclif.manifest.json
CHANGED
|
@@ -137,16 +137,15 @@
|
|
|
137
137
|
"index.js"
|
|
138
138
|
]
|
|
139
139
|
},
|
|
140
|
-
"
|
|
140
|
+
"auth:token": {
|
|
141
141
|
"aliases": [],
|
|
142
|
-
"args": {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"description": "Describe columns for a CIP table\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-describe",
|
|
142
|
+
"args": {},
|
|
143
|
+
"description": "Get an OAuth access token\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/auth.html#b2c-auth-token",
|
|
144
|
+
"examples": [
|
|
145
|
+
"<%= config.bin %> <%= command.id %>",
|
|
146
|
+
"<%= config.bin %> <%= command.id %> --auth-scope sfcc.orders --auth-scope sfcc.products",
|
|
147
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
148
|
+
],
|
|
150
149
|
"flags": {
|
|
151
150
|
"json": {
|
|
152
151
|
"description": "Output result as JSON",
|
|
@@ -348,78 +347,11 @@
|
|
|
348
347
|
"hasDynamicHelp": false,
|
|
349
348
|
"multiple": false,
|
|
350
349
|
"type": "option"
|
|
351
|
-
},
|
|
352
|
-
"cip-host": {
|
|
353
|
-
"description": "CIP host override (default: jdbc.analytics.commercecloud.salesforce.com)",
|
|
354
|
-
"env": "SFCC_CIP_HOST",
|
|
355
|
-
"helpGroup": "QUERY",
|
|
356
|
-
"name": "cip-host",
|
|
357
|
-
"hasDynamicHelp": false,
|
|
358
|
-
"multiple": false,
|
|
359
|
-
"type": "option"
|
|
360
|
-
},
|
|
361
|
-
"staging": {
|
|
362
|
-
"description": "Use staging analytics host (jdbc.stg.analytics.commercecloud.salesforce.com)",
|
|
363
|
-
"env": "SFCC_CIP_STAGING",
|
|
364
|
-
"helpGroup": "QUERY",
|
|
365
|
-
"name": "staging",
|
|
366
|
-
"allowNo": false,
|
|
367
|
-
"type": "boolean"
|
|
368
|
-
},
|
|
369
|
-
"from": {
|
|
370
|
-
"description": "Inclusive start date (YYYY-MM-DD)",
|
|
371
|
-
"helpGroup": "QUERY",
|
|
372
|
-
"name": "from",
|
|
373
|
-
"default": "2026-02-01",
|
|
374
|
-
"hasDynamicHelp": false,
|
|
375
|
-
"multiple": false,
|
|
376
|
-
"type": "option"
|
|
377
|
-
},
|
|
378
|
-
"to": {
|
|
379
|
-
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
380
|
-
"helpGroup": "QUERY",
|
|
381
|
-
"name": "to",
|
|
382
|
-
"default": "2026-02-24",
|
|
383
|
-
"hasDynamicHelp": false,
|
|
384
|
-
"multiple": false,
|
|
385
|
-
"type": "option"
|
|
386
|
-
},
|
|
387
|
-
"format": {
|
|
388
|
-
"description": "Output format",
|
|
389
|
-
"helpGroup": "QUERY",
|
|
390
|
-
"name": "format",
|
|
391
|
-
"default": "table",
|
|
392
|
-
"hasDynamicHelp": false,
|
|
393
|
-
"multiple": false,
|
|
394
|
-
"options": [
|
|
395
|
-
"table",
|
|
396
|
-
"json",
|
|
397
|
-
"csv"
|
|
398
|
-
],
|
|
399
|
-
"type": "option"
|
|
400
|
-
},
|
|
401
|
-
"fetch-size": {
|
|
402
|
-
"description": "Frame fetch size for CIP paging",
|
|
403
|
-
"helpGroup": "QUERY",
|
|
404
|
-
"name": "fetch-size",
|
|
405
|
-
"default": 1000,
|
|
406
|
-
"hasDynamicHelp": false,
|
|
407
|
-
"multiple": false,
|
|
408
|
-
"type": "option"
|
|
409
|
-
},
|
|
410
|
-
"schema": {
|
|
411
|
-
"description": "Metadata schema name",
|
|
412
|
-
"helpGroup": "QUERY",
|
|
413
|
-
"name": "schema",
|
|
414
|
-
"default": "warehouse",
|
|
415
|
-
"hasDynamicHelp": false,
|
|
416
|
-
"multiple": false,
|
|
417
|
-
"type": "option"
|
|
418
350
|
}
|
|
419
351
|
},
|
|
420
352
|
"hasDynamicHelp": false,
|
|
421
353
|
"hiddenAliases": [],
|
|
422
|
-
"id": "
|
|
354
|
+
"id": "auth:token",
|
|
423
355
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
424
356
|
"pluginName": "@salesforce/b2c-cli",
|
|
425
357
|
"pluginType": "core",
|
|
@@ -429,20 +361,20 @@
|
|
|
429
361
|
"relativePath": [
|
|
430
362
|
"dist",
|
|
431
363
|
"commands",
|
|
432
|
-
"
|
|
433
|
-
"
|
|
364
|
+
"auth",
|
|
365
|
+
"token.js"
|
|
434
366
|
]
|
|
435
367
|
},
|
|
436
|
-
"cip:
|
|
368
|
+
"cip:describe": {
|
|
437
369
|
"aliases": [],
|
|
438
370
|
"args": {
|
|
439
|
-
"
|
|
440
|
-
"description": "
|
|
441
|
-
"name": "
|
|
442
|
-
"required":
|
|
371
|
+
"table": {
|
|
372
|
+
"description": "Table name to describe",
|
|
373
|
+
"name": "table",
|
|
374
|
+
"required": true
|
|
443
375
|
}
|
|
444
376
|
},
|
|
445
|
-
"description": "
|
|
377
|
+
"description": "Describe columns for a CIP table\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-describe",
|
|
446
378
|
"flags": {
|
|
447
379
|
"json": {
|
|
448
380
|
"description": "Output result as JSON",
|
|
@@ -675,7 +607,7 @@
|
|
|
675
607
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
676
608
|
"helpGroup": "QUERY",
|
|
677
609
|
"name": "to",
|
|
678
|
-
"default": "2026-02-
|
|
610
|
+
"default": "2026-02-25",
|
|
679
611
|
"hasDynamicHelp": false,
|
|
680
612
|
"multiple": false,
|
|
681
613
|
"type": "option"
|
|
@@ -703,11 +635,11 @@
|
|
|
703
635
|
"multiple": false,
|
|
704
636
|
"type": "option"
|
|
705
637
|
},
|
|
706
|
-
"
|
|
707
|
-
"
|
|
708
|
-
"description": "Read SQL query from file",
|
|
638
|
+
"schema": {
|
|
639
|
+
"description": "Metadata schema name",
|
|
709
640
|
"helpGroup": "QUERY",
|
|
710
|
-
"name": "
|
|
641
|
+
"name": "schema",
|
|
642
|
+
"default": "warehouse",
|
|
711
643
|
"hasDynamicHelp": false,
|
|
712
644
|
"multiple": false,
|
|
713
645
|
"type": "option"
|
|
@@ -715,7 +647,7 @@
|
|
|
715
647
|
},
|
|
716
648
|
"hasDynamicHelp": false,
|
|
717
649
|
"hiddenAliases": [],
|
|
718
|
-
"id": "cip:
|
|
650
|
+
"id": "cip:describe",
|
|
719
651
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
720
652
|
"pluginName": "@salesforce/b2c-cli",
|
|
721
653
|
"pluginType": "core",
|
|
@@ -726,154 +658,19 @@
|
|
|
726
658
|
"dist",
|
|
727
659
|
"commands",
|
|
728
660
|
"cip",
|
|
729
|
-
"
|
|
661
|
+
"describe.js"
|
|
730
662
|
]
|
|
731
663
|
},
|
|
732
|
-
"cip:
|
|
664
|
+
"cip:query": {
|
|
733
665
|
"aliases": [],
|
|
734
|
-
"args": {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
"<%= config.bin %> cip report sales-analytics --site-id Sites-SiteGenesis-Site --sql"
|
|
740
|
-
],
|
|
741
|
-
"flags": {
|
|
742
|
-
"log-level": {
|
|
743
|
-
"description": "Set logging verbosity level",
|
|
744
|
-
"env": "SFCC_LOG_LEVEL",
|
|
745
|
-
"helpGroup": "GLOBAL",
|
|
746
|
-
"name": "log-level",
|
|
747
|
-
"hasDynamicHelp": false,
|
|
748
|
-
"multiple": false,
|
|
749
|
-
"options": [
|
|
750
|
-
"trace",
|
|
751
|
-
"debug",
|
|
752
|
-
"info",
|
|
753
|
-
"warn",
|
|
754
|
-
"error",
|
|
755
|
-
"silent"
|
|
756
|
-
],
|
|
757
|
-
"type": "option"
|
|
758
|
-
},
|
|
759
|
-
"debug": {
|
|
760
|
-
"char": "D",
|
|
761
|
-
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
762
|
-
"env": "SFCC_DEBUG",
|
|
763
|
-
"helpGroup": "GLOBAL",
|
|
764
|
-
"name": "debug",
|
|
765
|
-
"allowNo": false,
|
|
766
|
-
"type": "boolean"
|
|
767
|
-
},
|
|
768
|
-
"json": {
|
|
769
|
-
"description": "Output result as JSON",
|
|
770
|
-
"helpGroup": "GLOBAL",
|
|
771
|
-
"name": "json",
|
|
772
|
-
"allowNo": false,
|
|
773
|
-
"type": "boolean"
|
|
774
|
-
},
|
|
775
|
-
"jsonl": {
|
|
776
|
-
"aliases": [
|
|
777
|
-
"json-logs"
|
|
778
|
-
],
|
|
779
|
-
"description": "Output log messages as JSON lines",
|
|
780
|
-
"env": "SFCC_JSON_LOGS",
|
|
781
|
-
"helpGroup": "GLOBAL",
|
|
782
|
-
"name": "jsonl",
|
|
783
|
-
"allowNo": false,
|
|
784
|
-
"type": "boolean"
|
|
785
|
-
},
|
|
786
|
-
"lang": {
|
|
787
|
-
"char": "L",
|
|
788
|
-
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
789
|
-
"helpGroup": "GLOBAL",
|
|
790
|
-
"name": "lang",
|
|
791
|
-
"hasDynamicHelp": false,
|
|
792
|
-
"multiple": false,
|
|
793
|
-
"type": "option"
|
|
794
|
-
},
|
|
795
|
-
"config": {
|
|
796
|
-
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
797
|
-
"env": "SFCC_CONFIG",
|
|
798
|
-
"helpGroup": "GLOBAL",
|
|
799
|
-
"name": "config",
|
|
800
|
-
"hasDynamicHelp": false,
|
|
801
|
-
"multiple": false,
|
|
802
|
-
"type": "option"
|
|
803
|
-
},
|
|
804
|
-
"instance": {
|
|
805
|
-
"char": "i",
|
|
806
|
-
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
807
|
-
"env": "SFCC_INSTANCE",
|
|
808
|
-
"helpGroup": "GLOBAL",
|
|
809
|
-
"name": "instance",
|
|
810
|
-
"hasDynamicHelp": false,
|
|
811
|
-
"multiple": false,
|
|
812
|
-
"type": "option"
|
|
813
|
-
},
|
|
814
|
-
"project-directory": {
|
|
815
|
-
"aliases": [
|
|
816
|
-
"working-directory"
|
|
817
|
-
],
|
|
818
|
-
"description": "Project directory",
|
|
819
|
-
"env": "SFCC_PROJECT_DIRECTORY",
|
|
820
|
-
"helpGroup": "GLOBAL",
|
|
821
|
-
"name": "project-directory",
|
|
822
|
-
"hasDynamicHelp": false,
|
|
823
|
-
"multiple": false,
|
|
824
|
-
"type": "option"
|
|
825
|
-
},
|
|
826
|
-
"extra-query": {
|
|
827
|
-
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
828
|
-
"env": "SFCC_EXTRA_QUERY",
|
|
829
|
-
"helpGroup": "GLOBAL",
|
|
830
|
-
"hidden": true,
|
|
831
|
-
"name": "extra-query",
|
|
832
|
-
"hasDynamicHelp": false,
|
|
833
|
-
"multiple": false,
|
|
834
|
-
"type": "option"
|
|
835
|
-
},
|
|
836
|
-
"extra-body": {
|
|
837
|
-
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
838
|
-
"env": "SFCC_EXTRA_BODY",
|
|
839
|
-
"helpGroup": "GLOBAL",
|
|
840
|
-
"hidden": true,
|
|
841
|
-
"name": "extra-body",
|
|
842
|
-
"hasDynamicHelp": false,
|
|
843
|
-
"multiple": false,
|
|
844
|
-
"type": "option"
|
|
845
|
-
},
|
|
846
|
-
"extra-headers": {
|
|
847
|
-
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
848
|
-
"env": "SFCC_EXTRA_HEADERS",
|
|
849
|
-
"helpGroup": "GLOBAL",
|
|
850
|
-
"hidden": true,
|
|
851
|
-
"name": "extra-headers",
|
|
852
|
-
"hasDynamicHelp": false,
|
|
853
|
-
"multiple": false,
|
|
854
|
-
"type": "option"
|
|
666
|
+
"args": {
|
|
667
|
+
"sql": {
|
|
668
|
+
"description": "SQL query text",
|
|
669
|
+
"name": "sql",
|
|
670
|
+
"required": false
|
|
855
671
|
}
|
|
856
672
|
},
|
|
857
|
-
"
|
|
858
|
-
"hiddenAliases": [],
|
|
859
|
-
"id": "cip:report",
|
|
860
|
-
"pluginAlias": "@salesforce/b2c-cli",
|
|
861
|
-
"pluginName": "@salesforce/b2c-cli",
|
|
862
|
-
"pluginType": "core",
|
|
863
|
-
"strict": true,
|
|
864
|
-
"enableJsonFlag": false,
|
|
865
|
-
"isESM": true,
|
|
866
|
-
"relativePath": [
|
|
867
|
-
"dist",
|
|
868
|
-
"commands",
|
|
869
|
-
"cip",
|
|
870
|
-
"report.js"
|
|
871
|
-
]
|
|
872
|
-
},
|
|
873
|
-
"cip:tables": {
|
|
874
|
-
"aliases": [],
|
|
875
|
-
"args": {},
|
|
876
|
-
"description": "List tables from CIP metadata catalog\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-tables",
|
|
673
|
+
"description": "Execute raw SQL against CIP analytics\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-query",
|
|
877
674
|
"flags": {
|
|
878
675
|
"json": {
|
|
879
676
|
"description": "Output result as JSON",
|
|
@@ -1106,7 +903,7 @@
|
|
|
1106
903
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
1107
904
|
"helpGroup": "QUERY",
|
|
1108
905
|
"name": "to",
|
|
1109
|
-
"default": "2026-02-
|
|
906
|
+
"default": "2026-02-25",
|
|
1110
907
|
"hasDynamicHelp": false,
|
|
1111
908
|
"multiple": false,
|
|
1112
909
|
"type": "option"
|
|
@@ -1134,26 +931,11 @@
|
|
|
1134
931
|
"multiple": false,
|
|
1135
932
|
"type": "option"
|
|
1136
933
|
},
|
|
1137
|
-
"
|
|
1138
|
-
"
|
|
1139
|
-
"
|
|
1140
|
-
"name": "all",
|
|
1141
|
-
"allowNo": false,
|
|
1142
|
-
"type": "boolean"
|
|
1143
|
-
},
|
|
1144
|
-
"pattern": {
|
|
1145
|
-
"description": "Table name pattern (SQL LIKE)",
|
|
1146
|
-
"helpGroup": "QUERY",
|
|
1147
|
-
"name": "pattern",
|
|
1148
|
-
"hasDynamicHelp": false,
|
|
1149
|
-
"multiple": false,
|
|
1150
|
-
"type": "option"
|
|
1151
|
-
},
|
|
1152
|
-
"schema": {
|
|
1153
|
-
"description": "Metadata schema name",
|
|
934
|
+
"file": {
|
|
935
|
+
"char": "f",
|
|
936
|
+
"description": "Read SQL query from file",
|
|
1154
937
|
"helpGroup": "QUERY",
|
|
1155
|
-
"name": "
|
|
1156
|
-
"default": "warehouse",
|
|
938
|
+
"name": "file",
|
|
1157
939
|
"hasDynamicHelp": false,
|
|
1158
940
|
"multiple": false,
|
|
1159
941
|
"type": "option"
|
|
@@ -1161,7 +943,7 @@
|
|
|
1161
943
|
},
|
|
1162
944
|
"hasDynamicHelp": false,
|
|
1163
945
|
"hiddenAliases": [],
|
|
1164
|
-
"id": "cip:
|
|
946
|
+
"id": "cip:query",
|
|
1165
947
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
1166
948
|
"pluginName": "@salesforce/b2c-cli",
|
|
1167
949
|
"pluginType": "core",
|
|
@@ -1172,24 +954,17 @@
|
|
|
1172
954
|
"dist",
|
|
1173
955
|
"commands",
|
|
1174
956
|
"cip",
|
|
1175
|
-
"
|
|
957
|
+
"query.js"
|
|
1176
958
|
]
|
|
1177
959
|
},
|
|
1178
|
-
"
|
|
960
|
+
"cip:report": {
|
|
1179
961
|
"aliases": [],
|
|
1180
|
-
"args": {
|
|
1181
|
-
|
|
1182
|
-
"description": "Code version ID to activate",
|
|
1183
|
-
"name": "codeVersion",
|
|
1184
|
-
"required": false
|
|
1185
|
-
}
|
|
1186
|
-
},
|
|
1187
|
-
"description": "Activate or reload a code version\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-activate",
|
|
962
|
+
"args": {},
|
|
963
|
+
"description": "Run curated CIP analytics reports\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-report",
|
|
1188
964
|
"examples": [
|
|
1189
|
-
"<%= config.bin %>
|
|
1190
|
-
"<%= config.bin %>
|
|
1191
|
-
"<%= config.bin %>
|
|
1192
|
-
"<%= config.bin %> <%= command.id %> v1 --reload"
|
|
965
|
+
"<%= config.bin %> cip report --help",
|
|
966
|
+
"<%= config.bin %> cip report sales-analytics --site-id Sites-SiteGenesis-Site",
|
|
967
|
+
"<%= config.bin %> cip report sales-analytics --site-id Sites-SiteGenesis-Site --sql"
|
|
1193
968
|
],
|
|
1194
969
|
"flags": {
|
|
1195
970
|
"log-level": {
|
|
@@ -1296,6 +1071,142 @@
|
|
|
1296
1071
|
"multiple": false,
|
|
1297
1072
|
"type": "option"
|
|
1298
1073
|
},
|
|
1074
|
+
"extra-headers": {
|
|
1075
|
+
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
1076
|
+
"env": "SFCC_EXTRA_HEADERS",
|
|
1077
|
+
"helpGroup": "GLOBAL",
|
|
1078
|
+
"hidden": true,
|
|
1079
|
+
"name": "extra-headers",
|
|
1080
|
+
"hasDynamicHelp": false,
|
|
1081
|
+
"multiple": false,
|
|
1082
|
+
"type": "option"
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
"hasDynamicHelp": false,
|
|
1086
|
+
"hiddenAliases": [],
|
|
1087
|
+
"id": "cip:report",
|
|
1088
|
+
"pluginAlias": "@salesforce/b2c-cli",
|
|
1089
|
+
"pluginName": "@salesforce/b2c-cli",
|
|
1090
|
+
"pluginType": "core",
|
|
1091
|
+
"strict": true,
|
|
1092
|
+
"enableJsonFlag": false,
|
|
1093
|
+
"isESM": true,
|
|
1094
|
+
"relativePath": [
|
|
1095
|
+
"dist",
|
|
1096
|
+
"commands",
|
|
1097
|
+
"cip",
|
|
1098
|
+
"report.js"
|
|
1099
|
+
]
|
|
1100
|
+
},
|
|
1101
|
+
"cip:tables": {
|
|
1102
|
+
"aliases": [],
|
|
1103
|
+
"args": {},
|
|
1104
|
+
"description": "List tables from CIP metadata catalog\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-tables",
|
|
1105
|
+
"flags": {
|
|
1106
|
+
"json": {
|
|
1107
|
+
"description": "Output result as JSON",
|
|
1108
|
+
"helpGroup": "GLOBAL",
|
|
1109
|
+
"name": "json",
|
|
1110
|
+
"allowNo": false,
|
|
1111
|
+
"type": "boolean"
|
|
1112
|
+
},
|
|
1113
|
+
"log-level": {
|
|
1114
|
+
"description": "Set logging verbosity level",
|
|
1115
|
+
"env": "SFCC_LOG_LEVEL",
|
|
1116
|
+
"helpGroup": "GLOBAL",
|
|
1117
|
+
"name": "log-level",
|
|
1118
|
+
"hasDynamicHelp": false,
|
|
1119
|
+
"multiple": false,
|
|
1120
|
+
"options": [
|
|
1121
|
+
"trace",
|
|
1122
|
+
"debug",
|
|
1123
|
+
"info",
|
|
1124
|
+
"warn",
|
|
1125
|
+
"error",
|
|
1126
|
+
"silent"
|
|
1127
|
+
],
|
|
1128
|
+
"type": "option"
|
|
1129
|
+
},
|
|
1130
|
+
"debug": {
|
|
1131
|
+
"char": "D",
|
|
1132
|
+
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
1133
|
+
"env": "SFCC_DEBUG",
|
|
1134
|
+
"helpGroup": "GLOBAL",
|
|
1135
|
+
"name": "debug",
|
|
1136
|
+
"allowNo": false,
|
|
1137
|
+
"type": "boolean"
|
|
1138
|
+
},
|
|
1139
|
+
"jsonl": {
|
|
1140
|
+
"aliases": [
|
|
1141
|
+
"json-logs"
|
|
1142
|
+
],
|
|
1143
|
+
"description": "Output log messages as JSON lines",
|
|
1144
|
+
"env": "SFCC_JSON_LOGS",
|
|
1145
|
+
"helpGroup": "GLOBAL",
|
|
1146
|
+
"name": "jsonl",
|
|
1147
|
+
"allowNo": false,
|
|
1148
|
+
"type": "boolean"
|
|
1149
|
+
},
|
|
1150
|
+
"lang": {
|
|
1151
|
+
"char": "L",
|
|
1152
|
+
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
1153
|
+
"helpGroup": "GLOBAL",
|
|
1154
|
+
"name": "lang",
|
|
1155
|
+
"hasDynamicHelp": false,
|
|
1156
|
+
"multiple": false,
|
|
1157
|
+
"type": "option"
|
|
1158
|
+
},
|
|
1159
|
+
"config": {
|
|
1160
|
+
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
1161
|
+
"env": "SFCC_CONFIG",
|
|
1162
|
+
"helpGroup": "GLOBAL",
|
|
1163
|
+
"name": "config",
|
|
1164
|
+
"hasDynamicHelp": false,
|
|
1165
|
+
"multiple": false,
|
|
1166
|
+
"type": "option"
|
|
1167
|
+
},
|
|
1168
|
+
"instance": {
|
|
1169
|
+
"char": "i",
|
|
1170
|
+
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
1171
|
+
"env": "SFCC_INSTANCE",
|
|
1172
|
+
"helpGroup": "GLOBAL",
|
|
1173
|
+
"name": "instance",
|
|
1174
|
+
"hasDynamicHelp": false,
|
|
1175
|
+
"multiple": false,
|
|
1176
|
+
"type": "option"
|
|
1177
|
+
},
|
|
1178
|
+
"project-directory": {
|
|
1179
|
+
"aliases": [
|
|
1180
|
+
"working-directory"
|
|
1181
|
+
],
|
|
1182
|
+
"description": "Project directory",
|
|
1183
|
+
"env": "SFCC_PROJECT_DIRECTORY",
|
|
1184
|
+
"helpGroup": "GLOBAL",
|
|
1185
|
+
"name": "project-directory",
|
|
1186
|
+
"hasDynamicHelp": false,
|
|
1187
|
+
"multiple": false,
|
|
1188
|
+
"type": "option"
|
|
1189
|
+
},
|
|
1190
|
+
"extra-query": {
|
|
1191
|
+
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
1192
|
+
"env": "SFCC_EXTRA_QUERY",
|
|
1193
|
+
"helpGroup": "GLOBAL",
|
|
1194
|
+
"hidden": true,
|
|
1195
|
+
"name": "extra-query",
|
|
1196
|
+
"hasDynamicHelp": false,
|
|
1197
|
+
"multiple": false,
|
|
1198
|
+
"type": "option"
|
|
1199
|
+
},
|
|
1200
|
+
"extra-body": {
|
|
1201
|
+
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
1202
|
+
"env": "SFCC_EXTRA_BODY",
|
|
1203
|
+
"helpGroup": "GLOBAL",
|
|
1204
|
+
"hidden": true,
|
|
1205
|
+
"name": "extra-body",
|
|
1206
|
+
"hasDynamicHelp": false,
|
|
1207
|
+
"multiple": false,
|
|
1208
|
+
"type": "option"
|
|
1209
|
+
},
|
|
1299
1210
|
"extra-headers": {
|
|
1300
1211
|
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
1301
1212
|
"env": "SFCC_EXTRA_HEADERS",
|
|
@@ -1393,126 +1304,120 @@
|
|
|
1393
1304
|
"multiple": false,
|
|
1394
1305
|
"type": "option"
|
|
1395
1306
|
},
|
|
1396
|
-
"
|
|
1397
|
-
"
|
|
1398
|
-
"
|
|
1399
|
-
"
|
|
1400
|
-
"
|
|
1401
|
-
"name": "server",
|
|
1307
|
+
"cip-host": {
|
|
1308
|
+
"description": "CIP host override (default: jdbc.analytics.commercecloud.salesforce.com)",
|
|
1309
|
+
"env": "SFCC_CIP_HOST",
|
|
1310
|
+
"helpGroup": "QUERY",
|
|
1311
|
+
"name": "cip-host",
|
|
1402
1312
|
"hasDynamicHelp": false,
|
|
1403
1313
|
"multiple": false,
|
|
1404
1314
|
"type": "option"
|
|
1405
1315
|
},
|
|
1406
|
-
"
|
|
1407
|
-
"description": "
|
|
1408
|
-
"env": "
|
|
1409
|
-
"helpGroup": "
|
|
1410
|
-
"name": "
|
|
1316
|
+
"staging": {
|
|
1317
|
+
"description": "Use staging analytics host (jdbc.stg.analytics.commercecloud.salesforce.com)",
|
|
1318
|
+
"env": "SFCC_CIP_STAGING",
|
|
1319
|
+
"helpGroup": "QUERY",
|
|
1320
|
+
"name": "staging",
|
|
1321
|
+
"allowNo": false,
|
|
1322
|
+
"type": "boolean"
|
|
1323
|
+
},
|
|
1324
|
+
"from": {
|
|
1325
|
+
"description": "Inclusive start date (YYYY-MM-DD)",
|
|
1326
|
+
"helpGroup": "QUERY",
|
|
1327
|
+
"name": "from",
|
|
1328
|
+
"default": "2026-02-01",
|
|
1411
1329
|
"hasDynamicHelp": false,
|
|
1412
1330
|
"multiple": false,
|
|
1413
1331
|
"type": "option"
|
|
1414
1332
|
},
|
|
1415
|
-
"
|
|
1416
|
-
"
|
|
1417
|
-
"
|
|
1418
|
-
"
|
|
1419
|
-
"
|
|
1420
|
-
"name": "code-version",
|
|
1333
|
+
"to": {
|
|
1334
|
+
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
1335
|
+
"helpGroup": "QUERY",
|
|
1336
|
+
"name": "to",
|
|
1337
|
+
"default": "2026-02-25",
|
|
1421
1338
|
"hasDynamicHelp": false,
|
|
1422
1339
|
"multiple": false,
|
|
1423
1340
|
"type": "option"
|
|
1424
1341
|
},
|
|
1425
|
-
"
|
|
1426
|
-
"
|
|
1427
|
-
"
|
|
1428
|
-
"
|
|
1429
|
-
"
|
|
1430
|
-
"name": "username",
|
|
1342
|
+
"format": {
|
|
1343
|
+
"description": "Output format",
|
|
1344
|
+
"helpGroup": "QUERY",
|
|
1345
|
+
"name": "format",
|
|
1346
|
+
"default": "table",
|
|
1431
1347
|
"hasDynamicHelp": false,
|
|
1432
1348
|
"multiple": false,
|
|
1349
|
+
"options": [
|
|
1350
|
+
"table",
|
|
1351
|
+
"json",
|
|
1352
|
+
"csv"
|
|
1353
|
+
],
|
|
1433
1354
|
"type": "option"
|
|
1434
1355
|
},
|
|
1435
|
-
"
|
|
1436
|
-
"
|
|
1437
|
-
"
|
|
1438
|
-
"
|
|
1439
|
-
"
|
|
1440
|
-
"name": "password",
|
|
1356
|
+
"fetch-size": {
|
|
1357
|
+
"description": "Frame fetch size for CIP paging",
|
|
1358
|
+
"helpGroup": "QUERY",
|
|
1359
|
+
"name": "fetch-size",
|
|
1360
|
+
"default": 1000,
|
|
1441
1361
|
"hasDynamicHelp": false,
|
|
1442
1362
|
"multiple": false,
|
|
1443
1363
|
"type": "option"
|
|
1444
1364
|
},
|
|
1445
|
-
"
|
|
1446
|
-
"description": "
|
|
1447
|
-
"
|
|
1448
|
-
"
|
|
1449
|
-
"
|
|
1365
|
+
"all": {
|
|
1366
|
+
"description": "Include all table types (default only TABLE)",
|
|
1367
|
+
"helpGroup": "QUERY",
|
|
1368
|
+
"name": "all",
|
|
1369
|
+
"allowNo": false,
|
|
1370
|
+
"type": "boolean"
|
|
1371
|
+
},
|
|
1372
|
+
"pattern": {
|
|
1373
|
+
"description": "Table name pattern (SQL LIKE)",
|
|
1374
|
+
"helpGroup": "QUERY",
|
|
1375
|
+
"name": "pattern",
|
|
1450
1376
|
"hasDynamicHelp": false,
|
|
1451
1377
|
"multiple": false,
|
|
1452
1378
|
"type": "option"
|
|
1453
1379
|
},
|
|
1454
|
-
"
|
|
1455
|
-
"description": "
|
|
1456
|
-
"
|
|
1457
|
-
"
|
|
1458
|
-
"
|
|
1380
|
+
"schema": {
|
|
1381
|
+
"description": "Metadata schema name",
|
|
1382
|
+
"helpGroup": "QUERY",
|
|
1383
|
+
"name": "schema",
|
|
1384
|
+
"default": "warehouse",
|
|
1459
1385
|
"hasDynamicHelp": false,
|
|
1460
1386
|
"multiple": false,
|
|
1461
1387
|
"type": "option"
|
|
1462
|
-
},
|
|
1463
|
-
"selfsigned": {
|
|
1464
|
-
"description": "Allow self-signed server certificates",
|
|
1465
|
-
"env": "SFCC_SELFSIGNED",
|
|
1466
|
-
"helpGroup": "AUTH",
|
|
1467
|
-
"name": "selfsigned",
|
|
1468
|
-
"allowNo": false,
|
|
1469
|
-
"type": "boolean"
|
|
1470
|
-
},
|
|
1471
|
-
"verify": {
|
|
1472
|
-
"description": "Verify SSL certificates",
|
|
1473
|
-
"helpGroup": "AUTH",
|
|
1474
|
-
"name": "verify",
|
|
1475
|
-
"allowNo": true,
|
|
1476
|
-
"type": "boolean"
|
|
1477
|
-
},
|
|
1478
|
-
"reload": {
|
|
1479
|
-
"char": "r",
|
|
1480
|
-
"description": "Reload the code version (toggle activation to force reload)",
|
|
1481
|
-
"name": "reload",
|
|
1482
|
-
"allowNo": false,
|
|
1483
|
-
"type": "boolean"
|
|
1484
1388
|
}
|
|
1485
1389
|
},
|
|
1486
1390
|
"hasDynamicHelp": false,
|
|
1487
1391
|
"hiddenAliases": [],
|
|
1488
|
-
"id": "
|
|
1392
|
+
"id": "cip:tables",
|
|
1489
1393
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
1490
1394
|
"pluginName": "@salesforce/b2c-cli",
|
|
1491
1395
|
"pluginType": "core",
|
|
1492
1396
|
"strict": true,
|
|
1493
|
-
"enableJsonFlag":
|
|
1397
|
+
"enableJsonFlag": true,
|
|
1494
1398
|
"isESM": true,
|
|
1495
1399
|
"relativePath": [
|
|
1496
1400
|
"dist",
|
|
1497
1401
|
"commands",
|
|
1498
|
-
"
|
|
1499
|
-
"
|
|
1402
|
+
"cip",
|
|
1403
|
+
"tables.js"
|
|
1500
1404
|
]
|
|
1501
1405
|
},
|
|
1502
|
-
"code:
|
|
1406
|
+
"code:activate": {
|
|
1503
1407
|
"aliases": [],
|
|
1504
1408
|
"args": {
|
|
1505
1409
|
"codeVersion": {
|
|
1506
|
-
"description": "Code version ID to
|
|
1410
|
+
"description": "Code version ID to activate",
|
|
1507
1411
|
"name": "codeVersion",
|
|
1508
|
-
"required":
|
|
1412
|
+
"required": false
|
|
1509
1413
|
}
|
|
1510
1414
|
},
|
|
1511
|
-
"description": "
|
|
1415
|
+
"description": "Activate or reload a code version\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-activate",
|
|
1512
1416
|
"examples": [
|
|
1513
|
-
"<%= config.bin %> <%= command.id %>
|
|
1514
|
-
"<%= config.bin %> <%= command.id %>
|
|
1515
|
-
"<%= config.bin %> <%= command.id %>
|
|
1417
|
+
"<%= config.bin %> <%= command.id %> v1",
|
|
1418
|
+
"<%= config.bin %> <%= command.id %> v1 --server my-sandbox.demandware.net",
|
|
1419
|
+
"<%= config.bin %> <%= command.id %> --reload",
|
|
1420
|
+
"<%= config.bin %> <%= command.id %> v1 --reload"
|
|
1516
1421
|
],
|
|
1517
1422
|
"flags": {
|
|
1518
1423
|
"log-level": {
|
|
@@ -1798,17 +1703,17 @@
|
|
|
1798
1703
|
"allowNo": true,
|
|
1799
1704
|
"type": "boolean"
|
|
1800
1705
|
},
|
|
1801
|
-
"
|
|
1802
|
-
"char": "
|
|
1803
|
-
"description": "
|
|
1804
|
-
"name": "
|
|
1706
|
+
"reload": {
|
|
1707
|
+
"char": "r",
|
|
1708
|
+
"description": "Reload the code version (toggle activation to force reload)",
|
|
1709
|
+
"name": "reload",
|
|
1805
1710
|
"allowNo": false,
|
|
1806
1711
|
"type": "boolean"
|
|
1807
1712
|
}
|
|
1808
1713
|
},
|
|
1809
1714
|
"hasDynamicHelp": false,
|
|
1810
1715
|
"hiddenAliases": [],
|
|
1811
|
-
"id": "code:
|
|
1716
|
+
"id": "code:activate",
|
|
1812
1717
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
1813
1718
|
"pluginName": "@salesforce/b2c-cli",
|
|
1814
1719
|
"pluginType": "core",
|
|
@@ -1819,36 +1724,25 @@
|
|
|
1819
1724
|
"dist",
|
|
1820
1725
|
"commands",
|
|
1821
1726
|
"code",
|
|
1822
|
-
"
|
|
1727
|
+
"activate.js"
|
|
1823
1728
|
]
|
|
1824
1729
|
},
|
|
1825
|
-
"code:
|
|
1730
|
+
"code:delete": {
|
|
1826
1731
|
"aliases": [],
|
|
1827
1732
|
"args": {
|
|
1828
|
-
"
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1831
|
-
"
|
|
1733
|
+
"codeVersion": {
|
|
1734
|
+
"description": "Code version ID to delete",
|
|
1735
|
+
"name": "codeVersion",
|
|
1736
|
+
"required": true
|
|
1832
1737
|
}
|
|
1833
1738
|
},
|
|
1834
|
-
"description": "
|
|
1739
|
+
"description": "Delete a code version\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-delete",
|
|
1835
1740
|
"examples": [
|
|
1836
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1837
|
-
"<%= config.bin %> <%= command.id %>
|
|
1838
|
-
"<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net
|
|
1839
|
-
"<%= config.bin %> <%= command.id %> --reload",
|
|
1840
|
-
"<%= config.bin %> <%= command.id %> --delete --reload",
|
|
1841
|
-
"<%= config.bin %> <%= command.id %> -c app_storefront_base -c plugin_applepay",
|
|
1842
|
-
"<%= config.bin %> <%= command.id %> -x test_cartridge"
|
|
1741
|
+
"<%= config.bin %> <%= command.id %> old-version",
|
|
1742
|
+
"<%= config.bin %> <%= command.id %> old-version --force",
|
|
1743
|
+
"<%= config.bin %> <%= command.id %> old-version --server my-sandbox.demandware.net"
|
|
1843
1744
|
],
|
|
1844
1745
|
"flags": {
|
|
1845
|
-
"json": {
|
|
1846
|
-
"description": "Output result as JSON",
|
|
1847
|
-
"helpGroup": "GLOBAL",
|
|
1848
|
-
"name": "json",
|
|
1849
|
-
"allowNo": false,
|
|
1850
|
-
"type": "boolean"
|
|
1851
|
-
},
|
|
1852
1746
|
"log-level": {
|
|
1853
1747
|
"description": "Set logging verbosity level",
|
|
1854
1748
|
"env": "SFCC_LOG_LEVEL",
|
|
@@ -1875,6 +1769,13 @@
|
|
|
1875
1769
|
"allowNo": false,
|
|
1876
1770
|
"type": "boolean"
|
|
1877
1771
|
},
|
|
1772
|
+
"json": {
|
|
1773
|
+
"description": "Output result as JSON",
|
|
1774
|
+
"helpGroup": "GLOBAL",
|
|
1775
|
+
"name": "json",
|
|
1776
|
+
"allowNo": false,
|
|
1777
|
+
"type": "boolean"
|
|
1778
|
+
},
|
|
1878
1779
|
"jsonl": {
|
|
1879
1780
|
"aliases": [
|
|
1880
1781
|
"json-logs"
|
|
@@ -2125,90 +2026,48 @@
|
|
|
2125
2026
|
"allowNo": true,
|
|
2126
2027
|
"type": "boolean"
|
|
2127
2028
|
},
|
|
2128
|
-
"
|
|
2129
|
-
"char": "
|
|
2130
|
-
"description": "
|
|
2131
|
-
"name": "
|
|
2132
|
-
"delimiter": ",",
|
|
2133
|
-
"hasDynamicHelp": false,
|
|
2134
|
-
"multiple": true,
|
|
2135
|
-
"type": "option"
|
|
2136
|
-
},
|
|
2137
|
-
"exclude-cartridge": {
|
|
2138
|
-
"char": "x",
|
|
2139
|
-
"description": "Exclude specific cartridge(s) (comma-separated)",
|
|
2140
|
-
"name": "exclude-cartridge",
|
|
2141
|
-
"delimiter": ",",
|
|
2142
|
-
"hasDynamicHelp": false,
|
|
2143
|
-
"multiple": true,
|
|
2144
|
-
"type": "option"
|
|
2145
|
-
},
|
|
2146
|
-
"reload": {
|
|
2147
|
-
"char": "r",
|
|
2148
|
-
"description": "Reload (re-activate) code version after deploy",
|
|
2149
|
-
"name": "reload",
|
|
2150
|
-
"allowNo": false,
|
|
2151
|
-
"type": "boolean"
|
|
2152
|
-
},
|
|
2153
|
-
"delete": {
|
|
2154
|
-
"description": "Delete existing cartridges before upload",
|
|
2155
|
-
"name": "delete",
|
|
2029
|
+
"force": {
|
|
2030
|
+
"char": "f",
|
|
2031
|
+
"description": "Skip confirmation prompt",
|
|
2032
|
+
"name": "force",
|
|
2156
2033
|
"allowNo": false,
|
|
2157
2034
|
"type": "boolean"
|
|
2158
2035
|
}
|
|
2159
2036
|
},
|
|
2160
2037
|
"hasDynamicHelp": false,
|
|
2161
2038
|
"hiddenAliases": [],
|
|
2162
|
-
"id": "code:
|
|
2039
|
+
"id": "code:delete",
|
|
2163
2040
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
2164
2041
|
"pluginName": "@salesforce/b2c-cli",
|
|
2165
2042
|
"pluginType": "core",
|
|
2166
2043
|
"strict": true,
|
|
2167
|
-
"enableJsonFlag":
|
|
2168
|
-
"baseArgs": {
|
|
2169
|
-
"cartridgePath": {
|
|
2170
|
-
"description": "Path to cartridges directory",
|
|
2171
|
-
"default": ".",
|
|
2172
|
-
"input": [],
|
|
2173
|
-
"type": "option"
|
|
2174
|
-
}
|
|
2175
|
-
},
|
|
2176
|
-
"cartridgeFlags": {
|
|
2177
|
-
"cartridge": {
|
|
2178
|
-
"char": "c",
|
|
2179
|
-
"description": "Include specific cartridge(s) (comma-separated)",
|
|
2180
|
-
"multiple": true,
|
|
2181
|
-
"multipleNonGreedy": true,
|
|
2182
|
-
"delimiter": ",",
|
|
2183
|
-
"input": [],
|
|
2184
|
-
"type": "option"
|
|
2185
|
-
},
|
|
2186
|
-
"exclude-cartridge": {
|
|
2187
|
-
"char": "x",
|
|
2188
|
-
"description": "Exclude specific cartridge(s) (comma-separated)",
|
|
2189
|
-
"multiple": true,
|
|
2190
|
-
"multipleNonGreedy": true,
|
|
2191
|
-
"delimiter": ",",
|
|
2192
|
-
"input": [],
|
|
2193
|
-
"type": "option"
|
|
2194
|
-
}
|
|
2195
|
-
},
|
|
2044
|
+
"enableJsonFlag": false,
|
|
2196
2045
|
"isESM": true,
|
|
2197
2046
|
"relativePath": [
|
|
2198
2047
|
"dist",
|
|
2199
2048
|
"commands",
|
|
2200
2049
|
"code",
|
|
2201
|
-
"
|
|
2050
|
+
"delete.js"
|
|
2202
2051
|
]
|
|
2203
2052
|
},
|
|
2204
|
-
"code:
|
|
2053
|
+
"code:deploy": {
|
|
2205
2054
|
"aliases": [],
|
|
2206
|
-
"args": {
|
|
2207
|
-
|
|
2055
|
+
"args": {
|
|
2056
|
+
"cartridgePath": {
|
|
2057
|
+
"default": ".",
|
|
2058
|
+
"description": "Path to cartridges directory",
|
|
2059
|
+
"name": "cartridgePath"
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
"description": "Deploy cartridges to a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-deploy",
|
|
2208
2063
|
"examples": [
|
|
2209
2064
|
"<%= config.bin %> <%= command.id %>",
|
|
2210
|
-
"<%= config.bin %> <%= command.id %>
|
|
2211
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2065
|
+
"<%= config.bin %> <%= command.id %> ./my-cartridges",
|
|
2066
|
+
"<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net --code-version v1",
|
|
2067
|
+
"<%= config.bin %> <%= command.id %> --reload",
|
|
2068
|
+
"<%= config.bin %> <%= command.id %> --delete --reload",
|
|
2069
|
+
"<%= config.bin %> <%= command.id %> -c app_storefront_base -c plugin_applepay",
|
|
2070
|
+
"<%= config.bin %> <%= command.id %> -x test_cartridge"
|
|
2212
2071
|
],
|
|
2213
2072
|
"flags": {
|
|
2214
2073
|
"json": {
|
|
@@ -2493,42 +2352,100 @@
|
|
|
2493
2352
|
"name": "verify",
|
|
2494
2353
|
"allowNo": true,
|
|
2495
2354
|
"type": "boolean"
|
|
2355
|
+
},
|
|
2356
|
+
"cartridge": {
|
|
2357
|
+
"char": "c",
|
|
2358
|
+
"description": "Include specific cartridge(s) (comma-separated)",
|
|
2359
|
+
"name": "cartridge",
|
|
2360
|
+
"delimiter": ",",
|
|
2361
|
+
"hasDynamicHelp": false,
|
|
2362
|
+
"multiple": true,
|
|
2363
|
+
"type": "option"
|
|
2364
|
+
},
|
|
2365
|
+
"exclude-cartridge": {
|
|
2366
|
+
"char": "x",
|
|
2367
|
+
"description": "Exclude specific cartridge(s) (comma-separated)",
|
|
2368
|
+
"name": "exclude-cartridge",
|
|
2369
|
+
"delimiter": ",",
|
|
2370
|
+
"hasDynamicHelp": false,
|
|
2371
|
+
"multiple": true,
|
|
2372
|
+
"type": "option"
|
|
2373
|
+
},
|
|
2374
|
+
"reload": {
|
|
2375
|
+
"char": "r",
|
|
2376
|
+
"description": "Reload (re-activate) code version after deploy",
|
|
2377
|
+
"name": "reload",
|
|
2378
|
+
"allowNo": false,
|
|
2379
|
+
"type": "boolean"
|
|
2380
|
+
},
|
|
2381
|
+
"delete": {
|
|
2382
|
+
"description": "Delete existing cartridges before upload",
|
|
2383
|
+
"name": "delete",
|
|
2384
|
+
"allowNo": false,
|
|
2385
|
+
"type": "boolean"
|
|
2496
2386
|
}
|
|
2497
2387
|
},
|
|
2498
2388
|
"hasDynamicHelp": false,
|
|
2499
2389
|
"hiddenAliases": [],
|
|
2500
|
-
"id": "code:
|
|
2390
|
+
"id": "code:deploy",
|
|
2501
2391
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
2502
2392
|
"pluginName": "@salesforce/b2c-cli",
|
|
2503
2393
|
"pluginType": "core",
|
|
2504
2394
|
"strict": true,
|
|
2505
2395
|
"enableJsonFlag": true,
|
|
2396
|
+
"baseArgs": {
|
|
2397
|
+
"cartridgePath": {
|
|
2398
|
+
"description": "Path to cartridges directory",
|
|
2399
|
+
"default": ".",
|
|
2400
|
+
"input": [],
|
|
2401
|
+
"type": "option"
|
|
2402
|
+
}
|
|
2403
|
+
},
|
|
2404
|
+
"cartridgeFlags": {
|
|
2405
|
+
"cartridge": {
|
|
2406
|
+
"char": "c",
|
|
2407
|
+
"description": "Include specific cartridge(s) (comma-separated)",
|
|
2408
|
+
"multiple": true,
|
|
2409
|
+
"multipleNonGreedy": true,
|
|
2410
|
+
"delimiter": ",",
|
|
2411
|
+
"input": [],
|
|
2412
|
+
"type": "option"
|
|
2413
|
+
},
|
|
2414
|
+
"exclude-cartridge": {
|
|
2415
|
+
"char": "x",
|
|
2416
|
+
"description": "Exclude specific cartridge(s) (comma-separated)",
|
|
2417
|
+
"multiple": true,
|
|
2418
|
+
"multipleNonGreedy": true,
|
|
2419
|
+
"delimiter": ",",
|
|
2420
|
+
"input": [],
|
|
2421
|
+
"type": "option"
|
|
2422
|
+
}
|
|
2423
|
+
},
|
|
2506
2424
|
"isESM": true,
|
|
2507
2425
|
"relativePath": [
|
|
2508
2426
|
"dist",
|
|
2509
2427
|
"commands",
|
|
2510
2428
|
"code",
|
|
2511
|
-
"
|
|
2429
|
+
"deploy.js"
|
|
2512
2430
|
]
|
|
2513
2431
|
},
|
|
2514
|
-
"code:
|
|
2432
|
+
"code:list": {
|
|
2515
2433
|
"aliases": [],
|
|
2516
|
-
"args": {
|
|
2517
|
-
|
|
2518
|
-
"default": ".",
|
|
2519
|
-
"description": "Path to cartridges directory",
|
|
2520
|
-
"name": "cartridgePath"
|
|
2521
|
-
}
|
|
2522
|
-
},
|
|
2523
|
-
"description": "Watch cartridges and upload changes to an instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-watch",
|
|
2434
|
+
"args": {},
|
|
2435
|
+
"description": "List code versions on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-list",
|
|
2524
2436
|
"examples": [
|
|
2525
2437
|
"<%= config.bin %> <%= command.id %>",
|
|
2526
|
-
"<%= config.bin %> <%= command.id %>
|
|
2527
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2528
|
-
"<%= config.bin %> <%= command.id %> -c app_storefront_base",
|
|
2529
|
-
"<%= config.bin %> <%= command.id %> -x test_cartridge"
|
|
2438
|
+
"<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net",
|
|
2439
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
2530
2440
|
],
|
|
2531
2441
|
"flags": {
|
|
2442
|
+
"json": {
|
|
2443
|
+
"description": "Output result as JSON",
|
|
2444
|
+
"helpGroup": "GLOBAL",
|
|
2445
|
+
"name": "json",
|
|
2446
|
+
"allowNo": false,
|
|
2447
|
+
"type": "boolean"
|
|
2448
|
+
},
|
|
2532
2449
|
"log-level": {
|
|
2533
2450
|
"description": "Set logging verbosity level",
|
|
2534
2451
|
"env": "SFCC_LOG_LEVEL",
|
|
@@ -2555,13 +2472,6 @@
|
|
|
2555
2472
|
"allowNo": false,
|
|
2556
2473
|
"type": "boolean"
|
|
2557
2474
|
},
|
|
2558
|
-
"json": {
|
|
2559
|
-
"description": "Output result as JSON",
|
|
2560
|
-
"helpGroup": "GLOBAL",
|
|
2561
|
-
"name": "json",
|
|
2562
|
-
"allowNo": false,
|
|
2563
|
-
"type": "boolean"
|
|
2564
|
-
},
|
|
2565
2475
|
"jsonl": {
|
|
2566
2476
|
"aliases": [
|
|
2567
2477
|
"json-logs"
|
|
@@ -2811,87 +2721,42 @@
|
|
|
2811
2721
|
"name": "verify",
|
|
2812
2722
|
"allowNo": true,
|
|
2813
2723
|
"type": "boolean"
|
|
2814
|
-
},
|
|
2815
|
-
"cartridge": {
|
|
2816
|
-
"char": "c",
|
|
2817
|
-
"description": "Include specific cartridge(s) (comma-separated)",
|
|
2818
|
-
"name": "cartridge",
|
|
2819
|
-
"delimiter": ",",
|
|
2820
|
-
"hasDynamicHelp": false,
|
|
2821
|
-
"multiple": true,
|
|
2822
|
-
"type": "option"
|
|
2823
|
-
},
|
|
2824
|
-
"exclude-cartridge": {
|
|
2825
|
-
"char": "x",
|
|
2826
|
-
"description": "Exclude specific cartridge(s) (comma-separated)",
|
|
2827
|
-
"name": "exclude-cartridge",
|
|
2828
|
-
"delimiter": ",",
|
|
2829
|
-
"hasDynamicHelp": false,
|
|
2830
|
-
"multiple": true,
|
|
2831
|
-
"type": "option"
|
|
2832
2724
|
}
|
|
2833
2725
|
},
|
|
2834
2726
|
"hasDynamicHelp": false,
|
|
2835
2727
|
"hiddenAliases": [],
|
|
2836
|
-
"id": "code:
|
|
2728
|
+
"id": "code:list",
|
|
2837
2729
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
2838
2730
|
"pluginName": "@salesforce/b2c-cli",
|
|
2839
2731
|
"pluginType": "core",
|
|
2840
2732
|
"strict": true,
|
|
2841
|
-
"enableJsonFlag":
|
|
2842
|
-
"baseArgs": {
|
|
2843
|
-
"cartridgePath": {
|
|
2844
|
-
"description": "Path to cartridges directory",
|
|
2845
|
-
"default": ".",
|
|
2846
|
-
"input": [],
|
|
2847
|
-
"type": "option"
|
|
2848
|
-
}
|
|
2849
|
-
},
|
|
2850
|
-
"cartridgeFlags": {
|
|
2851
|
-
"cartridge": {
|
|
2852
|
-
"char": "c",
|
|
2853
|
-
"description": "Include specific cartridge(s) (comma-separated)",
|
|
2854
|
-
"multiple": true,
|
|
2855
|
-
"multipleNonGreedy": true,
|
|
2856
|
-
"delimiter": ",",
|
|
2857
|
-
"input": [],
|
|
2858
|
-
"type": "option"
|
|
2859
|
-
},
|
|
2860
|
-
"exclude-cartridge": {
|
|
2861
|
-
"char": "x",
|
|
2862
|
-
"description": "Exclude specific cartridge(s) (comma-separated)",
|
|
2863
|
-
"multiple": true,
|
|
2864
|
-
"multipleNonGreedy": true,
|
|
2865
|
-
"delimiter": ",",
|
|
2866
|
-
"input": [],
|
|
2867
|
-
"type": "option"
|
|
2868
|
-
}
|
|
2869
|
-
},
|
|
2733
|
+
"enableJsonFlag": true,
|
|
2870
2734
|
"isESM": true,
|
|
2871
2735
|
"relativePath": [
|
|
2872
2736
|
"dist",
|
|
2873
2737
|
"commands",
|
|
2874
2738
|
"code",
|
|
2875
|
-
"
|
|
2739
|
+
"list.js"
|
|
2876
2740
|
]
|
|
2877
2741
|
},
|
|
2878
|
-
"
|
|
2742
|
+
"code:watch": {
|
|
2879
2743
|
"aliases": [],
|
|
2880
|
-
"args": {
|
|
2881
|
-
|
|
2744
|
+
"args": {
|
|
2745
|
+
"cartridgePath": {
|
|
2746
|
+
"default": ".",
|
|
2747
|
+
"description": "Path to cartridges directory",
|
|
2748
|
+
"name": "cartridgePath"
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
"description": "Watch cartridges and upload changes to an instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-watch",
|
|
2882
2752
|
"examples": [
|
|
2883
2753
|
"<%= config.bin %> <%= command.id %>",
|
|
2884
|
-
"<%= config.bin %> <%= command.id %>
|
|
2885
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2754
|
+
"<%= config.bin %> <%= command.id %> ./my-cartridges",
|
|
2755
|
+
"<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net --code-version v1",
|
|
2756
|
+
"<%= config.bin %> <%= command.id %> -c app_storefront_base",
|
|
2757
|
+
"<%= config.bin %> <%= command.id %> -x test_cartridge"
|
|
2886
2758
|
],
|
|
2887
2759
|
"flags": {
|
|
2888
|
-
"json": {
|
|
2889
|
-
"description": "Output result as JSON",
|
|
2890
|
-
"helpGroup": "GLOBAL",
|
|
2891
|
-
"name": "json",
|
|
2892
|
-
"allowNo": false,
|
|
2893
|
-
"type": "boolean"
|
|
2894
|
-
},
|
|
2895
2760
|
"log-level": {
|
|
2896
2761
|
"description": "Set logging verbosity level",
|
|
2897
2762
|
"env": "SFCC_LOG_LEVEL",
|
|
@@ -2918,6 +2783,13 @@
|
|
|
2918
2783
|
"allowNo": false,
|
|
2919
2784
|
"type": "boolean"
|
|
2920
2785
|
},
|
|
2786
|
+
"json": {
|
|
2787
|
+
"description": "Output result as JSON",
|
|
2788
|
+
"helpGroup": "GLOBAL",
|
|
2789
|
+
"name": "json",
|
|
2790
|
+
"allowNo": false,
|
|
2791
|
+
"type": "boolean"
|
|
2792
|
+
},
|
|
2921
2793
|
"jsonl": {
|
|
2922
2794
|
"aliases": [
|
|
2923
2795
|
"json-logs"
|
|
@@ -3085,22 +2957,150 @@
|
|
|
3085
2957
|
"hasDynamicHelp": false,
|
|
3086
2958
|
"multiple": false,
|
|
3087
2959
|
"type": "option"
|
|
2960
|
+
},
|
|
2961
|
+
"server": {
|
|
2962
|
+
"char": "s",
|
|
2963
|
+
"description": "B2C instance hostname",
|
|
2964
|
+
"env": "SFCC_SERVER",
|
|
2965
|
+
"helpGroup": "INSTANCE",
|
|
2966
|
+
"name": "server",
|
|
2967
|
+
"hasDynamicHelp": false,
|
|
2968
|
+
"multiple": false,
|
|
2969
|
+
"type": "option"
|
|
2970
|
+
},
|
|
2971
|
+
"webdav-server": {
|
|
2972
|
+
"description": "Separate hostname for WebDAV (cert. hostname, etc)",
|
|
2973
|
+
"env": "SFCC_WEBDAV_SERVER",
|
|
2974
|
+
"helpGroup": "INSTANCE",
|
|
2975
|
+
"name": "webdav-server",
|
|
2976
|
+
"hasDynamicHelp": false,
|
|
2977
|
+
"multiple": false,
|
|
2978
|
+
"type": "option"
|
|
2979
|
+
},
|
|
2980
|
+
"code-version": {
|
|
2981
|
+
"char": "v",
|
|
2982
|
+
"description": "Code version",
|
|
2983
|
+
"env": "SFCC_CODE_VERSION",
|
|
2984
|
+
"helpGroup": "INSTANCE",
|
|
2985
|
+
"name": "code-version",
|
|
2986
|
+
"hasDynamicHelp": false,
|
|
2987
|
+
"multiple": false,
|
|
2988
|
+
"type": "option"
|
|
2989
|
+
},
|
|
2990
|
+
"username": {
|
|
2991
|
+
"char": "u",
|
|
2992
|
+
"description": "Username for Basic Auth (WebDAV)",
|
|
2993
|
+
"env": "SFCC_USERNAME",
|
|
2994
|
+
"helpGroup": "AUTH",
|
|
2995
|
+
"name": "username",
|
|
2996
|
+
"hasDynamicHelp": false,
|
|
2997
|
+
"multiple": false,
|
|
2998
|
+
"type": "option"
|
|
2999
|
+
},
|
|
3000
|
+
"password": {
|
|
3001
|
+
"char": "p",
|
|
3002
|
+
"description": "Password/access key for Basic Auth (WebDAV)",
|
|
3003
|
+
"env": "SFCC_PASSWORD",
|
|
3004
|
+
"helpGroup": "AUTH",
|
|
3005
|
+
"name": "password",
|
|
3006
|
+
"hasDynamicHelp": false,
|
|
3007
|
+
"multiple": false,
|
|
3008
|
+
"type": "option"
|
|
3009
|
+
},
|
|
3010
|
+
"certificate": {
|
|
3011
|
+
"description": "Path to PKCS12 certificate for two-factor auth",
|
|
3012
|
+
"env": "SFCC_CERTIFICATE",
|
|
3013
|
+
"helpGroup": "AUTH",
|
|
3014
|
+
"name": "certificate",
|
|
3015
|
+
"hasDynamicHelp": false,
|
|
3016
|
+
"multiple": false,
|
|
3017
|
+
"type": "option"
|
|
3018
|
+
},
|
|
3019
|
+
"passphrase": {
|
|
3020
|
+
"description": "Passphrase for the certificate",
|
|
3021
|
+
"env": "SFCC_CERTIFICATE_PASSPHRASE",
|
|
3022
|
+
"helpGroup": "AUTH",
|
|
3023
|
+
"name": "passphrase",
|
|
3024
|
+
"hasDynamicHelp": false,
|
|
3025
|
+
"multiple": false,
|
|
3026
|
+
"type": "option"
|
|
3027
|
+
},
|
|
3028
|
+
"selfsigned": {
|
|
3029
|
+
"description": "Allow self-signed server certificates",
|
|
3030
|
+
"env": "SFCC_SELFSIGNED",
|
|
3031
|
+
"helpGroup": "AUTH",
|
|
3032
|
+
"name": "selfsigned",
|
|
3033
|
+
"allowNo": false,
|
|
3034
|
+
"type": "boolean"
|
|
3035
|
+
},
|
|
3036
|
+
"verify": {
|
|
3037
|
+
"description": "Verify SSL certificates",
|
|
3038
|
+
"helpGroup": "AUTH",
|
|
3039
|
+
"name": "verify",
|
|
3040
|
+
"allowNo": true,
|
|
3041
|
+
"type": "boolean"
|
|
3042
|
+
},
|
|
3043
|
+
"cartridge": {
|
|
3044
|
+
"char": "c",
|
|
3045
|
+
"description": "Include specific cartridge(s) (comma-separated)",
|
|
3046
|
+
"name": "cartridge",
|
|
3047
|
+
"delimiter": ",",
|
|
3048
|
+
"hasDynamicHelp": false,
|
|
3049
|
+
"multiple": true,
|
|
3050
|
+
"type": "option"
|
|
3051
|
+
},
|
|
3052
|
+
"exclude-cartridge": {
|
|
3053
|
+
"char": "x",
|
|
3054
|
+
"description": "Exclude specific cartridge(s) (comma-separated)",
|
|
3055
|
+
"name": "exclude-cartridge",
|
|
3056
|
+
"delimiter": ",",
|
|
3057
|
+
"hasDynamicHelp": false,
|
|
3058
|
+
"multiple": true,
|
|
3059
|
+
"type": "option"
|
|
3088
3060
|
}
|
|
3089
3061
|
},
|
|
3090
3062
|
"hasDynamicHelp": false,
|
|
3091
3063
|
"hiddenAliases": [],
|
|
3092
|
-
"id": "
|
|
3064
|
+
"id": "code:watch",
|
|
3093
3065
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
3094
3066
|
"pluginName": "@salesforce/b2c-cli",
|
|
3095
3067
|
"pluginType": "core",
|
|
3096
3068
|
"strict": true,
|
|
3097
|
-
"enableJsonFlag":
|
|
3069
|
+
"enableJsonFlag": false,
|
|
3070
|
+
"baseArgs": {
|
|
3071
|
+
"cartridgePath": {
|
|
3072
|
+
"description": "Path to cartridges directory",
|
|
3073
|
+
"default": ".",
|
|
3074
|
+
"input": [],
|
|
3075
|
+
"type": "option"
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3078
|
+
"cartridgeFlags": {
|
|
3079
|
+
"cartridge": {
|
|
3080
|
+
"char": "c",
|
|
3081
|
+
"description": "Include specific cartridge(s) (comma-separated)",
|
|
3082
|
+
"multiple": true,
|
|
3083
|
+
"multipleNonGreedy": true,
|
|
3084
|
+
"delimiter": ",",
|
|
3085
|
+
"input": [],
|
|
3086
|
+
"type": "option"
|
|
3087
|
+
},
|
|
3088
|
+
"exclude-cartridge": {
|
|
3089
|
+
"char": "x",
|
|
3090
|
+
"description": "Exclude specific cartridge(s) (comma-separated)",
|
|
3091
|
+
"multiple": true,
|
|
3092
|
+
"multipleNonGreedy": true,
|
|
3093
|
+
"delimiter": ",",
|
|
3094
|
+
"input": [],
|
|
3095
|
+
"type": "option"
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3098
3098
|
"isESM": true,
|
|
3099
3099
|
"relativePath": [
|
|
3100
3100
|
"dist",
|
|
3101
3101
|
"commands",
|
|
3102
|
-
"
|
|
3103
|
-
"
|
|
3102
|
+
"code",
|
|
3103
|
+
"watch.js"
|
|
3104
3104
|
]
|
|
3105
3105
|
},
|
|
3106
3106
|
"content:export": {
|
|
@@ -20081,7 +20081,7 @@
|
|
|
20081
20081
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
20082
20082
|
"helpGroup": "QUERY",
|
|
20083
20083
|
"name": "to",
|
|
20084
|
-
"default": "2026-02-
|
|
20084
|
+
"default": "2026-02-25",
|
|
20085
20085
|
"hasDynamicHelp": false,
|
|
20086
20086
|
"multiple": false,
|
|
20087
20087
|
"type": "option"
|
|
@@ -20412,7 +20412,7 @@
|
|
|
20412
20412
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
20413
20413
|
"helpGroup": "QUERY",
|
|
20414
20414
|
"name": "to",
|
|
20415
|
-
"default": "2026-02-
|
|
20415
|
+
"default": "2026-02-25",
|
|
20416
20416
|
"hasDynamicHelp": false,
|
|
20417
20417
|
"multiple": false,
|
|
20418
20418
|
"type": "option"
|
|
@@ -20743,7 +20743,7 @@
|
|
|
20743
20743
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
20744
20744
|
"helpGroup": "QUERY",
|
|
20745
20745
|
"name": "to",
|
|
20746
|
-
"default": "2026-02-
|
|
20746
|
+
"default": "2026-02-25",
|
|
20747
20747
|
"hasDynamicHelp": false,
|
|
20748
20748
|
"multiple": false,
|
|
20749
20749
|
"type": "option"
|
|
@@ -21074,7 +21074,7 @@
|
|
|
21074
21074
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
21075
21075
|
"helpGroup": "QUERY",
|
|
21076
21076
|
"name": "to",
|
|
21077
|
-
"default": "2026-02-
|
|
21077
|
+
"default": "2026-02-25",
|
|
21078
21078
|
"hasDynamicHelp": false,
|
|
21079
21079
|
"multiple": false,
|
|
21080
21080
|
"type": "option"
|
|
@@ -21405,7 +21405,7 @@
|
|
|
21405
21405
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
21406
21406
|
"helpGroup": "QUERY",
|
|
21407
21407
|
"name": "to",
|
|
21408
|
-
"default": "2026-02-
|
|
21408
|
+
"default": "2026-02-25",
|
|
21409
21409
|
"hasDynamicHelp": false,
|
|
21410
21410
|
"multiple": false,
|
|
21411
21411
|
"type": "option"
|
|
@@ -21727,7 +21727,7 @@
|
|
|
21727
21727
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
21728
21728
|
"helpGroup": "QUERY",
|
|
21729
21729
|
"name": "to",
|
|
21730
|
-
"default": "2026-02-
|
|
21730
|
+
"default": "2026-02-25",
|
|
21731
21731
|
"hasDynamicHelp": false,
|
|
21732
21732
|
"multiple": false,
|
|
21733
21733
|
"type": "option"
|
|
@@ -22058,7 +22058,7 @@
|
|
|
22058
22058
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
22059
22059
|
"helpGroup": "QUERY",
|
|
22060
22060
|
"name": "to",
|
|
22061
|
-
"default": "2026-02-
|
|
22061
|
+
"default": "2026-02-25",
|
|
22062
22062
|
"hasDynamicHelp": false,
|
|
22063
22063
|
"multiple": false,
|
|
22064
22064
|
"type": "option"
|
|
@@ -22389,7 +22389,7 @@
|
|
|
22389
22389
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
22390
22390
|
"helpGroup": "QUERY",
|
|
22391
22391
|
"name": "to",
|
|
22392
|
-
"default": "2026-02-
|
|
22392
|
+
"default": "2026-02-25",
|
|
22393
22393
|
"hasDynamicHelp": false,
|
|
22394
22394
|
"multiple": false,
|
|
22395
22395
|
"type": "option"
|
|
@@ -22733,7 +22733,7 @@
|
|
|
22733
22733
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
22734
22734
|
"helpGroup": "QUERY",
|
|
22735
22735
|
"name": "to",
|
|
22736
|
-
"default": "2026-02-
|
|
22736
|
+
"default": "2026-02-25",
|
|
22737
22737
|
"hasDynamicHelp": false,
|
|
22738
22738
|
"multiple": false,
|
|
22739
22739
|
"type": "option"
|
|
@@ -23073,7 +23073,7 @@
|
|
|
23073
23073
|
"description": "Inclusive end date (YYYY-MM-DD)",
|
|
23074
23074
|
"helpGroup": "QUERY",
|
|
23075
23075
|
"name": "to",
|
|
23076
|
-
"default": "2026-02-
|
|
23076
|
+
"default": "2026-02-25",
|
|
23077
23077
|
"hasDynamicHelp": false,
|
|
23078
23078
|
"multiple": false,
|
|
23079
23079
|
"type": "option"
|
|
@@ -46194,286 +46194,33 @@
|
|
|
46194
46194
|
"multiple": false,
|
|
46195
46195
|
"type": "option"
|
|
46196
46196
|
},
|
|
46197
|
-
"rule-id": {
|
|
46198
|
-
"description": "WAF rule ID to update",
|
|
46199
|
-
"name": "rule-id",
|
|
46200
|
-
"required": true,
|
|
46201
|
-
"hasDynamicHelp": false,
|
|
46202
|
-
"multiple": false,
|
|
46203
|
-
"type": "option"
|
|
46204
|
-
},
|
|
46205
|
-
"action": {
|
|
46206
|
-
"description": "Action for the WAF rule",
|
|
46207
|
-
"name": "action",
|
|
46208
|
-
"required": true,
|
|
46209
|
-
"hasDynamicHelp": false,
|
|
46210
|
-
"multiple": false,
|
|
46211
|
-
"options": [
|
|
46212
|
-
"block",
|
|
46213
|
-
"challenge",
|
|
46214
|
-
"monitor",
|
|
46215
|
-
"disable",
|
|
46216
|
-
"default"
|
|
46217
|
-
],
|
|
46218
|
-
"type": "option"
|
|
46219
|
-
}
|
|
46220
|
-
},
|
|
46221
|
-
"hasDynamicHelp": false,
|
|
46222
|
-
"hiddenAliases": [],
|
|
46223
|
-
"id": "ecdn:waf:rules:update",
|
|
46224
|
-
"pluginAlias": "@salesforce/b2c-cli",
|
|
46225
|
-
"pluginName": "@salesforce/b2c-cli",
|
|
46226
|
-
"pluginType": "core",
|
|
46227
|
-
"enableJsonFlag": true,
|
|
46228
|
-
"isESM": true,
|
|
46229
|
-
"relativePath": [
|
|
46230
|
-
"dist",
|
|
46231
|
-
"commands",
|
|
46232
|
-
"ecdn",
|
|
46233
|
-
"waf",
|
|
46234
|
-
"rules",
|
|
46235
|
-
"update.js"
|
|
46236
|
-
]
|
|
46237
|
-
},
|
|
46238
|
-
"ecdn:waf:rulesets:list": {
|
|
46239
|
-
"aliases": [],
|
|
46240
|
-
"args": {},
|
|
46241
|
-
"description": "List WAF v2 managed rulesets for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rulesets-list",
|
|
46242
|
-
"examples": [
|
|
46243
|
-
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
|
|
46244
|
-
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --extended",
|
|
46245
|
-
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
|
|
46246
|
-
],
|
|
46247
|
-
"flags": {
|
|
46248
|
-
"json": {
|
|
46249
|
-
"description": "Output result as JSON",
|
|
46250
|
-
"helpGroup": "GLOBAL",
|
|
46251
|
-
"name": "json",
|
|
46252
|
-
"allowNo": false,
|
|
46253
|
-
"type": "boolean"
|
|
46254
|
-
},
|
|
46255
|
-
"log-level": {
|
|
46256
|
-
"description": "Set logging verbosity level",
|
|
46257
|
-
"env": "SFCC_LOG_LEVEL",
|
|
46258
|
-
"helpGroup": "GLOBAL",
|
|
46259
|
-
"name": "log-level",
|
|
46260
|
-
"hasDynamicHelp": false,
|
|
46261
|
-
"multiple": false,
|
|
46262
|
-
"options": [
|
|
46263
|
-
"trace",
|
|
46264
|
-
"debug",
|
|
46265
|
-
"info",
|
|
46266
|
-
"warn",
|
|
46267
|
-
"error",
|
|
46268
|
-
"silent"
|
|
46269
|
-
],
|
|
46270
|
-
"type": "option"
|
|
46271
|
-
},
|
|
46272
|
-
"debug": {
|
|
46273
|
-
"char": "D",
|
|
46274
|
-
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
46275
|
-
"env": "SFCC_DEBUG",
|
|
46276
|
-
"helpGroup": "GLOBAL",
|
|
46277
|
-
"name": "debug",
|
|
46278
|
-
"allowNo": false,
|
|
46279
|
-
"type": "boolean"
|
|
46280
|
-
},
|
|
46281
|
-
"jsonl": {
|
|
46282
|
-
"aliases": [
|
|
46283
|
-
"json-logs"
|
|
46284
|
-
],
|
|
46285
|
-
"description": "Output log messages as JSON lines",
|
|
46286
|
-
"env": "SFCC_JSON_LOGS",
|
|
46287
|
-
"helpGroup": "GLOBAL",
|
|
46288
|
-
"name": "jsonl",
|
|
46289
|
-
"allowNo": false,
|
|
46290
|
-
"type": "boolean"
|
|
46291
|
-
},
|
|
46292
|
-
"lang": {
|
|
46293
|
-
"char": "L",
|
|
46294
|
-
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
46295
|
-
"helpGroup": "GLOBAL",
|
|
46296
|
-
"name": "lang",
|
|
46297
|
-
"hasDynamicHelp": false,
|
|
46298
|
-
"multiple": false,
|
|
46299
|
-
"type": "option"
|
|
46300
|
-
},
|
|
46301
|
-
"config": {
|
|
46302
|
-
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
46303
|
-
"env": "SFCC_CONFIG",
|
|
46304
|
-
"helpGroup": "GLOBAL",
|
|
46305
|
-
"name": "config",
|
|
46306
|
-
"hasDynamicHelp": false,
|
|
46307
|
-
"multiple": false,
|
|
46308
|
-
"type": "option"
|
|
46309
|
-
},
|
|
46310
|
-
"instance": {
|
|
46311
|
-
"char": "i",
|
|
46312
|
-
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
46313
|
-
"env": "SFCC_INSTANCE",
|
|
46314
|
-
"helpGroup": "GLOBAL",
|
|
46315
|
-
"name": "instance",
|
|
46316
|
-
"hasDynamicHelp": false,
|
|
46317
|
-
"multiple": false,
|
|
46318
|
-
"type": "option"
|
|
46319
|
-
},
|
|
46320
|
-
"project-directory": {
|
|
46321
|
-
"aliases": [
|
|
46322
|
-
"working-directory"
|
|
46323
|
-
],
|
|
46324
|
-
"description": "Project directory",
|
|
46325
|
-
"env": "SFCC_PROJECT_DIRECTORY",
|
|
46326
|
-
"helpGroup": "GLOBAL",
|
|
46327
|
-
"name": "project-directory",
|
|
46328
|
-
"hasDynamicHelp": false,
|
|
46329
|
-
"multiple": false,
|
|
46330
|
-
"type": "option"
|
|
46331
|
-
},
|
|
46332
|
-
"extra-query": {
|
|
46333
|
-
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
46334
|
-
"env": "SFCC_EXTRA_QUERY",
|
|
46335
|
-
"helpGroup": "GLOBAL",
|
|
46336
|
-
"hidden": true,
|
|
46337
|
-
"name": "extra-query",
|
|
46338
|
-
"hasDynamicHelp": false,
|
|
46339
|
-
"multiple": false,
|
|
46340
|
-
"type": "option"
|
|
46341
|
-
},
|
|
46342
|
-
"extra-body": {
|
|
46343
|
-
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
46344
|
-
"env": "SFCC_EXTRA_BODY",
|
|
46345
|
-
"helpGroup": "GLOBAL",
|
|
46346
|
-
"hidden": true,
|
|
46347
|
-
"name": "extra-body",
|
|
46348
|
-
"hasDynamicHelp": false,
|
|
46349
|
-
"multiple": false,
|
|
46350
|
-
"type": "option"
|
|
46351
|
-
},
|
|
46352
|
-
"extra-headers": {
|
|
46353
|
-
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
46354
|
-
"env": "SFCC_EXTRA_HEADERS",
|
|
46355
|
-
"helpGroup": "GLOBAL",
|
|
46356
|
-
"hidden": true,
|
|
46357
|
-
"name": "extra-headers",
|
|
46358
|
-
"hasDynamicHelp": false,
|
|
46359
|
-
"multiple": false,
|
|
46360
|
-
"type": "option"
|
|
46361
|
-
},
|
|
46362
|
-
"client-id": {
|
|
46363
|
-
"description": "Client ID for OAuth",
|
|
46364
|
-
"env": "SFCC_CLIENT_ID",
|
|
46365
|
-
"helpGroup": "AUTH",
|
|
46366
|
-
"name": "client-id",
|
|
46367
|
-
"hasDynamicHelp": false,
|
|
46368
|
-
"multiple": false,
|
|
46369
|
-
"type": "option"
|
|
46370
|
-
},
|
|
46371
|
-
"client-secret": {
|
|
46372
|
-
"description": "Client Secret for OAuth",
|
|
46373
|
-
"env": "SFCC_CLIENT_SECRET",
|
|
46374
|
-
"helpGroup": "AUTH",
|
|
46375
|
-
"name": "client-secret",
|
|
46376
|
-
"hasDynamicHelp": false,
|
|
46377
|
-
"multiple": false,
|
|
46378
|
-
"type": "option"
|
|
46379
|
-
},
|
|
46380
|
-
"auth-scope": {
|
|
46381
|
-
"description": "OAuth scopes to request (comma-separated)",
|
|
46382
|
-
"env": "SFCC_OAUTH_SCOPES",
|
|
46383
|
-
"helpGroup": "AUTH",
|
|
46384
|
-
"name": "auth-scope",
|
|
46385
|
-
"delimiter": ",",
|
|
46386
|
-
"hasDynamicHelp": false,
|
|
46387
|
-
"multiple": true,
|
|
46388
|
-
"type": "option"
|
|
46389
|
-
},
|
|
46390
|
-
"short-code": {
|
|
46391
|
-
"description": "SCAPI short code",
|
|
46392
|
-
"env": "SFCC_SHORTCODE",
|
|
46393
|
-
"helpGroup": "AUTH",
|
|
46394
|
-
"name": "short-code",
|
|
46395
|
-
"hasDynamicHelp": false,
|
|
46396
|
-
"multiple": false,
|
|
46397
|
-
"type": "option"
|
|
46398
|
-
},
|
|
46399
|
-
"tenant-id": {
|
|
46400
|
-
"aliases": [
|
|
46401
|
-
"tenant"
|
|
46402
|
-
],
|
|
46403
|
-
"description": "Organization/tenant ID",
|
|
46404
|
-
"env": "SFCC_TENANT_ID",
|
|
46405
|
-
"helpGroup": "AUTH",
|
|
46406
|
-
"name": "tenant-id",
|
|
46407
|
-
"hasDynamicHelp": false,
|
|
46408
|
-
"multiple": false,
|
|
46409
|
-
"type": "option"
|
|
46410
|
-
},
|
|
46411
|
-
"auth-methods": {
|
|
46412
|
-
"description": "Allowed auth methods in priority order (comma-separated)",
|
|
46413
|
-
"env": "SFCC_AUTH_METHODS",
|
|
46414
|
-
"exclusive": [
|
|
46415
|
-
"user-auth"
|
|
46416
|
-
],
|
|
46417
|
-
"helpGroup": "AUTH",
|
|
46418
|
-
"name": "auth-methods",
|
|
46419
|
-
"delimiter": ",",
|
|
46420
|
-
"hasDynamicHelp": false,
|
|
46421
|
-
"multiple": true,
|
|
46422
|
-
"options": [
|
|
46423
|
-
"client-credentials",
|
|
46424
|
-
"implicit",
|
|
46425
|
-
"basic",
|
|
46426
|
-
"api-key"
|
|
46427
|
-
],
|
|
46428
|
-
"type": "option"
|
|
46429
|
-
},
|
|
46430
|
-
"user-auth": {
|
|
46431
|
-
"description": "Use browser-based user authentication (implicit OAuth flow)",
|
|
46432
|
-
"exclusive": [
|
|
46433
|
-
"auth-methods"
|
|
46434
|
-
],
|
|
46435
|
-
"helpGroup": "AUTH",
|
|
46436
|
-
"name": "user-auth",
|
|
46437
|
-
"allowNo": false,
|
|
46438
|
-
"type": "boolean"
|
|
46439
|
-
},
|
|
46440
|
-
"account-manager-host": {
|
|
46441
|
-
"description": "Account Manager hostname for OAuth (default: account.demandware.com)",
|
|
46442
|
-
"env": "SFCC_ACCOUNT_MANAGER_HOST",
|
|
46443
|
-
"helpGroup": "AUTH",
|
|
46444
|
-
"name": "account-manager-host",
|
|
46445
|
-
"hasDynamicHelp": false,
|
|
46446
|
-
"multiple": false,
|
|
46447
|
-
"type": "option"
|
|
46448
|
-
},
|
|
46449
|
-
"zone": {
|
|
46450
|
-
"char": "z",
|
|
46451
|
-
"description": "Zone ID or zone name",
|
|
46452
|
-
"name": "zone",
|
|
46453
|
-
"required": true,
|
|
46454
|
-
"hasDynamicHelp": false,
|
|
46455
|
-
"multiple": false,
|
|
46456
|
-
"type": "option"
|
|
46457
|
-
},
|
|
46458
|
-
"columns": {
|
|
46459
|
-
"char": "c",
|
|
46460
|
-
"description": "Columns to display (comma-separated). Available: rulesetId, name, enabled, action, paranoiaLevel, anomalyScore",
|
|
46461
|
-
"name": "columns",
|
|
46197
|
+
"rule-id": {
|
|
46198
|
+
"description": "WAF rule ID to update",
|
|
46199
|
+
"name": "rule-id",
|
|
46200
|
+
"required": true,
|
|
46462
46201
|
"hasDynamicHelp": false,
|
|
46463
46202
|
"multiple": false,
|
|
46464
46203
|
"type": "option"
|
|
46465
46204
|
},
|
|
46466
|
-
"
|
|
46467
|
-
"
|
|
46468
|
-
"
|
|
46469
|
-
"
|
|
46470
|
-
"
|
|
46471
|
-
"
|
|
46205
|
+
"action": {
|
|
46206
|
+
"description": "Action for the WAF rule",
|
|
46207
|
+
"name": "action",
|
|
46208
|
+
"required": true,
|
|
46209
|
+
"hasDynamicHelp": false,
|
|
46210
|
+
"multiple": false,
|
|
46211
|
+
"options": [
|
|
46212
|
+
"block",
|
|
46213
|
+
"challenge",
|
|
46214
|
+
"monitor",
|
|
46215
|
+
"disable",
|
|
46216
|
+
"default"
|
|
46217
|
+
],
|
|
46218
|
+
"type": "option"
|
|
46472
46219
|
}
|
|
46473
46220
|
},
|
|
46474
46221
|
"hasDynamicHelp": false,
|
|
46475
46222
|
"hiddenAliases": [],
|
|
46476
|
-
"id": "ecdn:waf:
|
|
46223
|
+
"id": "ecdn:waf:rules:update",
|
|
46477
46224
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
46478
46225
|
"pluginName": "@salesforce/b2c-cli",
|
|
46479
46226
|
"pluginType": "core",
|
|
@@ -46484,18 +46231,18 @@
|
|
|
46484
46231
|
"commands",
|
|
46485
46232
|
"ecdn",
|
|
46486
46233
|
"waf",
|
|
46487
|
-
"
|
|
46488
|
-
"
|
|
46234
|
+
"rules",
|
|
46235
|
+
"update.js"
|
|
46489
46236
|
]
|
|
46490
46237
|
},
|
|
46491
|
-
"ecdn:waf:rulesets:
|
|
46238
|
+
"ecdn:waf:rulesets:list": {
|
|
46492
46239
|
"aliases": [],
|
|
46493
46240
|
"args": {},
|
|
46494
|
-
"description": "
|
|
46241
|
+
"description": "List WAF v2 managed rulesets for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rulesets-list",
|
|
46495
46242
|
"examples": [
|
|
46496
|
-
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone
|
|
46497
|
-
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --
|
|
46498
|
-
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --
|
|
46243
|
+
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
|
|
46244
|
+
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --extended",
|
|
46245
|
+
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
|
|
46499
46246
|
],
|
|
46500
46247
|
"flags": {
|
|
46501
46248
|
"json": {
|
|
@@ -46708,45 +46455,25 @@
|
|
|
46708
46455
|
"multiple": false,
|
|
46709
46456
|
"type": "option"
|
|
46710
46457
|
},
|
|
46711
|
-
"
|
|
46712
|
-
"
|
|
46713
|
-
"
|
|
46714
|
-
"
|
|
46458
|
+
"columns": {
|
|
46459
|
+
"char": "c",
|
|
46460
|
+
"description": "Columns to display (comma-separated). Available: rulesetId, name, enabled, action, paranoiaLevel, anomalyScore",
|
|
46461
|
+
"name": "columns",
|
|
46715
46462
|
"hasDynamicHelp": false,
|
|
46716
46463
|
"multiple": false,
|
|
46717
46464
|
"type": "option"
|
|
46718
46465
|
},
|
|
46719
|
-
"
|
|
46720
|
-
"
|
|
46721
|
-
"
|
|
46722
|
-
"
|
|
46466
|
+
"extended": {
|
|
46467
|
+
"char": "x",
|
|
46468
|
+
"description": "Show all columns including extended fields",
|
|
46469
|
+
"name": "extended",
|
|
46470
|
+
"allowNo": false,
|
|
46723
46471
|
"type": "boolean"
|
|
46724
|
-
},
|
|
46725
|
-
"action": {
|
|
46726
|
-
"description": "Action for the ruleset (e.g., default, block, challenge)",
|
|
46727
|
-
"name": "action",
|
|
46728
|
-
"hasDynamicHelp": false,
|
|
46729
|
-
"multiple": false,
|
|
46730
|
-
"type": "option"
|
|
46731
|
-
},
|
|
46732
|
-
"anomaly-score": {
|
|
46733
|
-
"description": "Anomaly score threshold (for OWASP ruleset)",
|
|
46734
|
-
"name": "anomaly-score",
|
|
46735
|
-
"hasDynamicHelp": false,
|
|
46736
|
-
"multiple": false,
|
|
46737
|
-
"type": "option"
|
|
46738
|
-
},
|
|
46739
|
-
"paranoia-level": {
|
|
46740
|
-
"description": "Paranoia level 1-4 (for OWASP ruleset)",
|
|
46741
|
-
"name": "paranoia-level",
|
|
46742
|
-
"hasDynamicHelp": false,
|
|
46743
|
-
"multiple": false,
|
|
46744
|
-
"type": "option"
|
|
46745
46472
|
}
|
|
46746
46473
|
},
|
|
46747
46474
|
"hasDynamicHelp": false,
|
|
46748
46475
|
"hiddenAliases": [],
|
|
46749
|
-
"id": "ecdn:waf:rulesets:
|
|
46476
|
+
"id": "ecdn:waf:rulesets:list",
|
|
46750
46477
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
46751
46478
|
"pluginName": "@salesforce/b2c-cli",
|
|
46752
46479
|
"pluginType": "core",
|
|
@@ -46758,16 +46485,17 @@
|
|
|
46758
46485
|
"ecdn",
|
|
46759
46486
|
"waf",
|
|
46760
46487
|
"rulesets",
|
|
46761
|
-
"
|
|
46488
|
+
"list.js"
|
|
46762
46489
|
]
|
|
46763
46490
|
},
|
|
46764
|
-
"
|
|
46491
|
+
"ecdn:waf:rulesets:update": {
|
|
46765
46492
|
"aliases": [],
|
|
46766
46493
|
"args": {},
|
|
46767
|
-
"description": "
|
|
46494
|
+
"description": "Update a WAF v2 managed ruleset for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rulesets-update",
|
|
46768
46495
|
"examples": [
|
|
46769
|
-
"<%= config.bin %> <%= command.id %> --
|
|
46770
|
-
"<%= config.bin %> <%= command.id %> -
|
|
46496
|
+
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --enabled",
|
|
46497
|
+
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --action block",
|
|
46498
|
+
"<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --paranoia-level 2"
|
|
46771
46499
|
],
|
|
46772
46500
|
"flags": {
|
|
46773
46501
|
"json": {
|
|
@@ -46884,59 +46612,133 @@
|
|
|
46884
46612
|
"multiple": false,
|
|
46885
46613
|
"type": "option"
|
|
46886
46614
|
},
|
|
46887
|
-
"
|
|
46888
|
-
"description": "
|
|
46889
|
-
"env": "
|
|
46615
|
+
"client-id": {
|
|
46616
|
+
"description": "Client ID for OAuth",
|
|
46617
|
+
"env": "SFCC_CLIENT_ID",
|
|
46890
46618
|
"helpGroup": "AUTH",
|
|
46891
|
-
"name": "
|
|
46619
|
+
"name": "client-id",
|
|
46892
46620
|
"hasDynamicHelp": false,
|
|
46893
46621
|
"multiple": false,
|
|
46894
46622
|
"type": "option"
|
|
46895
46623
|
},
|
|
46896
|
-
"
|
|
46897
|
-
"
|
|
46898
|
-
"
|
|
46899
|
-
"
|
|
46900
|
-
"name": "
|
|
46624
|
+
"client-secret": {
|
|
46625
|
+
"description": "Client Secret for OAuth",
|
|
46626
|
+
"env": "SFCC_CLIENT_SECRET",
|
|
46627
|
+
"helpGroup": "AUTH",
|
|
46628
|
+
"name": "client-secret",
|
|
46901
46629
|
"hasDynamicHelp": false,
|
|
46902
46630
|
"multiple": false,
|
|
46903
46631
|
"type": "option"
|
|
46904
46632
|
},
|
|
46905
|
-
"
|
|
46906
|
-
"
|
|
46907
|
-
"
|
|
46908
|
-
"
|
|
46909
|
-
"name": "
|
|
46633
|
+
"auth-scope": {
|
|
46634
|
+
"description": "OAuth scopes to request (comma-separated)",
|
|
46635
|
+
"env": "SFCC_OAUTH_SCOPES",
|
|
46636
|
+
"helpGroup": "AUTH",
|
|
46637
|
+
"name": "auth-scope",
|
|
46638
|
+
"delimiter": ",",
|
|
46639
|
+
"hasDynamicHelp": false,
|
|
46640
|
+
"multiple": true,
|
|
46641
|
+
"type": "option"
|
|
46642
|
+
},
|
|
46643
|
+
"short-code": {
|
|
46644
|
+
"description": "SCAPI short code",
|
|
46645
|
+
"env": "SFCC_SHORTCODE",
|
|
46646
|
+
"helpGroup": "AUTH",
|
|
46647
|
+
"name": "short-code",
|
|
46910
46648
|
"hasDynamicHelp": false,
|
|
46911
46649
|
"multiple": false,
|
|
46912
46650
|
"type": "option"
|
|
46913
46651
|
},
|
|
46914
|
-
"
|
|
46915
|
-
"
|
|
46916
|
-
|
|
46917
|
-
|
|
46652
|
+
"tenant-id": {
|
|
46653
|
+
"aliases": [
|
|
46654
|
+
"tenant"
|
|
46655
|
+
],
|
|
46656
|
+
"description": "Organization/tenant ID",
|
|
46657
|
+
"env": "SFCC_TENANT_ID",
|
|
46658
|
+
"helpGroup": "AUTH",
|
|
46659
|
+
"name": "tenant-id",
|
|
46918
46660
|
"hasDynamicHelp": false,
|
|
46919
46661
|
"multiple": false,
|
|
46920
46662
|
"type": "option"
|
|
46921
46663
|
},
|
|
46922
|
-
"
|
|
46923
|
-
"description": "
|
|
46924
|
-
"env": "
|
|
46925
|
-
"
|
|
46664
|
+
"auth-methods": {
|
|
46665
|
+
"description": "Allowed auth methods in priority order (comma-separated)",
|
|
46666
|
+
"env": "SFCC_AUTH_METHODS",
|
|
46667
|
+
"exclusive": [
|
|
46668
|
+
"user-auth"
|
|
46669
|
+
],
|
|
46670
|
+
"helpGroup": "AUTH",
|
|
46671
|
+
"name": "auth-methods",
|
|
46672
|
+
"delimiter": ",",
|
|
46673
|
+
"hasDynamicHelp": false,
|
|
46674
|
+
"multiple": true,
|
|
46675
|
+
"options": [
|
|
46676
|
+
"client-credentials",
|
|
46677
|
+
"implicit",
|
|
46678
|
+
"basic",
|
|
46679
|
+
"api-key"
|
|
46680
|
+
],
|
|
46681
|
+
"type": "option"
|
|
46682
|
+
},
|
|
46683
|
+
"user-auth": {
|
|
46684
|
+
"description": "Use browser-based user authentication (implicit OAuth flow)",
|
|
46685
|
+
"exclusive": [
|
|
46686
|
+
"auth-methods"
|
|
46687
|
+
],
|
|
46688
|
+
"helpGroup": "AUTH",
|
|
46689
|
+
"name": "user-auth",
|
|
46690
|
+
"allowNo": false,
|
|
46691
|
+
"type": "boolean"
|
|
46692
|
+
},
|
|
46693
|
+
"account-manager-host": {
|
|
46694
|
+
"description": "Account Manager hostname for OAuth (default: account.demandware.com)",
|
|
46695
|
+
"env": "SFCC_ACCOUNT_MANAGER_HOST",
|
|
46696
|
+
"helpGroup": "AUTH",
|
|
46697
|
+
"name": "account-manager-host",
|
|
46926
46698
|
"hasDynamicHelp": false,
|
|
46927
46699
|
"multiple": false,
|
|
46928
46700
|
"type": "option"
|
|
46929
46701
|
},
|
|
46930
|
-
"
|
|
46931
|
-
"
|
|
46932
|
-
"
|
|
46702
|
+
"zone": {
|
|
46703
|
+
"char": "z",
|
|
46704
|
+
"description": "Zone ID or zone name",
|
|
46705
|
+
"name": "zone",
|
|
46706
|
+
"required": true,
|
|
46933
46707
|
"hasDynamicHelp": false,
|
|
46934
46708
|
"multiple": false,
|
|
46935
46709
|
"type": "option"
|
|
46936
46710
|
},
|
|
46937
|
-
"
|
|
46938
|
-
"description": "
|
|
46939
|
-
"name": "
|
|
46711
|
+
"ruleset-id": {
|
|
46712
|
+
"description": "WAF ruleset ID to update",
|
|
46713
|
+
"name": "ruleset-id",
|
|
46714
|
+
"required": true,
|
|
46715
|
+
"hasDynamicHelp": false,
|
|
46716
|
+
"multiple": false,
|
|
46717
|
+
"type": "option"
|
|
46718
|
+
},
|
|
46719
|
+
"enabled": {
|
|
46720
|
+
"description": "Enable the ruleset",
|
|
46721
|
+
"name": "enabled",
|
|
46722
|
+
"allowNo": true,
|
|
46723
|
+
"type": "boolean"
|
|
46724
|
+
},
|
|
46725
|
+
"action": {
|
|
46726
|
+
"description": "Action for the ruleset (e.g., default, block, challenge)",
|
|
46727
|
+
"name": "action",
|
|
46728
|
+
"hasDynamicHelp": false,
|
|
46729
|
+
"multiple": false,
|
|
46730
|
+
"type": "option"
|
|
46731
|
+
},
|
|
46732
|
+
"anomaly-score": {
|
|
46733
|
+
"description": "Anomaly score threshold (for OWASP ruleset)",
|
|
46734
|
+
"name": "anomaly-score",
|
|
46735
|
+
"hasDynamicHelp": false,
|
|
46736
|
+
"multiple": false,
|
|
46737
|
+
"type": "option"
|
|
46738
|
+
},
|
|
46739
|
+
"paranoia-level": {
|
|
46740
|
+
"description": "Paranoia level 1-4 (for OWASP ruleset)",
|
|
46741
|
+
"name": "paranoia-level",
|
|
46940
46742
|
"hasDynamicHelp": false,
|
|
46941
46743
|
"multiple": false,
|
|
46942
46744
|
"type": "option"
|
|
@@ -46944,29 +46746,28 @@
|
|
|
46944
46746
|
},
|
|
46945
46747
|
"hasDynamicHelp": false,
|
|
46946
46748
|
"hiddenAliases": [],
|
|
46947
|
-
"id": "
|
|
46749
|
+
"id": "ecdn:waf:rulesets:update",
|
|
46948
46750
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
46949
46751
|
"pluginName": "@salesforce/b2c-cli",
|
|
46950
46752
|
"pluginType": "core",
|
|
46951
|
-
"strict": true,
|
|
46952
46753
|
"enableJsonFlag": true,
|
|
46953
46754
|
"isESM": true,
|
|
46954
46755
|
"relativePath": [
|
|
46955
46756
|
"dist",
|
|
46956
46757
|
"commands",
|
|
46957
|
-
"
|
|
46958
|
-
"
|
|
46959
|
-
"
|
|
46960
|
-
"
|
|
46758
|
+
"ecdn",
|
|
46759
|
+
"waf",
|
|
46760
|
+
"rulesets",
|
|
46761
|
+
"update.js"
|
|
46961
46762
|
]
|
|
46962
46763
|
},
|
|
46963
|
-
"mrt:env:
|
|
46764
|
+
"mrt:env:access-control:list": {
|
|
46964
46765
|
"aliases": [],
|
|
46965
46766
|
"args": {},
|
|
46966
|
-
"description": "
|
|
46767
|
+
"description": "List access control headers for a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-access-control-list",
|
|
46967
46768
|
"examples": [
|
|
46968
|
-
"<%= config.bin %> <%= command.id %> --project my-storefront --
|
|
46969
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront
|
|
46769
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront --environment production",
|
|
46770
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e production --json"
|
|
46970
46771
|
],
|
|
46971
46772
|
"flags": {
|
|
46972
46773
|
"json": {
|
|
@@ -47126,33 +46927,24 @@
|
|
|
47126
46927
|
"multiple": false,
|
|
47127
46928
|
"type": "option"
|
|
47128
46929
|
},
|
|
47129
|
-
"
|
|
47130
|
-
"description": "
|
|
47131
|
-
"name": "
|
|
47132
|
-
"required": true,
|
|
46930
|
+
"limit": {
|
|
46931
|
+
"description": "Maximum number of results to return",
|
|
46932
|
+
"name": "limit",
|
|
47133
46933
|
"hasDynamicHelp": false,
|
|
47134
46934
|
"multiple": false,
|
|
47135
46935
|
"type": "option"
|
|
47136
46936
|
},
|
|
47137
|
-
"
|
|
47138
|
-
"description": "
|
|
47139
|
-
"name": "
|
|
47140
|
-
"required": true,
|
|
46937
|
+
"offset": {
|
|
46938
|
+
"description": "Offset for pagination",
|
|
46939
|
+
"name": "offset",
|
|
47141
46940
|
"hasDynamicHelp": false,
|
|
47142
46941
|
"multiple": false,
|
|
47143
46942
|
"type": "option"
|
|
47144
|
-
},
|
|
47145
|
-
"force": {
|
|
47146
|
-
"char": "f",
|
|
47147
|
-
"description": "Skip confirmation prompt",
|
|
47148
|
-
"name": "force",
|
|
47149
|
-
"allowNo": false,
|
|
47150
|
-
"type": "boolean"
|
|
47151
46943
|
}
|
|
47152
46944
|
},
|
|
47153
46945
|
"hasDynamicHelp": false,
|
|
47154
46946
|
"hiddenAliases": [],
|
|
47155
|
-
"id": "mrt:env:
|
|
46947
|
+
"id": "mrt:env:access-control:list",
|
|
47156
46948
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
47157
46949
|
"pluginName": "@salesforce/b2c-cli",
|
|
47158
46950
|
"pluginType": "core",
|
|
@@ -47164,18 +46956,17 @@
|
|
|
47164
46956
|
"commands",
|
|
47165
46957
|
"mrt",
|
|
47166
46958
|
"env",
|
|
47167
|
-
"
|
|
47168
|
-
"
|
|
46959
|
+
"access-control",
|
|
46960
|
+
"list.js"
|
|
47169
46961
|
]
|
|
47170
46962
|
},
|
|
47171
|
-
"mrt:env:redirect:
|
|
46963
|
+
"mrt:env:redirect:clone": {
|
|
47172
46964
|
"aliases": [],
|
|
47173
46965
|
"args": {},
|
|
47174
|
-
"description": "
|
|
46966
|
+
"description": "Clone redirects from one environment to another\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-clone",
|
|
47175
46967
|
"examples": [
|
|
47176
|
-
"<%= config.bin %> <%= command.id %> --project my-storefront --
|
|
47177
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront
|
|
47178
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --from \"/a/*\" --to /b --forward-wildcard"
|
|
46968
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront --from staging --to production",
|
|
46969
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --from staging --to production --force"
|
|
47179
46970
|
],
|
|
47180
46971
|
"flags": {
|
|
47181
46972
|
"json": {
|
|
@@ -47336,7 +47127,7 @@
|
|
|
47336
47127
|
"type": "option"
|
|
47337
47128
|
},
|
|
47338
47129
|
"from": {
|
|
47339
|
-
"description": "Source
|
|
47130
|
+
"description": "Source environment to clone redirects from",
|
|
47340
47131
|
"name": "from",
|
|
47341
47132
|
"required": true,
|
|
47342
47133
|
"hasDynamicHelp": false,
|
|
@@ -47344,228 +47135,13 @@
|
|
|
47344
47135
|
"type": "option"
|
|
47345
47136
|
},
|
|
47346
47137
|
"to": {
|
|
47347
|
-
"description": "Destination
|
|
47138
|
+
"description": "Destination environment to clone redirects to",
|
|
47348
47139
|
"name": "to",
|
|
47349
47140
|
"required": true,
|
|
47350
47141
|
"hasDynamicHelp": false,
|
|
47351
47142
|
"multiple": false,
|
|
47352
47143
|
"type": "option"
|
|
47353
47144
|
},
|
|
47354
|
-
"status": {
|
|
47355
|
-
"description": "HTTP status code (301 or 302)",
|
|
47356
|
-
"name": "status",
|
|
47357
|
-
"default": 301,
|
|
47358
|
-
"hasDynamicHelp": false,
|
|
47359
|
-
"multiple": false,
|
|
47360
|
-
"options": [
|
|
47361
|
-
"301",
|
|
47362
|
-
"302"
|
|
47363
|
-
],
|
|
47364
|
-
"type": "option"
|
|
47365
|
-
},
|
|
47366
|
-
"forward-querystring": {
|
|
47367
|
-
"description": "Forward query string parameters",
|
|
47368
|
-
"name": "forward-querystring",
|
|
47369
|
-
"allowNo": false,
|
|
47370
|
-
"type": "boolean"
|
|
47371
|
-
},
|
|
47372
|
-
"forward-wildcard": {
|
|
47373
|
-
"description": "Forward wildcard path portion",
|
|
47374
|
-
"name": "forward-wildcard",
|
|
47375
|
-
"allowNo": false,
|
|
47376
|
-
"type": "boolean"
|
|
47377
|
-
}
|
|
47378
|
-
},
|
|
47379
|
-
"hasDynamicHelp": false,
|
|
47380
|
-
"hiddenAliases": [],
|
|
47381
|
-
"id": "mrt:env:redirect:create",
|
|
47382
|
-
"pluginAlias": "@salesforce/b2c-cli",
|
|
47383
|
-
"pluginName": "@salesforce/b2c-cli",
|
|
47384
|
-
"pluginType": "core",
|
|
47385
|
-
"strict": true,
|
|
47386
|
-
"enableJsonFlag": true,
|
|
47387
|
-
"isESM": true,
|
|
47388
|
-
"relativePath": [
|
|
47389
|
-
"dist",
|
|
47390
|
-
"commands",
|
|
47391
|
-
"mrt",
|
|
47392
|
-
"env",
|
|
47393
|
-
"redirect",
|
|
47394
|
-
"create.js"
|
|
47395
|
-
]
|
|
47396
|
-
},
|
|
47397
|
-
"mrt:env:redirect:delete": {
|
|
47398
|
-
"aliases": [],
|
|
47399
|
-
"args": {
|
|
47400
|
-
"fromPath": {
|
|
47401
|
-
"description": "Source path of the redirect to delete",
|
|
47402
|
-
"name": "fromPath",
|
|
47403
|
-
"required": true
|
|
47404
|
-
}
|
|
47405
|
-
},
|
|
47406
|
-
"description": "Delete a redirect from a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-delete",
|
|
47407
|
-
"examples": [
|
|
47408
|
-
"<%= config.bin %> <%= command.id %> /old-page --project my-storefront --environment staging",
|
|
47409
|
-
"<%= config.bin %> <%= command.id %> /old-page -p my-storefront -e staging --force"
|
|
47410
|
-
],
|
|
47411
|
-
"flags": {
|
|
47412
|
-
"json": {
|
|
47413
|
-
"description": "Output result as JSON",
|
|
47414
|
-
"helpGroup": "GLOBAL",
|
|
47415
|
-
"name": "json",
|
|
47416
|
-
"allowNo": false,
|
|
47417
|
-
"type": "boolean"
|
|
47418
|
-
},
|
|
47419
|
-
"log-level": {
|
|
47420
|
-
"description": "Set logging verbosity level",
|
|
47421
|
-
"env": "SFCC_LOG_LEVEL",
|
|
47422
|
-
"helpGroup": "GLOBAL",
|
|
47423
|
-
"name": "log-level",
|
|
47424
|
-
"hasDynamicHelp": false,
|
|
47425
|
-
"multiple": false,
|
|
47426
|
-
"options": [
|
|
47427
|
-
"trace",
|
|
47428
|
-
"debug",
|
|
47429
|
-
"info",
|
|
47430
|
-
"warn",
|
|
47431
|
-
"error",
|
|
47432
|
-
"silent"
|
|
47433
|
-
],
|
|
47434
|
-
"type": "option"
|
|
47435
|
-
},
|
|
47436
|
-
"debug": {
|
|
47437
|
-
"char": "D",
|
|
47438
|
-
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
47439
|
-
"env": "SFCC_DEBUG",
|
|
47440
|
-
"helpGroup": "GLOBAL",
|
|
47441
|
-
"name": "debug",
|
|
47442
|
-
"allowNo": false,
|
|
47443
|
-
"type": "boolean"
|
|
47444
|
-
},
|
|
47445
|
-
"jsonl": {
|
|
47446
|
-
"aliases": [
|
|
47447
|
-
"json-logs"
|
|
47448
|
-
],
|
|
47449
|
-
"description": "Output log messages as JSON lines",
|
|
47450
|
-
"env": "SFCC_JSON_LOGS",
|
|
47451
|
-
"helpGroup": "GLOBAL",
|
|
47452
|
-
"name": "jsonl",
|
|
47453
|
-
"allowNo": false,
|
|
47454
|
-
"type": "boolean"
|
|
47455
|
-
},
|
|
47456
|
-
"lang": {
|
|
47457
|
-
"char": "L",
|
|
47458
|
-
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
47459
|
-
"helpGroup": "GLOBAL",
|
|
47460
|
-
"name": "lang",
|
|
47461
|
-
"hasDynamicHelp": false,
|
|
47462
|
-
"multiple": false,
|
|
47463
|
-
"type": "option"
|
|
47464
|
-
},
|
|
47465
|
-
"config": {
|
|
47466
|
-
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
47467
|
-
"env": "SFCC_CONFIG",
|
|
47468
|
-
"helpGroup": "GLOBAL",
|
|
47469
|
-
"name": "config",
|
|
47470
|
-
"hasDynamicHelp": false,
|
|
47471
|
-
"multiple": false,
|
|
47472
|
-
"type": "option"
|
|
47473
|
-
},
|
|
47474
|
-
"instance": {
|
|
47475
|
-
"char": "i",
|
|
47476
|
-
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
47477
|
-
"env": "SFCC_INSTANCE",
|
|
47478
|
-
"helpGroup": "GLOBAL",
|
|
47479
|
-
"name": "instance",
|
|
47480
|
-
"hasDynamicHelp": false,
|
|
47481
|
-
"multiple": false,
|
|
47482
|
-
"type": "option"
|
|
47483
|
-
},
|
|
47484
|
-
"project-directory": {
|
|
47485
|
-
"aliases": [
|
|
47486
|
-
"working-directory"
|
|
47487
|
-
],
|
|
47488
|
-
"description": "Project directory",
|
|
47489
|
-
"env": "SFCC_PROJECT_DIRECTORY",
|
|
47490
|
-
"helpGroup": "GLOBAL",
|
|
47491
|
-
"name": "project-directory",
|
|
47492
|
-
"hasDynamicHelp": false,
|
|
47493
|
-
"multiple": false,
|
|
47494
|
-
"type": "option"
|
|
47495
|
-
},
|
|
47496
|
-
"extra-query": {
|
|
47497
|
-
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
47498
|
-
"env": "SFCC_EXTRA_QUERY",
|
|
47499
|
-
"helpGroup": "GLOBAL",
|
|
47500
|
-
"hidden": true,
|
|
47501
|
-
"name": "extra-query",
|
|
47502
|
-
"hasDynamicHelp": false,
|
|
47503
|
-
"multiple": false,
|
|
47504
|
-
"type": "option"
|
|
47505
|
-
},
|
|
47506
|
-
"extra-body": {
|
|
47507
|
-
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
47508
|
-
"env": "SFCC_EXTRA_BODY",
|
|
47509
|
-
"helpGroup": "GLOBAL",
|
|
47510
|
-
"hidden": true,
|
|
47511
|
-
"name": "extra-body",
|
|
47512
|
-
"hasDynamicHelp": false,
|
|
47513
|
-
"multiple": false,
|
|
47514
|
-
"type": "option"
|
|
47515
|
-
},
|
|
47516
|
-
"extra-headers": {
|
|
47517
|
-
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
47518
|
-
"env": "SFCC_EXTRA_HEADERS",
|
|
47519
|
-
"helpGroup": "GLOBAL",
|
|
47520
|
-
"hidden": true,
|
|
47521
|
-
"name": "extra-headers",
|
|
47522
|
-
"hasDynamicHelp": false,
|
|
47523
|
-
"multiple": false,
|
|
47524
|
-
"type": "option"
|
|
47525
|
-
},
|
|
47526
|
-
"api-key": {
|
|
47527
|
-
"description": "MRT API key",
|
|
47528
|
-
"env": "SFCC_MRT_API_KEY",
|
|
47529
|
-
"helpGroup": "AUTH",
|
|
47530
|
-
"name": "api-key",
|
|
47531
|
-
"hasDynamicHelp": false,
|
|
47532
|
-
"multiple": false,
|
|
47533
|
-
"type": "option"
|
|
47534
|
-
},
|
|
47535
|
-
"project": {
|
|
47536
|
-
"char": "p",
|
|
47537
|
-
"description": "MRT project slug (or set mrtProject in dw.json)",
|
|
47538
|
-
"env": "SFCC_MRT_PROJECT",
|
|
47539
|
-
"name": "project",
|
|
47540
|
-
"hasDynamicHelp": false,
|
|
47541
|
-
"multiple": false,
|
|
47542
|
-
"type": "option"
|
|
47543
|
-
},
|
|
47544
|
-
"environment": {
|
|
47545
|
-
"char": "e",
|
|
47546
|
-
"description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
|
|
47547
|
-
"env": "SFCC_MRT_ENVIRONMENT",
|
|
47548
|
-
"name": "environment",
|
|
47549
|
-
"hasDynamicHelp": false,
|
|
47550
|
-
"multiple": false,
|
|
47551
|
-
"type": "option"
|
|
47552
|
-
},
|
|
47553
|
-
"cloud-origin": {
|
|
47554
|
-
"description": "MRT cloud origin URL (or set mrtOrigin in dw.json; default: https://cloud.mobify.com)",
|
|
47555
|
-
"env": "SFCC_MRT_CLOUD_ORIGIN",
|
|
47556
|
-
"name": "cloud-origin",
|
|
47557
|
-
"hasDynamicHelp": false,
|
|
47558
|
-
"multiple": false,
|
|
47559
|
-
"type": "option"
|
|
47560
|
-
},
|
|
47561
|
-
"credentials-file": {
|
|
47562
|
-
"description": "Path to MRT credentials file (overrides default ~/.mobify)",
|
|
47563
|
-
"env": "MRT_CREDENTIALS_FILE",
|
|
47564
|
-
"name": "credentials-file",
|
|
47565
|
-
"hasDynamicHelp": false,
|
|
47566
|
-
"multiple": false,
|
|
47567
|
-
"type": "option"
|
|
47568
|
-
},
|
|
47569
47145
|
"force": {
|
|
47570
47146
|
"char": "f",
|
|
47571
47147
|
"description": "Skip confirmation prompt",
|
|
@@ -47576,7 +47152,7 @@
|
|
|
47576
47152
|
},
|
|
47577
47153
|
"hasDynamicHelp": false,
|
|
47578
47154
|
"hiddenAliases": [],
|
|
47579
|
-
"id": "mrt:env:redirect:
|
|
47155
|
+
"id": "mrt:env:redirect:clone",
|
|
47580
47156
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
47581
47157
|
"pluginName": "@salesforce/b2c-cli",
|
|
47582
47158
|
"pluginType": "core",
|
|
@@ -47589,17 +47165,17 @@
|
|
|
47589
47165
|
"mrt",
|
|
47590
47166
|
"env",
|
|
47591
47167
|
"redirect",
|
|
47592
|
-
"
|
|
47168
|
+
"clone.js"
|
|
47593
47169
|
]
|
|
47594
47170
|
},
|
|
47595
|
-
"mrt:env:redirect:
|
|
47171
|
+
"mrt:env:redirect:create": {
|
|
47596
47172
|
"aliases": [],
|
|
47597
47173
|
"args": {},
|
|
47598
|
-
"description": "
|
|
47174
|
+
"description": "Create a redirect for a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-create",
|
|
47599
47175
|
"examples": [
|
|
47600
|
-
"<%= config.bin %> <%= command.id %> --project my-storefront --environment staging",
|
|
47601
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --
|
|
47602
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --
|
|
47176
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront --environment staging --from /old --to /new",
|
|
47177
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --from /sale --to /summer-sale --status 302",
|
|
47178
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --from \"/a/*\" --to /b --forward-wildcard"
|
|
47603
47179
|
],
|
|
47604
47180
|
"flags": {
|
|
47605
47181
|
"json": {
|
|
@@ -47759,31 +47335,50 @@
|
|
|
47759
47335
|
"multiple": false,
|
|
47760
47336
|
"type": "option"
|
|
47761
47337
|
},
|
|
47762
|
-
"
|
|
47763
|
-
"description": "
|
|
47764
|
-
"name": "
|
|
47338
|
+
"from": {
|
|
47339
|
+
"description": "Source path to redirect from",
|
|
47340
|
+
"name": "from",
|
|
47341
|
+
"required": true,
|
|
47765
47342
|
"hasDynamicHelp": false,
|
|
47766
47343
|
"multiple": false,
|
|
47767
47344
|
"type": "option"
|
|
47768
47345
|
},
|
|
47769
|
-
"
|
|
47770
|
-
"description": "
|
|
47771
|
-
"name": "
|
|
47346
|
+
"to": {
|
|
47347
|
+
"description": "Destination URL to redirect to",
|
|
47348
|
+
"name": "to",
|
|
47349
|
+
"required": true,
|
|
47772
47350
|
"hasDynamicHelp": false,
|
|
47773
47351
|
"multiple": false,
|
|
47774
47352
|
"type": "option"
|
|
47775
47353
|
},
|
|
47776
|
-
"
|
|
47777
|
-
"description": "
|
|
47778
|
-
"name": "
|
|
47354
|
+
"status": {
|
|
47355
|
+
"description": "HTTP status code (301 or 302)",
|
|
47356
|
+
"name": "status",
|
|
47357
|
+
"default": 301,
|
|
47779
47358
|
"hasDynamicHelp": false,
|
|
47780
47359
|
"multiple": false,
|
|
47360
|
+
"options": [
|
|
47361
|
+
"301",
|
|
47362
|
+
"302"
|
|
47363
|
+
],
|
|
47781
47364
|
"type": "option"
|
|
47365
|
+
},
|
|
47366
|
+
"forward-querystring": {
|
|
47367
|
+
"description": "Forward query string parameters",
|
|
47368
|
+
"name": "forward-querystring",
|
|
47369
|
+
"allowNo": false,
|
|
47370
|
+
"type": "boolean"
|
|
47371
|
+
},
|
|
47372
|
+
"forward-wildcard": {
|
|
47373
|
+
"description": "Forward wildcard path portion",
|
|
47374
|
+
"name": "forward-wildcard",
|
|
47375
|
+
"allowNo": false,
|
|
47376
|
+
"type": "boolean"
|
|
47782
47377
|
}
|
|
47783
47378
|
},
|
|
47784
47379
|
"hasDynamicHelp": false,
|
|
47785
47380
|
"hiddenAliases": [],
|
|
47786
|
-
"id": "mrt:env:redirect:
|
|
47381
|
+
"id": "mrt:env:redirect:create",
|
|
47787
47382
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
47788
47383
|
"pluginName": "@salesforce/b2c-cli",
|
|
47789
47384
|
"pluginType": "core",
|
|
@@ -47796,22 +47391,22 @@
|
|
|
47796
47391
|
"mrt",
|
|
47797
47392
|
"env",
|
|
47798
47393
|
"redirect",
|
|
47799
|
-
"
|
|
47394
|
+
"create.js"
|
|
47800
47395
|
]
|
|
47801
47396
|
},
|
|
47802
|
-
"mrt:env:
|
|
47397
|
+
"mrt:env:redirect:delete": {
|
|
47803
47398
|
"aliases": [],
|
|
47804
47399
|
"args": {
|
|
47805
|
-
"
|
|
47806
|
-
"description": "
|
|
47807
|
-
"name": "
|
|
47400
|
+
"fromPath": {
|
|
47401
|
+
"description": "Source path of the redirect to delete",
|
|
47402
|
+
"name": "fromPath",
|
|
47808
47403
|
"required": true
|
|
47809
47404
|
}
|
|
47810
47405
|
},
|
|
47811
|
-
"description": "Delete
|
|
47406
|
+
"description": "Delete a redirect from a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-delete",
|
|
47812
47407
|
"examples": [
|
|
47813
|
-
"<%= config.bin %> <%= command.id %>
|
|
47814
|
-
"<%= config.bin %> <%= command.id %>
|
|
47408
|
+
"<%= config.bin %> <%= command.id %> /old-page --project my-storefront --environment staging",
|
|
47409
|
+
"<%= config.bin %> <%= command.id %> /old-page -p my-storefront -e staging --force"
|
|
47815
47410
|
],
|
|
47816
47411
|
"flags": {
|
|
47817
47412
|
"json": {
|
|
@@ -47970,11 +47565,18 @@
|
|
|
47970
47565
|
"hasDynamicHelp": false,
|
|
47971
47566
|
"multiple": false,
|
|
47972
47567
|
"type": "option"
|
|
47568
|
+
},
|
|
47569
|
+
"force": {
|
|
47570
|
+
"char": "f",
|
|
47571
|
+
"description": "Skip confirmation prompt",
|
|
47572
|
+
"name": "force",
|
|
47573
|
+
"allowNo": false,
|
|
47574
|
+
"type": "boolean"
|
|
47973
47575
|
}
|
|
47974
47576
|
},
|
|
47975
47577
|
"hasDynamicHelp": false,
|
|
47976
47578
|
"hiddenAliases": [],
|
|
47977
|
-
"id": "mrt:env:
|
|
47579
|
+
"id": "mrt:env:redirect:delete",
|
|
47978
47580
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
47979
47581
|
"pluginName": "@salesforce/b2c-cli",
|
|
47980
47582
|
"pluginType": "core",
|
|
@@ -47986,18 +47588,18 @@
|
|
|
47986
47588
|
"commands",
|
|
47987
47589
|
"mrt",
|
|
47988
47590
|
"env",
|
|
47989
|
-
"
|
|
47591
|
+
"redirect",
|
|
47990
47592
|
"delete.js"
|
|
47991
47593
|
]
|
|
47992
47594
|
},
|
|
47993
|
-
"mrt:env:
|
|
47595
|
+
"mrt:env:redirect:list": {
|
|
47994
47596
|
"aliases": [],
|
|
47995
47597
|
"args": {},
|
|
47996
|
-
"description": "List
|
|
47598
|
+
"description": "List redirects for a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-list",
|
|
47997
47599
|
"examples": [
|
|
47998
|
-
"<%= config.bin %> <%= command.id %> --project
|
|
47999
|
-
"<%= config.bin %> <%= command.id %> -p my-
|
|
48000
|
-
"<%= config.bin %> <%= command.id %> -p my-
|
|
47600
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront --environment staging",
|
|
47601
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --search \"/old\"",
|
|
47602
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --json"
|
|
48001
47603
|
],
|
|
48002
47604
|
"flags": {
|
|
48003
47605
|
"json": {
|
|
@@ -48156,11 +47758,32 @@
|
|
|
48156
47758
|
"hasDynamicHelp": false,
|
|
48157
47759
|
"multiple": false,
|
|
48158
47760
|
"type": "option"
|
|
47761
|
+
},
|
|
47762
|
+
"limit": {
|
|
47763
|
+
"description": "Maximum number of results to return",
|
|
47764
|
+
"name": "limit",
|
|
47765
|
+
"hasDynamicHelp": false,
|
|
47766
|
+
"multiple": false,
|
|
47767
|
+
"type": "option"
|
|
47768
|
+
},
|
|
47769
|
+
"offset": {
|
|
47770
|
+
"description": "Offset for pagination",
|
|
47771
|
+
"name": "offset",
|
|
47772
|
+
"hasDynamicHelp": false,
|
|
47773
|
+
"multiple": false,
|
|
47774
|
+
"type": "option"
|
|
47775
|
+
},
|
|
47776
|
+
"search": {
|
|
47777
|
+
"description": "Search term for filtering",
|
|
47778
|
+
"name": "search",
|
|
47779
|
+
"hasDynamicHelp": false,
|
|
47780
|
+
"multiple": false,
|
|
47781
|
+
"type": "option"
|
|
48159
47782
|
}
|
|
48160
47783
|
},
|
|
48161
47784
|
"hasDynamicHelp": false,
|
|
48162
47785
|
"hiddenAliases": [],
|
|
48163
|
-
"id": "mrt:env:
|
|
47786
|
+
"id": "mrt:env:redirect:list",
|
|
48164
47787
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
48165
47788
|
"pluginName": "@salesforce/b2c-cli",
|
|
48166
47789
|
"pluginType": "core",
|
|
@@ -48172,24 +47795,23 @@
|
|
|
48172
47795
|
"commands",
|
|
48173
47796
|
"mrt",
|
|
48174
47797
|
"env",
|
|
48175
|
-
"
|
|
47798
|
+
"redirect",
|
|
48176
47799
|
"list.js"
|
|
48177
47800
|
]
|
|
48178
47801
|
},
|
|
48179
|
-
"mrt:env:var:
|
|
47802
|
+
"mrt:env:var:delete": {
|
|
48180
47803
|
"aliases": [],
|
|
48181
47804
|
"args": {
|
|
48182
|
-
"
|
|
48183
|
-
"description": "Environment
|
|
48184
|
-
"name": "
|
|
47805
|
+
"key": {
|
|
47806
|
+
"description": "Environment variable name",
|
|
47807
|
+
"name": "key",
|
|
48185
47808
|
"required": true
|
|
48186
47809
|
}
|
|
48187
47810
|
},
|
|
48188
|
-
"description": "
|
|
47811
|
+
"description": "Delete an environment variable from a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-delete",
|
|
48189
47812
|
"examples": [
|
|
48190
|
-
"<%= config.bin %> <%= command.id %> MY_VAR
|
|
48191
|
-
"<%= config.bin %> <%= command.id %>
|
|
48192
|
-
"<%= config.bin %> <%= command.id %> \"MESSAGE=hello world\" -p my-project -e production"
|
|
47813
|
+
"<%= config.bin %> <%= command.id %> MY_VAR --project acme-storefront --environment production",
|
|
47814
|
+
"<%= config.bin %> <%= command.id %> OLD_API_KEY -p my-project -e staging"
|
|
48193
47815
|
],
|
|
48194
47816
|
"flags": {
|
|
48195
47817
|
"json": {
|
|
@@ -48352,11 +47974,11 @@
|
|
|
48352
47974
|
},
|
|
48353
47975
|
"hasDynamicHelp": false,
|
|
48354
47976
|
"hiddenAliases": [],
|
|
48355
|
-
"id": "mrt:env:var:
|
|
47977
|
+
"id": "mrt:env:var:delete",
|
|
48356
47978
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
48357
47979
|
"pluginName": "@salesforce/b2c-cli",
|
|
48358
47980
|
"pluginType": "core",
|
|
48359
|
-
"strict":
|
|
47981
|
+
"strict": true,
|
|
48360
47982
|
"enableJsonFlag": true,
|
|
48361
47983
|
"isESM": true,
|
|
48362
47984
|
"relativePath": [
|
|
@@ -48365,22 +47987,17 @@
|
|
|
48365
47987
|
"mrt",
|
|
48366
47988
|
"env",
|
|
48367
47989
|
"var",
|
|
48368
|
-
"
|
|
47990
|
+
"delete.js"
|
|
48369
47991
|
]
|
|
48370
47992
|
},
|
|
48371
|
-
"mrt:
|
|
47993
|
+
"mrt:env:var:list": {
|
|
48372
47994
|
"aliases": [],
|
|
48373
|
-
"args": {
|
|
48374
|
-
|
|
48375
|
-
"description": "Email address of the user to add",
|
|
48376
|
-
"name": "email",
|
|
48377
|
-
"required": true
|
|
48378
|
-
}
|
|
48379
|
-
},
|
|
48380
|
-
"description": "Add a member to a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-add",
|
|
47995
|
+
"args": {},
|
|
47996
|
+
"description": "List environment variables on a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-list",
|
|
48381
47997
|
"examples": [
|
|
48382
|
-
"<%= config.bin %> <%= command.id %>
|
|
48383
|
-
"<%= config.bin %> <%= command.id %>
|
|
47998
|
+
"<%= config.bin %> <%= command.id %> --project acme-storefront --environment production",
|
|
47999
|
+
"<%= config.bin %> <%= command.id %> -p my-project -e staging",
|
|
48000
|
+
"<%= config.bin %> <%= command.id %> -p my-project -e production --json"
|
|
48384
48001
|
],
|
|
48385
48002
|
"flags": {
|
|
48386
48003
|
"json": {
|
|
@@ -48539,54 +48156,225 @@
|
|
|
48539
48156
|
"hasDynamicHelp": false,
|
|
48540
48157
|
"multiple": false,
|
|
48541
48158
|
"type": "option"
|
|
48159
|
+
}
|
|
48160
|
+
},
|
|
48161
|
+
"hasDynamicHelp": false,
|
|
48162
|
+
"hiddenAliases": [],
|
|
48163
|
+
"id": "mrt:env:var:list",
|
|
48164
|
+
"pluginAlias": "@salesforce/b2c-cli",
|
|
48165
|
+
"pluginName": "@salesforce/b2c-cli",
|
|
48166
|
+
"pluginType": "core",
|
|
48167
|
+
"strict": true,
|
|
48168
|
+
"enableJsonFlag": true,
|
|
48169
|
+
"isESM": true,
|
|
48170
|
+
"relativePath": [
|
|
48171
|
+
"dist",
|
|
48172
|
+
"commands",
|
|
48173
|
+
"mrt",
|
|
48174
|
+
"env",
|
|
48175
|
+
"var",
|
|
48176
|
+
"list.js"
|
|
48177
|
+
]
|
|
48178
|
+
},
|
|
48179
|
+
"mrt:env:var:set": {
|
|
48180
|
+
"aliases": [],
|
|
48181
|
+
"args": {
|
|
48182
|
+
"variables": {
|
|
48183
|
+
"description": "Environment variables in KEY=value format",
|
|
48184
|
+
"name": "variables",
|
|
48185
|
+
"required": true
|
|
48186
|
+
}
|
|
48187
|
+
},
|
|
48188
|
+
"description": "Set environment variables on a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-set",
|
|
48189
|
+
"examples": [
|
|
48190
|
+
"<%= config.bin %> <%= command.id %> MY_VAR=value --project acme-storefront --environment production",
|
|
48191
|
+
"<%= config.bin %> <%= command.id %> API_KEY=secret DEBUG=true -p my-project -e staging",
|
|
48192
|
+
"<%= config.bin %> <%= command.id %> \"MESSAGE=hello world\" -p my-project -e production"
|
|
48193
|
+
],
|
|
48194
|
+
"flags": {
|
|
48195
|
+
"json": {
|
|
48196
|
+
"description": "Output result as JSON",
|
|
48197
|
+
"helpGroup": "GLOBAL",
|
|
48198
|
+
"name": "json",
|
|
48199
|
+
"allowNo": false,
|
|
48200
|
+
"type": "boolean"
|
|
48542
48201
|
},
|
|
48543
|
-
"
|
|
48544
|
-
"
|
|
48545
|
-
"
|
|
48546
|
-
"
|
|
48547
|
-
"
|
|
48202
|
+
"log-level": {
|
|
48203
|
+
"description": "Set logging verbosity level",
|
|
48204
|
+
"env": "SFCC_LOG_LEVEL",
|
|
48205
|
+
"helpGroup": "GLOBAL",
|
|
48206
|
+
"name": "log-level",
|
|
48548
48207
|
"hasDynamicHelp": false,
|
|
48549
48208
|
"multiple": false,
|
|
48550
48209
|
"options": [
|
|
48551
|
-
"
|
|
48552
|
-
"
|
|
48553
|
-
"
|
|
48554
|
-
"
|
|
48210
|
+
"trace",
|
|
48211
|
+
"debug",
|
|
48212
|
+
"info",
|
|
48213
|
+
"warn",
|
|
48214
|
+
"error",
|
|
48215
|
+
"silent"
|
|
48216
|
+
],
|
|
48217
|
+
"type": "option"
|
|
48218
|
+
},
|
|
48219
|
+
"debug": {
|
|
48220
|
+
"char": "D",
|
|
48221
|
+
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
48222
|
+
"env": "SFCC_DEBUG",
|
|
48223
|
+
"helpGroup": "GLOBAL",
|
|
48224
|
+
"name": "debug",
|
|
48225
|
+
"allowNo": false,
|
|
48226
|
+
"type": "boolean"
|
|
48227
|
+
},
|
|
48228
|
+
"jsonl": {
|
|
48229
|
+
"aliases": [
|
|
48230
|
+
"json-logs"
|
|
48231
|
+
],
|
|
48232
|
+
"description": "Output log messages as JSON lines",
|
|
48233
|
+
"env": "SFCC_JSON_LOGS",
|
|
48234
|
+
"helpGroup": "GLOBAL",
|
|
48235
|
+
"name": "jsonl",
|
|
48236
|
+
"allowNo": false,
|
|
48237
|
+
"type": "boolean"
|
|
48238
|
+
},
|
|
48239
|
+
"lang": {
|
|
48240
|
+
"char": "L",
|
|
48241
|
+
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
48242
|
+
"helpGroup": "GLOBAL",
|
|
48243
|
+
"name": "lang",
|
|
48244
|
+
"hasDynamicHelp": false,
|
|
48245
|
+
"multiple": false,
|
|
48246
|
+
"type": "option"
|
|
48247
|
+
},
|
|
48248
|
+
"config": {
|
|
48249
|
+
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
48250
|
+
"env": "SFCC_CONFIG",
|
|
48251
|
+
"helpGroup": "GLOBAL",
|
|
48252
|
+
"name": "config",
|
|
48253
|
+
"hasDynamicHelp": false,
|
|
48254
|
+
"multiple": false,
|
|
48255
|
+
"type": "option"
|
|
48256
|
+
},
|
|
48257
|
+
"instance": {
|
|
48258
|
+
"char": "i",
|
|
48259
|
+
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
48260
|
+
"env": "SFCC_INSTANCE",
|
|
48261
|
+
"helpGroup": "GLOBAL",
|
|
48262
|
+
"name": "instance",
|
|
48263
|
+
"hasDynamicHelp": false,
|
|
48264
|
+
"multiple": false,
|
|
48265
|
+
"type": "option"
|
|
48266
|
+
},
|
|
48267
|
+
"project-directory": {
|
|
48268
|
+
"aliases": [
|
|
48269
|
+
"working-directory"
|
|
48555
48270
|
],
|
|
48271
|
+
"description": "Project directory",
|
|
48272
|
+
"env": "SFCC_PROJECT_DIRECTORY",
|
|
48273
|
+
"helpGroup": "GLOBAL",
|
|
48274
|
+
"name": "project-directory",
|
|
48275
|
+
"hasDynamicHelp": false,
|
|
48276
|
+
"multiple": false,
|
|
48277
|
+
"type": "option"
|
|
48278
|
+
},
|
|
48279
|
+
"extra-query": {
|
|
48280
|
+
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
48281
|
+
"env": "SFCC_EXTRA_QUERY",
|
|
48282
|
+
"helpGroup": "GLOBAL",
|
|
48283
|
+
"hidden": true,
|
|
48284
|
+
"name": "extra-query",
|
|
48285
|
+
"hasDynamicHelp": false,
|
|
48286
|
+
"multiple": false,
|
|
48287
|
+
"type": "option"
|
|
48288
|
+
},
|
|
48289
|
+
"extra-body": {
|
|
48290
|
+
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
48291
|
+
"env": "SFCC_EXTRA_BODY",
|
|
48292
|
+
"helpGroup": "GLOBAL",
|
|
48293
|
+
"hidden": true,
|
|
48294
|
+
"name": "extra-body",
|
|
48295
|
+
"hasDynamicHelp": false,
|
|
48296
|
+
"multiple": false,
|
|
48297
|
+
"type": "option"
|
|
48298
|
+
},
|
|
48299
|
+
"extra-headers": {
|
|
48300
|
+
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
48301
|
+
"env": "SFCC_EXTRA_HEADERS",
|
|
48302
|
+
"helpGroup": "GLOBAL",
|
|
48303
|
+
"hidden": true,
|
|
48304
|
+
"name": "extra-headers",
|
|
48305
|
+
"hasDynamicHelp": false,
|
|
48306
|
+
"multiple": false,
|
|
48307
|
+
"type": "option"
|
|
48308
|
+
},
|
|
48309
|
+
"api-key": {
|
|
48310
|
+
"description": "MRT API key",
|
|
48311
|
+
"env": "SFCC_MRT_API_KEY",
|
|
48312
|
+
"helpGroup": "AUTH",
|
|
48313
|
+
"name": "api-key",
|
|
48314
|
+
"hasDynamicHelp": false,
|
|
48315
|
+
"multiple": false,
|
|
48316
|
+
"type": "option"
|
|
48317
|
+
},
|
|
48318
|
+
"project": {
|
|
48319
|
+
"char": "p",
|
|
48320
|
+
"description": "MRT project slug (or set mrtProject in dw.json)",
|
|
48321
|
+
"env": "SFCC_MRT_PROJECT",
|
|
48322
|
+
"name": "project",
|
|
48323
|
+
"hasDynamicHelp": false,
|
|
48324
|
+
"multiple": false,
|
|
48325
|
+
"type": "option"
|
|
48326
|
+
},
|
|
48327
|
+
"environment": {
|
|
48328
|
+
"char": "e",
|
|
48329
|
+
"description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
|
|
48330
|
+
"env": "SFCC_MRT_ENVIRONMENT",
|
|
48331
|
+
"name": "environment",
|
|
48332
|
+
"hasDynamicHelp": false,
|
|
48333
|
+
"multiple": false,
|
|
48334
|
+
"type": "option"
|
|
48335
|
+
},
|
|
48336
|
+
"cloud-origin": {
|
|
48337
|
+
"description": "MRT cloud origin URL (or set mrtOrigin in dw.json; default: https://cloud.mobify.com)",
|
|
48338
|
+
"env": "SFCC_MRT_CLOUD_ORIGIN",
|
|
48339
|
+
"name": "cloud-origin",
|
|
48340
|
+
"hasDynamicHelp": false,
|
|
48341
|
+
"multiple": false,
|
|
48342
|
+
"type": "option"
|
|
48343
|
+
},
|
|
48344
|
+
"credentials-file": {
|
|
48345
|
+
"description": "Path to MRT credentials file (overrides default ~/.mobify)",
|
|
48346
|
+
"env": "MRT_CREDENTIALS_FILE",
|
|
48347
|
+
"name": "credentials-file",
|
|
48348
|
+
"hasDynamicHelp": false,
|
|
48349
|
+
"multiple": false,
|
|
48556
48350
|
"type": "option"
|
|
48557
48351
|
}
|
|
48558
48352
|
},
|
|
48559
48353
|
"hasDynamicHelp": false,
|
|
48560
48354
|
"hiddenAliases": [],
|
|
48561
|
-
"id": "mrt:
|
|
48355
|
+
"id": "mrt:env:var:set",
|
|
48562
48356
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
48563
48357
|
"pluginName": "@salesforce/b2c-cli",
|
|
48564
48358
|
"pluginType": "core",
|
|
48565
|
-
"strict":
|
|
48359
|
+
"strict": false,
|
|
48566
48360
|
"enableJsonFlag": true,
|
|
48567
48361
|
"isESM": true,
|
|
48568
48362
|
"relativePath": [
|
|
48569
48363
|
"dist",
|
|
48570
48364
|
"commands",
|
|
48571
48365
|
"mrt",
|
|
48572
|
-
"
|
|
48573
|
-
"
|
|
48574
|
-
"
|
|
48366
|
+
"env",
|
|
48367
|
+
"var",
|
|
48368
|
+
"set.js"
|
|
48575
48369
|
]
|
|
48576
48370
|
},
|
|
48577
|
-
"mrt:project:
|
|
48371
|
+
"mrt:project:notification:create": {
|
|
48578
48372
|
"aliases": [],
|
|
48579
|
-
"args": {
|
|
48580
|
-
|
|
48581
|
-
"description": "Email address of the member",
|
|
48582
|
-
"name": "email",
|
|
48583
|
-
"required": true
|
|
48584
|
-
}
|
|
48585
|
-
},
|
|
48586
|
-
"description": "Get details of a Managed Runtime project member\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-get",
|
|
48373
|
+
"args": {},
|
|
48374
|
+
"description": "Create a notification for a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-create",
|
|
48587
48375
|
"examples": [
|
|
48588
|
-
"<%= config.bin %> <%= command.id %>
|
|
48589
|
-
"<%= config.bin %> <%= command.id %>
|
|
48376
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront --target staging --recipient team@example.com --on-start --on-failed",
|
|
48377
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --target staging --target production --recipient ops@example.com"
|
|
48590
48378
|
],
|
|
48591
48379
|
"flags": {
|
|
48592
48380
|
"json": {
|
|
@@ -48745,11 +48533,47 @@
|
|
|
48745
48533
|
"hasDynamicHelp": false,
|
|
48746
48534
|
"multiple": false,
|
|
48747
48535
|
"type": "option"
|
|
48536
|
+
},
|
|
48537
|
+
"target": {
|
|
48538
|
+
"char": "t",
|
|
48539
|
+
"description": "Target slug to associate with this notification (can be specified multiple times)",
|
|
48540
|
+
"name": "target",
|
|
48541
|
+
"required": true,
|
|
48542
|
+
"hasDynamicHelp": false,
|
|
48543
|
+
"multiple": true,
|
|
48544
|
+
"type": "option"
|
|
48545
|
+
},
|
|
48546
|
+
"recipient": {
|
|
48547
|
+
"char": "r",
|
|
48548
|
+
"description": "Email recipient for this notification (can be specified multiple times)",
|
|
48549
|
+
"name": "recipient",
|
|
48550
|
+
"required": true,
|
|
48551
|
+
"hasDynamicHelp": false,
|
|
48552
|
+
"multiple": true,
|
|
48553
|
+
"type": "option"
|
|
48554
|
+
},
|
|
48555
|
+
"on-start": {
|
|
48556
|
+
"description": "Trigger notification when deployment starts",
|
|
48557
|
+
"name": "on-start",
|
|
48558
|
+
"allowNo": false,
|
|
48559
|
+
"type": "boolean"
|
|
48560
|
+
},
|
|
48561
|
+
"on-success": {
|
|
48562
|
+
"description": "Trigger notification when deployment succeeds",
|
|
48563
|
+
"name": "on-success",
|
|
48564
|
+
"allowNo": false,
|
|
48565
|
+
"type": "boolean"
|
|
48566
|
+
},
|
|
48567
|
+
"on-failed": {
|
|
48568
|
+
"description": "Trigger notification when deployment fails",
|
|
48569
|
+
"name": "on-failed",
|
|
48570
|
+
"allowNo": false,
|
|
48571
|
+
"type": "boolean"
|
|
48748
48572
|
}
|
|
48749
48573
|
},
|
|
48750
48574
|
"hasDynamicHelp": false,
|
|
48751
48575
|
"hiddenAliases": [],
|
|
48752
|
-
"id": "mrt:project:
|
|
48576
|
+
"id": "mrt:project:notification:create",
|
|
48753
48577
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
48754
48578
|
"pluginName": "@salesforce/b2c-cli",
|
|
48755
48579
|
"pluginType": "core",
|
|
@@ -48761,19 +48585,23 @@
|
|
|
48761
48585
|
"commands",
|
|
48762
48586
|
"mrt",
|
|
48763
48587
|
"project",
|
|
48764
|
-
"
|
|
48765
|
-
"
|
|
48588
|
+
"notification",
|
|
48589
|
+
"create.js"
|
|
48766
48590
|
]
|
|
48767
48591
|
},
|
|
48768
|
-
"mrt:project:
|
|
48592
|
+
"mrt:project:notification:delete": {
|
|
48769
48593
|
"aliases": [],
|
|
48770
|
-
"args": {
|
|
48771
|
-
|
|
48594
|
+
"args": {
|
|
48595
|
+
"id": {
|
|
48596
|
+
"description": "Notification ID to delete",
|
|
48597
|
+
"name": "id",
|
|
48598
|
+
"required": true
|
|
48599
|
+
}
|
|
48600
|
+
},
|
|
48601
|
+
"description": "Delete a notification from a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-delete",
|
|
48772
48602
|
"examples": [
|
|
48773
|
-
"<%= config.bin %> <%= command.id %> --project my-storefront",
|
|
48774
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --
|
|
48775
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --search user@example.com",
|
|
48776
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --json"
|
|
48603
|
+
"<%= config.bin %> <%= command.id %> abc-123 --project my-storefront",
|
|
48604
|
+
"<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --force"
|
|
48777
48605
|
],
|
|
48778
48606
|
"flags": {
|
|
48779
48607
|
"json": {
|
|
@@ -48933,44 +48761,17 @@
|
|
|
48933
48761
|
"multiple": false,
|
|
48934
48762
|
"type": "option"
|
|
48935
48763
|
},
|
|
48936
|
-
"
|
|
48937
|
-
"
|
|
48938
|
-
"
|
|
48939
|
-
"
|
|
48940
|
-
"
|
|
48941
|
-
"type": "
|
|
48942
|
-
},
|
|
48943
|
-
"offset": {
|
|
48944
|
-
"description": "Offset for pagination",
|
|
48945
|
-
"name": "offset",
|
|
48946
|
-
"hasDynamicHelp": false,
|
|
48947
|
-
"multiple": false,
|
|
48948
|
-
"type": "option"
|
|
48949
|
-
},
|
|
48950
|
-
"role": {
|
|
48951
|
-
"description": "Filter by role (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
|
|
48952
|
-
"name": "role",
|
|
48953
|
-
"hasDynamicHelp": false,
|
|
48954
|
-
"multiple": false,
|
|
48955
|
-
"options": [
|
|
48956
|
-
"0",
|
|
48957
|
-
"1",
|
|
48958
|
-
"2",
|
|
48959
|
-
"3"
|
|
48960
|
-
],
|
|
48961
|
-
"type": "option"
|
|
48962
|
-
},
|
|
48963
|
-
"search": {
|
|
48964
|
-
"description": "Search term for filtering",
|
|
48965
|
-
"name": "search",
|
|
48966
|
-
"hasDynamicHelp": false,
|
|
48967
|
-
"multiple": false,
|
|
48968
|
-
"type": "option"
|
|
48764
|
+
"force": {
|
|
48765
|
+
"char": "f",
|
|
48766
|
+
"description": "Skip confirmation prompt",
|
|
48767
|
+
"name": "force",
|
|
48768
|
+
"allowNo": false,
|
|
48769
|
+
"type": "boolean"
|
|
48969
48770
|
}
|
|
48970
48771
|
},
|
|
48971
48772
|
"hasDynamicHelp": false,
|
|
48972
48773
|
"hiddenAliases": [],
|
|
48973
|
-
"id": "mrt:project:
|
|
48774
|
+
"id": "mrt:project:notification:delete",
|
|
48974
48775
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
48975
48776
|
"pluginName": "@salesforce/b2c-cli",
|
|
48976
48777
|
"pluginType": "core",
|
|
@@ -48982,23 +48783,23 @@
|
|
|
48982
48783
|
"commands",
|
|
48983
48784
|
"mrt",
|
|
48984
48785
|
"project",
|
|
48985
|
-
"
|
|
48986
|
-
"
|
|
48786
|
+
"notification",
|
|
48787
|
+
"delete.js"
|
|
48987
48788
|
]
|
|
48988
48789
|
},
|
|
48989
|
-
"mrt:project:
|
|
48790
|
+
"mrt:project:notification:get": {
|
|
48990
48791
|
"aliases": [],
|
|
48991
48792
|
"args": {
|
|
48992
|
-
"
|
|
48993
|
-
"description": "
|
|
48994
|
-
"name": "
|
|
48793
|
+
"id": {
|
|
48794
|
+
"description": "Notification ID",
|
|
48795
|
+
"name": "id",
|
|
48995
48796
|
"required": true
|
|
48996
48797
|
}
|
|
48997
48798
|
},
|
|
48998
|
-
"description": "
|
|
48799
|
+
"description": "Get details of a Managed Runtime notification\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-get",
|
|
48999
48800
|
"examples": [
|
|
49000
|
-
"<%= config.bin %> <%= command.id %>
|
|
49001
|
-
"<%= config.bin %> <%= command.id %>
|
|
48801
|
+
"<%= config.bin %> <%= command.id %> abc-123 --project my-storefront",
|
|
48802
|
+
"<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --json"
|
|
49002
48803
|
],
|
|
49003
48804
|
"flags": {
|
|
49004
48805
|
"json": {
|
|
@@ -49157,18 +48958,11 @@
|
|
|
49157
48958
|
"hasDynamicHelp": false,
|
|
49158
48959
|
"multiple": false,
|
|
49159
48960
|
"type": "option"
|
|
49160
|
-
},
|
|
49161
|
-
"force": {
|
|
49162
|
-
"char": "f",
|
|
49163
|
-
"description": "Skip confirmation prompt",
|
|
49164
|
-
"name": "force",
|
|
49165
|
-
"allowNo": false,
|
|
49166
|
-
"type": "boolean"
|
|
49167
48961
|
}
|
|
49168
48962
|
},
|
|
49169
48963
|
"hasDynamicHelp": false,
|
|
49170
48964
|
"hiddenAliases": [],
|
|
49171
|
-
"id": "mrt:project:
|
|
48965
|
+
"id": "mrt:project:notification:get",
|
|
49172
48966
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49173
48967
|
"pluginName": "@salesforce/b2c-cli",
|
|
49174
48968
|
"pluginType": "core",
|
|
@@ -49180,23 +48974,18 @@
|
|
|
49180
48974
|
"commands",
|
|
49181
48975
|
"mrt",
|
|
49182
48976
|
"project",
|
|
49183
|
-
"
|
|
49184
|
-
"
|
|
48977
|
+
"notification",
|
|
48978
|
+
"get.js"
|
|
49185
48979
|
]
|
|
49186
48980
|
},
|
|
49187
|
-
"mrt:project:
|
|
48981
|
+
"mrt:project:notification:list": {
|
|
49188
48982
|
"aliases": [],
|
|
49189
|
-
"args": {
|
|
49190
|
-
|
|
49191
|
-
"description": "Email address of the member to update",
|
|
49192
|
-
"name": "email",
|
|
49193
|
-
"required": true
|
|
49194
|
-
}
|
|
49195
|
-
},
|
|
49196
|
-
"description": "Update a Managed Runtime project member's role\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-update",
|
|
48983
|
+
"args": {},
|
|
48984
|
+
"description": "List notifications for a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-list",
|
|
49197
48985
|
"examples": [
|
|
49198
|
-
"<%= config.bin %> <%= command.id %>
|
|
49199
|
-
"<%= config.bin %> <%= command.id %>
|
|
48986
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront",
|
|
48987
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --target staging",
|
|
48988
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --json"
|
|
49200
48989
|
],
|
|
49201
48990
|
"flags": {
|
|
49202
48991
|
"json": {
|
|
@@ -49356,25 +49145,31 @@
|
|
|
49356
49145
|
"multiple": false,
|
|
49357
49146
|
"type": "option"
|
|
49358
49147
|
},
|
|
49359
|
-
"
|
|
49360
|
-
"
|
|
49361
|
-
"
|
|
49362
|
-
"
|
|
49363
|
-
"
|
|
49148
|
+
"limit": {
|
|
49149
|
+
"description": "Maximum number of results to return",
|
|
49150
|
+
"name": "limit",
|
|
49151
|
+
"hasDynamicHelp": false,
|
|
49152
|
+
"multiple": false,
|
|
49153
|
+
"type": "option"
|
|
49154
|
+
},
|
|
49155
|
+
"offset": {
|
|
49156
|
+
"description": "Offset for pagination",
|
|
49157
|
+
"name": "offset",
|
|
49158
|
+
"hasDynamicHelp": false,
|
|
49159
|
+
"multiple": false,
|
|
49160
|
+
"type": "option"
|
|
49161
|
+
},
|
|
49162
|
+
"target": {
|
|
49163
|
+
"description": "Filter by target slug",
|
|
49164
|
+
"name": "target",
|
|
49364
49165
|
"hasDynamicHelp": false,
|
|
49365
49166
|
"multiple": false,
|
|
49366
|
-
"options": [
|
|
49367
|
-
"0",
|
|
49368
|
-
"1",
|
|
49369
|
-
"2",
|
|
49370
|
-
"3"
|
|
49371
|
-
],
|
|
49372
49167
|
"type": "option"
|
|
49373
49168
|
}
|
|
49374
49169
|
},
|
|
49375
49170
|
"hasDynamicHelp": false,
|
|
49376
49171
|
"hiddenAliases": [],
|
|
49377
|
-
"id": "mrt:project:
|
|
49172
|
+
"id": "mrt:project:notification:list",
|
|
49378
49173
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49379
49174
|
"pluginName": "@salesforce/b2c-cli",
|
|
49380
49175
|
"pluginType": "core",
|
|
@@ -49386,17 +49181,23 @@
|
|
|
49386
49181
|
"commands",
|
|
49387
49182
|
"mrt",
|
|
49388
49183
|
"project",
|
|
49389
|
-
"
|
|
49390
|
-
"
|
|
49184
|
+
"notification",
|
|
49185
|
+
"list.js"
|
|
49391
49186
|
]
|
|
49392
49187
|
},
|
|
49393
|
-
"mrt:project:notification:
|
|
49188
|
+
"mrt:project:notification:update": {
|
|
49394
49189
|
"aliases": [],
|
|
49395
|
-
"args": {
|
|
49396
|
-
|
|
49190
|
+
"args": {
|
|
49191
|
+
"id": {
|
|
49192
|
+
"description": "Notification ID",
|
|
49193
|
+
"name": "id",
|
|
49194
|
+
"required": true
|
|
49195
|
+
}
|
|
49196
|
+
},
|
|
49197
|
+
"description": "Update a Managed Runtime notification\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-update",
|
|
49397
49198
|
"examples": [
|
|
49398
|
-
"<%= config.bin %> <%= command.id %> --project my-storefront --
|
|
49399
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --
|
|
49199
|
+
"<%= config.bin %> <%= command.id %> abc-123 --project my-storefront --on-start --on-failed",
|
|
49200
|
+
"<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --recipient new-team@example.com"
|
|
49400
49201
|
],
|
|
49401
49202
|
"flags": {
|
|
49402
49203
|
"json": {
|
|
@@ -49560,7 +49361,6 @@
|
|
|
49560
49361
|
"char": "t",
|
|
49561
49362
|
"description": "Target slug to associate with this notification (can be specified multiple times)",
|
|
49562
49363
|
"name": "target",
|
|
49563
|
-
"required": true,
|
|
49564
49364
|
"hasDynamicHelp": false,
|
|
49565
49365
|
"multiple": true,
|
|
49566
49366
|
"type": "option"
|
|
@@ -49569,7 +49369,6 @@
|
|
|
49569
49369
|
"char": "r",
|
|
49570
49370
|
"description": "Email recipient for this notification (can be specified multiple times)",
|
|
49571
49371
|
"name": "recipient",
|
|
49572
|
-
"required": true,
|
|
49573
49372
|
"hasDynamicHelp": false,
|
|
49574
49373
|
"multiple": true,
|
|
49575
49374
|
"type": "option"
|
|
@@ -49577,25 +49376,25 @@
|
|
|
49577
49376
|
"on-start": {
|
|
49578
49377
|
"description": "Trigger notification when deployment starts",
|
|
49579
49378
|
"name": "on-start",
|
|
49580
|
-
"allowNo":
|
|
49379
|
+
"allowNo": true,
|
|
49581
49380
|
"type": "boolean"
|
|
49582
49381
|
},
|
|
49583
49382
|
"on-success": {
|
|
49584
49383
|
"description": "Trigger notification when deployment succeeds",
|
|
49585
49384
|
"name": "on-success",
|
|
49586
|
-
"allowNo":
|
|
49385
|
+
"allowNo": true,
|
|
49587
49386
|
"type": "boolean"
|
|
49588
49387
|
},
|
|
49589
49388
|
"on-failed": {
|
|
49590
49389
|
"description": "Trigger notification when deployment fails",
|
|
49591
49390
|
"name": "on-failed",
|
|
49592
|
-
"allowNo":
|
|
49391
|
+
"allowNo": true,
|
|
49593
49392
|
"type": "boolean"
|
|
49594
49393
|
}
|
|
49595
49394
|
},
|
|
49596
49395
|
"hasDynamicHelp": false,
|
|
49597
49396
|
"hiddenAliases": [],
|
|
49598
|
-
"id": "mrt:project:notification:
|
|
49397
|
+
"id": "mrt:project:notification:update",
|
|
49599
49398
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49600
49399
|
"pluginName": "@salesforce/b2c-cli",
|
|
49601
49400
|
"pluginType": "core",
|
|
@@ -49608,22 +49407,22 @@
|
|
|
49608
49407
|
"mrt",
|
|
49609
49408
|
"project",
|
|
49610
49409
|
"notification",
|
|
49611
|
-
"
|
|
49410
|
+
"update.js"
|
|
49612
49411
|
]
|
|
49613
49412
|
},
|
|
49614
|
-
"mrt:project:
|
|
49413
|
+
"mrt:project:member:add": {
|
|
49615
49414
|
"aliases": [],
|
|
49616
49415
|
"args": {
|
|
49617
|
-
"
|
|
49618
|
-
"description": "
|
|
49619
|
-
"name": "
|
|
49416
|
+
"email": {
|
|
49417
|
+
"description": "Email address of the user to add",
|
|
49418
|
+
"name": "email",
|
|
49620
49419
|
"required": true
|
|
49621
49420
|
}
|
|
49622
49421
|
},
|
|
49623
|
-
"description": "
|
|
49422
|
+
"description": "Add a member to a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-add",
|
|
49624
49423
|
"examples": [
|
|
49625
|
-
"<%= config.bin %> <%= command.id %>
|
|
49626
|
-
"<%= config.bin %> <%= command.id %>
|
|
49424
|
+
"<%= config.bin %> <%= command.id %> user@example.com --project my-storefront --role 1",
|
|
49425
|
+
"<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --role 0"
|
|
49627
49426
|
],
|
|
49628
49427
|
"flags": {
|
|
49629
49428
|
"json": {
|
|
@@ -49783,17 +49582,25 @@
|
|
|
49783
49582
|
"multiple": false,
|
|
49784
49583
|
"type": "option"
|
|
49785
49584
|
},
|
|
49786
|
-
"
|
|
49787
|
-
"char": "
|
|
49788
|
-
"description": "
|
|
49789
|
-
"name": "
|
|
49790
|
-
"
|
|
49791
|
-
"
|
|
49585
|
+
"role": {
|
|
49586
|
+
"char": "r",
|
|
49587
|
+
"description": "Role for the member (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
|
|
49588
|
+
"name": "role",
|
|
49589
|
+
"required": true,
|
|
49590
|
+
"hasDynamicHelp": false,
|
|
49591
|
+
"multiple": false,
|
|
49592
|
+
"options": [
|
|
49593
|
+
"0",
|
|
49594
|
+
"1",
|
|
49595
|
+
"2",
|
|
49596
|
+
"3"
|
|
49597
|
+
],
|
|
49598
|
+
"type": "option"
|
|
49792
49599
|
}
|
|
49793
49600
|
},
|
|
49794
49601
|
"hasDynamicHelp": false,
|
|
49795
49602
|
"hiddenAliases": [],
|
|
49796
|
-
"id": "mrt:project:
|
|
49603
|
+
"id": "mrt:project:member:add",
|
|
49797
49604
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49798
49605
|
"pluginName": "@salesforce/b2c-cli",
|
|
49799
49606
|
"pluginType": "core",
|
|
@@ -49805,23 +49612,23 @@
|
|
|
49805
49612
|
"commands",
|
|
49806
49613
|
"mrt",
|
|
49807
49614
|
"project",
|
|
49808
|
-
"
|
|
49809
|
-
"
|
|
49615
|
+
"member",
|
|
49616
|
+
"add.js"
|
|
49810
49617
|
]
|
|
49811
49618
|
},
|
|
49812
|
-
"mrt:project:
|
|
49619
|
+
"mrt:project:member:get": {
|
|
49813
49620
|
"aliases": [],
|
|
49814
49621
|
"args": {
|
|
49815
|
-
"
|
|
49816
|
-
"description": "
|
|
49817
|
-
"name": "
|
|
49622
|
+
"email": {
|
|
49623
|
+
"description": "Email address of the member",
|
|
49624
|
+
"name": "email",
|
|
49818
49625
|
"required": true
|
|
49819
49626
|
}
|
|
49820
49627
|
},
|
|
49821
|
-
"description": "Get details of a Managed Runtime
|
|
49628
|
+
"description": "Get details of a Managed Runtime project member\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-get",
|
|
49822
49629
|
"examples": [
|
|
49823
|
-
"<%= config.bin %> <%= command.id %>
|
|
49824
|
-
"<%= config.bin %> <%= command.id %>
|
|
49630
|
+
"<%= config.bin %> <%= command.id %> user@example.com --project my-storefront",
|
|
49631
|
+
"<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --json"
|
|
49825
49632
|
],
|
|
49826
49633
|
"flags": {
|
|
49827
49634
|
"json": {
|
|
@@ -49984,7 +49791,7 @@
|
|
|
49984
49791
|
},
|
|
49985
49792
|
"hasDynamicHelp": false,
|
|
49986
49793
|
"hiddenAliases": [],
|
|
49987
|
-
"id": "mrt:project:
|
|
49794
|
+
"id": "mrt:project:member:get",
|
|
49988
49795
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49989
49796
|
"pluginName": "@salesforce/b2c-cli",
|
|
49990
49797
|
"pluginType": "core",
|
|
@@ -49996,17 +49803,18 @@
|
|
|
49996
49803
|
"commands",
|
|
49997
49804
|
"mrt",
|
|
49998
49805
|
"project",
|
|
49999
|
-
"
|
|
49806
|
+
"member",
|
|
50000
49807
|
"get.js"
|
|
50001
49808
|
]
|
|
50002
49809
|
},
|
|
50003
|
-
"mrt:project:
|
|
49810
|
+
"mrt:project:member:list": {
|
|
50004
49811
|
"aliases": [],
|
|
50005
49812
|
"args": {},
|
|
50006
|
-
"description": "List
|
|
49813
|
+
"description": "List members for a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-list",
|
|
50007
49814
|
"examples": [
|
|
50008
49815
|
"<%= config.bin %> <%= command.id %> --project my-storefront",
|
|
50009
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --
|
|
49816
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --role 0",
|
|
49817
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --search user@example.com",
|
|
50010
49818
|
"<%= config.bin %> <%= command.id %> -p my-storefront --json"
|
|
50011
49819
|
],
|
|
50012
49820
|
"flags": {
|
|
@@ -50181,9 +49989,22 @@
|
|
|
50181
49989
|
"multiple": false,
|
|
50182
49990
|
"type": "option"
|
|
50183
49991
|
},
|
|
50184
|
-
"
|
|
50185
|
-
"description": "Filter by
|
|
50186
|
-
"name": "
|
|
49992
|
+
"role": {
|
|
49993
|
+
"description": "Filter by role (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
|
|
49994
|
+
"name": "role",
|
|
49995
|
+
"hasDynamicHelp": false,
|
|
49996
|
+
"multiple": false,
|
|
49997
|
+
"options": [
|
|
49998
|
+
"0",
|
|
49999
|
+
"1",
|
|
50000
|
+
"2",
|
|
50001
|
+
"3"
|
|
50002
|
+
],
|
|
50003
|
+
"type": "option"
|
|
50004
|
+
},
|
|
50005
|
+
"search": {
|
|
50006
|
+
"description": "Search term for filtering",
|
|
50007
|
+
"name": "search",
|
|
50187
50008
|
"hasDynamicHelp": false,
|
|
50188
50009
|
"multiple": false,
|
|
50189
50010
|
"type": "option"
|
|
@@ -50191,7 +50012,7 @@
|
|
|
50191
50012
|
},
|
|
50192
50013
|
"hasDynamicHelp": false,
|
|
50193
50014
|
"hiddenAliases": [],
|
|
50194
|
-
"id": "mrt:project:
|
|
50015
|
+
"id": "mrt:project:member:list",
|
|
50195
50016
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
50196
50017
|
"pluginName": "@salesforce/b2c-cli",
|
|
50197
50018
|
"pluginType": "core",
|
|
@@ -50203,23 +50024,23 @@
|
|
|
50203
50024
|
"commands",
|
|
50204
50025
|
"mrt",
|
|
50205
50026
|
"project",
|
|
50206
|
-
"
|
|
50027
|
+
"member",
|
|
50207
50028
|
"list.js"
|
|
50208
50029
|
]
|
|
50209
50030
|
},
|
|
50210
|
-
"mrt:project:
|
|
50031
|
+
"mrt:project:member:remove": {
|
|
50211
50032
|
"aliases": [],
|
|
50212
50033
|
"args": {
|
|
50213
|
-
"
|
|
50214
|
-
"description": "
|
|
50215
|
-
"name": "
|
|
50034
|
+
"email": {
|
|
50035
|
+
"description": "Email address of the member to remove",
|
|
50036
|
+
"name": "email",
|
|
50216
50037
|
"required": true
|
|
50217
50038
|
}
|
|
50218
50039
|
},
|
|
50219
|
-
"description": "
|
|
50040
|
+
"description": "Remove a member from a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-remove",
|
|
50220
50041
|
"examples": [
|
|
50221
|
-
"<%= config.bin %> <%= command.id %>
|
|
50222
|
-
"<%= config.bin %> <%= command.id %>
|
|
50042
|
+
"<%= config.bin %> <%= command.id %> user@example.com --project my-storefront",
|
|
50043
|
+
"<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --force"
|
|
50223
50044
|
],
|
|
50224
50045
|
"flags": {
|
|
50225
50046
|
"json": {
|
|
@@ -50379,44 +50200,223 @@
|
|
|
50379
50200
|
"multiple": false,
|
|
50380
50201
|
"type": "option"
|
|
50381
50202
|
},
|
|
50382
|
-
"
|
|
50383
|
-
"char": "
|
|
50384
|
-
"description": "
|
|
50385
|
-
"name": "
|
|
50386
|
-
"
|
|
50387
|
-
"
|
|
50388
|
-
|
|
50203
|
+
"force": {
|
|
50204
|
+
"char": "f",
|
|
50205
|
+
"description": "Skip confirmation prompt",
|
|
50206
|
+
"name": "force",
|
|
50207
|
+
"allowNo": false,
|
|
50208
|
+
"type": "boolean"
|
|
50209
|
+
}
|
|
50210
|
+
},
|
|
50211
|
+
"hasDynamicHelp": false,
|
|
50212
|
+
"hiddenAliases": [],
|
|
50213
|
+
"id": "mrt:project:member:remove",
|
|
50214
|
+
"pluginAlias": "@salesforce/b2c-cli",
|
|
50215
|
+
"pluginName": "@salesforce/b2c-cli",
|
|
50216
|
+
"pluginType": "core",
|
|
50217
|
+
"strict": true,
|
|
50218
|
+
"enableJsonFlag": true,
|
|
50219
|
+
"isESM": true,
|
|
50220
|
+
"relativePath": [
|
|
50221
|
+
"dist",
|
|
50222
|
+
"commands",
|
|
50223
|
+
"mrt",
|
|
50224
|
+
"project",
|
|
50225
|
+
"member",
|
|
50226
|
+
"remove.js"
|
|
50227
|
+
]
|
|
50228
|
+
},
|
|
50229
|
+
"mrt:project:member:update": {
|
|
50230
|
+
"aliases": [],
|
|
50231
|
+
"args": {
|
|
50232
|
+
"email": {
|
|
50233
|
+
"description": "Email address of the member to update",
|
|
50234
|
+
"name": "email",
|
|
50235
|
+
"required": true
|
|
50236
|
+
}
|
|
50237
|
+
},
|
|
50238
|
+
"description": "Update a Managed Runtime project member's role\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-update",
|
|
50239
|
+
"examples": [
|
|
50240
|
+
"<%= config.bin %> <%= command.id %> user@example.com --project my-storefront --role 0",
|
|
50241
|
+
"<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --role 1"
|
|
50242
|
+
],
|
|
50243
|
+
"flags": {
|
|
50244
|
+
"json": {
|
|
50245
|
+
"description": "Output result as JSON",
|
|
50246
|
+
"helpGroup": "GLOBAL",
|
|
50247
|
+
"name": "json",
|
|
50248
|
+
"allowNo": false,
|
|
50249
|
+
"type": "boolean"
|
|
50389
50250
|
},
|
|
50390
|
-
"
|
|
50391
|
-
"
|
|
50392
|
-
"
|
|
50393
|
-
"
|
|
50251
|
+
"log-level": {
|
|
50252
|
+
"description": "Set logging verbosity level",
|
|
50253
|
+
"env": "SFCC_LOG_LEVEL",
|
|
50254
|
+
"helpGroup": "GLOBAL",
|
|
50255
|
+
"name": "log-level",
|
|
50394
50256
|
"hasDynamicHelp": false,
|
|
50395
|
-
"multiple":
|
|
50257
|
+
"multiple": false,
|
|
50258
|
+
"options": [
|
|
50259
|
+
"trace",
|
|
50260
|
+
"debug",
|
|
50261
|
+
"info",
|
|
50262
|
+
"warn",
|
|
50263
|
+
"error",
|
|
50264
|
+
"silent"
|
|
50265
|
+
],
|
|
50396
50266
|
"type": "option"
|
|
50397
50267
|
},
|
|
50398
|
-
"
|
|
50399
|
-
"
|
|
50400
|
-
"
|
|
50401
|
-
"
|
|
50268
|
+
"debug": {
|
|
50269
|
+
"char": "D",
|
|
50270
|
+
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
50271
|
+
"env": "SFCC_DEBUG",
|
|
50272
|
+
"helpGroup": "GLOBAL",
|
|
50273
|
+
"name": "debug",
|
|
50274
|
+
"allowNo": false,
|
|
50402
50275
|
"type": "boolean"
|
|
50403
50276
|
},
|
|
50404
|
-
"
|
|
50405
|
-
"
|
|
50406
|
-
|
|
50407
|
-
|
|
50277
|
+
"jsonl": {
|
|
50278
|
+
"aliases": [
|
|
50279
|
+
"json-logs"
|
|
50280
|
+
],
|
|
50281
|
+
"description": "Output log messages as JSON lines",
|
|
50282
|
+
"env": "SFCC_JSON_LOGS",
|
|
50283
|
+
"helpGroup": "GLOBAL",
|
|
50284
|
+
"name": "jsonl",
|
|
50285
|
+
"allowNo": false,
|
|
50408
50286
|
"type": "boolean"
|
|
50409
50287
|
},
|
|
50410
|
-
"
|
|
50411
|
-
"
|
|
50412
|
-
"
|
|
50413
|
-
"
|
|
50414
|
-
"
|
|
50288
|
+
"lang": {
|
|
50289
|
+
"char": "L",
|
|
50290
|
+
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
50291
|
+
"helpGroup": "GLOBAL",
|
|
50292
|
+
"name": "lang",
|
|
50293
|
+
"hasDynamicHelp": false,
|
|
50294
|
+
"multiple": false,
|
|
50295
|
+
"type": "option"
|
|
50296
|
+
},
|
|
50297
|
+
"config": {
|
|
50298
|
+
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
50299
|
+
"env": "SFCC_CONFIG",
|
|
50300
|
+
"helpGroup": "GLOBAL",
|
|
50301
|
+
"name": "config",
|
|
50302
|
+
"hasDynamicHelp": false,
|
|
50303
|
+
"multiple": false,
|
|
50304
|
+
"type": "option"
|
|
50305
|
+
},
|
|
50306
|
+
"instance": {
|
|
50307
|
+
"char": "i",
|
|
50308
|
+
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
50309
|
+
"env": "SFCC_INSTANCE",
|
|
50310
|
+
"helpGroup": "GLOBAL",
|
|
50311
|
+
"name": "instance",
|
|
50312
|
+
"hasDynamicHelp": false,
|
|
50313
|
+
"multiple": false,
|
|
50314
|
+
"type": "option"
|
|
50315
|
+
},
|
|
50316
|
+
"project-directory": {
|
|
50317
|
+
"aliases": [
|
|
50318
|
+
"working-directory"
|
|
50319
|
+
],
|
|
50320
|
+
"description": "Project directory",
|
|
50321
|
+
"env": "SFCC_PROJECT_DIRECTORY",
|
|
50322
|
+
"helpGroup": "GLOBAL",
|
|
50323
|
+
"name": "project-directory",
|
|
50324
|
+
"hasDynamicHelp": false,
|
|
50325
|
+
"multiple": false,
|
|
50326
|
+
"type": "option"
|
|
50327
|
+
},
|
|
50328
|
+
"extra-query": {
|
|
50329
|
+
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
50330
|
+
"env": "SFCC_EXTRA_QUERY",
|
|
50331
|
+
"helpGroup": "GLOBAL",
|
|
50332
|
+
"hidden": true,
|
|
50333
|
+
"name": "extra-query",
|
|
50334
|
+
"hasDynamicHelp": false,
|
|
50335
|
+
"multiple": false,
|
|
50336
|
+
"type": "option"
|
|
50337
|
+
},
|
|
50338
|
+
"extra-body": {
|
|
50339
|
+
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
50340
|
+
"env": "SFCC_EXTRA_BODY",
|
|
50341
|
+
"helpGroup": "GLOBAL",
|
|
50342
|
+
"hidden": true,
|
|
50343
|
+
"name": "extra-body",
|
|
50344
|
+
"hasDynamicHelp": false,
|
|
50345
|
+
"multiple": false,
|
|
50346
|
+
"type": "option"
|
|
50347
|
+
},
|
|
50348
|
+
"extra-headers": {
|
|
50349
|
+
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
50350
|
+
"env": "SFCC_EXTRA_HEADERS",
|
|
50351
|
+
"helpGroup": "GLOBAL",
|
|
50352
|
+
"hidden": true,
|
|
50353
|
+
"name": "extra-headers",
|
|
50354
|
+
"hasDynamicHelp": false,
|
|
50355
|
+
"multiple": false,
|
|
50356
|
+
"type": "option"
|
|
50357
|
+
},
|
|
50358
|
+
"api-key": {
|
|
50359
|
+
"description": "MRT API key",
|
|
50360
|
+
"env": "SFCC_MRT_API_KEY",
|
|
50361
|
+
"helpGroup": "AUTH",
|
|
50362
|
+
"name": "api-key",
|
|
50363
|
+
"hasDynamicHelp": false,
|
|
50364
|
+
"multiple": false,
|
|
50365
|
+
"type": "option"
|
|
50366
|
+
},
|
|
50367
|
+
"project": {
|
|
50368
|
+
"char": "p",
|
|
50369
|
+
"description": "MRT project slug (or set mrtProject in dw.json)",
|
|
50370
|
+
"env": "SFCC_MRT_PROJECT",
|
|
50371
|
+
"name": "project",
|
|
50372
|
+
"hasDynamicHelp": false,
|
|
50373
|
+
"multiple": false,
|
|
50374
|
+
"type": "option"
|
|
50375
|
+
},
|
|
50376
|
+
"environment": {
|
|
50377
|
+
"char": "e",
|
|
50378
|
+
"description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
|
|
50379
|
+
"env": "SFCC_MRT_ENVIRONMENT",
|
|
50380
|
+
"name": "environment",
|
|
50381
|
+
"hasDynamicHelp": false,
|
|
50382
|
+
"multiple": false,
|
|
50383
|
+
"type": "option"
|
|
50384
|
+
},
|
|
50385
|
+
"cloud-origin": {
|
|
50386
|
+
"description": "MRT cloud origin URL (or set mrtOrigin in dw.json; default: https://cloud.mobify.com)",
|
|
50387
|
+
"env": "SFCC_MRT_CLOUD_ORIGIN",
|
|
50388
|
+
"name": "cloud-origin",
|
|
50389
|
+
"hasDynamicHelp": false,
|
|
50390
|
+
"multiple": false,
|
|
50391
|
+
"type": "option"
|
|
50392
|
+
},
|
|
50393
|
+
"credentials-file": {
|
|
50394
|
+
"description": "Path to MRT credentials file (overrides default ~/.mobify)",
|
|
50395
|
+
"env": "MRT_CREDENTIALS_FILE",
|
|
50396
|
+
"name": "credentials-file",
|
|
50397
|
+
"hasDynamicHelp": false,
|
|
50398
|
+
"multiple": false,
|
|
50399
|
+
"type": "option"
|
|
50400
|
+
},
|
|
50401
|
+
"role": {
|
|
50402
|
+
"char": "r",
|
|
50403
|
+
"description": "New role for the member (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
|
|
50404
|
+
"name": "role",
|
|
50405
|
+
"required": true,
|
|
50406
|
+
"hasDynamicHelp": false,
|
|
50407
|
+
"multiple": false,
|
|
50408
|
+
"options": [
|
|
50409
|
+
"0",
|
|
50410
|
+
"1",
|
|
50411
|
+
"2",
|
|
50412
|
+
"3"
|
|
50413
|
+
],
|
|
50414
|
+
"type": "option"
|
|
50415
50415
|
}
|
|
50416
50416
|
},
|
|
50417
50417
|
"hasDynamicHelp": false,
|
|
50418
50418
|
"hiddenAliases": [],
|
|
50419
|
-
"id": "mrt:project:
|
|
50419
|
+
"id": "mrt:project:member:update",
|
|
50420
50420
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
50421
50421
|
"pluginName": "@salesforce/b2c-cli",
|
|
50422
50422
|
"pluginType": "core",
|
|
@@ -50428,10 +50428,10 @@
|
|
|
50428
50428
|
"commands",
|
|
50429
50429
|
"mrt",
|
|
50430
50430
|
"project",
|
|
50431
|
-
"
|
|
50431
|
+
"member",
|
|
50432
50432
|
"update.js"
|
|
50433
50433
|
]
|
|
50434
50434
|
}
|
|
50435
50435
|
},
|
|
50436
|
-
"version": "0.5.
|
|
50436
|
+
"version": "0.5.3"
|
|
50437
50437
|
}
|