@salesforce/b2c-cli 0.5.2 → 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.
@@ -1,22 +1,10 @@
1
1
  {
2
2
  "commands": {
3
- "auth:token": {
3
+ "_test": {
4
4
  "aliases": [],
5
5
  "args": {},
6
- "description": "Get an OAuth access token\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/auth.html#b2c-auth-token",
7
- "examples": [
8
- "<%= config.bin %> <%= command.id %>",
9
- "<%= config.bin %> <%= command.id %> --auth-scope sfcc.orders --auth-scope sfcc.products",
10
- "<%= config.bin %> <%= command.id %> --json"
11
- ],
6
+ "description": "Test logging output",
12
7
  "flags": {
13
- "json": {
14
- "description": "Output result as JSON",
15
- "helpGroup": "GLOBAL",
16
- "name": "json",
17
- "allowNo": false,
18
- "type": "boolean"
19
- },
20
8
  "log-level": {
21
9
  "description": "Set logging verbosity level",
22
10
  "env": "SFCC_LOG_LEVEL",
@@ -43,6 +31,13 @@
43
31
  "allowNo": false,
44
32
  "type": "boolean"
45
33
  },
34
+ "json": {
35
+ "description": "Output result as JSON",
36
+ "helpGroup": "GLOBAL",
37
+ "name": "json",
38
+ "allowNo": false,
39
+ "type": "boolean"
40
+ },
46
41
  "jsonl": {
47
42
  "aliases": [
48
43
  "json-logs"
@@ -123,116 +118,42 @@
123
118
  "hasDynamicHelp": false,
124
119
  "multiple": false,
125
120
  "type": "option"
126
- },
127
- "client-id": {
128
- "description": "Client ID for OAuth",
129
- "env": "SFCC_CLIENT_ID",
130
- "helpGroup": "AUTH",
131
- "name": "client-id",
132
- "hasDynamicHelp": false,
133
- "multiple": false,
134
- "type": "option"
135
- },
136
- "client-secret": {
137
- "description": "Client Secret for OAuth",
138
- "env": "SFCC_CLIENT_SECRET",
139
- "helpGroup": "AUTH",
140
- "name": "client-secret",
141
- "hasDynamicHelp": false,
142
- "multiple": false,
143
- "type": "option"
144
- },
145
- "auth-scope": {
146
- "description": "OAuth scopes to request (comma-separated)",
147
- "env": "SFCC_OAUTH_SCOPES",
148
- "helpGroup": "AUTH",
149
- "name": "auth-scope",
150
- "delimiter": ",",
151
- "hasDynamicHelp": false,
152
- "multiple": true,
153
- "type": "option"
154
- },
155
- "short-code": {
156
- "description": "SCAPI short code",
157
- "env": "SFCC_SHORTCODE",
158
- "helpGroup": "AUTH",
159
- "name": "short-code",
160
- "hasDynamicHelp": false,
161
- "multiple": false,
162
- "type": "option"
163
- },
164
- "tenant-id": {
165
- "aliases": [
166
- "tenant"
167
- ],
168
- "description": "Organization/tenant ID",
169
- "env": "SFCC_TENANT_ID",
170
- "helpGroup": "AUTH",
171
- "name": "tenant-id",
172
- "hasDynamicHelp": false,
173
- "multiple": false,
174
- "type": "option"
175
- },
176
- "auth-methods": {
177
- "description": "Allowed auth methods in priority order (comma-separated)",
178
- "env": "SFCC_AUTH_METHODS",
179
- "exclusive": [
180
- "user-auth"
181
- ],
182
- "helpGroup": "AUTH",
183
- "name": "auth-methods",
184
- "delimiter": ",",
185
- "hasDynamicHelp": false,
186
- "multiple": true,
187
- "options": [
188
- "client-credentials",
189
- "implicit",
190
- "basic",
191
- "api-key"
192
- ],
193
- "type": "option"
194
- },
195
- "user-auth": {
196
- "description": "Use browser-based user authentication (implicit OAuth flow)",
197
- "exclusive": [
198
- "auth-methods"
199
- ],
200
- "helpGroup": "AUTH",
201
- "name": "user-auth",
202
- "allowNo": false,
203
- "type": "boolean"
204
- },
205
- "account-manager-host": {
206
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
207
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
208
- "helpGroup": "AUTH",
209
- "name": "account-manager-host",
210
- "hasDynamicHelp": false,
211
- "multiple": false,
212
- "type": "option"
213
121
  }
214
122
  },
215
123
  "hasDynamicHelp": false,
124
+ "hidden": true,
216
125
  "hiddenAliases": [],
217
- "id": "auth:token",
126
+ "id": "_test",
218
127
  "pluginAlias": "@salesforce/b2c-cli",
219
128
  "pluginName": "@salesforce/b2c-cli",
220
129
  "pluginType": "core",
221
130
  "strict": true,
222
- "enableJsonFlag": true,
131
+ "enableJsonFlag": false,
223
132
  "isESM": true,
224
133
  "relativePath": [
225
134
  "dist",
226
135
  "commands",
227
- "auth",
228
- "token.js"
136
+ "_test",
137
+ "index.js"
229
138
  ]
230
139
  },
231
- "_test": {
140
+ "auth:token": {
232
141
  "aliases": [],
233
142
  "args": {},
234
- "description": "Test logging output",
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
+ ],
235
149
  "flags": {
150
+ "json": {
151
+ "description": "Output result as JSON",
152
+ "helpGroup": "GLOBAL",
153
+ "name": "json",
154
+ "allowNo": false,
155
+ "type": "boolean"
156
+ },
236
157
  "log-level": {
237
158
  "description": "Set logging verbosity level",
238
159
  "env": "SFCC_LOG_LEVEL",
@@ -259,13 +180,6 @@
259
180
  "allowNo": false,
260
181
  "type": "boolean"
261
182
  },
262
- "json": {
263
- "description": "Output result as JSON",
264
- "helpGroup": "GLOBAL",
265
- "name": "json",
266
- "allowNo": false,
267
- "type": "boolean"
268
- },
269
183
  "jsonl": {
270
184
  "aliases": [
271
185
  "json-logs"
@@ -346,42 +260,129 @@
346
260
  "hasDynamicHelp": false,
347
261
  "multiple": false,
348
262
  "type": "option"
263
+ },
264
+ "client-id": {
265
+ "description": "Client ID for OAuth",
266
+ "env": "SFCC_CLIENT_ID",
267
+ "helpGroup": "AUTH",
268
+ "name": "client-id",
269
+ "hasDynamicHelp": false,
270
+ "multiple": false,
271
+ "type": "option"
272
+ },
273
+ "client-secret": {
274
+ "description": "Client Secret for OAuth",
275
+ "env": "SFCC_CLIENT_SECRET",
276
+ "helpGroup": "AUTH",
277
+ "name": "client-secret",
278
+ "hasDynamicHelp": false,
279
+ "multiple": false,
280
+ "type": "option"
281
+ },
282
+ "auth-scope": {
283
+ "description": "OAuth scopes to request (comma-separated)",
284
+ "env": "SFCC_OAUTH_SCOPES",
285
+ "helpGroup": "AUTH",
286
+ "name": "auth-scope",
287
+ "delimiter": ",",
288
+ "hasDynamicHelp": false,
289
+ "multiple": true,
290
+ "type": "option"
291
+ },
292
+ "short-code": {
293
+ "description": "SCAPI short code",
294
+ "env": "SFCC_SHORTCODE",
295
+ "helpGroup": "AUTH",
296
+ "name": "short-code",
297
+ "hasDynamicHelp": false,
298
+ "multiple": false,
299
+ "type": "option"
300
+ },
301
+ "tenant-id": {
302
+ "aliases": [
303
+ "tenant"
304
+ ],
305
+ "description": "Organization/tenant ID",
306
+ "env": "SFCC_TENANT_ID",
307
+ "helpGroup": "AUTH",
308
+ "name": "tenant-id",
309
+ "hasDynamicHelp": false,
310
+ "multiple": false,
311
+ "type": "option"
312
+ },
313
+ "auth-methods": {
314
+ "description": "Allowed auth methods in priority order (comma-separated)",
315
+ "env": "SFCC_AUTH_METHODS",
316
+ "exclusive": [
317
+ "user-auth"
318
+ ],
319
+ "helpGroup": "AUTH",
320
+ "name": "auth-methods",
321
+ "delimiter": ",",
322
+ "hasDynamicHelp": false,
323
+ "multiple": true,
324
+ "options": [
325
+ "client-credentials",
326
+ "implicit",
327
+ "basic",
328
+ "api-key"
329
+ ],
330
+ "type": "option"
331
+ },
332
+ "user-auth": {
333
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
334
+ "exclusive": [
335
+ "auth-methods"
336
+ ],
337
+ "helpGroup": "AUTH",
338
+ "name": "user-auth",
339
+ "allowNo": false,
340
+ "type": "boolean"
341
+ },
342
+ "account-manager-host": {
343
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
344
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
345
+ "helpGroup": "AUTH",
346
+ "name": "account-manager-host",
347
+ "hasDynamicHelp": false,
348
+ "multiple": false,
349
+ "type": "option"
349
350
  }
350
351
  },
351
352
  "hasDynamicHelp": false,
352
- "hidden": true,
353
353
  "hiddenAliases": [],
354
- "id": "_test",
354
+ "id": "auth:token",
355
355
  "pluginAlias": "@salesforce/b2c-cli",
356
356
  "pluginName": "@salesforce/b2c-cli",
357
357
  "pluginType": "core",
358
358
  "strict": true,
359
- "enableJsonFlag": false,
359
+ "enableJsonFlag": true,
360
360
  "isESM": true,
361
361
  "relativePath": [
362
362
  "dist",
363
363
  "commands",
364
- "_test",
365
- "index.js"
364
+ "auth",
365
+ "token.js"
366
366
  ]
367
367
  },
368
- "code:activate": {
368
+ "cip:describe": {
369
369
  "aliases": [],
370
370
  "args": {
371
- "codeVersion": {
372
- "description": "Code version ID to activate",
373
- "name": "codeVersion",
374
- "required": false
371
+ "table": {
372
+ "description": "Table name to describe",
373
+ "name": "table",
374
+ "required": true
375
375
  }
376
376
  },
377
- "description": "Activate or reload a code version\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-activate",
378
- "examples": [
379
- "<%= config.bin %> <%= command.id %> v1",
380
- "<%= config.bin %> <%= command.id %> v1 --server my-sandbox.demandware.net",
381
- "<%= config.bin %> <%= command.id %> --reload",
382
- "<%= config.bin %> <%= command.id %> v1 --reload"
383
- ],
377
+ "description": "Describe columns for a CIP table\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-describe",
384
378
  "flags": {
379
+ "json": {
380
+ "description": "Output result as JSON",
381
+ "helpGroup": "GLOBAL",
382
+ "name": "json",
383
+ "allowNo": false,
384
+ "type": "boolean"
385
+ },
385
386
  "log-level": {
386
387
  "description": "Set logging verbosity level",
387
388
  "env": "SFCC_LOG_LEVEL",
@@ -408,13 +409,6 @@
408
409
  "allowNo": false,
409
410
  "type": "boolean"
410
411
  },
411
- "json": {
412
- "description": "Output result as JSON",
413
- "helpGroup": "GLOBAL",
414
- "name": "json",
415
- "allowNo": false,
416
- "type": "boolean"
417
- },
418
412
  "jsonl": {
419
413
  "aliases": [
420
414
  "json-logs"
@@ -583,128 +577,108 @@
583
577
  "multiple": false,
584
578
  "type": "option"
585
579
  },
586
- "server": {
587
- "char": "s",
588
- "description": "B2C instance hostname",
589
- "env": "SFCC_SERVER",
590
- "helpGroup": "INSTANCE",
591
- "name": "server",
580
+ "cip-host": {
581
+ "description": "CIP host override (default: jdbc.analytics.commercecloud.salesforce.com)",
582
+ "env": "SFCC_CIP_HOST",
583
+ "helpGroup": "QUERY",
584
+ "name": "cip-host",
592
585
  "hasDynamicHelp": false,
593
586
  "multiple": false,
594
587
  "type": "option"
595
588
  },
596
- "webdav-server": {
597
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
598
- "env": "SFCC_WEBDAV_SERVER",
599
- "helpGroup": "INSTANCE",
600
- "name": "webdav-server",
601
- "hasDynamicHelp": false,
602
- "multiple": false,
603
- "type": "option"
589
+ "staging": {
590
+ "description": "Use staging analytics host (jdbc.stg.analytics.commercecloud.salesforce.com)",
591
+ "env": "SFCC_CIP_STAGING",
592
+ "helpGroup": "QUERY",
593
+ "name": "staging",
594
+ "allowNo": false,
595
+ "type": "boolean"
604
596
  },
605
- "code-version": {
606
- "char": "v",
607
- "description": "Code version",
608
- "env": "SFCC_CODE_VERSION",
609
- "helpGroup": "INSTANCE",
610
- "name": "code-version",
597
+ "from": {
598
+ "description": "Inclusive start date (YYYY-MM-DD)",
599
+ "helpGroup": "QUERY",
600
+ "name": "from",
601
+ "default": "2026-02-01",
611
602
  "hasDynamicHelp": false,
612
603
  "multiple": false,
613
604
  "type": "option"
614
605
  },
615
- "username": {
616
- "char": "u",
617
- "description": "Username for Basic Auth (WebDAV)",
618
- "env": "SFCC_USERNAME",
619
- "helpGroup": "AUTH",
620
- "name": "username",
606
+ "to": {
607
+ "description": "Inclusive end date (YYYY-MM-DD)",
608
+ "helpGroup": "QUERY",
609
+ "name": "to",
610
+ "default": "2026-02-25",
621
611
  "hasDynamicHelp": false,
622
612
  "multiple": false,
623
613
  "type": "option"
624
614
  },
625
- "password": {
626
- "char": "p",
627
- "description": "Password/access key for Basic Auth (WebDAV)",
628
- "env": "SFCC_PASSWORD",
629
- "helpGroup": "AUTH",
630
- "name": "password",
615
+ "format": {
616
+ "description": "Output format",
617
+ "helpGroup": "QUERY",
618
+ "name": "format",
619
+ "default": "table",
631
620
  "hasDynamicHelp": false,
632
621
  "multiple": false,
622
+ "options": [
623
+ "table",
624
+ "json",
625
+ "csv"
626
+ ],
633
627
  "type": "option"
634
628
  },
635
- "certificate": {
636
- "description": "Path to PKCS12 certificate for two-factor auth",
637
- "env": "SFCC_CERTIFICATE",
638
- "helpGroup": "AUTH",
639
- "name": "certificate",
629
+ "fetch-size": {
630
+ "description": "Frame fetch size for CIP paging",
631
+ "helpGroup": "QUERY",
632
+ "name": "fetch-size",
633
+ "default": 1000,
640
634
  "hasDynamicHelp": false,
641
635
  "multiple": false,
642
636
  "type": "option"
643
637
  },
644
- "passphrase": {
645
- "description": "Passphrase for the certificate",
646
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
647
- "helpGroup": "AUTH",
648
- "name": "passphrase",
638
+ "schema": {
639
+ "description": "Metadata schema name",
640
+ "helpGroup": "QUERY",
641
+ "name": "schema",
642
+ "default": "warehouse",
649
643
  "hasDynamicHelp": false,
650
644
  "multiple": false,
651
645
  "type": "option"
652
- },
653
- "selfsigned": {
654
- "description": "Allow self-signed server certificates",
655
- "env": "SFCC_SELFSIGNED",
656
- "helpGroup": "AUTH",
657
- "name": "selfsigned",
658
- "allowNo": false,
659
- "type": "boolean"
660
- },
661
- "verify": {
662
- "description": "Verify SSL certificates",
663
- "helpGroup": "AUTH",
664
- "name": "verify",
665
- "allowNo": true,
666
- "type": "boolean"
667
- },
668
- "reload": {
669
- "char": "r",
670
- "description": "Reload the code version (toggle activation to force reload)",
671
- "name": "reload",
672
- "allowNo": false,
673
- "type": "boolean"
674
646
  }
675
647
  },
676
648
  "hasDynamicHelp": false,
677
649
  "hiddenAliases": [],
678
- "id": "code:activate",
650
+ "id": "cip:describe",
679
651
  "pluginAlias": "@salesforce/b2c-cli",
680
652
  "pluginName": "@salesforce/b2c-cli",
681
653
  "pluginType": "core",
682
654
  "strict": true,
683
- "enableJsonFlag": false,
655
+ "enableJsonFlag": true,
684
656
  "isESM": true,
685
657
  "relativePath": [
686
658
  "dist",
687
659
  "commands",
688
- "code",
689
- "activate.js"
660
+ "cip",
661
+ "describe.js"
690
662
  ]
691
663
  },
692
- "code:delete": {
664
+ "cip:query": {
693
665
  "aliases": [],
694
666
  "args": {
695
- "codeVersion": {
696
- "description": "Code version ID to delete",
697
- "name": "codeVersion",
698
- "required": true
667
+ "sql": {
668
+ "description": "SQL query text",
669
+ "name": "sql",
670
+ "required": false
699
671
  }
700
672
  },
701
- "description": "Delete a code version\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-delete",
702
- "examples": [
703
- "<%= config.bin %> <%= command.id %> old-version",
704
- "<%= config.bin %> <%= command.id %> old-version --force",
705
- "<%= config.bin %> <%= command.id %> old-version --server my-sandbox.demandware.net"
706
- ],
673
+ "description": "Execute raw SQL against CIP analytics\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-query",
707
674
  "flags": {
675
+ "json": {
676
+ "description": "Output result as JSON",
677
+ "helpGroup": "GLOBAL",
678
+ "name": "json",
679
+ "allowNo": false,
680
+ "type": "boolean"
681
+ },
708
682
  "log-level": {
709
683
  "description": "Set logging verbosity level",
710
684
  "env": "SFCC_LOG_LEVEL",
@@ -731,13 +705,6 @@
731
705
  "allowNo": false,
732
706
  "type": "boolean"
733
707
  },
734
- "json": {
735
- "description": "Output result as JSON",
736
- "helpGroup": "GLOBAL",
737
- "name": "json",
738
- "allowNo": false,
739
- "type": "boolean"
740
- },
741
708
  "jsonl": {
742
709
  "aliases": [
743
710
  "json-logs"
@@ -906,99 +873,218 @@
906
873
  "multiple": false,
907
874
  "type": "option"
908
875
  },
909
- "server": {
910
- "char": "s",
911
- "description": "B2C instance hostname",
912
- "env": "SFCC_SERVER",
913
- "helpGroup": "INSTANCE",
914
- "name": "server",
876
+ "cip-host": {
877
+ "description": "CIP host override (default: jdbc.analytics.commercecloud.salesforce.com)",
878
+ "env": "SFCC_CIP_HOST",
879
+ "helpGroup": "QUERY",
880
+ "name": "cip-host",
915
881
  "hasDynamicHelp": false,
916
882
  "multiple": false,
917
883
  "type": "option"
918
884
  },
919
- "webdav-server": {
920
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
921
- "env": "SFCC_WEBDAV_SERVER",
922
- "helpGroup": "INSTANCE",
923
- "name": "webdav-server",
885
+ "staging": {
886
+ "description": "Use staging analytics host (jdbc.stg.analytics.commercecloud.salesforce.com)",
887
+ "env": "SFCC_CIP_STAGING",
888
+ "helpGroup": "QUERY",
889
+ "name": "staging",
890
+ "allowNo": false,
891
+ "type": "boolean"
892
+ },
893
+ "from": {
894
+ "description": "Inclusive start date (YYYY-MM-DD)",
895
+ "helpGroup": "QUERY",
896
+ "name": "from",
897
+ "default": "2026-02-01",
924
898
  "hasDynamicHelp": false,
925
899
  "multiple": false,
926
900
  "type": "option"
927
901
  },
928
- "code-version": {
929
- "char": "v",
930
- "description": "Code version",
931
- "env": "SFCC_CODE_VERSION",
932
- "helpGroup": "INSTANCE",
933
- "name": "code-version",
902
+ "to": {
903
+ "description": "Inclusive end date (YYYY-MM-DD)",
904
+ "helpGroup": "QUERY",
905
+ "name": "to",
906
+ "default": "2026-02-25",
934
907
  "hasDynamicHelp": false,
935
908
  "multiple": false,
936
909
  "type": "option"
937
910
  },
938
- "username": {
939
- "char": "u",
940
- "description": "Username for Basic Auth (WebDAV)",
941
- "env": "SFCC_USERNAME",
942
- "helpGroup": "AUTH",
943
- "name": "username",
911
+ "format": {
912
+ "description": "Output format",
913
+ "helpGroup": "QUERY",
914
+ "name": "format",
915
+ "default": "table",
944
916
  "hasDynamicHelp": false,
945
917
  "multiple": false,
918
+ "options": [
919
+ "table",
920
+ "json",
921
+ "csv"
922
+ ],
946
923
  "type": "option"
947
924
  },
948
- "password": {
949
- "char": "p",
950
- "description": "Password/access key for Basic Auth (WebDAV)",
951
- "env": "SFCC_PASSWORD",
952
- "helpGroup": "AUTH",
953
- "name": "password",
925
+ "fetch-size": {
926
+ "description": "Frame fetch size for CIP paging",
927
+ "helpGroup": "QUERY",
928
+ "name": "fetch-size",
929
+ "default": 1000,
954
930
  "hasDynamicHelp": false,
955
931
  "multiple": false,
956
932
  "type": "option"
957
933
  },
958
- "certificate": {
959
- "description": "Path to PKCS12 certificate for two-factor auth",
960
- "env": "SFCC_CERTIFICATE",
961
- "helpGroup": "AUTH",
962
- "name": "certificate",
934
+ "file": {
935
+ "char": "f",
936
+ "description": "Read SQL query from file",
937
+ "helpGroup": "QUERY",
938
+ "name": "file",
963
939
  "hasDynamicHelp": false,
964
940
  "multiple": false,
965
941
  "type": "option"
966
- },
967
- "passphrase": {
968
- "description": "Passphrase for the certificate",
969
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
970
- "helpGroup": "AUTH",
971
- "name": "passphrase",
942
+ }
943
+ },
944
+ "hasDynamicHelp": false,
945
+ "hiddenAliases": [],
946
+ "id": "cip:query",
947
+ "pluginAlias": "@salesforce/b2c-cli",
948
+ "pluginName": "@salesforce/b2c-cli",
949
+ "pluginType": "core",
950
+ "strict": true,
951
+ "enableJsonFlag": true,
952
+ "isESM": true,
953
+ "relativePath": [
954
+ "dist",
955
+ "commands",
956
+ "cip",
957
+ "query.js"
958
+ ]
959
+ },
960
+ "cip:report": {
961
+ "aliases": [],
962
+ "args": {},
963
+ "description": "Run curated CIP analytics reports\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-report",
964
+ "examples": [
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"
968
+ ],
969
+ "flags": {
970
+ "log-level": {
971
+ "description": "Set logging verbosity level",
972
+ "env": "SFCC_LOG_LEVEL",
973
+ "helpGroup": "GLOBAL",
974
+ "name": "log-level",
972
975
  "hasDynamicHelp": false,
973
976
  "multiple": false,
977
+ "options": [
978
+ "trace",
979
+ "debug",
980
+ "info",
981
+ "warn",
982
+ "error",
983
+ "silent"
984
+ ],
974
985
  "type": "option"
975
986
  },
976
- "selfsigned": {
977
- "description": "Allow self-signed server certificates",
978
- "env": "SFCC_SELFSIGNED",
979
- "helpGroup": "AUTH",
980
- "name": "selfsigned",
987
+ "debug": {
988
+ "char": "D",
989
+ "description": "Enable debug logging (shorthand for --log-level debug)",
990
+ "env": "SFCC_DEBUG",
991
+ "helpGroup": "GLOBAL",
992
+ "name": "debug",
981
993
  "allowNo": false,
982
994
  "type": "boolean"
983
995
  },
984
- "verify": {
985
- "description": "Verify SSL certificates",
986
- "helpGroup": "AUTH",
987
- "name": "verify",
988
- "allowNo": true,
996
+ "json": {
997
+ "description": "Output result as JSON",
998
+ "helpGroup": "GLOBAL",
999
+ "name": "json",
1000
+ "allowNo": false,
989
1001
  "type": "boolean"
990
1002
  },
991
- "force": {
992
- "char": "f",
993
- "description": "Skip confirmation prompt",
994
- "name": "force",
1003
+ "jsonl": {
1004
+ "aliases": [
1005
+ "json-logs"
1006
+ ],
1007
+ "description": "Output log messages as JSON lines",
1008
+ "env": "SFCC_JSON_LOGS",
1009
+ "helpGroup": "GLOBAL",
1010
+ "name": "jsonl",
995
1011
  "allowNo": false,
996
1012
  "type": "boolean"
1013
+ },
1014
+ "lang": {
1015
+ "char": "L",
1016
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
1017
+ "helpGroup": "GLOBAL",
1018
+ "name": "lang",
1019
+ "hasDynamicHelp": false,
1020
+ "multiple": false,
1021
+ "type": "option"
1022
+ },
1023
+ "config": {
1024
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
1025
+ "env": "SFCC_CONFIG",
1026
+ "helpGroup": "GLOBAL",
1027
+ "name": "config",
1028
+ "hasDynamicHelp": false,
1029
+ "multiple": false,
1030
+ "type": "option"
1031
+ },
1032
+ "instance": {
1033
+ "char": "i",
1034
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
1035
+ "env": "SFCC_INSTANCE",
1036
+ "helpGroup": "GLOBAL",
1037
+ "name": "instance",
1038
+ "hasDynamicHelp": false,
1039
+ "multiple": false,
1040
+ "type": "option"
1041
+ },
1042
+ "project-directory": {
1043
+ "aliases": [
1044
+ "working-directory"
1045
+ ],
1046
+ "description": "Project directory",
1047
+ "env": "SFCC_PROJECT_DIRECTORY",
1048
+ "helpGroup": "GLOBAL",
1049
+ "name": "project-directory",
1050
+ "hasDynamicHelp": false,
1051
+ "multiple": false,
1052
+ "type": "option"
1053
+ },
1054
+ "extra-query": {
1055
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
1056
+ "env": "SFCC_EXTRA_QUERY",
1057
+ "helpGroup": "GLOBAL",
1058
+ "hidden": true,
1059
+ "name": "extra-query",
1060
+ "hasDynamicHelp": false,
1061
+ "multiple": false,
1062
+ "type": "option"
1063
+ },
1064
+ "extra-body": {
1065
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
1066
+ "env": "SFCC_EXTRA_BODY",
1067
+ "helpGroup": "GLOBAL",
1068
+ "hidden": true,
1069
+ "name": "extra-body",
1070
+ "hasDynamicHelp": false,
1071
+ "multiple": false,
1072
+ "type": "option"
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"
997
1083
  }
998
1084
  },
999
1085
  "hasDynamicHelp": false,
1000
1086
  "hiddenAliases": [],
1001
- "id": "code:delete",
1087
+ "id": "cip:report",
1002
1088
  "pluginAlias": "@salesforce/b2c-cli",
1003
1089
  "pluginName": "@salesforce/b2c-cli",
1004
1090
  "pluginType": "core",
@@ -1008,29 +1094,14 @@
1008
1094
  "relativePath": [
1009
1095
  "dist",
1010
1096
  "commands",
1011
- "code",
1012
- "delete.js"
1097
+ "cip",
1098
+ "report.js"
1013
1099
  ]
1014
1100
  },
1015
- "code:deploy": {
1101
+ "cip:tables": {
1016
1102
  "aliases": [],
1017
- "args": {
1018
- "cartridgePath": {
1019
- "default": ".",
1020
- "description": "Path to cartridges directory",
1021
- "name": "cartridgePath"
1022
- }
1023
- },
1024
- "description": "Deploy cartridges to a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-deploy",
1025
- "examples": [
1026
- "<%= config.bin %> <%= command.id %>",
1027
- "<%= config.bin %> <%= command.id %> ./my-cartridges",
1028
- "<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net --code-version v1",
1029
- "<%= config.bin %> <%= command.id %> --reload",
1030
- "<%= config.bin %> <%= command.id %> --delete --reload",
1031
- "<%= config.bin %> <%= command.id %> -c app_storefront_base -c plugin_applepay",
1032
- "<%= config.bin %> <%= command.id %> -x test_cartridge"
1033
- ],
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",
1034
1105
  "flags": {
1035
1106
  "json": {
1036
1107
  "description": "Output result as JSON",
@@ -1233,181 +1304,122 @@
1233
1304
  "multiple": false,
1234
1305
  "type": "option"
1235
1306
  },
1236
- "server": {
1237
- "char": "s",
1238
- "description": "B2C instance hostname",
1239
- "env": "SFCC_SERVER",
1240
- "helpGroup": "INSTANCE",
1241
- "name": "server",
1242
- "hasDynamicHelp": false,
1243
- "multiple": false,
1244
- "type": "option"
1245
- },
1246
- "webdav-server": {
1247
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
1248
- "env": "SFCC_WEBDAV_SERVER",
1249
- "helpGroup": "INSTANCE",
1250
- "name": "webdav-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",
1251
1312
  "hasDynamicHelp": false,
1252
1313
  "multiple": false,
1253
1314
  "type": "option"
1254
1315
  },
1255
- "code-version": {
1256
- "char": "v",
1257
- "description": "Code version",
1258
- "env": "SFCC_CODE_VERSION",
1259
- "helpGroup": "INSTANCE",
1260
- "name": "code-version",
1261
- "hasDynamicHelp": false,
1262
- "multiple": false,
1263
- "type": "option"
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"
1264
1323
  },
1265
- "username": {
1266
- "char": "u",
1267
- "description": "Username for Basic Auth (WebDAV)",
1268
- "env": "SFCC_USERNAME",
1269
- "helpGroup": "AUTH",
1270
- "name": "username",
1324
+ "from": {
1325
+ "description": "Inclusive start date (YYYY-MM-DD)",
1326
+ "helpGroup": "QUERY",
1327
+ "name": "from",
1328
+ "default": "2026-02-01",
1271
1329
  "hasDynamicHelp": false,
1272
1330
  "multiple": false,
1273
1331
  "type": "option"
1274
1332
  },
1275
- "password": {
1276
- "char": "p",
1277
- "description": "Password/access key for Basic Auth (WebDAV)",
1278
- "env": "SFCC_PASSWORD",
1279
- "helpGroup": "AUTH",
1280
- "name": "password",
1333
+ "to": {
1334
+ "description": "Inclusive end date (YYYY-MM-DD)",
1335
+ "helpGroup": "QUERY",
1336
+ "name": "to",
1337
+ "default": "2026-02-25",
1281
1338
  "hasDynamicHelp": false,
1282
1339
  "multiple": false,
1283
1340
  "type": "option"
1284
1341
  },
1285
- "certificate": {
1286
- "description": "Path to PKCS12 certificate for two-factor auth",
1287
- "env": "SFCC_CERTIFICATE",
1288
- "helpGroup": "AUTH",
1289
- "name": "certificate",
1342
+ "format": {
1343
+ "description": "Output format",
1344
+ "helpGroup": "QUERY",
1345
+ "name": "format",
1346
+ "default": "table",
1290
1347
  "hasDynamicHelp": false,
1291
1348
  "multiple": false,
1349
+ "options": [
1350
+ "table",
1351
+ "json",
1352
+ "csv"
1353
+ ],
1292
1354
  "type": "option"
1293
1355
  },
1294
- "passphrase": {
1295
- "description": "Passphrase for the certificate",
1296
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
1297
- "helpGroup": "AUTH",
1298
- "name": "passphrase",
1356
+ "fetch-size": {
1357
+ "description": "Frame fetch size for CIP paging",
1358
+ "helpGroup": "QUERY",
1359
+ "name": "fetch-size",
1360
+ "default": 1000,
1299
1361
  "hasDynamicHelp": false,
1300
1362
  "multiple": false,
1301
1363
  "type": "option"
1302
1364
  },
1303
- "selfsigned": {
1304
- "description": "Allow self-signed server certificates",
1305
- "env": "SFCC_SELFSIGNED",
1306
- "helpGroup": "AUTH",
1307
- "name": "selfsigned",
1365
+ "all": {
1366
+ "description": "Include all table types (default only TABLE)",
1367
+ "helpGroup": "QUERY",
1368
+ "name": "all",
1308
1369
  "allowNo": false,
1309
1370
  "type": "boolean"
1310
1371
  },
1311
- "verify": {
1312
- "description": "Verify SSL certificates",
1313
- "helpGroup": "AUTH",
1314
- "name": "verify",
1315
- "allowNo": true,
1316
- "type": "boolean"
1317
- },
1318
- "cartridge": {
1319
- "char": "c",
1320
- "description": "Include specific cartridge(s) (comma-separated)",
1321
- "name": "cartridge",
1322
- "delimiter": ",",
1372
+ "pattern": {
1373
+ "description": "Table name pattern (SQL LIKE)",
1374
+ "helpGroup": "QUERY",
1375
+ "name": "pattern",
1323
1376
  "hasDynamicHelp": false,
1324
- "multiple": true,
1377
+ "multiple": false,
1325
1378
  "type": "option"
1326
1379
  },
1327
- "exclude-cartridge": {
1328
- "char": "x",
1329
- "description": "Exclude specific cartridge(s) (comma-separated)",
1330
- "name": "exclude-cartridge",
1331
- "delimiter": ",",
1332
- "hasDynamicHelp": false,
1333
- "multiple": true,
1380
+ "schema": {
1381
+ "description": "Metadata schema name",
1382
+ "helpGroup": "QUERY",
1383
+ "name": "schema",
1384
+ "default": "warehouse",
1385
+ "hasDynamicHelp": false,
1386
+ "multiple": false,
1334
1387
  "type": "option"
1335
- },
1336
- "reload": {
1337
- "char": "r",
1338
- "description": "Reload (re-activate) code version after deploy",
1339
- "name": "reload",
1340
- "allowNo": false,
1341
- "type": "boolean"
1342
- },
1343
- "delete": {
1344
- "description": "Delete existing cartridges before upload",
1345
- "name": "delete",
1346
- "allowNo": false,
1347
- "type": "boolean"
1348
1388
  }
1349
1389
  },
1350
1390
  "hasDynamicHelp": false,
1351
1391
  "hiddenAliases": [],
1352
- "id": "code:deploy",
1392
+ "id": "cip:tables",
1353
1393
  "pluginAlias": "@salesforce/b2c-cli",
1354
1394
  "pluginName": "@salesforce/b2c-cli",
1355
1395
  "pluginType": "core",
1356
1396
  "strict": true,
1357
1397
  "enableJsonFlag": true,
1358
- "baseArgs": {
1359
- "cartridgePath": {
1360
- "description": "Path to cartridges directory",
1361
- "default": ".",
1362
- "input": [],
1363
- "type": "option"
1364
- }
1365
- },
1366
- "cartridgeFlags": {
1367
- "cartridge": {
1368
- "char": "c",
1369
- "description": "Include specific cartridge(s) (comma-separated)",
1370
- "multiple": true,
1371
- "multipleNonGreedy": true,
1372
- "delimiter": ",",
1373
- "input": [],
1374
- "type": "option"
1375
- },
1376
- "exclude-cartridge": {
1377
- "char": "x",
1378
- "description": "Exclude specific cartridge(s) (comma-separated)",
1379
- "multiple": true,
1380
- "multipleNonGreedy": true,
1381
- "delimiter": ",",
1382
- "input": [],
1383
- "type": "option"
1384
- }
1385
- },
1386
1398
  "isESM": true,
1387
1399
  "relativePath": [
1388
1400
  "dist",
1389
1401
  "commands",
1390
- "code",
1391
- "deploy.js"
1402
+ "cip",
1403
+ "tables.js"
1392
1404
  ]
1393
1405
  },
1394
- "code:list": {
1406
+ "code:activate": {
1395
1407
  "aliases": [],
1396
- "args": {},
1397
- "description": "List code versions on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-list",
1408
+ "args": {
1409
+ "codeVersion": {
1410
+ "description": "Code version ID to activate",
1411
+ "name": "codeVersion",
1412
+ "required": false
1413
+ }
1414
+ },
1415
+ "description": "Activate or reload a code version\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-activate",
1398
1416
  "examples": [
1399
- "<%= config.bin %> <%= command.id %>",
1400
- "<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net",
1401
- "<%= config.bin %> <%= command.id %> --json"
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"
1402
1421
  ],
1403
1422
  "flags": {
1404
- "json": {
1405
- "description": "Output result as JSON",
1406
- "helpGroup": "GLOBAL",
1407
- "name": "json",
1408
- "allowNo": false,
1409
- "type": "boolean"
1410
- },
1411
1423
  "log-level": {
1412
1424
  "description": "Set logging verbosity level",
1413
1425
  "env": "SFCC_LOG_LEVEL",
@@ -1434,6 +1446,13 @@
1434
1446
  "allowNo": false,
1435
1447
  "type": "boolean"
1436
1448
  },
1449
+ "json": {
1450
+ "description": "Output result as JSON",
1451
+ "helpGroup": "GLOBAL",
1452
+ "name": "json",
1453
+ "allowNo": false,
1454
+ "type": "boolean"
1455
+ },
1437
1456
  "jsonl": {
1438
1457
  "aliases": [
1439
1458
  "json-logs"
@@ -1683,40 +1702,45 @@
1683
1702
  "name": "verify",
1684
1703
  "allowNo": true,
1685
1704
  "type": "boolean"
1705
+ },
1706
+ "reload": {
1707
+ "char": "r",
1708
+ "description": "Reload the code version (toggle activation to force reload)",
1709
+ "name": "reload",
1710
+ "allowNo": false,
1711
+ "type": "boolean"
1686
1712
  }
1687
1713
  },
1688
1714
  "hasDynamicHelp": false,
1689
1715
  "hiddenAliases": [],
1690
- "id": "code:list",
1716
+ "id": "code:activate",
1691
1717
  "pluginAlias": "@salesforce/b2c-cli",
1692
1718
  "pluginName": "@salesforce/b2c-cli",
1693
1719
  "pluginType": "core",
1694
1720
  "strict": true,
1695
- "enableJsonFlag": true,
1721
+ "enableJsonFlag": false,
1696
1722
  "isESM": true,
1697
1723
  "relativePath": [
1698
1724
  "dist",
1699
1725
  "commands",
1700
1726
  "code",
1701
- "list.js"
1727
+ "activate.js"
1702
1728
  ]
1703
1729
  },
1704
- "code:watch": {
1730
+ "code:delete": {
1705
1731
  "aliases": [],
1706
1732
  "args": {
1707
- "cartridgePath": {
1708
- "default": ".",
1709
- "description": "Path to cartridges directory",
1710
- "name": "cartridgePath"
1733
+ "codeVersion": {
1734
+ "description": "Code version ID to delete",
1735
+ "name": "codeVersion",
1736
+ "required": true
1711
1737
  }
1712
1738
  },
1713
- "description": "Watch cartridges and upload changes to an instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-watch",
1739
+ "description": "Delete a code version\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-delete",
1714
1740
  "examples": [
1715
- "<%= config.bin %> <%= command.id %>",
1716
- "<%= config.bin %> <%= command.id %> ./my-cartridges",
1717
- "<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net --code-version v1",
1718
- "<%= config.bin %> <%= command.id %> -c app_storefront_base",
1719
- "<%= 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"
1720
1744
  ],
1721
1745
  "flags": {
1722
1746
  "log-level": {
@@ -2002,79 +2026,49 @@
2002
2026
  "allowNo": true,
2003
2027
  "type": "boolean"
2004
2028
  },
2005
- "cartridge": {
2006
- "char": "c",
2007
- "description": "Include specific cartridge(s) (comma-separated)",
2008
- "name": "cartridge",
2009
- "delimiter": ",",
2010
- "hasDynamicHelp": false,
2011
- "multiple": true,
2012
- "type": "option"
2013
- },
2014
- "exclude-cartridge": {
2015
- "char": "x",
2016
- "description": "Exclude specific cartridge(s) (comma-separated)",
2017
- "name": "exclude-cartridge",
2018
- "delimiter": ",",
2019
- "hasDynamicHelp": false,
2020
- "multiple": true,
2021
- "type": "option"
2029
+ "force": {
2030
+ "char": "f",
2031
+ "description": "Skip confirmation prompt",
2032
+ "name": "force",
2033
+ "allowNo": false,
2034
+ "type": "boolean"
2022
2035
  }
2023
2036
  },
2024
2037
  "hasDynamicHelp": false,
2025
2038
  "hiddenAliases": [],
2026
- "id": "code:watch",
2039
+ "id": "code:delete",
2027
2040
  "pluginAlias": "@salesforce/b2c-cli",
2028
2041
  "pluginName": "@salesforce/b2c-cli",
2029
2042
  "pluginType": "core",
2030
2043
  "strict": true,
2031
2044
  "enableJsonFlag": false,
2032
- "baseArgs": {
2033
- "cartridgePath": {
2034
- "description": "Path to cartridges directory",
2035
- "default": ".",
2036
- "input": [],
2037
- "type": "option"
2038
- }
2039
- },
2040
- "cartridgeFlags": {
2041
- "cartridge": {
2042
- "char": "c",
2043
- "description": "Include specific cartridge(s) (comma-separated)",
2044
- "multiple": true,
2045
- "multipleNonGreedy": true,
2046
- "delimiter": ",",
2047
- "input": [],
2048
- "type": "option"
2049
- },
2050
- "exclude-cartridge": {
2051
- "char": "x",
2052
- "description": "Exclude specific cartridge(s) (comma-separated)",
2053
- "multiple": true,
2054
- "multipleNonGreedy": true,
2055
- "delimiter": ",",
2056
- "input": [],
2057
- "type": "option"
2058
- }
2059
- },
2060
2045
  "isESM": true,
2061
2046
  "relativePath": [
2062
2047
  "dist",
2063
2048
  "commands",
2064
2049
  "code",
2065
- "watch.js"
2050
+ "delete.js"
2066
2051
  ]
2067
2052
  },
2068
- "cip:describe": {
2053
+ "code:deploy": {
2069
2054
  "aliases": [],
2070
2055
  "args": {
2071
- "table": {
2072
- "description": "Table name to describe",
2073
- "name": "table",
2074
- "required": true
2056
+ "cartridgePath": {
2057
+ "default": ".",
2058
+ "description": "Path to cartridges directory",
2059
+ "name": "cartridgePath"
2075
2060
  }
2076
2061
  },
2077
- "description": "Describe columns for a CIP table\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-describe",
2062
+ "description": "Deploy cartridges to a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/code.html#b2c-code-deploy",
2063
+ "examples": [
2064
+ "<%= 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"
2071
+ ],
2078
2072
  "flags": {
2079
2073
  "json": {
2080
2074
  "description": "Output result as JSON",
@@ -2277,100 +2271,173 @@
2277
2271
  "multiple": false,
2278
2272
  "type": "option"
2279
2273
  },
2280
- "cip-host": {
2281
- "description": "CIP host override (default: jdbc.analytics.commercecloud.salesforce.com)",
2282
- "env": "SFCC_CIP_HOST",
2283
- "helpGroup": "QUERY",
2284
- "name": "cip-host",
2274
+ "server": {
2275
+ "char": "s",
2276
+ "description": "B2C instance hostname",
2277
+ "env": "SFCC_SERVER",
2278
+ "helpGroup": "INSTANCE",
2279
+ "name": "server",
2285
2280
  "hasDynamicHelp": false,
2286
2281
  "multiple": false,
2287
2282
  "type": "option"
2288
2283
  },
2289
- "staging": {
2290
- "description": "Use staging analytics host (jdbc.stg.analytics.commercecloud.salesforce.com)",
2291
- "env": "SFCC_CIP_STAGING",
2292
- "helpGroup": "QUERY",
2293
- "name": "staging",
2294
- "allowNo": false,
2295
- "type": "boolean"
2284
+ "webdav-server": {
2285
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
2286
+ "env": "SFCC_WEBDAV_SERVER",
2287
+ "helpGroup": "INSTANCE",
2288
+ "name": "webdav-server",
2289
+ "hasDynamicHelp": false,
2290
+ "multiple": false,
2291
+ "type": "option"
2296
2292
  },
2297
- "from": {
2298
- "description": "Inclusive start date (YYYY-MM-DD)",
2299
- "helpGroup": "QUERY",
2300
- "name": "from",
2301
- "default": "2026-02-01",
2293
+ "code-version": {
2294
+ "char": "v",
2295
+ "description": "Code version",
2296
+ "env": "SFCC_CODE_VERSION",
2297
+ "helpGroup": "INSTANCE",
2298
+ "name": "code-version",
2302
2299
  "hasDynamicHelp": false,
2303
2300
  "multiple": false,
2304
2301
  "type": "option"
2305
2302
  },
2306
- "to": {
2307
- "description": "Inclusive end date (YYYY-MM-DD)",
2308
- "helpGroup": "QUERY",
2309
- "name": "to",
2310
- "default": "2026-02-24",
2303
+ "username": {
2304
+ "char": "u",
2305
+ "description": "Username for Basic Auth (WebDAV)",
2306
+ "env": "SFCC_USERNAME",
2307
+ "helpGroup": "AUTH",
2308
+ "name": "username",
2311
2309
  "hasDynamicHelp": false,
2312
2310
  "multiple": false,
2313
2311
  "type": "option"
2314
2312
  },
2315
- "format": {
2316
- "description": "Output format",
2317
- "helpGroup": "QUERY",
2318
- "name": "format",
2319
- "default": "table",
2313
+ "password": {
2314
+ "char": "p",
2315
+ "description": "Password/access key for Basic Auth (WebDAV)",
2316
+ "env": "SFCC_PASSWORD",
2317
+ "helpGroup": "AUTH",
2318
+ "name": "password",
2320
2319
  "hasDynamicHelp": false,
2321
2320
  "multiple": false,
2322
- "options": [
2323
- "table",
2324
- "json",
2325
- "csv"
2326
- ],
2327
2321
  "type": "option"
2328
2322
  },
2329
- "fetch-size": {
2330
- "description": "Frame fetch size for CIP paging",
2331
- "helpGroup": "QUERY",
2332
- "name": "fetch-size",
2333
- "default": 1000,
2323
+ "certificate": {
2324
+ "description": "Path to PKCS12 certificate for two-factor auth",
2325
+ "env": "SFCC_CERTIFICATE",
2326
+ "helpGroup": "AUTH",
2327
+ "name": "certificate",
2334
2328
  "hasDynamicHelp": false,
2335
2329
  "multiple": false,
2336
2330
  "type": "option"
2337
2331
  },
2338
- "schema": {
2339
- "description": "Metadata schema name",
2340
- "helpGroup": "QUERY",
2341
- "name": "schema",
2342
- "default": "warehouse",
2332
+ "passphrase": {
2333
+ "description": "Passphrase for the certificate",
2334
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
2335
+ "helpGroup": "AUTH",
2336
+ "name": "passphrase",
2343
2337
  "hasDynamicHelp": false,
2344
2338
  "multiple": false,
2345
2339
  "type": "option"
2340
+ },
2341
+ "selfsigned": {
2342
+ "description": "Allow self-signed server certificates",
2343
+ "env": "SFCC_SELFSIGNED",
2344
+ "helpGroup": "AUTH",
2345
+ "name": "selfsigned",
2346
+ "allowNo": false,
2347
+ "type": "boolean"
2348
+ },
2349
+ "verify": {
2350
+ "description": "Verify SSL certificates",
2351
+ "helpGroup": "AUTH",
2352
+ "name": "verify",
2353
+ "allowNo": true,
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"
2346
2386
  }
2347
2387
  },
2348
2388
  "hasDynamicHelp": false,
2349
2389
  "hiddenAliases": [],
2350
- "id": "cip:describe",
2390
+ "id": "code:deploy",
2351
2391
  "pluginAlias": "@salesforce/b2c-cli",
2352
2392
  "pluginName": "@salesforce/b2c-cli",
2353
2393
  "pluginType": "core",
2354
2394
  "strict": true,
2355
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
+ },
2356
2424
  "isESM": true,
2357
2425
  "relativePath": [
2358
2426
  "dist",
2359
2427
  "commands",
2360
- "cip",
2361
- "describe.js"
2428
+ "code",
2429
+ "deploy.js"
2362
2430
  ]
2363
2431
  },
2364
- "cip:query": {
2432
+ "code:list": {
2365
2433
  "aliases": [],
2366
- "args": {
2367
- "sql": {
2368
- "description": "SQL query text",
2369
- "name": "sql",
2370
- "required": false
2371
- }
2372
- },
2373
- "description": "Execute raw SQL against CIP analytics\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-query",
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",
2436
+ "examples": [
2437
+ "<%= config.bin %> <%= command.id %>",
2438
+ "<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net",
2439
+ "<%= config.bin %> <%= command.id %> --json"
2440
+ ],
2374
2441
  "flags": {
2375
2442
  "json": {
2376
2443
  "description": "Output result as JSON",
@@ -2573,77 +2640,92 @@
2573
2640
  "multiple": false,
2574
2641
  "type": "option"
2575
2642
  },
2576
- "cip-host": {
2577
- "description": "CIP host override (default: jdbc.analytics.commercecloud.salesforce.com)",
2578
- "env": "SFCC_CIP_HOST",
2579
- "helpGroup": "QUERY",
2580
- "name": "cip-host",
2643
+ "server": {
2644
+ "char": "s",
2645
+ "description": "B2C instance hostname",
2646
+ "env": "SFCC_SERVER",
2647
+ "helpGroup": "INSTANCE",
2648
+ "name": "server",
2581
2649
  "hasDynamicHelp": false,
2582
2650
  "multiple": false,
2583
2651
  "type": "option"
2584
2652
  },
2585
- "staging": {
2586
- "description": "Use staging analytics host (jdbc.stg.analytics.commercecloud.salesforce.com)",
2587
- "env": "SFCC_CIP_STAGING",
2588
- "helpGroup": "QUERY",
2589
- "name": "staging",
2590
- "allowNo": false,
2591
- "type": "boolean"
2653
+ "webdav-server": {
2654
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
2655
+ "env": "SFCC_WEBDAV_SERVER",
2656
+ "helpGroup": "INSTANCE",
2657
+ "name": "webdav-server",
2658
+ "hasDynamicHelp": false,
2659
+ "multiple": false,
2660
+ "type": "option"
2592
2661
  },
2593
- "from": {
2594
- "description": "Inclusive start date (YYYY-MM-DD)",
2595
- "helpGroup": "QUERY",
2596
- "name": "from",
2597
- "default": "2026-02-01",
2662
+ "code-version": {
2663
+ "char": "v",
2664
+ "description": "Code version",
2665
+ "env": "SFCC_CODE_VERSION",
2666
+ "helpGroup": "INSTANCE",
2667
+ "name": "code-version",
2598
2668
  "hasDynamicHelp": false,
2599
2669
  "multiple": false,
2600
2670
  "type": "option"
2601
2671
  },
2602
- "to": {
2603
- "description": "Inclusive end date (YYYY-MM-DD)",
2604
- "helpGroup": "QUERY",
2605
- "name": "to",
2606
- "default": "2026-02-24",
2672
+ "username": {
2673
+ "char": "u",
2674
+ "description": "Username for Basic Auth (WebDAV)",
2675
+ "env": "SFCC_USERNAME",
2676
+ "helpGroup": "AUTH",
2677
+ "name": "username",
2607
2678
  "hasDynamicHelp": false,
2608
2679
  "multiple": false,
2609
2680
  "type": "option"
2610
2681
  },
2611
- "format": {
2612
- "description": "Output format",
2613
- "helpGroup": "QUERY",
2614
- "name": "format",
2615
- "default": "table",
2682
+ "password": {
2683
+ "char": "p",
2684
+ "description": "Password/access key for Basic Auth (WebDAV)",
2685
+ "env": "SFCC_PASSWORD",
2686
+ "helpGroup": "AUTH",
2687
+ "name": "password",
2616
2688
  "hasDynamicHelp": false,
2617
2689
  "multiple": false,
2618
- "options": [
2619
- "table",
2620
- "json",
2621
- "csv"
2622
- ],
2623
2690
  "type": "option"
2624
2691
  },
2625
- "fetch-size": {
2626
- "description": "Frame fetch size for CIP paging",
2627
- "helpGroup": "QUERY",
2628
- "name": "fetch-size",
2629
- "default": 1000,
2692
+ "certificate": {
2693
+ "description": "Path to PKCS12 certificate for two-factor auth",
2694
+ "env": "SFCC_CERTIFICATE",
2695
+ "helpGroup": "AUTH",
2696
+ "name": "certificate",
2630
2697
  "hasDynamicHelp": false,
2631
2698
  "multiple": false,
2632
2699
  "type": "option"
2633
2700
  },
2634
- "file": {
2635
- "char": "f",
2636
- "description": "Read SQL query from file",
2637
- "helpGroup": "QUERY",
2638
- "name": "file",
2701
+ "passphrase": {
2702
+ "description": "Passphrase for the certificate",
2703
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
2704
+ "helpGroup": "AUTH",
2705
+ "name": "passphrase",
2639
2706
  "hasDynamicHelp": false,
2640
2707
  "multiple": false,
2641
2708
  "type": "option"
2709
+ },
2710
+ "selfsigned": {
2711
+ "description": "Allow self-signed server certificates",
2712
+ "env": "SFCC_SELFSIGNED",
2713
+ "helpGroup": "AUTH",
2714
+ "name": "selfsigned",
2715
+ "allowNo": false,
2716
+ "type": "boolean"
2717
+ },
2718
+ "verify": {
2719
+ "description": "Verify SSL certificates",
2720
+ "helpGroup": "AUTH",
2721
+ "name": "verify",
2722
+ "allowNo": true,
2723
+ "type": "boolean"
2642
2724
  }
2643
2725
  },
2644
2726
  "hasDynamicHelp": false,
2645
2727
  "hiddenAliases": [],
2646
- "id": "cip:query",
2728
+ "id": "code:list",
2647
2729
  "pluginAlias": "@salesforce/b2c-cli",
2648
2730
  "pluginName": "@salesforce/b2c-cli",
2649
2731
  "pluginType": "core",
@@ -2653,18 +2735,26 @@
2653
2735
  "relativePath": [
2654
2736
  "dist",
2655
2737
  "commands",
2656
- "cip",
2657
- "query.js"
2738
+ "code",
2739
+ "list.js"
2658
2740
  ]
2659
2741
  },
2660
- "cip:report": {
2742
+ "code:watch": {
2661
2743
  "aliases": [],
2662
- "args": {},
2663
- "description": "Run curated CIP analytics reports\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-report",
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",
2664
2752
  "examples": [
2665
- "<%= config.bin %> cip report --help",
2666
- "<%= config.bin %> cip report sales-analytics --site-id Sites-SiteGenesis-Site",
2667
- "<%= config.bin %> cip report sales-analytics --site-id Sites-SiteGenesis-Site --sql"
2753
+ "<%= 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"
2668
2758
  ],
2669
2759
  "flags": {
2670
2760
  "log-level": {
@@ -2771,142 +2861,6 @@
2771
2861
  "multiple": false,
2772
2862
  "type": "option"
2773
2863
  },
2774
- "extra-headers": {
2775
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
2776
- "env": "SFCC_EXTRA_HEADERS",
2777
- "helpGroup": "GLOBAL",
2778
- "hidden": true,
2779
- "name": "extra-headers",
2780
- "hasDynamicHelp": false,
2781
- "multiple": false,
2782
- "type": "option"
2783
- }
2784
- },
2785
- "hasDynamicHelp": false,
2786
- "hiddenAliases": [],
2787
- "id": "cip:report",
2788
- "pluginAlias": "@salesforce/b2c-cli",
2789
- "pluginName": "@salesforce/b2c-cli",
2790
- "pluginType": "core",
2791
- "strict": true,
2792
- "enableJsonFlag": false,
2793
- "isESM": true,
2794
- "relativePath": [
2795
- "dist",
2796
- "commands",
2797
- "cip",
2798
- "report.js"
2799
- ]
2800
- },
2801
- "cip:tables": {
2802
- "aliases": [],
2803
- "args": {},
2804
- "description": "List tables from CIP metadata catalog\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/cip.html#b2c-cip-tables",
2805
- "flags": {
2806
- "json": {
2807
- "description": "Output result as JSON",
2808
- "helpGroup": "GLOBAL",
2809
- "name": "json",
2810
- "allowNo": false,
2811
- "type": "boolean"
2812
- },
2813
- "log-level": {
2814
- "description": "Set logging verbosity level",
2815
- "env": "SFCC_LOG_LEVEL",
2816
- "helpGroup": "GLOBAL",
2817
- "name": "log-level",
2818
- "hasDynamicHelp": false,
2819
- "multiple": false,
2820
- "options": [
2821
- "trace",
2822
- "debug",
2823
- "info",
2824
- "warn",
2825
- "error",
2826
- "silent"
2827
- ],
2828
- "type": "option"
2829
- },
2830
- "debug": {
2831
- "char": "D",
2832
- "description": "Enable debug logging (shorthand for --log-level debug)",
2833
- "env": "SFCC_DEBUG",
2834
- "helpGroup": "GLOBAL",
2835
- "name": "debug",
2836
- "allowNo": false,
2837
- "type": "boolean"
2838
- },
2839
- "jsonl": {
2840
- "aliases": [
2841
- "json-logs"
2842
- ],
2843
- "description": "Output log messages as JSON lines",
2844
- "env": "SFCC_JSON_LOGS",
2845
- "helpGroup": "GLOBAL",
2846
- "name": "jsonl",
2847
- "allowNo": false,
2848
- "type": "boolean"
2849
- },
2850
- "lang": {
2851
- "char": "L",
2852
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
2853
- "helpGroup": "GLOBAL",
2854
- "name": "lang",
2855
- "hasDynamicHelp": false,
2856
- "multiple": false,
2857
- "type": "option"
2858
- },
2859
- "config": {
2860
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
2861
- "env": "SFCC_CONFIG",
2862
- "helpGroup": "GLOBAL",
2863
- "name": "config",
2864
- "hasDynamicHelp": false,
2865
- "multiple": false,
2866
- "type": "option"
2867
- },
2868
- "instance": {
2869
- "char": "i",
2870
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
2871
- "env": "SFCC_INSTANCE",
2872
- "helpGroup": "GLOBAL",
2873
- "name": "instance",
2874
- "hasDynamicHelp": false,
2875
- "multiple": false,
2876
- "type": "option"
2877
- },
2878
- "project-directory": {
2879
- "aliases": [
2880
- "working-directory"
2881
- ],
2882
- "description": "Project directory",
2883
- "env": "SFCC_PROJECT_DIRECTORY",
2884
- "helpGroup": "GLOBAL",
2885
- "name": "project-directory",
2886
- "hasDynamicHelp": false,
2887
- "multiple": false,
2888
- "type": "option"
2889
- },
2890
- "extra-query": {
2891
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
2892
- "env": "SFCC_EXTRA_QUERY",
2893
- "helpGroup": "GLOBAL",
2894
- "hidden": true,
2895
- "name": "extra-query",
2896
- "hasDynamicHelp": false,
2897
- "multiple": false,
2898
- "type": "option"
2899
- },
2900
- "extra-body": {
2901
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
2902
- "env": "SFCC_EXTRA_BODY",
2903
- "helpGroup": "GLOBAL",
2904
- "hidden": true,
2905
- "name": "extra-body",
2906
- "hasDynamicHelp": false,
2907
- "multiple": false,
2908
- "type": "option"
2909
- },
2910
2864
  "extra-headers": {
2911
2865
  "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
2912
2866
  "env": "SFCC_EXTRA_HEADERS",
@@ -3004,103 +2958,149 @@
3004
2958
  "multiple": false,
3005
2959
  "type": "option"
3006
2960
  },
3007
- "cip-host": {
3008
- "description": "CIP host override (default: jdbc.analytics.commercecloud.salesforce.com)",
3009
- "env": "SFCC_CIP_HOST",
3010
- "helpGroup": "QUERY",
3011
- "name": "cip-host",
2961
+ "server": {
2962
+ "char": "s",
2963
+ "description": "B2C instance hostname",
2964
+ "env": "SFCC_SERVER",
2965
+ "helpGroup": "INSTANCE",
2966
+ "name": "server",
3012
2967
  "hasDynamicHelp": false,
3013
2968
  "multiple": false,
3014
2969
  "type": "option"
3015
2970
  },
3016
- "staging": {
3017
- "description": "Use staging analytics host (jdbc.stg.analytics.commercecloud.salesforce.com)",
3018
- "env": "SFCC_CIP_STAGING",
3019
- "helpGroup": "QUERY",
3020
- "name": "staging",
3021
- "allowNo": false,
3022
- "type": "boolean"
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"
3023
2979
  },
3024
- "from": {
3025
- "description": "Inclusive start date (YYYY-MM-DD)",
3026
- "helpGroup": "QUERY",
3027
- "name": "from",
3028
- "default": "2026-02-01",
2980
+ "code-version": {
2981
+ "char": "v",
2982
+ "description": "Code version",
2983
+ "env": "SFCC_CODE_VERSION",
2984
+ "helpGroup": "INSTANCE",
2985
+ "name": "code-version",
3029
2986
  "hasDynamicHelp": false,
3030
2987
  "multiple": false,
3031
2988
  "type": "option"
3032
2989
  },
3033
- "to": {
3034
- "description": "Inclusive end date (YYYY-MM-DD)",
3035
- "helpGroup": "QUERY",
3036
- "name": "to",
3037
- "default": "2026-02-24",
2990
+ "username": {
2991
+ "char": "u",
2992
+ "description": "Username for Basic Auth (WebDAV)",
2993
+ "env": "SFCC_USERNAME",
2994
+ "helpGroup": "AUTH",
2995
+ "name": "username",
3038
2996
  "hasDynamicHelp": false,
3039
2997
  "multiple": false,
3040
2998
  "type": "option"
3041
2999
  },
3042
- "format": {
3043
- "description": "Output format",
3044
- "helpGroup": "QUERY",
3045
- "name": "format",
3046
- "default": "table",
3000
+ "password": {
3001
+ "char": "p",
3002
+ "description": "Password/access key for Basic Auth (WebDAV)",
3003
+ "env": "SFCC_PASSWORD",
3004
+ "helpGroup": "AUTH",
3005
+ "name": "password",
3047
3006
  "hasDynamicHelp": false,
3048
3007
  "multiple": false,
3049
- "options": [
3050
- "table",
3051
- "json",
3052
- "csv"
3053
- ],
3054
3008
  "type": "option"
3055
3009
  },
3056
- "fetch-size": {
3057
- "description": "Frame fetch size for CIP paging",
3058
- "helpGroup": "QUERY",
3059
- "name": "fetch-size",
3060
- "default": 1000,
3010
+ "certificate": {
3011
+ "description": "Path to PKCS12 certificate for two-factor auth",
3012
+ "env": "SFCC_CERTIFICATE",
3013
+ "helpGroup": "AUTH",
3014
+ "name": "certificate",
3061
3015
  "hasDynamicHelp": false,
3062
3016
  "multiple": false,
3063
3017
  "type": "option"
3064
3018
  },
3065
- "all": {
3066
- "description": "Include all table types (default only TABLE)",
3067
- "helpGroup": "QUERY",
3068
- "name": "all",
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",
3069
3033
  "allowNo": false,
3070
3034
  "type": "boolean"
3071
3035
  },
3072
- "pattern": {
3073
- "description": "Table name pattern (SQL LIKE)",
3074
- "helpGroup": "QUERY",
3075
- "name": "pattern",
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": ",",
3076
3048
  "hasDynamicHelp": false,
3077
- "multiple": false,
3049
+ "multiple": true,
3078
3050
  "type": "option"
3079
3051
  },
3080
- "schema": {
3081
- "description": "Metadata schema name",
3082
- "helpGroup": "QUERY",
3083
- "name": "schema",
3084
- "default": "warehouse",
3052
+ "exclude-cartridge": {
3053
+ "char": "x",
3054
+ "description": "Exclude specific cartridge(s) (comma-separated)",
3055
+ "name": "exclude-cartridge",
3056
+ "delimiter": ",",
3085
3057
  "hasDynamicHelp": false,
3086
- "multiple": false,
3058
+ "multiple": true,
3087
3059
  "type": "option"
3088
3060
  }
3089
3061
  },
3090
3062
  "hasDynamicHelp": false,
3091
3063
  "hiddenAliases": [],
3092
- "id": "cip:tables",
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": true,
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
- "cip",
3103
- "tables.js"
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-24",
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-24",
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-24",
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-24",
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-24",
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-24",
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-24",
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-24",
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-24",
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-24",
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
- "extended": {
46467
- "char": "x",
46468
- "description": "Show all columns including extended fields",
46469
- "name": "extended",
46470
- "allowNo": false,
46471
- "type": "boolean"
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:rulesets:list",
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
- "rulesets",
46488
- "list.js"
46234
+ "rules",
46235
+ "update.js"
46489
46236
  ]
46490
46237
  },
46491
- "ecdn:waf:rulesets:update": {
46238
+ "ecdn:waf:rulesets:list": {
46492
46239
  "aliases": [],
46493
46240
  "args": {},
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",
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 --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"
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
- "ruleset-id": {
46712
- "description": "WAF ruleset ID to update",
46713
- "name": "ruleset-id",
46714
- "required": true,
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
- "enabled": {
46720
- "description": "Enable the ruleset",
46721
- "name": "enabled",
46722
- "allowNo": true,
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:update",
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
- "update.js"
46488
+ "list.js"
46762
46489
  ]
46763
46490
  },
46764
- "mrt:env:access-control:list": {
46491
+ "ecdn:waf:rulesets:update": {
46765
46492
  "aliases": [],
46766
46493
  "args": {},
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",
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 %> --project my-storefront --environment production",
46770
- "<%= config.bin %> <%= command.id %> -p my-storefront -e production --json"
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
- "api-key": {
46888
- "description": "MRT API key",
46889
- "env": "SFCC_MRT_API_KEY",
46615
+ "client-id": {
46616
+ "description": "Client ID for OAuth",
46617
+ "env": "SFCC_CLIENT_ID",
46890
46618
  "helpGroup": "AUTH",
46891
- "name": "api-key",
46619
+ "name": "client-id",
46892
46620
  "hasDynamicHelp": false,
46893
46621
  "multiple": false,
46894
46622
  "type": "option"
46895
46623
  },
46896
- "project": {
46897
- "char": "p",
46898
- "description": "MRT project slug (or set mrtProject in dw.json)",
46899
- "env": "SFCC_MRT_PROJECT",
46900
- "name": "project",
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
- "environment": {
46906
- "char": "e",
46907
- "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
46908
- "env": "SFCC_MRT_ENVIRONMENT",
46909
- "name": "environment",
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
- "cloud-origin": {
46915
- "description": "MRT cloud origin URL (or set mrtOrigin in dw.json; default: https://cloud.mobify.com)",
46916
- "env": "SFCC_MRT_CLOUD_ORIGIN",
46917
- "name": "cloud-origin",
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
- "credentials-file": {
46923
- "description": "Path to MRT credentials file (overrides default ~/.mobify)",
46924
- "env": "MRT_CREDENTIALS_FILE",
46925
- "name": "credentials-file",
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
- "limit": {
46931
- "description": "Maximum number of results to return",
46932
- "name": "limit",
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
- "offset": {
46938
- "description": "Offset for pagination",
46939
- "name": "offset",
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": "mrt:env:access-control:list",
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
- "mrt",
46958
- "env",
46959
- "access-control",
46960
- "list.js"
46758
+ "ecdn",
46759
+ "waf",
46760
+ "rulesets",
46761
+ "update.js"
46961
46762
  ]
46962
46763
  },
46963
- "mrt:env:redirect:clone": {
46764
+ "mrt:env:access-control:list": {
46964
46765
  "aliases": [],
46965
46766
  "args": {},
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",
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 --from staging --to production",
46969
- "<%= config.bin %> <%= command.id %> -p my-storefront --from staging --to production --force"
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
- "from": {
47130
- "description": "Source environment to clone redirects from",
47131
- "name": "from",
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
- "to": {
47138
- "description": "Destination environment to clone redirects to",
47139
- "name": "to",
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:redirect:clone",
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
- "redirect",
47168
- "clone.js"
46959
+ "access-control",
46960
+ "list.js"
47169
46961
  ]
47170
46962
  },
47171
- "mrt:env:redirect:create": {
46963
+ "mrt:env:redirect:clone": {
47172
46964
  "aliases": [],
47173
46965
  "args": {},
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",
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 --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"
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 path to redirect from",
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 URL to redirect to",
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:delete",
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
- "delete.js"
47168
+ "clone.js"
47593
47169
  ]
47594
47170
  },
47595
- "mrt:env:redirect:list": {
47171
+ "mrt:env:redirect:create": {
47596
47172
  "aliases": [],
47597
47173
  "args": {},
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",
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 --search \"/old\"",
47602
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --json"
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
- "limit": {
47763
- "description": "Maximum number of results to return",
47764
- "name": "limit",
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
- "offset": {
47770
- "description": "Offset for pagination",
47771
- "name": "offset",
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
- "search": {
47777
- "description": "Search term for filtering",
47778
- "name": "search",
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:list",
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
- "list.js"
47394
+ "create.js"
47800
47395
  ]
47801
47396
  },
47802
- "mrt:env:var:delete": {
47397
+ "mrt:env:redirect:delete": {
47803
47398
  "aliases": [],
47804
47399
  "args": {
47805
- "key": {
47806
- "description": "Environment variable name",
47807
- "name": "key",
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 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",
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 %> MY_VAR --project acme-storefront --environment production",
47814
- "<%= config.bin %> <%= command.id %> OLD_API_KEY -p my-project -e staging"
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:var:delete",
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
- "var",
47591
+ "redirect",
47990
47592
  "delete.js"
47991
47593
  ]
47992
47594
  },
47993
- "mrt:env:var:list": {
47595
+ "mrt:env:redirect:list": {
47994
47596
  "aliases": [],
47995
47597
  "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",
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 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"
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:var:list",
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
- "var",
47798
+ "redirect",
48176
47799
  "list.js"
48177
47800
  ]
48178
47801
  },
48179
- "mrt:env:var:set": {
47802
+ "mrt:env:var:delete": {
48180
47803
  "aliases": [],
48181
47804
  "args": {
48182
- "variables": {
48183
- "description": "Environment variables in KEY=value format",
48184
- "name": "variables",
47805
+ "key": {
47806
+ "description": "Environment variable name",
47807
+ "name": "key",
48185
47808
  "required": true
48186
47809
  }
48187
47810
  },
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",
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=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"
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:set",
47977
+ "id": "mrt:env:var:delete",
48356
47978
  "pluginAlias": "@salesforce/b2c-cli",
48357
47979
  "pluginName": "@salesforce/b2c-cli",
48358
47980
  "pluginType": "core",
48359
- "strict": false,
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
- "set.js"
47990
+ "delete.js"
48369
47991
  ]
48370
47992
  },
48371
- "mrt:project:member:add": {
47993
+ "mrt:env:var:list": {
48372
47994
  "aliases": [],
48373
- "args": {
48374
- "email": {
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 %> user@example.com --project my-storefront --role 1",
48383
- "<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --role 0"
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
- "role": {
48544
- "char": "r",
48545
- "description": "Role for the member (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
48546
- "name": "role",
48547
- "required": true,
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
- "0",
48552
- "1",
48553
- "2",
48554
- "3"
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:project:member:add",
48355
+ "id": "mrt:env:var:set",
48562
48356
  "pluginAlias": "@salesforce/b2c-cli",
48563
48357
  "pluginName": "@salesforce/b2c-cli",
48564
48358
  "pluginType": "core",
48565
- "strict": true,
48359
+ "strict": false,
48566
48360
  "enableJsonFlag": true,
48567
48361
  "isESM": true,
48568
48362
  "relativePath": [
48569
48363
  "dist",
48570
48364
  "commands",
48571
48365
  "mrt",
48572
- "project",
48573
- "member",
48574
- "add.js"
48366
+ "env",
48367
+ "var",
48368
+ "set.js"
48575
48369
  ]
48576
48370
  },
48577
- "mrt:project:member:get": {
48371
+ "mrt:project:notification:create": {
48578
48372
  "aliases": [],
48579
- "args": {
48580
- "email": {
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 %> user@example.com --project my-storefront",
48589
- "<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --json"
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:member:get",
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
- "member",
48765
- "get.js"
48588
+ "notification",
48589
+ "create.js"
48766
48590
  ]
48767
48591
  },
48768
- "mrt:project:member:list": {
48592
+ "mrt:project:notification:delete": {
48769
48593
  "aliases": [],
48770
- "args": {},
48771
- "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",
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 --role 0",
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
- "limit": {
48937
- "description": "Maximum number of results to return",
48938
- "name": "limit",
48939
- "hasDynamicHelp": false,
48940
- "multiple": false,
48941
- "type": "option"
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:member:list",
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
- "member",
48986
- "list.js"
48786
+ "notification",
48787
+ "delete.js"
48987
48788
  ]
48988
48789
  },
48989
- "mrt:project:member:remove": {
48790
+ "mrt:project:notification:get": {
48990
48791
  "aliases": [],
48991
48792
  "args": {
48992
- "email": {
48993
- "description": "Email address of the member to remove",
48994
- "name": "email",
48793
+ "id": {
48794
+ "description": "Notification ID",
48795
+ "name": "id",
48995
48796
  "required": true
48996
48797
  }
48997
48798
  },
48998
- "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",
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 %> user@example.com --project my-storefront",
49001
- "<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --force"
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:member:remove",
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
- "member",
49184
- "remove.js"
48977
+ "notification",
48978
+ "get.js"
49185
48979
  ]
49186
48980
  },
49187
- "mrt:project:member:update": {
48981
+ "mrt:project:notification:list": {
49188
48982
  "aliases": [],
49189
- "args": {
49190
- "email": {
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 %> user@example.com --project my-storefront --role 0",
49199
- "<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --role 1"
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
- "role": {
49360
- "char": "r",
49361
- "description": "New role for the member (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
49362
- "name": "role",
49363
- "required": true,
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:member:update",
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
- "member",
49390
- "update.js"
49184
+ "notification",
49185
+ "list.js"
49391
49186
  ]
49392
49187
  },
49393
- "mrt:project:notification:create": {
49188
+ "mrt:project:notification:update": {
49394
49189
  "aliases": [],
49395
- "args": {},
49396
- "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",
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 --target staging --recipient team@example.com --on-start --on-failed",
49399
- "<%= config.bin %> <%= command.id %> -p my-storefront --target staging --target production --recipient ops@example.com"
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": false,
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": false,
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": false,
49391
+ "allowNo": true,
49593
49392
  "type": "boolean"
49594
49393
  }
49595
49394
  },
49596
49395
  "hasDynamicHelp": false,
49597
49396
  "hiddenAliases": [],
49598
- "id": "mrt:project:notification:create",
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
- "create.js"
49410
+ "update.js"
49612
49411
  ]
49613
49412
  },
49614
- "mrt:project:notification:delete": {
49413
+ "mrt:project:member:add": {
49615
49414
  "aliases": [],
49616
49415
  "args": {
49617
- "id": {
49618
- "description": "Notification ID to delete",
49619
- "name": "id",
49416
+ "email": {
49417
+ "description": "Email address of the user to add",
49418
+ "name": "email",
49620
49419
  "required": true
49621
49420
  }
49622
49421
  },
49623
- "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",
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 %> abc-123 --project my-storefront",
49626
- "<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --force"
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
- "force": {
49787
- "char": "f",
49788
- "description": "Skip confirmation prompt",
49789
- "name": "force",
49790
- "allowNo": false,
49791
- "type": "boolean"
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:notification:delete",
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
- "notification",
49809
- "delete.js"
49615
+ "member",
49616
+ "add.js"
49810
49617
  ]
49811
49618
  },
49812
- "mrt:project:notification:get": {
49619
+ "mrt:project:member:get": {
49813
49620
  "aliases": [],
49814
49621
  "args": {
49815
- "id": {
49816
- "description": "Notification ID",
49817
- "name": "id",
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 notification\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-get",
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 %> abc-123 --project my-storefront",
49824
- "<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --json"
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:notification:get",
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
- "notification",
49806
+ "member",
50000
49807
  "get.js"
50001
49808
  ]
50002
49809
  },
50003
- "mrt:project:notification:list": {
49810
+ "mrt:project:member:list": {
50004
49811
  "aliases": [],
50005
49812
  "args": {},
50006
- "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",
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 --target staging",
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
- "target": {
50185
- "description": "Filter by target slug",
50186
- "name": "target",
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:notification:list",
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
- "notification",
50027
+ "member",
50207
50028
  "list.js"
50208
50029
  ]
50209
50030
  },
50210
- "mrt:project:notification:update": {
50031
+ "mrt:project:member:remove": {
50211
50032
  "aliases": [],
50212
50033
  "args": {
50213
- "id": {
50214
- "description": "Notification ID",
50215
- "name": "id",
50034
+ "email": {
50035
+ "description": "Email address of the member to remove",
50036
+ "name": "email",
50216
50037
  "required": true
50217
50038
  }
50218
50039
  },
50219
- "description": "Update a Managed Runtime notification\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-update",
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 %> abc-123 --project my-storefront --on-start --on-failed",
50222
- "<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --recipient new-team@example.com"
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
- "target": {
50383
- "char": "t",
50384
- "description": "Target slug to associate with this notification (can be specified multiple times)",
50385
- "name": "target",
50386
- "hasDynamicHelp": false,
50387
- "multiple": true,
50388
- "type": "option"
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
- "recipient": {
50391
- "char": "r",
50392
- "description": "Email recipient for this notification (can be specified multiple times)",
50393
- "name": "recipient",
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": true,
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
- "on-start": {
50399
- "description": "Trigger notification when deployment starts",
50400
- "name": "on-start",
50401
- "allowNo": true,
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
- "on-success": {
50405
- "description": "Trigger notification when deployment succeeds",
50406
- "name": "on-success",
50407
- "allowNo": true,
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
- "on-failed": {
50411
- "description": "Trigger notification when deployment fails",
50412
- "name": "on-failed",
50413
- "allowNo": true,
50414
- "type": "boolean"
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:notification:update",
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
- "notification",
50431
+ "member",
50432
50432
  "update.js"
50433
50433
  ]
50434
50434
  }
50435
50435
  },
50436
- "version": "0.5.2"
50436
+ "version": "0.5.3"
50437
50437
  }