@salesforce/b2c-cli 0.0.8 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6008,23 +6008,21 @@
6008
6008
  "list.js"
6009
6009
  ]
6010
6010
  },
6011
- "mrt:env:create": {
6011
+ "webdav:get": {
6012
6012
  "aliases": [],
6013
6013
  "args": {
6014
- "slug": {
6015
- "description": "Environment slug/identifier (e.g., staging, production)",
6016
- "name": "slug",
6014
+ "remote": {
6015
+ "description": "Remote file path relative to root",
6016
+ "name": "remote",
6017
6017
  "required": true
6018
6018
  }
6019
6019
  },
6020
- "description": "Create a new Managed Runtime environment",
6020
+ "description": "Download a file from WebDAV",
6021
6021
  "examples": [
6022
- "<%= config.bin %> <%= command.id %> staging --project my-storefront",
6023
- "<%= config.bin %> <%= command.id %> staging --project my-storefront --name \"Staging Environment\"",
6024
- "<%= config.bin %> <%= command.id %> production --project my-storefront --production",
6025
- "<%= config.bin %> <%= command.id %> feature-test -p my-storefront --region eu-west-1",
6026
- "<%= config.bin %> <%= command.id %> staging -p my-storefront --proxy api=api.example.com --proxy ocapi=ocapi.example.com",
6027
- "<%= config.bin %> <%= command.id %> staging -p my-storefront --wait"
6022
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip",
6023
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip -o ./downloads/export.zip",
6024
+ "<%= config.bin %> <%= command.id %> --root=logs customerror.log",
6025
+ "<%= config.bin %> <%= command.id %> --root=logs customerror.log -o -"
6028
6026
  ],
6029
6027
  "flags": {
6030
6028
  "json": {
@@ -6127,147 +6125,150 @@
6127
6125
  "multiple": false,
6128
6126
  "type": "option"
6129
6127
  },
6130
- "api-key": {
6131
- "description": "MRT API key",
6132
- "env": "SFCC_MRT_API_KEY",
6128
+ "client-id": {
6129
+ "description": "Client ID for OAuth",
6130
+ "env": "SFCC_CLIENT_ID",
6133
6131
  "helpGroup": "AUTH",
6134
- "name": "api-key",
6132
+ "name": "client-id",
6135
6133
  "hasDynamicHelp": false,
6136
6134
  "multiple": false,
6137
6135
  "type": "option"
6138
6136
  },
6139
- "project": {
6140
- "char": "p",
6141
- "description": "MRT project slug (or set mrtProject in dw.json)",
6142
- "env": "SFCC_MRT_PROJECT",
6143
- "name": "project",
6137
+ "client-secret": {
6138
+ "description": "Client Secret for OAuth",
6139
+ "env": "SFCC_CLIENT_SECRET",
6140
+ "helpGroup": "AUTH",
6141
+ "name": "client-secret",
6144
6142
  "hasDynamicHelp": false,
6145
6143
  "multiple": false,
6146
6144
  "type": "option"
6147
6145
  },
6148
- "environment": {
6149
- "char": "e",
6150
- "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
6151
- "env": "SFCC_MRT_ENVIRONMENT",
6152
- "name": "environment",
6146
+ "scope": {
6147
+ "description": "OAuth scopes to request (comma-separated)",
6148
+ "env": "SFCC_OAUTH_SCOPES",
6149
+ "helpGroup": "AUTH",
6150
+ "name": "scope",
6151
+ "delimiter": ",",
6153
6152
  "hasDynamicHelp": false,
6154
- "multiple": false,
6153
+ "multiple": true,
6155
6154
  "type": "option"
6156
6155
  },
6157
- "cloud-origin": {
6158
- "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
6159
- "env": "SFCC_MRT_CLOUD_ORIGIN",
6160
- "name": "cloud-origin",
6156
+ "short-code": {
6157
+ "description": "SCAPI short code",
6158
+ "env": "SFCC_SHORTCODE",
6159
+ "helpGroup": "AUTH",
6160
+ "name": "short-code",
6161
6161
  "hasDynamicHelp": false,
6162
6162
  "multiple": false,
6163
6163
  "type": "option"
6164
6164
  },
6165
- "credentials-file": {
6166
- "description": "Path to MRT credentials file (overrides default ~/.mobify)",
6167
- "env": "MRT_CREDENTIALS_FILE",
6168
- "name": "credentials-file",
6165
+ "auth-methods": {
6166
+ "description": "Allowed auth methods in priority order (comma-separated)",
6167
+ "env": "SFCC_AUTH_METHODS",
6168
+ "helpGroup": "AUTH",
6169
+ "name": "auth-methods",
6170
+ "delimiter": ",",
6169
6171
  "hasDynamicHelp": false,
6170
- "multiple": false,
6172
+ "multiple": true,
6173
+ "options": [
6174
+ "client-credentials",
6175
+ "implicit",
6176
+ "basic",
6177
+ "api-key"
6178
+ ],
6171
6179
  "type": "option"
6172
6180
  },
6173
- "name": {
6174
- "char": "n",
6175
- "description": "Display name for the environment (defaults to slug)",
6176
- "name": "name",
6181
+ "account-manager-host": {
6182
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
6183
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
6184
+ "helpGroup": "AUTH",
6185
+ "name": "account-manager-host",
6177
6186
  "hasDynamicHelp": false,
6178
6187
  "multiple": false,
6179
6188
  "type": "option"
6180
6189
  },
6181
- "region": {
6182
- "char": "r",
6183
- "description": "AWS region for SSR deployment",
6184
- "name": "region",
6190
+ "server": {
6191
+ "char": "s",
6192
+ "description": "B2C instance hostname",
6193
+ "env": "SFCC_SERVER",
6194
+ "helpGroup": "INSTANCE",
6195
+ "name": "server",
6185
6196
  "hasDynamicHelp": false,
6186
6197
  "multiple": false,
6187
- "options": [
6188
- "us-east-1",
6189
- "us-east-2",
6190
- "us-west-1",
6191
- "us-west-2",
6192
- "ap-south-1",
6193
- "ap-south-2",
6194
- "ap-northeast-2",
6195
- "ap-southeast-1",
6196
- "ap-southeast-2",
6197
- "ap-southeast-3",
6198
- "ap-northeast-1",
6199
- "ap-northeast-3",
6200
- "ca-central-1",
6201
- "eu-central-1",
6202
- "eu-central-2",
6203
- "eu-west-1",
6204
- "eu-west-2",
6205
- "eu-west-3",
6206
- "eu-north-1",
6207
- "eu-south-1",
6208
- "il-central-1",
6209
- "me-central-1",
6210
- "sa-east-1"
6211
- ],
6212
6198
  "type": "option"
6213
6199
  },
6214
- "production": {
6215
- "description": "Mark as a production environment",
6216
- "name": "production",
6217
- "allowNo": false,
6218
- "type": "boolean"
6219
- },
6220
- "hostname": {
6221
- "description": "Hostname pattern for V8 Tag loading",
6222
- "name": "hostname",
6200
+ "webdav-server": {
6201
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
6202
+ "env": "SFCC_WEBDAV_SERVER",
6203
+ "helpGroup": "INSTANCE",
6204
+ "name": "webdav-server",
6223
6205
  "hasDynamicHelp": false,
6224
6206
  "multiple": false,
6225
6207
  "type": "option"
6226
6208
  },
6227
- "external-hostname": {
6228
- "description": "Full external hostname (e.g., www.example.com)",
6229
- "name": "external-hostname",
6209
+ "code-version": {
6210
+ "char": "v",
6211
+ "description": "Code version",
6212
+ "env": "SFCC_CODE_VERSION",
6213
+ "helpGroup": "INSTANCE",
6214
+ "name": "code-version",
6230
6215
  "hasDynamicHelp": false,
6231
6216
  "multiple": false,
6232
6217
  "type": "option"
6233
6218
  },
6234
- "external-domain": {
6235
- "description": "External domain for Universal PWA SSR (e.g., example.com)",
6236
- "name": "external-domain",
6219
+ "username": {
6220
+ "char": "u",
6221
+ "description": "Username for Basic Auth (WebDAV)",
6222
+ "env": "SFCC_USERNAME",
6223
+ "helpGroup": "AUTH",
6224
+ "name": "username",
6237
6225
  "hasDynamicHelp": false,
6238
6226
  "multiple": false,
6239
6227
  "type": "option"
6240
6228
  },
6241
- "allow-cookies": {
6242
- "description": "Forward HTTP cookies to origin",
6243
- "name": "allow-cookies",
6244
- "allowNo": true,
6245
- "type": "boolean"
6246
- },
6247
- "enable-source-maps": {
6248
- "description": "Enable source map support in the environment",
6249
- "name": "enable-source-maps",
6250
- "allowNo": true,
6251
- "type": "boolean"
6229
+ "password": {
6230
+ "char": "p",
6231
+ "description": "Password/access key for Basic Auth (WebDAV)",
6232
+ "env": "SFCC_PASSWORD",
6233
+ "helpGroup": "AUTH",
6234
+ "name": "password",
6235
+ "hasDynamicHelp": false,
6236
+ "multiple": false,
6237
+ "type": "option"
6252
6238
  },
6253
- "proxy": {
6254
- "description": "Proxy configuration in format path=host (can be specified multiple times)",
6255
- "name": "proxy",
6239
+ "root": {
6240
+ "char": "r",
6241
+ "description": "WebDAV root directory",
6242
+ "helpGroup": "WEBDAV",
6243
+ "name": "root",
6244
+ "default": "IMPEX",
6256
6245
  "hasDynamicHelp": false,
6257
- "multiple": true,
6246
+ "multiple": false,
6247
+ "options": [
6248
+ "impex",
6249
+ "temp",
6250
+ "cartridges",
6251
+ "realmdata",
6252
+ "catalogs",
6253
+ "libraries",
6254
+ "static",
6255
+ "logs",
6256
+ "securitylogs"
6257
+ ],
6258
6258
  "type": "option"
6259
6259
  },
6260
- "wait": {
6261
- "char": "w",
6262
- "description": "Wait for the environment to be ready before returning",
6263
- "name": "wait",
6264
- "allowNo": false,
6265
- "type": "boolean"
6260
+ "output": {
6261
+ "char": "o",
6262
+ "description": "Output file path (use - for stdout, defaults to filename in current directory)",
6263
+ "name": "output",
6264
+ "hasDynamicHelp": false,
6265
+ "multiple": false,
6266
+ "type": "option"
6266
6267
  }
6267
6268
  },
6268
6269
  "hasDynamicHelp": false,
6269
6270
  "hiddenAliases": [],
6270
- "id": "mrt:env:create",
6271
+ "id": "webdav:get",
6271
6272
  "pluginAlias": "@salesforce/b2c-cli",
6272
6273
  "pluginName": "@salesforce/b2c-cli",
6273
6274
  "pluginType": "core",
@@ -6277,24 +6278,25 @@
6277
6278
  "relativePath": [
6278
6279
  "dist",
6279
6280
  "commands",
6280
- "mrt",
6281
- "env",
6282
- "create.js"
6281
+ "webdav",
6282
+ "get.js"
6283
6283
  ]
6284
6284
  },
6285
- "mrt:env:delete": {
6285
+ "webdav:ls": {
6286
6286
  "aliases": [],
6287
6287
  "args": {
6288
- "slug": {
6289
- "description": "Environment slug/identifier to delete",
6290
- "name": "slug",
6291
- "required": true
6288
+ "path": {
6289
+ "default": "",
6290
+ "description": "Path relative to root (defaults to root directory)",
6291
+ "name": "path"
6292
6292
  }
6293
6293
  },
6294
- "description": "Delete a Managed Runtime environment",
6294
+ "description": "List files and directories in a WebDAV location",
6295
6295
  "examples": [
6296
- "<%= config.bin %> <%= command.id %> feature-test --project my-storefront",
6297
- "<%= config.bin %> <%= command.id %> old-staging -p my-storefront --force"
6296
+ "<%= config.bin %> <%= command.id %>",
6297
+ "<%= config.bin %> <%= command.id %> src/instance",
6298
+ "<%= config.bin %> <%= command.id %> --root=cartridges",
6299
+ "<%= config.bin %> <%= command.id %> --root=logs --json"
6298
6300
  ],
6299
6301
  "flags": {
6300
6302
  "json": {
@@ -6397,60 +6399,142 @@
6397
6399
  "multiple": false,
6398
6400
  "type": "option"
6399
6401
  },
6400
- "api-key": {
6401
- "description": "MRT API key",
6402
- "env": "SFCC_MRT_API_KEY",
6402
+ "client-id": {
6403
+ "description": "Client ID for OAuth",
6404
+ "env": "SFCC_CLIENT_ID",
6403
6405
  "helpGroup": "AUTH",
6404
- "name": "api-key",
6406
+ "name": "client-id",
6405
6407
  "hasDynamicHelp": false,
6406
6408
  "multiple": false,
6407
6409
  "type": "option"
6408
6410
  },
6409
- "project": {
6410
- "char": "p",
6411
- "description": "MRT project slug (or set mrtProject in dw.json)",
6412
- "env": "SFCC_MRT_PROJECT",
6413
- "name": "project",
6411
+ "client-secret": {
6412
+ "description": "Client Secret for OAuth",
6413
+ "env": "SFCC_CLIENT_SECRET",
6414
+ "helpGroup": "AUTH",
6415
+ "name": "client-secret",
6414
6416
  "hasDynamicHelp": false,
6415
6417
  "multiple": false,
6416
6418
  "type": "option"
6417
6419
  },
6418
- "environment": {
6419
- "char": "e",
6420
- "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
6421
- "env": "SFCC_MRT_ENVIRONMENT",
6422
- "name": "environment",
6420
+ "scope": {
6421
+ "description": "OAuth scopes to request (comma-separated)",
6422
+ "env": "SFCC_OAUTH_SCOPES",
6423
+ "helpGroup": "AUTH",
6424
+ "name": "scope",
6425
+ "delimiter": ",",
6426
+ "hasDynamicHelp": false,
6427
+ "multiple": true,
6428
+ "type": "option"
6429
+ },
6430
+ "short-code": {
6431
+ "description": "SCAPI short code",
6432
+ "env": "SFCC_SHORTCODE",
6433
+ "helpGroup": "AUTH",
6434
+ "name": "short-code",
6423
6435
  "hasDynamicHelp": false,
6424
6436
  "multiple": false,
6425
6437
  "type": "option"
6426
6438
  },
6427
- "cloud-origin": {
6428
- "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
6429
- "env": "SFCC_MRT_CLOUD_ORIGIN",
6430
- "name": "cloud-origin",
6439
+ "auth-methods": {
6440
+ "description": "Allowed auth methods in priority order (comma-separated)",
6441
+ "env": "SFCC_AUTH_METHODS",
6442
+ "helpGroup": "AUTH",
6443
+ "name": "auth-methods",
6444
+ "delimiter": ",",
6445
+ "hasDynamicHelp": false,
6446
+ "multiple": true,
6447
+ "options": [
6448
+ "client-credentials",
6449
+ "implicit",
6450
+ "basic",
6451
+ "api-key"
6452
+ ],
6453
+ "type": "option"
6454
+ },
6455
+ "account-manager-host": {
6456
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
6457
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
6458
+ "helpGroup": "AUTH",
6459
+ "name": "account-manager-host",
6431
6460
  "hasDynamicHelp": false,
6432
6461
  "multiple": false,
6433
6462
  "type": "option"
6434
6463
  },
6435
- "credentials-file": {
6436
- "description": "Path to MRT credentials file (overrides default ~/.mobify)",
6437
- "env": "MRT_CREDENTIALS_FILE",
6438
- "name": "credentials-file",
6464
+ "server": {
6465
+ "char": "s",
6466
+ "description": "B2C instance hostname",
6467
+ "env": "SFCC_SERVER",
6468
+ "helpGroup": "INSTANCE",
6469
+ "name": "server",
6439
6470
  "hasDynamicHelp": false,
6440
6471
  "multiple": false,
6441
6472
  "type": "option"
6442
6473
  },
6443
- "force": {
6444
- "char": "f",
6445
- "description": "Skip confirmation prompt",
6446
- "name": "force",
6447
- "allowNo": false,
6448
- "type": "boolean"
6474
+ "webdav-server": {
6475
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
6476
+ "env": "SFCC_WEBDAV_SERVER",
6477
+ "helpGroup": "INSTANCE",
6478
+ "name": "webdav-server",
6479
+ "hasDynamicHelp": false,
6480
+ "multiple": false,
6481
+ "type": "option"
6482
+ },
6483
+ "code-version": {
6484
+ "char": "v",
6485
+ "description": "Code version",
6486
+ "env": "SFCC_CODE_VERSION",
6487
+ "helpGroup": "INSTANCE",
6488
+ "name": "code-version",
6489
+ "hasDynamicHelp": false,
6490
+ "multiple": false,
6491
+ "type": "option"
6492
+ },
6493
+ "username": {
6494
+ "char": "u",
6495
+ "description": "Username for Basic Auth (WebDAV)",
6496
+ "env": "SFCC_USERNAME",
6497
+ "helpGroup": "AUTH",
6498
+ "name": "username",
6499
+ "hasDynamicHelp": false,
6500
+ "multiple": false,
6501
+ "type": "option"
6502
+ },
6503
+ "password": {
6504
+ "char": "p",
6505
+ "description": "Password/access key for Basic Auth (WebDAV)",
6506
+ "env": "SFCC_PASSWORD",
6507
+ "helpGroup": "AUTH",
6508
+ "name": "password",
6509
+ "hasDynamicHelp": false,
6510
+ "multiple": false,
6511
+ "type": "option"
6512
+ },
6513
+ "root": {
6514
+ "char": "r",
6515
+ "description": "WebDAV root directory",
6516
+ "helpGroup": "WEBDAV",
6517
+ "name": "root",
6518
+ "default": "IMPEX",
6519
+ "hasDynamicHelp": false,
6520
+ "multiple": false,
6521
+ "options": [
6522
+ "impex",
6523
+ "temp",
6524
+ "cartridges",
6525
+ "realmdata",
6526
+ "catalogs",
6527
+ "libraries",
6528
+ "static",
6529
+ "logs",
6530
+ "securitylogs"
6531
+ ],
6532
+ "type": "option"
6449
6533
  }
6450
6534
  },
6451
6535
  "hasDynamicHelp": false,
6452
6536
  "hiddenAliases": [],
6453
- "id": "mrt:env:delete",
6537
+ "id": "webdav:ls",
6454
6538
  "pluginAlias": "@salesforce/b2c-cli",
6455
6539
  "pluginName": "@salesforce/b2c-cli",
6456
6540
  "pluginType": "core",
@@ -6460,23 +6544,24 @@
6460
6544
  "relativePath": [
6461
6545
  "dist",
6462
6546
  "commands",
6463
- "mrt",
6464
- "env",
6465
- "delete.js"
6547
+ "webdav",
6548
+ "ls.js"
6466
6549
  ]
6467
6550
  },
6468
- "scapi:custom:status": {
6551
+ "webdav:mkdir": {
6469
6552
  "aliases": [],
6470
- "args": {},
6471
- "description": "Get the status of Custom API endpoints",
6553
+ "args": {
6554
+ "path": {
6555
+ "description": "Directory path to create (relative to root)",
6556
+ "name": "path",
6557
+ "required": true
6558
+ }
6559
+ },
6560
+ "description": "Create a directory on WebDAV",
6472
6561
  "examples": [
6473
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd",
6474
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --status active",
6475
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --group-by type",
6476
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --group-by site",
6477
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --extended",
6478
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --columns type,apiName,status,sites",
6479
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --json"
6562
+ "<%= config.bin %> <%= command.id %> src/instance/my-folder",
6563
+ "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir",
6564
+ "<%= config.bin %> <%= command.id %> --root=cartridges new-cartridge"
6480
6565
  ],
6481
6566
  "flags": {
6482
6567
  "json": {
@@ -6641,58 +6726,80 @@
6641
6726
  "multiple": false,
6642
6727
  "type": "option"
6643
6728
  },
6644
- "tenant-id": {
6645
- "description": "Organization/tenant ID",
6646
- "env": "SFCC_TENANT_ID",
6647
- "name": "tenant-id",
6648
- "required": true,
6729
+ "server": {
6730
+ "char": "s",
6731
+ "description": "B2C instance hostname",
6732
+ "env": "SFCC_SERVER",
6733
+ "helpGroup": "INSTANCE",
6734
+ "name": "server",
6649
6735
  "hasDynamicHelp": false,
6650
6736
  "multiple": false,
6651
6737
  "type": "option"
6652
6738
  },
6653
- "status": {
6654
- "char": "s",
6655
- "description": "Filter by endpoint status",
6656
- "name": "status",
6739
+ "webdav-server": {
6740
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
6741
+ "env": "SFCC_WEBDAV_SERVER",
6742
+ "helpGroup": "INSTANCE",
6743
+ "name": "webdav-server",
6657
6744
  "hasDynamicHelp": false,
6658
6745
  "multiple": false,
6659
- "options": [
6660
- "active",
6661
- "not_registered"
6662
- ],
6663
6746
  "type": "option"
6664
6747
  },
6665
- "group-by": {
6666
- "char": "g",
6667
- "description": "Group output by field (type or site)",
6668
- "name": "group-by",
6748
+ "code-version": {
6749
+ "char": "v",
6750
+ "description": "Code version",
6751
+ "env": "SFCC_CODE_VERSION",
6752
+ "helpGroup": "INSTANCE",
6753
+ "name": "code-version",
6669
6754
  "hasDynamicHelp": false,
6670
6755
  "multiple": false,
6671
- "options": [
6672
- "type",
6673
- "site"
6674
- ],
6675
6756
  "type": "option"
6676
6757
  },
6677
- "columns": {
6678
- "char": "c",
6679
- "description": "Columns to display (comma-separated). Available: type, apiName, apiVersion, cartridgeName, endpointPath, httpMethod, status, sites, securityScheme, operationId, schemaFile, implementationScript, errorReason, id",
6680
- "name": "columns",
6758
+ "username": {
6759
+ "char": "u",
6760
+ "description": "Username for Basic Auth (WebDAV)",
6761
+ "env": "SFCC_USERNAME",
6762
+ "helpGroup": "AUTH",
6763
+ "name": "username",
6681
6764
  "hasDynamicHelp": false,
6682
6765
  "multiple": false,
6683
6766
  "type": "option"
6684
6767
  },
6685
- "extended": {
6686
- "char": "x",
6687
- "description": "Show all columns including extended fields",
6688
- "name": "extended",
6689
- "allowNo": false,
6690
- "type": "boolean"
6768
+ "password": {
6769
+ "char": "p",
6770
+ "description": "Password/access key for Basic Auth (WebDAV)",
6771
+ "env": "SFCC_PASSWORD",
6772
+ "helpGroup": "AUTH",
6773
+ "name": "password",
6774
+ "hasDynamicHelp": false,
6775
+ "multiple": false,
6776
+ "type": "option"
6777
+ },
6778
+ "root": {
6779
+ "char": "r",
6780
+ "description": "WebDAV root directory",
6781
+ "helpGroup": "WEBDAV",
6782
+ "name": "root",
6783
+ "default": "IMPEX",
6784
+ "hasDynamicHelp": false,
6785
+ "multiple": false,
6786
+ "options": [
6787
+ "impex",
6788
+ "temp",
6789
+ "cartridges",
6790
+ "realmdata",
6791
+ "catalogs",
6792
+ "libraries",
6793
+ "static",
6794
+ "logs",
6795
+ "securitylogs"
6796
+ ],
6797
+ "type": "option"
6691
6798
  }
6692
6799
  },
6693
6800
  "hasDynamicHelp": false,
6694
6801
  "hiddenAliases": [],
6695
- "id": "scapi:custom:status",
6802
+ "id": "webdav:mkdir",
6696
6803
  "pluginAlias": "@salesforce/b2c-cli",
6697
6804
  "pluginName": "@salesforce/b2c-cli",
6698
6805
  "pluginType": "core",
@@ -6702,26 +6809,30 @@
6702
6809
  "relativePath": [
6703
6810
  "dist",
6704
6811
  "commands",
6705
- "scapi",
6706
- "custom",
6707
- "status.js"
6812
+ "webdav",
6813
+ "mkdir.js"
6708
6814
  ]
6709
6815
  },
6710
- "webdav:get": {
6816
+ "webdav:put": {
6711
6817
  "aliases": [],
6712
6818
  "args": {
6819
+ "local": {
6820
+ "description": "Local file path to upload",
6821
+ "name": "local",
6822
+ "required": true
6823
+ },
6713
6824
  "remote": {
6714
- "description": "Remote file path relative to root",
6825
+ "description": "Remote destination (directory or file path). If ending with / or is /, uses source filename.",
6715
6826
  "name": "remote",
6716
6827
  "required": true
6717
6828
  }
6718
6829
  },
6719
- "description": "Download a file from WebDAV",
6830
+ "description": "Upload a file to WebDAV",
6720
6831
  "examples": [
6721
- "<%= config.bin %> <%= command.id %> src/instance/export.zip",
6722
- "<%= config.bin %> <%= command.id %> src/instance/export.zip -o ./downloads/export.zip",
6723
- "<%= config.bin %> <%= command.id %> --root=logs customerror.log",
6724
- "<%= config.bin %> <%= command.id %> --root=logs customerror.log -o -"
6832
+ "<%= config.bin %> <%= command.id %> ./export.zip / # uploads to root as export.zip",
6833
+ "<%= config.bin %> <%= command.id %> ./export.zip src/instance/ # uploads to src/instance/export.zip",
6834
+ "<%= config.bin %> <%= command.id %> ./data.xml src/instance/renamed.xml # uploads with new name",
6835
+ "<%= config.bin %> <%= command.id %> ./file.tar.gz / --root=temp # uploads to Temp/file.tar.gz"
6725
6836
  ],
6726
6837
  "flags": {
6727
6838
  "json": {
@@ -6955,19 +7066,11 @@
6955
7066
  "securitylogs"
6956
7067
  ],
6957
7068
  "type": "option"
6958
- },
6959
- "output": {
6960
- "char": "o",
6961
- "description": "Output file path (use - for stdout, defaults to filename in current directory)",
6962
- "name": "output",
6963
- "hasDynamicHelp": false,
6964
- "multiple": false,
6965
- "type": "option"
6966
7069
  }
6967
7070
  },
6968
7071
  "hasDynamicHelp": false,
6969
7072
  "hiddenAliases": [],
6970
- "id": "webdav:get",
7073
+ "id": "webdav:put",
6971
7074
  "pluginAlias": "@salesforce/b2c-cli",
6972
7075
  "pluginName": "@salesforce/b2c-cli",
6973
7076
  "pluginType": "core",
@@ -6978,24 +7081,23 @@
6978
7081
  "dist",
6979
7082
  "commands",
6980
7083
  "webdav",
6981
- "get.js"
7084
+ "put.js"
6982
7085
  ]
6983
7086
  },
6984
- "webdav:ls": {
7087
+ "webdav:rm": {
6985
7088
  "aliases": [],
6986
7089
  "args": {
6987
7090
  "path": {
6988
- "default": "",
6989
- "description": "Path relative to root (defaults to root directory)",
6990
- "name": "path"
7091
+ "description": "Path to delete relative to root",
7092
+ "name": "path",
7093
+ "required": true
6991
7094
  }
6992
7095
  },
6993
- "description": "List files and directories in a WebDAV location",
7096
+ "description": "Delete a file or directory from WebDAV",
6994
7097
  "examples": [
6995
- "<%= config.bin %> <%= command.id %>",
6996
- "<%= config.bin %> <%= command.id %> src/instance",
6997
- "<%= config.bin %> <%= command.id %> --root=cartridges",
6998
- "<%= config.bin %> <%= command.id %> --root=logs --json"
7098
+ "<%= config.bin %> <%= command.id %> src/instance/old-export.zip",
7099
+ "<%= config.bin %> <%= command.id %> src/instance/old-export.zip --force",
7100
+ "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir --force"
6999
7101
  ],
7000
7102
  "flags": {
7001
7103
  "json": {
@@ -7229,11 +7331,18 @@
7229
7331
  "securitylogs"
7230
7332
  ],
7231
7333
  "type": "option"
7334
+ },
7335
+ "force": {
7336
+ "char": "f",
7337
+ "description": "Skip confirmation prompt",
7338
+ "name": "force",
7339
+ "allowNo": false,
7340
+ "type": "boolean"
7232
7341
  }
7233
7342
  },
7234
7343
  "hasDynamicHelp": false,
7235
7344
  "hiddenAliases": [],
7236
- "id": "webdav:ls",
7345
+ "id": "webdav:rm",
7237
7346
  "pluginAlias": "@salesforce/b2c-cli",
7238
7347
  "pluginName": "@salesforce/b2c-cli",
7239
7348
  "pluginType": "core",
@@ -7244,23 +7353,22 @@
7244
7353
  "dist",
7245
7354
  "commands",
7246
7355
  "webdav",
7247
- "ls.js"
7356
+ "rm.js"
7248
7357
  ]
7249
7358
  },
7250
- "webdav:mkdir": {
7359
+ "webdav:unzip": {
7251
7360
  "aliases": [],
7252
7361
  "args": {
7253
7362
  "path": {
7254
- "description": "Directory path to create (relative to root)",
7363
+ "description": "Remote zip file path (relative to root)",
7255
7364
  "name": "path",
7256
7365
  "required": true
7257
7366
  }
7258
7367
  },
7259
- "description": "Create a directory on WebDAV",
7368
+ "description": "Extract a remote zip archive",
7260
7369
  "examples": [
7261
- "<%= config.bin %> <%= command.id %> src/instance/my-folder",
7262
- "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir",
7263
- "<%= config.bin %> <%= command.id %> --root=cartridges new-cartridge"
7370
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip",
7371
+ "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge.zip"
7264
7372
  ],
7265
7373
  "flags": {
7266
7374
  "json": {
@@ -7498,7 +7606,7 @@
7498
7606
  },
7499
7607
  "hasDynamicHelp": false,
7500
7608
  "hiddenAliases": [],
7501
- "id": "webdav:mkdir",
7609
+ "id": "webdav:unzip",
7502
7610
  "pluginAlias": "@salesforce/b2c-cli",
7503
7611
  "pluginName": "@salesforce/b2c-cli",
7504
7612
  "pluginType": "core",
@@ -7509,29 +7617,22 @@
7509
7617
  "dist",
7510
7618
  "commands",
7511
7619
  "webdav",
7512
- "mkdir.js"
7620
+ "unzip.js"
7513
7621
  ]
7514
7622
  },
7515
- "webdav:put": {
7623
+ "webdav:zip": {
7516
7624
  "aliases": [],
7517
7625
  "args": {
7518
- "local": {
7519
- "description": "Local file path to upload",
7520
- "name": "local",
7521
- "required": true
7522
- },
7523
- "remote": {
7524
- "description": "Remote destination (directory or file path). If ending with / or is /, uses source filename.",
7525
- "name": "remote",
7626
+ "path": {
7627
+ "description": "Remote path to zip (relative to root)",
7628
+ "name": "path",
7526
7629
  "required": true
7527
7630
  }
7528
7631
  },
7529
- "description": "Upload a file to WebDAV",
7632
+ "description": "Create a zip archive of a remote file or directory",
7530
7633
  "examples": [
7531
- "<%= config.bin %> <%= command.id %> ./export.zip / # uploads to root as export.zip",
7532
- "<%= config.bin %> <%= command.id %> ./export.zip src/instance/ # uploads to src/instance/export.zip",
7533
- "<%= config.bin %> <%= command.id %> ./data.xml src/instance/renamed.xml # uploads with new name",
7534
- "<%= config.bin %> <%= command.id %> ./file.tar.gz / --root=temp # uploads to Temp/file.tar.gz"
7634
+ "<%= config.bin %> <%= command.id %> src/instance/data",
7635
+ "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge"
7535
7636
  ],
7536
7637
  "flags": {
7537
7638
  "json": {
@@ -7769,7 +7870,7 @@
7769
7870
  },
7770
7871
  "hasDynamicHelp": false,
7771
7872
  "hiddenAliases": [],
7772
- "id": "webdav:put",
7873
+ "id": "webdav:zip",
7773
7874
  "pluginAlias": "@salesforce/b2c-cli",
7774
7875
  "pluginName": "@salesforce/b2c-cli",
7775
7876
  "pluginType": "core",
@@ -7780,23 +7881,21 @@
7780
7881
  "dist",
7781
7882
  "commands",
7782
7883
  "webdav",
7783
- "put.js"
7884
+ "zip.js"
7784
7885
  ]
7785
7886
  },
7786
- "webdav:rm": {
7887
+ "scapi:custom:status": {
7787
7888
  "aliases": [],
7788
- "args": {
7789
- "path": {
7790
- "description": "Path to delete relative to root",
7791
- "name": "path",
7792
- "required": true
7793
- }
7794
- },
7795
- "description": "Delete a file or directory from WebDAV",
7889
+ "args": {},
7890
+ "description": "Get the status of Custom API endpoints",
7796
7891
  "examples": [
7797
- "<%= config.bin %> <%= command.id %> src/instance/old-export.zip",
7798
- "<%= config.bin %> <%= command.id %> src/instance/old-export.zip --force",
7799
- "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir --force"
7892
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd",
7893
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --status active",
7894
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --group-by type",
7895
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --group-by site",
7896
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --extended",
7897
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --columns type,apiName,status,sites",
7898
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --json"
7800
7899
  ],
7801
7900
  "flags": {
7802
7901
  "json": {
@@ -7961,87 +8060,58 @@
7961
8060
  "multiple": false,
7962
8061
  "type": "option"
7963
8062
  },
7964
- "server": {
7965
- "char": "s",
7966
- "description": "B2C instance hostname",
7967
- "env": "SFCC_SERVER",
7968
- "helpGroup": "INSTANCE",
7969
- "name": "server",
7970
- "hasDynamicHelp": false,
7971
- "multiple": false,
7972
- "type": "option"
7973
- },
7974
- "webdav-server": {
7975
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
7976
- "env": "SFCC_WEBDAV_SERVER",
7977
- "helpGroup": "INSTANCE",
7978
- "name": "webdav-server",
7979
- "hasDynamicHelp": false,
7980
- "multiple": false,
7981
- "type": "option"
7982
- },
7983
- "code-version": {
7984
- "char": "v",
7985
- "description": "Code version",
7986
- "env": "SFCC_CODE_VERSION",
7987
- "helpGroup": "INSTANCE",
7988
- "name": "code-version",
8063
+ "tenant-id": {
8064
+ "description": "Organization/tenant ID",
8065
+ "env": "SFCC_TENANT_ID",
8066
+ "name": "tenant-id",
8067
+ "required": true,
7989
8068
  "hasDynamicHelp": false,
7990
8069
  "multiple": false,
7991
8070
  "type": "option"
7992
8071
  },
7993
- "username": {
7994
- "char": "u",
7995
- "description": "Username for Basic Auth (WebDAV)",
7996
- "env": "SFCC_USERNAME",
7997
- "helpGroup": "AUTH",
7998
- "name": "username",
8072
+ "status": {
8073
+ "char": "s",
8074
+ "description": "Filter by endpoint status",
8075
+ "name": "status",
7999
8076
  "hasDynamicHelp": false,
8000
8077
  "multiple": false,
8078
+ "options": [
8079
+ "active",
8080
+ "not_registered"
8081
+ ],
8001
8082
  "type": "option"
8002
8083
  },
8003
- "password": {
8004
- "char": "p",
8005
- "description": "Password/access key for Basic Auth (WebDAV)",
8006
- "env": "SFCC_PASSWORD",
8007
- "helpGroup": "AUTH",
8008
- "name": "password",
8084
+ "group-by": {
8085
+ "char": "g",
8086
+ "description": "Group output by field (type or site)",
8087
+ "name": "group-by",
8009
8088
  "hasDynamicHelp": false,
8010
8089
  "multiple": false,
8090
+ "options": [
8091
+ "type",
8092
+ "site"
8093
+ ],
8011
8094
  "type": "option"
8012
8095
  },
8013
- "root": {
8014
- "char": "r",
8015
- "description": "WebDAV root directory",
8016
- "helpGroup": "WEBDAV",
8017
- "name": "root",
8018
- "default": "IMPEX",
8096
+ "columns": {
8097
+ "char": "c",
8098
+ "description": "Columns to display (comma-separated). Available: type, apiName, apiVersion, cartridgeName, endpointPath, httpMethod, status, sites, securityScheme, operationId, schemaFile, implementationScript, errorReason, id",
8099
+ "name": "columns",
8019
8100
  "hasDynamicHelp": false,
8020
8101
  "multiple": false,
8021
- "options": [
8022
- "impex",
8023
- "temp",
8024
- "cartridges",
8025
- "realmdata",
8026
- "catalogs",
8027
- "libraries",
8028
- "static",
8029
- "logs",
8030
- "securitylogs"
8031
- ],
8032
8102
  "type": "option"
8033
8103
  },
8034
- "force": {
8035
- "char": "f",
8036
- "description": "Skip confirmation prompt",
8037
- "name": "force",
8104
+ "extended": {
8105
+ "char": "x",
8106
+ "description": "Show all columns including extended fields",
8107
+ "name": "extended",
8038
8108
  "allowNo": false,
8039
8109
  "type": "boolean"
8040
8110
  }
8041
8111
  },
8042
8112
  "hasDynamicHelp": false,
8043
8113
  "hiddenAliases": [],
8044
- "id": "webdav:rm",
8114
+ "id": "scapi:custom:status",
8045
8115
  "pluginAlias": "@salesforce/b2c-cli",
8046
8116
  "pluginName": "@salesforce/b2c-cli",
8047
8117
  "pluginType": "core",
@@ -8051,23 +8121,28 @@
8051
8121
  "relativePath": [
8052
8122
  "dist",
8053
8123
  "commands",
8054
- "webdav",
8055
- "rm.js"
8124
+ "scapi",
8125
+ "custom",
8126
+ "status.js"
8056
8127
  ]
8057
8128
  },
8058
- "webdav:unzip": {
8129
+ "mrt:env:create": {
8059
8130
  "aliases": [],
8060
8131
  "args": {
8061
- "path": {
8062
- "description": "Remote zip file path (relative to root)",
8063
- "name": "path",
8132
+ "slug": {
8133
+ "description": "Environment slug/identifier (e.g., staging, production)",
8134
+ "name": "slug",
8064
8135
  "required": true
8065
8136
  }
8066
8137
  },
8067
- "description": "Extract a remote zip archive",
8138
+ "description": "Create a new Managed Runtime environment",
8068
8139
  "examples": [
8069
- "<%= config.bin %> <%= command.id %> src/instance/export.zip",
8070
- "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge.zip"
8140
+ "<%= config.bin %> <%= command.id %> staging --project my-storefront",
8141
+ "<%= config.bin %> <%= command.id %> staging --project my-storefront --name \"Staging Environment\"",
8142
+ "<%= config.bin %> <%= command.id %> production --project my-storefront --production",
8143
+ "<%= config.bin %> <%= command.id %> feature-test -p my-storefront --region eu-west-1",
8144
+ "<%= config.bin %> <%= command.id %> staging -p my-storefront --proxy api=api.example.com --proxy ocapi=ocapi.example.com",
8145
+ "<%= config.bin %> <%= command.id %> staging -p my-storefront --wait"
8071
8146
  ],
8072
8147
  "flags": {
8073
8148
  "json": {
@@ -8170,46 +8245,515 @@
8170
8245
  "multiple": false,
8171
8246
  "type": "option"
8172
8247
  },
8173
- "client-id": {
8174
- "description": "Client ID for OAuth",
8175
- "env": "SFCC_CLIENT_ID",
8248
+ "api-key": {
8249
+ "description": "MRT API key",
8250
+ "env": "SFCC_MRT_API_KEY",
8176
8251
  "helpGroup": "AUTH",
8177
- "name": "client-id",
8252
+ "name": "api-key",
8178
8253
  "hasDynamicHelp": false,
8179
8254
  "multiple": false,
8180
8255
  "type": "option"
8181
8256
  },
8182
- "client-secret": {
8183
- "description": "Client Secret for OAuth",
8184
- "env": "SFCC_CLIENT_SECRET",
8185
- "helpGroup": "AUTH",
8186
- "name": "client-secret",
8257
+ "project": {
8258
+ "char": "p",
8259
+ "description": "MRT project slug (or set mrtProject in dw.json)",
8260
+ "env": "SFCC_MRT_PROJECT",
8261
+ "name": "project",
8187
8262
  "hasDynamicHelp": false,
8188
8263
  "multiple": false,
8189
8264
  "type": "option"
8190
8265
  },
8191
- "scope": {
8192
- "description": "OAuth scopes to request (comma-separated)",
8193
- "env": "SFCC_OAUTH_SCOPES",
8194
- "helpGroup": "AUTH",
8195
- "name": "scope",
8196
- "delimiter": ",",
8266
+ "environment": {
8267
+ "char": "e",
8268
+ "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
8269
+ "env": "SFCC_MRT_ENVIRONMENT",
8270
+ "name": "environment",
8197
8271
  "hasDynamicHelp": false,
8198
- "multiple": true,
8272
+ "multiple": false,
8199
8273
  "type": "option"
8200
8274
  },
8201
- "short-code": {
8202
- "description": "SCAPI short code",
8203
- "env": "SFCC_SHORTCODE",
8204
- "helpGroup": "AUTH",
8205
- "name": "short-code",
8275
+ "cloud-origin": {
8276
+ "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
8277
+ "env": "SFCC_MRT_CLOUD_ORIGIN",
8278
+ "name": "cloud-origin",
8206
8279
  "hasDynamicHelp": false,
8207
8280
  "multiple": false,
8208
8281
  "type": "option"
8209
8282
  },
8210
- "auth-methods": {
8211
- "description": "Allowed auth methods in priority order (comma-separated)",
8212
- "env": "SFCC_AUTH_METHODS",
8283
+ "credentials-file": {
8284
+ "description": "Path to MRT credentials file (overrides default ~/.mobify)",
8285
+ "env": "MRT_CREDENTIALS_FILE",
8286
+ "name": "credentials-file",
8287
+ "hasDynamicHelp": false,
8288
+ "multiple": false,
8289
+ "type": "option"
8290
+ },
8291
+ "name": {
8292
+ "char": "n",
8293
+ "description": "Display name for the environment (defaults to slug)",
8294
+ "name": "name",
8295
+ "hasDynamicHelp": false,
8296
+ "multiple": false,
8297
+ "type": "option"
8298
+ },
8299
+ "region": {
8300
+ "char": "r",
8301
+ "description": "AWS region for SSR deployment",
8302
+ "name": "region",
8303
+ "hasDynamicHelp": false,
8304
+ "multiple": false,
8305
+ "options": [
8306
+ "us-east-1",
8307
+ "us-east-2",
8308
+ "us-west-1",
8309
+ "us-west-2",
8310
+ "ap-south-1",
8311
+ "ap-south-2",
8312
+ "ap-northeast-2",
8313
+ "ap-southeast-1",
8314
+ "ap-southeast-2",
8315
+ "ap-southeast-3",
8316
+ "ap-northeast-1",
8317
+ "ap-northeast-3",
8318
+ "ca-central-1",
8319
+ "eu-central-1",
8320
+ "eu-central-2",
8321
+ "eu-west-1",
8322
+ "eu-west-2",
8323
+ "eu-west-3",
8324
+ "eu-north-1",
8325
+ "eu-south-1",
8326
+ "il-central-1",
8327
+ "me-central-1",
8328
+ "sa-east-1"
8329
+ ],
8330
+ "type": "option"
8331
+ },
8332
+ "production": {
8333
+ "description": "Mark as a production environment",
8334
+ "name": "production",
8335
+ "allowNo": false,
8336
+ "type": "boolean"
8337
+ },
8338
+ "hostname": {
8339
+ "description": "Hostname pattern for V8 Tag loading",
8340
+ "name": "hostname",
8341
+ "hasDynamicHelp": false,
8342
+ "multiple": false,
8343
+ "type": "option"
8344
+ },
8345
+ "external-hostname": {
8346
+ "description": "Full external hostname (e.g., www.example.com)",
8347
+ "name": "external-hostname",
8348
+ "hasDynamicHelp": false,
8349
+ "multiple": false,
8350
+ "type": "option"
8351
+ },
8352
+ "external-domain": {
8353
+ "description": "External domain for Universal PWA SSR (e.g., example.com)",
8354
+ "name": "external-domain",
8355
+ "hasDynamicHelp": false,
8356
+ "multiple": false,
8357
+ "type": "option"
8358
+ },
8359
+ "allow-cookies": {
8360
+ "description": "Forward HTTP cookies to origin",
8361
+ "name": "allow-cookies",
8362
+ "allowNo": true,
8363
+ "type": "boolean"
8364
+ },
8365
+ "enable-source-maps": {
8366
+ "description": "Enable source map support in the environment",
8367
+ "name": "enable-source-maps",
8368
+ "allowNo": true,
8369
+ "type": "boolean"
8370
+ },
8371
+ "proxy": {
8372
+ "description": "Proxy configuration in format path=host (can be specified multiple times)",
8373
+ "name": "proxy",
8374
+ "hasDynamicHelp": false,
8375
+ "multiple": true,
8376
+ "type": "option"
8377
+ },
8378
+ "wait": {
8379
+ "char": "w",
8380
+ "description": "Wait for the environment to be ready before returning",
8381
+ "name": "wait",
8382
+ "allowNo": false,
8383
+ "type": "boolean"
8384
+ }
8385
+ },
8386
+ "hasDynamicHelp": false,
8387
+ "hiddenAliases": [],
8388
+ "id": "mrt:env:create",
8389
+ "pluginAlias": "@salesforce/b2c-cli",
8390
+ "pluginName": "@salesforce/b2c-cli",
8391
+ "pluginType": "core",
8392
+ "strict": true,
8393
+ "enableJsonFlag": true,
8394
+ "isESM": true,
8395
+ "relativePath": [
8396
+ "dist",
8397
+ "commands",
8398
+ "mrt",
8399
+ "env",
8400
+ "create.js"
8401
+ ]
8402
+ },
8403
+ "mrt:env:delete": {
8404
+ "aliases": [],
8405
+ "args": {
8406
+ "slug": {
8407
+ "description": "Environment slug/identifier to delete",
8408
+ "name": "slug",
8409
+ "required": true
8410
+ }
8411
+ },
8412
+ "description": "Delete a Managed Runtime environment",
8413
+ "examples": [
8414
+ "<%= config.bin %> <%= command.id %> feature-test --project my-storefront",
8415
+ "<%= config.bin %> <%= command.id %> old-staging -p my-storefront --force"
8416
+ ],
8417
+ "flags": {
8418
+ "json": {
8419
+ "description": "Output logs as JSON lines",
8420
+ "helpGroup": "GLOBAL",
8421
+ "name": "json",
8422
+ "allowNo": false,
8423
+ "type": "boolean"
8424
+ },
8425
+ "log-level": {
8426
+ "description": "Set logging verbosity level",
8427
+ "env": "SFCC_LOG_LEVEL",
8428
+ "helpGroup": "GLOBAL",
8429
+ "name": "log-level",
8430
+ "hasDynamicHelp": false,
8431
+ "multiple": false,
8432
+ "options": [
8433
+ "trace",
8434
+ "debug",
8435
+ "info",
8436
+ "warn",
8437
+ "error",
8438
+ "silent"
8439
+ ],
8440
+ "type": "option"
8441
+ },
8442
+ "debug": {
8443
+ "char": "D",
8444
+ "description": "Enable debug logging (shorthand for --log-level debug)",
8445
+ "env": "SFCC_DEBUG",
8446
+ "helpGroup": "GLOBAL",
8447
+ "name": "debug",
8448
+ "allowNo": false,
8449
+ "type": "boolean"
8450
+ },
8451
+ "lang": {
8452
+ "char": "L",
8453
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
8454
+ "helpGroup": "GLOBAL",
8455
+ "name": "lang",
8456
+ "hasDynamicHelp": false,
8457
+ "multiple": false,
8458
+ "type": "option"
8459
+ },
8460
+ "config": {
8461
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
8462
+ "env": "SFCC_CONFIG",
8463
+ "helpGroup": "GLOBAL",
8464
+ "name": "config",
8465
+ "hasDynamicHelp": false,
8466
+ "multiple": false,
8467
+ "type": "option"
8468
+ },
8469
+ "instance": {
8470
+ "char": "i",
8471
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
8472
+ "env": "SFCC_INSTANCE",
8473
+ "helpGroup": "GLOBAL",
8474
+ "name": "instance",
8475
+ "hasDynamicHelp": false,
8476
+ "multiple": false,
8477
+ "type": "option"
8478
+ },
8479
+ "working-directory": {
8480
+ "description": "Project working directory",
8481
+ "env": "SFCC_WORKING_DIRECTORY",
8482
+ "helpGroup": "GLOBAL",
8483
+ "name": "working-directory",
8484
+ "hasDynamicHelp": false,
8485
+ "multiple": false,
8486
+ "type": "option"
8487
+ },
8488
+ "extra-query": {
8489
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
8490
+ "env": "SFCC_EXTRA_QUERY",
8491
+ "helpGroup": "GLOBAL",
8492
+ "hidden": true,
8493
+ "name": "extra-query",
8494
+ "hasDynamicHelp": false,
8495
+ "multiple": false,
8496
+ "type": "option"
8497
+ },
8498
+ "extra-body": {
8499
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
8500
+ "env": "SFCC_EXTRA_BODY",
8501
+ "helpGroup": "GLOBAL",
8502
+ "hidden": true,
8503
+ "name": "extra-body",
8504
+ "hasDynamicHelp": false,
8505
+ "multiple": false,
8506
+ "type": "option"
8507
+ },
8508
+ "extra-headers": {
8509
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
8510
+ "env": "SFCC_EXTRA_HEADERS",
8511
+ "helpGroup": "GLOBAL",
8512
+ "hidden": true,
8513
+ "name": "extra-headers",
8514
+ "hasDynamicHelp": false,
8515
+ "multiple": false,
8516
+ "type": "option"
8517
+ },
8518
+ "api-key": {
8519
+ "description": "MRT API key",
8520
+ "env": "SFCC_MRT_API_KEY",
8521
+ "helpGroup": "AUTH",
8522
+ "name": "api-key",
8523
+ "hasDynamicHelp": false,
8524
+ "multiple": false,
8525
+ "type": "option"
8526
+ },
8527
+ "project": {
8528
+ "char": "p",
8529
+ "description": "MRT project slug (or set mrtProject in dw.json)",
8530
+ "env": "SFCC_MRT_PROJECT",
8531
+ "name": "project",
8532
+ "hasDynamicHelp": false,
8533
+ "multiple": false,
8534
+ "type": "option"
8535
+ },
8536
+ "environment": {
8537
+ "char": "e",
8538
+ "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
8539
+ "env": "SFCC_MRT_ENVIRONMENT",
8540
+ "name": "environment",
8541
+ "hasDynamicHelp": false,
8542
+ "multiple": false,
8543
+ "type": "option"
8544
+ },
8545
+ "cloud-origin": {
8546
+ "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
8547
+ "env": "SFCC_MRT_CLOUD_ORIGIN",
8548
+ "name": "cloud-origin",
8549
+ "hasDynamicHelp": false,
8550
+ "multiple": false,
8551
+ "type": "option"
8552
+ },
8553
+ "credentials-file": {
8554
+ "description": "Path to MRT credentials file (overrides default ~/.mobify)",
8555
+ "env": "MRT_CREDENTIALS_FILE",
8556
+ "name": "credentials-file",
8557
+ "hasDynamicHelp": false,
8558
+ "multiple": false,
8559
+ "type": "option"
8560
+ },
8561
+ "force": {
8562
+ "char": "f",
8563
+ "description": "Skip confirmation prompt",
8564
+ "name": "force",
8565
+ "allowNo": false,
8566
+ "type": "boolean"
8567
+ }
8568
+ },
8569
+ "hasDynamicHelp": false,
8570
+ "hiddenAliases": [],
8571
+ "id": "mrt:env:delete",
8572
+ "pluginAlias": "@salesforce/b2c-cli",
8573
+ "pluginName": "@salesforce/b2c-cli",
8574
+ "pluginType": "core",
8575
+ "strict": true,
8576
+ "enableJsonFlag": true,
8577
+ "isESM": true,
8578
+ "relativePath": [
8579
+ "dist",
8580
+ "commands",
8581
+ "mrt",
8582
+ "env",
8583
+ "delete.js"
8584
+ ]
8585
+ },
8586
+ "scapi:schemas:get": {
8587
+ "aliases": [],
8588
+ "args": {
8589
+ "apiFamily": {
8590
+ "description": "API family (e.g., shopper, admin)",
8591
+ "name": "apiFamily",
8592
+ "required": true
8593
+ },
8594
+ "apiName": {
8595
+ "description": "API name (e.g., products, orders)",
8596
+ "name": "apiName",
8597
+ "required": true
8598
+ },
8599
+ "apiVersion": {
8600
+ "description": "API version (e.g., v1)",
8601
+ "name": "apiVersion",
8602
+ "required": true
8603
+ }
8604
+ },
8605
+ "description": "Get a specific SCAPI schema with optional selective expansion",
8606
+ "examples": [
8607
+ "<%= config.bin %> <%= command.id %> shopper products v1 --tenant-id f_ecom_zzxy_prd",
8608
+ "<%= config.bin %> <%= command.id %> shopper products v1 --tenant-id f_ecom_zzxy_prd --expand-all",
8609
+ "<%= config.bin %> <%= command.id %> shopper products v1 --tenant-id f_ecom_zzxy_prd --expand-paths /products",
8610
+ "<%= config.bin %> <%= command.id %> shopper products v1 --tenant-id f_ecom_zzxy_prd --expand-schemas Product,SearchResult",
8611
+ "<%= config.bin %> <%= command.id %> shopper products v1 --tenant-id f_ecom_zzxy_prd --list-paths",
8612
+ "<%= config.bin %> <%= command.id %> shopper products v1 --tenant-id f_ecom_zzxy_prd --list-schemas",
8613
+ "<%= config.bin %> <%= command.id %> shopper products v1 --tenant-id f_ecom_zzxy_prd --yaml",
8614
+ "<%= config.bin %> <%= command.id %> shopper products v1 --tenant-id f_ecom_zzxy_prd --json"
8615
+ ],
8616
+ "flags": {
8617
+ "json": {
8618
+ "description": "Output logs as JSON lines",
8619
+ "helpGroup": "GLOBAL",
8620
+ "name": "json",
8621
+ "allowNo": false,
8622
+ "type": "boolean"
8623
+ },
8624
+ "log-level": {
8625
+ "description": "Set logging verbosity level",
8626
+ "env": "SFCC_LOG_LEVEL",
8627
+ "helpGroup": "GLOBAL",
8628
+ "name": "log-level",
8629
+ "hasDynamicHelp": false,
8630
+ "multiple": false,
8631
+ "options": [
8632
+ "trace",
8633
+ "debug",
8634
+ "info",
8635
+ "warn",
8636
+ "error",
8637
+ "silent"
8638
+ ],
8639
+ "type": "option"
8640
+ },
8641
+ "debug": {
8642
+ "char": "D",
8643
+ "description": "Enable debug logging (shorthand for --log-level debug)",
8644
+ "env": "SFCC_DEBUG",
8645
+ "helpGroup": "GLOBAL",
8646
+ "name": "debug",
8647
+ "allowNo": false,
8648
+ "type": "boolean"
8649
+ },
8650
+ "lang": {
8651
+ "char": "L",
8652
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
8653
+ "helpGroup": "GLOBAL",
8654
+ "name": "lang",
8655
+ "hasDynamicHelp": false,
8656
+ "multiple": false,
8657
+ "type": "option"
8658
+ },
8659
+ "config": {
8660
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
8661
+ "env": "SFCC_CONFIG",
8662
+ "helpGroup": "GLOBAL",
8663
+ "name": "config",
8664
+ "hasDynamicHelp": false,
8665
+ "multiple": false,
8666
+ "type": "option"
8667
+ },
8668
+ "instance": {
8669
+ "char": "i",
8670
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
8671
+ "env": "SFCC_INSTANCE",
8672
+ "helpGroup": "GLOBAL",
8673
+ "name": "instance",
8674
+ "hasDynamicHelp": false,
8675
+ "multiple": false,
8676
+ "type": "option"
8677
+ },
8678
+ "working-directory": {
8679
+ "description": "Project working directory",
8680
+ "env": "SFCC_WORKING_DIRECTORY",
8681
+ "helpGroup": "GLOBAL",
8682
+ "name": "working-directory",
8683
+ "hasDynamicHelp": false,
8684
+ "multiple": false,
8685
+ "type": "option"
8686
+ },
8687
+ "extra-query": {
8688
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
8689
+ "env": "SFCC_EXTRA_QUERY",
8690
+ "helpGroup": "GLOBAL",
8691
+ "hidden": true,
8692
+ "name": "extra-query",
8693
+ "hasDynamicHelp": false,
8694
+ "multiple": false,
8695
+ "type": "option"
8696
+ },
8697
+ "extra-body": {
8698
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
8699
+ "env": "SFCC_EXTRA_BODY",
8700
+ "helpGroup": "GLOBAL",
8701
+ "hidden": true,
8702
+ "name": "extra-body",
8703
+ "hasDynamicHelp": false,
8704
+ "multiple": false,
8705
+ "type": "option"
8706
+ },
8707
+ "extra-headers": {
8708
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
8709
+ "env": "SFCC_EXTRA_HEADERS",
8710
+ "helpGroup": "GLOBAL",
8711
+ "hidden": true,
8712
+ "name": "extra-headers",
8713
+ "hasDynamicHelp": false,
8714
+ "multiple": false,
8715
+ "type": "option"
8716
+ },
8717
+ "client-id": {
8718
+ "description": "Client ID for OAuth",
8719
+ "env": "SFCC_CLIENT_ID",
8720
+ "helpGroup": "AUTH",
8721
+ "name": "client-id",
8722
+ "hasDynamicHelp": false,
8723
+ "multiple": false,
8724
+ "type": "option"
8725
+ },
8726
+ "client-secret": {
8727
+ "description": "Client Secret for OAuth",
8728
+ "env": "SFCC_CLIENT_SECRET",
8729
+ "helpGroup": "AUTH",
8730
+ "name": "client-secret",
8731
+ "hasDynamicHelp": false,
8732
+ "multiple": false,
8733
+ "type": "option"
8734
+ },
8735
+ "scope": {
8736
+ "description": "OAuth scopes to request (comma-separated)",
8737
+ "env": "SFCC_OAUTH_SCOPES",
8738
+ "helpGroup": "AUTH",
8739
+ "name": "scope",
8740
+ "delimiter": ",",
8741
+ "hasDynamicHelp": false,
8742
+ "multiple": true,
8743
+ "type": "option"
8744
+ },
8745
+ "short-code": {
8746
+ "description": "SCAPI short code",
8747
+ "env": "SFCC_SHORTCODE",
8748
+ "helpGroup": "AUTH",
8749
+ "name": "short-code",
8750
+ "hasDynamicHelp": false,
8751
+ "multiple": false,
8752
+ "type": "option"
8753
+ },
8754
+ "auth-methods": {
8755
+ "description": "Allowed auth methods in priority order (comma-separated)",
8756
+ "env": "SFCC_AUTH_METHODS",
8213
8757
  "helpGroup": "AUTH",
8214
8758
  "name": "auth-methods",
8215
8759
  "delimiter": ",",
@@ -8232,80 +8776,88 @@
8232
8776
  "multiple": false,
8233
8777
  "type": "option"
8234
8778
  },
8235
- "server": {
8236
- "char": "s",
8237
- "description": "B2C instance hostname",
8238
- "env": "SFCC_SERVER",
8239
- "helpGroup": "INSTANCE",
8240
- "name": "server",
8779
+ "tenant-id": {
8780
+ "description": "Organization/tenant ID",
8781
+ "env": "SFCC_TENANT_ID",
8782
+ "name": "tenant-id",
8783
+ "required": true,
8241
8784
  "hasDynamicHelp": false,
8242
8785
  "multiple": false,
8243
8786
  "type": "option"
8244
8787
  },
8245
- "webdav-server": {
8246
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
8247
- "env": "SFCC_WEBDAV_SERVER",
8248
- "helpGroup": "INSTANCE",
8249
- "name": "webdav-server",
8788
+ "expand-paths": {
8789
+ "description": "Paths to fully expand (comma-separated, e.g., /products,/orders)",
8790
+ "name": "expand-paths",
8250
8791
  "hasDynamicHelp": false,
8251
8792
  "multiple": false,
8252
8793
  "type": "option"
8253
8794
  },
8254
- "code-version": {
8255
- "char": "v",
8256
- "description": "Code version",
8257
- "env": "SFCC_CODE_VERSION",
8258
- "helpGroup": "INSTANCE",
8259
- "name": "code-version",
8795
+ "expand-schemas": {
8796
+ "description": "Schema names to fully expand (comma-separated)",
8797
+ "name": "expand-schemas",
8260
8798
  "hasDynamicHelp": false,
8261
8799
  "multiple": false,
8262
8800
  "type": "option"
8263
8801
  },
8264
- "username": {
8265
- "char": "u",
8266
- "description": "Username for Basic Auth (WebDAV)",
8267
- "env": "SFCC_USERNAME",
8268
- "helpGroup": "AUTH",
8269
- "name": "username",
8802
+ "expand-examples": {
8803
+ "description": "Example names to fully expand (comma-separated)",
8804
+ "name": "expand-examples",
8270
8805
  "hasDynamicHelp": false,
8271
8806
  "multiple": false,
8272
8807
  "type": "option"
8273
8808
  },
8274
- "password": {
8275
- "char": "p",
8276
- "description": "Password/access key for Basic Auth (WebDAV)",
8277
- "env": "SFCC_PASSWORD",
8278
- "helpGroup": "AUTH",
8279
- "name": "password",
8280
- "hasDynamicHelp": false,
8281
- "multiple": false,
8282
- "type": "option"
8809
+ "expand-custom-properties": {
8810
+ "description": "Expand custom properties",
8811
+ "name": "expand-custom-properties",
8812
+ "allowNo": true,
8813
+ "type": "boolean"
8283
8814
  },
8284
- "root": {
8285
- "char": "r",
8286
- "description": "WebDAV root directory",
8287
- "helpGroup": "WEBDAV",
8288
- "name": "root",
8289
- "default": "IMPEX",
8290
- "hasDynamicHelp": false,
8291
- "multiple": false,
8292
- "options": [
8293
- "impex",
8294
- "temp",
8295
- "cartridges",
8296
- "realmdata",
8297
- "catalogs",
8298
- "libraries",
8299
- "static",
8300
- "logs",
8301
- "securitylogs"
8815
+ "expand-all": {
8816
+ "description": "Return full schema without collapsing (overrides selective expand)",
8817
+ "name": "expand-all",
8818
+ "allowNo": false,
8819
+ "type": "boolean"
8820
+ },
8821
+ "list-paths": {
8822
+ "description": "List available paths in the schema and exit",
8823
+ "exclusive": [
8824
+ "list-schemas",
8825
+ "list-examples"
8302
8826
  ],
8303
- "type": "option"
8827
+ "name": "list-paths",
8828
+ "allowNo": false,
8829
+ "type": "boolean"
8830
+ },
8831
+ "list-schemas": {
8832
+ "description": "List available schema names and exit",
8833
+ "exclusive": [
8834
+ "list-paths",
8835
+ "list-examples"
8836
+ ],
8837
+ "name": "list-schemas",
8838
+ "allowNo": false,
8839
+ "type": "boolean"
8840
+ },
8841
+ "list-examples": {
8842
+ "description": "List available example names and exit",
8843
+ "exclusive": [
8844
+ "list-paths",
8845
+ "list-schemas"
8846
+ ],
8847
+ "name": "list-examples",
8848
+ "allowNo": false,
8849
+ "type": "boolean"
8850
+ },
8851
+ "yaml": {
8852
+ "description": "Output as YAML instead of JSON",
8853
+ "name": "yaml",
8854
+ "allowNo": false,
8855
+ "type": "boolean"
8304
8856
  }
8305
8857
  },
8306
8858
  "hasDynamicHelp": false,
8307
8859
  "hiddenAliases": [],
8308
- "id": "webdav:unzip",
8860
+ "id": "scapi:schemas:get",
8309
8861
  "pluginAlias": "@salesforce/b2c-cli",
8310
8862
  "pluginName": "@salesforce/b2c-cli",
8311
8863
  "pluginType": "core",
@@ -8315,23 +8867,22 @@
8315
8867
  "relativePath": [
8316
8868
  "dist",
8317
8869
  "commands",
8318
- "webdav",
8319
- "unzip.js"
8870
+ "scapi",
8871
+ "schemas",
8872
+ "get.js"
8320
8873
  ]
8321
8874
  },
8322
- "webdav:zip": {
8875
+ "scapi:schemas:list": {
8323
8876
  "aliases": [],
8324
- "args": {
8325
- "path": {
8326
- "description": "Remote path to zip (relative to root)",
8327
- "name": "path",
8328
- "required": true
8329
- }
8330
- },
8331
- "description": "Create a zip archive of a remote file or directory",
8877
+ "args": {},
8878
+ "description": "List available SCAPI schemas",
8332
8879
  "examples": [
8333
- "<%= config.bin %> <%= command.id %> src/instance/data",
8334
- "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge"
8880
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd",
8881
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --api-family shopper",
8882
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --api-name products",
8883
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --status current",
8884
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --extended",
8885
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --json"
8335
8886
  ],
8336
8887
  "flags": {
8337
8888
  "json": {
@@ -8496,80 +9047,67 @@
8496
9047
  "multiple": false,
8497
9048
  "type": "option"
8498
9049
  },
8499
- "server": {
8500
- "char": "s",
8501
- "description": "B2C instance hostname",
8502
- "env": "SFCC_SERVER",
8503
- "helpGroup": "INSTANCE",
8504
- "name": "server",
8505
- "hasDynamicHelp": false,
8506
- "multiple": false,
8507
- "type": "option"
8508
- },
8509
- "webdav-server": {
8510
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
8511
- "env": "SFCC_WEBDAV_SERVER",
8512
- "helpGroup": "INSTANCE",
8513
- "name": "webdav-server",
9050
+ "tenant-id": {
9051
+ "description": "Organization/tenant ID",
9052
+ "env": "SFCC_TENANT_ID",
9053
+ "name": "tenant-id",
9054
+ "required": true,
8514
9055
  "hasDynamicHelp": false,
8515
9056
  "multiple": false,
8516
9057
  "type": "option"
8517
9058
  },
8518
- "code-version": {
8519
- "char": "v",
8520
- "description": "Code version",
8521
- "env": "SFCC_CODE_VERSION",
8522
- "helpGroup": "INSTANCE",
8523
- "name": "code-version",
9059
+ "api-family": {
9060
+ "description": "Filter by API family (e.g., shopper, admin)",
9061
+ "name": "api-family",
8524
9062
  "hasDynamicHelp": false,
8525
9063
  "multiple": false,
8526
9064
  "type": "option"
8527
9065
  },
8528
- "username": {
8529
- "char": "u",
8530
- "description": "Username for Basic Auth (WebDAV)",
8531
- "env": "SFCC_USERNAME",
8532
- "helpGroup": "AUTH",
8533
- "name": "username",
9066
+ "api-name": {
9067
+ "description": "Filter by API name (e.g., products, orders)",
9068
+ "name": "api-name",
8534
9069
  "hasDynamicHelp": false,
8535
9070
  "multiple": false,
8536
9071
  "type": "option"
8537
9072
  },
8538
- "password": {
8539
- "char": "p",
8540
- "description": "Password/access key for Basic Auth (WebDAV)",
8541
- "env": "SFCC_PASSWORD",
8542
- "helpGroup": "AUTH",
8543
- "name": "password",
9073
+ "api-version": {
9074
+ "description": "Filter by API version (e.g., v1)",
9075
+ "name": "api-version",
8544
9076
  "hasDynamicHelp": false,
8545
9077
  "multiple": false,
8546
9078
  "type": "option"
8547
9079
  },
8548
- "root": {
8549
- "char": "r",
8550
- "description": "WebDAV root directory",
8551
- "helpGroup": "WEBDAV",
8552
- "name": "root",
8553
- "default": "IMPEX",
9080
+ "status": {
9081
+ "char": "s",
9082
+ "description": "Filter by schema status",
9083
+ "name": "status",
8554
9084
  "hasDynamicHelp": false,
8555
9085
  "multiple": false,
8556
9086
  "options": [
8557
- "impex",
8558
- "temp",
8559
- "cartridges",
8560
- "realmdata",
8561
- "catalogs",
8562
- "libraries",
8563
- "static",
8564
- "logs",
8565
- "securitylogs"
9087
+ "current",
9088
+ "deprecated"
8566
9089
  ],
8567
9090
  "type": "option"
9091
+ },
9092
+ "columns": {
9093
+ "char": "c",
9094
+ "description": "Columns to display (comma-separated). Available: apiFamily, apiName, apiVersion, status, schemaVersion, link",
9095
+ "name": "columns",
9096
+ "hasDynamicHelp": false,
9097
+ "multiple": false,
9098
+ "type": "option"
9099
+ },
9100
+ "extended": {
9101
+ "char": "x",
9102
+ "description": "Show all columns including extended fields",
9103
+ "name": "extended",
9104
+ "allowNo": false,
9105
+ "type": "boolean"
8568
9106
  }
8569
9107
  },
8570
9108
  "hasDynamicHelp": false,
8571
9109
  "hiddenAliases": [],
8572
- "id": "webdav:zip",
9110
+ "id": "scapi:schemas:list",
8573
9111
  "pluginAlias": "@salesforce/b2c-cli",
8574
9112
  "pluginName": "@salesforce/b2c-cli",
8575
9113
  "pluginType": "core",
@@ -8579,23 +9117,26 @@
8579
9117
  "relativePath": [
8580
9118
  "dist",
8581
9119
  "commands",
8582
- "webdav",
8583
- "zip.js"
9120
+ "scapi",
9121
+ "schemas",
9122
+ "list.js"
8584
9123
  ]
8585
9124
  },
8586
- "mrt:env:var:delete": {
9125
+ "slas:client:create": {
8587
9126
  "aliases": [],
8588
9127
  "args": {
8589
- "key": {
8590
- "description": "Environment variable name",
8591
- "name": "key",
8592
- "required": true
9128
+ "clientId": {
9129
+ "description": "SLAS client ID to create or update (generates UUID if omitted)",
9130
+ "name": "clientId",
9131
+ "required": false
8593
9132
  }
8594
9133
  },
8595
- "description": "Delete an environment variable from a Managed Runtime environment",
9134
+ "description": "Create or update a SLAS client",
8596
9135
  "examples": [
8597
- "<%= config.bin %> <%= command.id %> MY_VAR --project acme-storefront --environment production",
8598
- "<%= config.bin %> <%= command.id %> OLD_API_KEY -p my-project -e staging"
9136
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --scopes sfcc.shopper-products,sfcc.shopper-search --redirect-uri http://localhost:3000/callback",
9137
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"My Client\" --channels RefArch --scopes sfcc.shopper-products --redirect-uri http://localhost:3000/callback --public",
9138
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"My Client\" --channels RefArch --scopes sfcc.shopper-products --redirect-uri http://localhost:3000/callback --json",
9139
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback"
8599
9140
  ],
8600
9141
  "flags": {
8601
9142
  "json": {
@@ -8698,53 +9239,148 @@
8698
9239
  "multiple": false,
8699
9240
  "type": "option"
8700
9241
  },
8701
- "api-key": {
8702
- "description": "MRT API key",
8703
- "env": "SFCC_MRT_API_KEY",
9242
+ "client-id": {
9243
+ "description": "Client ID for OAuth",
9244
+ "env": "SFCC_CLIENT_ID",
8704
9245
  "helpGroup": "AUTH",
8705
- "name": "api-key",
9246
+ "name": "client-id",
8706
9247
  "hasDynamicHelp": false,
8707
9248
  "multiple": false,
8708
9249
  "type": "option"
8709
9250
  },
8710
- "project": {
8711
- "char": "p",
8712
- "description": "MRT project slug (or set mrtProject in dw.json)",
8713
- "env": "SFCC_MRT_PROJECT",
8714
- "name": "project",
9251
+ "client-secret": {
9252
+ "description": "Client Secret for OAuth",
9253
+ "env": "SFCC_CLIENT_SECRET",
9254
+ "helpGroup": "AUTH",
9255
+ "name": "client-secret",
8715
9256
  "hasDynamicHelp": false,
8716
9257
  "multiple": false,
8717
9258
  "type": "option"
8718
9259
  },
8719
- "environment": {
8720
- "char": "e",
8721
- "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
8722
- "env": "SFCC_MRT_ENVIRONMENT",
8723
- "name": "environment",
9260
+ "scope": {
9261
+ "description": "OAuth scopes to request (comma-separated)",
9262
+ "env": "SFCC_OAUTH_SCOPES",
9263
+ "helpGroup": "AUTH",
9264
+ "name": "scope",
9265
+ "delimiter": ",",
9266
+ "hasDynamicHelp": false,
9267
+ "multiple": true,
9268
+ "type": "option"
9269
+ },
9270
+ "short-code": {
9271
+ "description": "SCAPI short code",
9272
+ "env": "SFCC_SHORTCODE",
9273
+ "helpGroup": "AUTH",
9274
+ "name": "short-code",
8724
9275
  "hasDynamicHelp": false,
8725
9276
  "multiple": false,
8726
9277
  "type": "option"
8727
9278
  },
8728
- "cloud-origin": {
8729
- "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
8730
- "env": "SFCC_MRT_CLOUD_ORIGIN",
8731
- "name": "cloud-origin",
9279
+ "auth-methods": {
9280
+ "description": "Allowed auth methods in priority order (comma-separated)",
9281
+ "env": "SFCC_AUTH_METHODS",
9282
+ "helpGroup": "AUTH",
9283
+ "name": "auth-methods",
9284
+ "delimiter": ",",
9285
+ "hasDynamicHelp": false,
9286
+ "multiple": true,
9287
+ "options": [
9288
+ "client-credentials",
9289
+ "implicit",
9290
+ "basic",
9291
+ "api-key"
9292
+ ],
9293
+ "type": "option"
9294
+ },
9295
+ "account-manager-host": {
9296
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
9297
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
9298
+ "helpGroup": "AUTH",
9299
+ "name": "account-manager-host",
8732
9300
  "hasDynamicHelp": false,
8733
9301
  "multiple": false,
8734
9302
  "type": "option"
8735
9303
  },
8736
- "credentials-file": {
8737
- "description": "Path to MRT credentials file (overrides default ~/.mobify)",
8738
- "env": "MRT_CREDENTIALS_FILE",
8739
- "name": "credentials-file",
9304
+ "tenant-id": {
9305
+ "description": "SLAS tenant ID (organization ID)",
9306
+ "env": "SFCC_TENANT_ID",
9307
+ "name": "tenant-id",
9308
+ "required": true,
9309
+ "hasDynamicHelp": false,
9310
+ "multiple": false,
9311
+ "type": "option"
9312
+ },
9313
+ "name": {
9314
+ "description": "Display name for the client (generates timestamped name if omitted)",
9315
+ "name": "name",
9316
+ "hasDynamicHelp": false,
9317
+ "multiple": false,
9318
+ "type": "option"
9319
+ },
9320
+ "channels": {
9321
+ "description": "Site IDs/channels (comma-separated)",
9322
+ "name": "channels",
9323
+ "required": true,
9324
+ "delimiter": ",",
9325
+ "hasDynamicHelp": false,
9326
+ "multiple": true,
9327
+ "type": "option"
9328
+ },
9329
+ "scopes": {
9330
+ "description": "OAuth scopes for the client (comma-separated)",
9331
+ "name": "scopes",
9332
+ "required": false,
9333
+ "delimiter": ",",
9334
+ "hasDynamicHelp": false,
9335
+ "multiple": true,
9336
+ "type": "option"
9337
+ },
9338
+ "default-scopes": {
9339
+ "description": "Use default shopper scopes (alternative to --scopes)",
9340
+ "name": "default-scopes",
9341
+ "allowNo": false,
9342
+ "type": "boolean"
9343
+ },
9344
+ "redirect-uri": {
9345
+ "description": "Redirect URIs (comma-separated)",
9346
+ "name": "redirect-uri",
9347
+ "required": true,
9348
+ "delimiter": ",",
9349
+ "hasDynamicHelp": false,
9350
+ "multiple": true,
9351
+ "type": "option"
9352
+ },
9353
+ "callback-uri": {
9354
+ "description": "Callback URIs for passwordless login (comma-separated)",
9355
+ "name": "callback-uri",
9356
+ "delimiter": ",",
9357
+ "hasDynamicHelp": false,
9358
+ "multiple": true,
9359
+ "type": "option"
9360
+ },
9361
+ "secret": {
9362
+ "description": "Client secret for private clients (if omitted, one will be generated)",
9363
+ "name": "secret",
8740
9364
  "hasDynamicHelp": false,
8741
9365
  "multiple": false,
8742
9366
  "type": "option"
9367
+ },
9368
+ "public": {
9369
+ "description": "Create a public client (default is private)",
9370
+ "name": "public",
9371
+ "allowNo": false,
9372
+ "type": "boolean"
9373
+ },
9374
+ "create-tenant": {
9375
+ "description": "Automatically create tenant if it does not exist",
9376
+ "name": "create-tenant",
9377
+ "allowNo": true,
9378
+ "type": "boolean"
8743
9379
  }
8744
9380
  },
8745
9381
  "hasDynamicHelp": false,
8746
9382
  "hiddenAliases": [],
8747
- "id": "mrt:env:var:delete",
9383
+ "id": "slas:client:create",
8748
9384
  "pluginAlias": "@salesforce/b2c-cli",
8749
9385
  "pluginName": "@salesforce/b2c-cli",
8750
9386
  "pluginType": "core",
@@ -8754,20 +9390,24 @@
8754
9390
  "relativePath": [
8755
9391
  "dist",
8756
9392
  "commands",
8757
- "mrt",
8758
- "env",
8759
- "var",
8760
- "delete.js"
9393
+ "slas",
9394
+ "client",
9395
+ "create.js"
8761
9396
  ]
8762
9397
  },
8763
- "mrt:env:var:list": {
9398
+ "slas:client:delete": {
8764
9399
  "aliases": [],
8765
- "args": {},
8766
- "description": "List environment variables on a Managed Runtime environment",
9400
+ "args": {
9401
+ "clientId": {
9402
+ "description": "SLAS client ID to delete",
9403
+ "name": "clientId",
9404
+ "required": true
9405
+ }
9406
+ },
9407
+ "description": "Delete a SLAS client",
8767
9408
  "examples": [
8768
- "<%= config.bin %> <%= command.id %> --project acme-storefront --environment production",
8769
- "<%= config.bin %> <%= command.id %> -p my-project -e staging",
8770
- "<%= config.bin %> <%= command.id %> -p my-project -e production --json"
9409
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
9410
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
8771
9411
  ],
8772
9412
  "flags": {
8773
9413
  "json": {
@@ -8870,45 +9510,73 @@
8870
9510
  "multiple": false,
8871
9511
  "type": "option"
8872
9512
  },
8873
- "api-key": {
8874
- "description": "MRT API key",
8875
- "env": "SFCC_MRT_API_KEY",
9513
+ "client-id": {
9514
+ "description": "Client ID for OAuth",
9515
+ "env": "SFCC_CLIENT_ID",
9516
+ "helpGroup": "AUTH",
9517
+ "name": "client-id",
9518
+ "hasDynamicHelp": false,
9519
+ "multiple": false,
9520
+ "type": "option"
9521
+ },
9522
+ "client-secret": {
9523
+ "description": "Client Secret for OAuth",
9524
+ "env": "SFCC_CLIENT_SECRET",
9525
+ "helpGroup": "AUTH",
9526
+ "name": "client-secret",
9527
+ "hasDynamicHelp": false,
9528
+ "multiple": false,
9529
+ "type": "option"
9530
+ },
9531
+ "scope": {
9532
+ "description": "OAuth scopes to request (comma-separated)",
9533
+ "env": "SFCC_OAUTH_SCOPES",
8876
9534
  "helpGroup": "AUTH",
8877
- "name": "api-key",
9535
+ "name": "scope",
9536
+ "delimiter": ",",
8878
9537
  "hasDynamicHelp": false,
8879
- "multiple": false,
9538
+ "multiple": true,
8880
9539
  "type": "option"
8881
9540
  },
8882
- "project": {
8883
- "char": "p",
8884
- "description": "MRT project slug (or set mrtProject in dw.json)",
8885
- "env": "SFCC_MRT_PROJECT",
8886
- "name": "project",
9541
+ "short-code": {
9542
+ "description": "SCAPI short code",
9543
+ "env": "SFCC_SHORTCODE",
9544
+ "helpGroup": "AUTH",
9545
+ "name": "short-code",
8887
9546
  "hasDynamicHelp": false,
8888
9547
  "multiple": false,
8889
9548
  "type": "option"
8890
9549
  },
8891
- "environment": {
8892
- "char": "e",
8893
- "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
8894
- "env": "SFCC_MRT_ENVIRONMENT",
8895
- "name": "environment",
9550
+ "auth-methods": {
9551
+ "description": "Allowed auth methods in priority order (comma-separated)",
9552
+ "env": "SFCC_AUTH_METHODS",
9553
+ "helpGroup": "AUTH",
9554
+ "name": "auth-methods",
9555
+ "delimiter": ",",
8896
9556
  "hasDynamicHelp": false,
8897
- "multiple": false,
9557
+ "multiple": true,
9558
+ "options": [
9559
+ "client-credentials",
9560
+ "implicit",
9561
+ "basic",
9562
+ "api-key"
9563
+ ],
8898
9564
  "type": "option"
8899
9565
  },
8900
- "cloud-origin": {
8901
- "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
8902
- "env": "SFCC_MRT_CLOUD_ORIGIN",
8903
- "name": "cloud-origin",
9566
+ "account-manager-host": {
9567
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
9568
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
9569
+ "helpGroup": "AUTH",
9570
+ "name": "account-manager-host",
8904
9571
  "hasDynamicHelp": false,
8905
9572
  "multiple": false,
8906
9573
  "type": "option"
8907
9574
  },
8908
- "credentials-file": {
8909
- "description": "Path to MRT credentials file (overrides default ~/.mobify)",
8910
- "env": "MRT_CREDENTIALS_FILE",
8911
- "name": "credentials-file",
9575
+ "tenant-id": {
9576
+ "description": "SLAS tenant ID (organization ID)",
9577
+ "env": "SFCC_TENANT_ID",
9578
+ "name": "tenant-id",
9579
+ "required": true,
8912
9580
  "hasDynamicHelp": false,
8913
9581
  "multiple": false,
8914
9582
  "type": "option"
@@ -8916,7 +9584,7 @@
8916
9584
  },
8917
9585
  "hasDynamicHelp": false,
8918
9586
  "hiddenAliases": [],
8919
- "id": "mrt:env:var:list",
9587
+ "id": "slas:client:delete",
8920
9588
  "pluginAlias": "@salesforce/b2c-cli",
8921
9589
  "pluginName": "@salesforce/b2c-cli",
8922
9590
  "pluginType": "core",
@@ -8926,26 +9594,24 @@
8926
9594
  "relativePath": [
8927
9595
  "dist",
8928
9596
  "commands",
8929
- "mrt",
8930
- "env",
8931
- "var",
8932
- "list.js"
9597
+ "slas",
9598
+ "client",
9599
+ "delete.js"
8933
9600
  ]
8934
9601
  },
8935
- "mrt:env:var:set": {
9602
+ "slas:client:get": {
8936
9603
  "aliases": [],
8937
9604
  "args": {
8938
- "variables": {
8939
- "description": "Environment variables in KEY=value format",
8940
- "name": "variables",
9605
+ "clientId": {
9606
+ "description": "SLAS client ID to retrieve",
9607
+ "name": "clientId",
8941
9608
  "required": true
8942
9609
  }
8943
9610
  },
8944
- "description": "Set environment variables on a Managed Runtime environment",
9611
+ "description": "Get a SLAS client",
8945
9612
  "examples": [
8946
- "<%= config.bin %> <%= command.id %> MY_VAR=value --project acme-storefront --environment production",
8947
- "<%= config.bin %> <%= command.id %> API_KEY=secret DEBUG=true -p my-project -e staging",
8948
- "<%= config.bin %> <%= command.id %> \"MESSAGE=hello world\" -p my-project -e production"
9613
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
9614
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
8949
9615
  ],
8950
9616
  "flags": {
8951
9617
  "json": {
@@ -9048,45 +9714,73 @@
9048
9714
  "multiple": false,
9049
9715
  "type": "option"
9050
9716
  },
9051
- "api-key": {
9052
- "description": "MRT API key",
9053
- "env": "SFCC_MRT_API_KEY",
9717
+ "client-id": {
9718
+ "description": "Client ID for OAuth",
9719
+ "env": "SFCC_CLIENT_ID",
9054
9720
  "helpGroup": "AUTH",
9055
- "name": "api-key",
9721
+ "name": "client-id",
9056
9722
  "hasDynamicHelp": false,
9057
9723
  "multiple": false,
9058
9724
  "type": "option"
9059
9725
  },
9060
- "project": {
9061
- "char": "p",
9062
- "description": "MRT project slug (or set mrtProject in dw.json)",
9063
- "env": "SFCC_MRT_PROJECT",
9064
- "name": "project",
9726
+ "client-secret": {
9727
+ "description": "Client Secret for OAuth",
9728
+ "env": "SFCC_CLIENT_SECRET",
9729
+ "helpGroup": "AUTH",
9730
+ "name": "client-secret",
9065
9731
  "hasDynamicHelp": false,
9066
9732
  "multiple": false,
9067
9733
  "type": "option"
9068
9734
  },
9069
- "environment": {
9070
- "char": "e",
9071
- "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
9072
- "env": "SFCC_MRT_ENVIRONMENT",
9073
- "name": "environment",
9735
+ "scope": {
9736
+ "description": "OAuth scopes to request (comma-separated)",
9737
+ "env": "SFCC_OAUTH_SCOPES",
9738
+ "helpGroup": "AUTH",
9739
+ "name": "scope",
9740
+ "delimiter": ",",
9741
+ "hasDynamicHelp": false,
9742
+ "multiple": true,
9743
+ "type": "option"
9744
+ },
9745
+ "short-code": {
9746
+ "description": "SCAPI short code",
9747
+ "env": "SFCC_SHORTCODE",
9748
+ "helpGroup": "AUTH",
9749
+ "name": "short-code",
9074
9750
  "hasDynamicHelp": false,
9075
9751
  "multiple": false,
9076
9752
  "type": "option"
9077
9753
  },
9078
- "cloud-origin": {
9079
- "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
9080
- "env": "SFCC_MRT_CLOUD_ORIGIN",
9081
- "name": "cloud-origin",
9754
+ "auth-methods": {
9755
+ "description": "Allowed auth methods in priority order (comma-separated)",
9756
+ "env": "SFCC_AUTH_METHODS",
9757
+ "helpGroup": "AUTH",
9758
+ "name": "auth-methods",
9759
+ "delimiter": ",",
9760
+ "hasDynamicHelp": false,
9761
+ "multiple": true,
9762
+ "options": [
9763
+ "client-credentials",
9764
+ "implicit",
9765
+ "basic",
9766
+ "api-key"
9767
+ ],
9768
+ "type": "option"
9769
+ },
9770
+ "account-manager-host": {
9771
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
9772
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
9773
+ "helpGroup": "AUTH",
9774
+ "name": "account-manager-host",
9082
9775
  "hasDynamicHelp": false,
9083
9776
  "multiple": false,
9084
9777
  "type": "option"
9085
9778
  },
9086
- "credentials-file": {
9087
- "description": "Path to MRT credentials file (overrides default ~/.mobify)",
9088
- "env": "MRT_CREDENTIALS_FILE",
9089
- "name": "credentials-file",
9779
+ "tenant-id": {
9780
+ "description": "SLAS tenant ID (organization ID)",
9781
+ "env": "SFCC_TENANT_ID",
9782
+ "name": "tenant-id",
9783
+ "required": true,
9090
9784
  "hasDynamicHelp": false,
9091
9785
  "multiple": false,
9092
9786
  "type": "option"
@@ -9094,37 +9788,28 @@
9094
9788
  },
9095
9789
  "hasDynamicHelp": false,
9096
9790
  "hiddenAliases": [],
9097
- "id": "mrt:env:var:set",
9791
+ "id": "slas:client:get",
9098
9792
  "pluginAlias": "@salesforce/b2c-cli",
9099
9793
  "pluginName": "@salesforce/b2c-cli",
9100
9794
  "pluginType": "core",
9101
- "strict": false,
9795
+ "strict": true,
9102
9796
  "enableJsonFlag": true,
9103
9797
  "isESM": true,
9104
9798
  "relativePath": [
9105
9799
  "dist",
9106
9800
  "commands",
9107
- "mrt",
9108
- "env",
9109
- "var",
9110
- "set.js"
9801
+ "slas",
9802
+ "client",
9803
+ "get.js"
9111
9804
  ]
9112
9805
  },
9113
- "slas:client:create": {
9806
+ "slas:client:list": {
9114
9807
  "aliases": [],
9115
- "args": {
9116
- "clientId": {
9117
- "description": "SLAS client ID to create or update (generates UUID if omitted)",
9118
- "name": "clientId",
9119
- "required": false
9120
- }
9121
- },
9122
- "description": "Create or update a SLAS client",
9808
+ "args": {},
9809
+ "description": "List SLAS clients for a tenant",
9123
9810
  "examples": [
9124
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --scopes sfcc.shopper-products,sfcc.shopper-search --redirect-uri http://localhost:3000/callback",
9125
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"My Client\" --channels RefArch --scopes sfcc.shopper-products --redirect-uri http://localhost:3000/callback --public",
9126
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"My Client\" --channels RefArch --scopes sfcc.shopper-products --redirect-uri http://localhost:3000/callback --json",
9127
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback"
9811
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123",
9812
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --json"
9128
9813
  ],
9129
9814
  "flags": {
9130
9815
  "json": {
@@ -9294,81 +9979,14 @@
9294
9979
  "env": "SFCC_TENANT_ID",
9295
9980
  "name": "tenant-id",
9296
9981
  "required": true,
9297
- "hasDynamicHelp": false,
9298
- "multiple": false,
9299
- "type": "option"
9300
- },
9301
- "name": {
9302
- "description": "Display name for the client (generates timestamped name if omitted)",
9303
- "name": "name",
9304
- "hasDynamicHelp": false,
9305
- "multiple": false,
9306
- "type": "option"
9307
- },
9308
- "channels": {
9309
- "description": "Site IDs/channels (comma-separated)",
9310
- "name": "channels",
9311
- "required": true,
9312
- "delimiter": ",",
9313
- "hasDynamicHelp": false,
9314
- "multiple": true,
9315
- "type": "option"
9316
- },
9317
- "scopes": {
9318
- "description": "OAuth scopes for the client (comma-separated)",
9319
- "name": "scopes",
9320
- "required": false,
9321
- "delimiter": ",",
9322
- "hasDynamicHelp": false,
9323
- "multiple": true,
9324
- "type": "option"
9325
- },
9326
- "default-scopes": {
9327
- "description": "Use default shopper scopes (alternative to --scopes)",
9328
- "name": "default-scopes",
9329
- "allowNo": false,
9330
- "type": "boolean"
9331
- },
9332
- "redirect-uri": {
9333
- "description": "Redirect URIs (comma-separated)",
9334
- "name": "redirect-uri",
9335
- "required": true,
9336
- "delimiter": ",",
9337
- "hasDynamicHelp": false,
9338
- "multiple": true,
9339
- "type": "option"
9340
- },
9341
- "callback-uri": {
9342
- "description": "Callback URIs for passwordless login (comma-separated)",
9343
- "name": "callback-uri",
9344
- "delimiter": ",",
9345
- "hasDynamicHelp": false,
9346
- "multiple": true,
9347
- "type": "option"
9348
- },
9349
- "secret": {
9350
- "description": "Client secret for private clients (if omitted, one will be generated)",
9351
- "name": "secret",
9352
- "hasDynamicHelp": false,
9353
- "multiple": false,
9354
- "type": "option"
9355
- },
9356
- "public": {
9357
- "description": "Create a public client (default is private)",
9358
- "name": "public",
9359
- "allowNo": false,
9360
- "type": "boolean"
9361
- },
9362
- "create-tenant": {
9363
- "description": "Automatically create tenant if it does not exist",
9364
- "name": "create-tenant",
9365
- "allowNo": true,
9366
- "type": "boolean"
9982
+ "hasDynamicHelp": false,
9983
+ "multiple": false,
9984
+ "type": "option"
9367
9985
  }
9368
9986
  },
9369
9987
  "hasDynamicHelp": false,
9370
9988
  "hiddenAliases": [],
9371
- "id": "slas:client:create",
9989
+ "id": "slas:client:list",
9372
9990
  "pluginAlias": "@salesforce/b2c-cli",
9373
9991
  "pluginName": "@salesforce/b2c-cli",
9374
9992
  "pluginType": "core",
@@ -9380,31 +9998,24 @@
9380
9998
  "commands",
9381
9999
  "slas",
9382
10000
  "client",
9383
- "create.js"
10001
+ "list.js"
9384
10002
  ]
9385
10003
  },
9386
- "slas:client:delete": {
10004
+ "slas:client:open": {
9387
10005
  "aliases": [],
9388
10006
  "args": {
9389
10007
  "clientId": {
9390
- "description": "SLAS client ID to delete",
10008
+ "description": "SLAS client ID to open in the admin UI",
9391
10009
  "name": "clientId",
9392
10010
  "required": true
9393
10011
  }
9394
10012
  },
9395
- "description": "Delete a SLAS client",
10013
+ "description": "Open the SLAS Admin UI for a client",
9396
10014
  "examples": [
9397
10015
  "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
9398
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
10016
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --short-code kv7kzm78"
9399
10017
  ],
9400
10018
  "flags": {
9401
- "json": {
9402
- "description": "Output logs as JSON lines",
9403
- "helpGroup": "GLOBAL",
9404
- "name": "json",
9405
- "allowNo": false,
9406
- "type": "boolean"
9407
- },
9408
10019
  "log-level": {
9409
10020
  "description": "Set logging verbosity level",
9410
10021
  "env": "SFCC_LOG_LEVEL",
@@ -9431,6 +10042,13 @@
9431
10042
  "allowNo": false,
9432
10043
  "type": "boolean"
9433
10044
  },
10045
+ "json": {
10046
+ "description": "Output logs as JSON lines",
10047
+ "helpGroup": "GLOBAL",
10048
+ "name": "json",
10049
+ "allowNo": false,
10050
+ "type": "boolean"
10051
+ },
9434
10052
  "lang": {
9435
10053
  "char": "L",
9436
10054
  "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
@@ -9498,108 +10116,57 @@
9498
10116
  "multiple": false,
9499
10117
  "type": "option"
9500
10118
  },
9501
- "client-id": {
9502
- "description": "Client ID for OAuth",
9503
- "env": "SFCC_CLIENT_ID",
9504
- "helpGroup": "AUTH",
9505
- "name": "client-id",
9506
- "hasDynamicHelp": false,
9507
- "multiple": false,
9508
- "type": "option"
9509
- },
9510
- "client-secret": {
9511
- "description": "Client Secret for OAuth",
9512
- "env": "SFCC_CLIENT_SECRET",
9513
- "helpGroup": "AUTH",
9514
- "name": "client-secret",
10119
+ "tenant-id": {
10120
+ "description": "SLAS tenant ID (organization ID)",
10121
+ "env": "SFCC_TENANT_ID",
10122
+ "name": "tenant-id",
10123
+ "required": true,
9515
10124
  "hasDynamicHelp": false,
9516
10125
  "multiple": false,
9517
10126
  "type": "option"
9518
10127
  },
9519
- "scope": {
9520
- "description": "OAuth scopes to request (comma-separated)",
9521
- "env": "SFCC_OAUTH_SCOPES",
9522
- "helpGroup": "AUTH",
9523
- "name": "scope",
9524
- "delimiter": ",",
9525
- "hasDynamicHelp": false,
9526
- "multiple": true,
9527
- "type": "option"
9528
- },
9529
10128
  "short-code": {
9530
10129
  "description": "SCAPI short code",
9531
10130
  "env": "SFCC_SHORTCODE",
9532
- "helpGroup": "AUTH",
9533
10131
  "name": "short-code",
9534
10132
  "hasDynamicHelp": false,
9535
10133
  "multiple": false,
9536
10134
  "type": "option"
9537
- },
9538
- "auth-methods": {
9539
- "description": "Allowed auth methods in priority order (comma-separated)",
9540
- "env": "SFCC_AUTH_METHODS",
9541
- "helpGroup": "AUTH",
9542
- "name": "auth-methods",
9543
- "delimiter": ",",
9544
- "hasDynamicHelp": false,
9545
- "multiple": true,
9546
- "options": [
9547
- "client-credentials",
9548
- "implicit",
9549
- "basic",
9550
- "api-key"
9551
- ],
9552
- "type": "option"
9553
- },
9554
- "account-manager-host": {
9555
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
9556
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
9557
- "helpGroup": "AUTH",
9558
- "name": "account-manager-host",
9559
- "hasDynamicHelp": false,
9560
- "multiple": false,
9561
- "type": "option"
9562
- },
9563
- "tenant-id": {
9564
- "description": "SLAS tenant ID (organization ID)",
9565
- "env": "SFCC_TENANT_ID",
9566
- "name": "tenant-id",
9567
- "required": true,
9568
- "hasDynamicHelp": false,
9569
- "multiple": false,
9570
- "type": "option"
9571
10135
  }
9572
10136
  },
9573
10137
  "hasDynamicHelp": false,
9574
10138
  "hiddenAliases": [],
9575
- "id": "slas:client:delete",
10139
+ "id": "slas:client:open",
9576
10140
  "pluginAlias": "@salesforce/b2c-cli",
9577
10141
  "pluginName": "@salesforce/b2c-cli",
9578
10142
  "pluginType": "core",
9579
10143
  "strict": true,
9580
- "enableJsonFlag": true,
10144
+ "enableJsonFlag": false,
9581
10145
  "isESM": true,
9582
10146
  "relativePath": [
9583
10147
  "dist",
9584
10148
  "commands",
9585
10149
  "slas",
9586
10150
  "client",
9587
- "delete.js"
10151
+ "open.js"
9588
10152
  ]
9589
10153
  },
9590
- "slas:client:get": {
10154
+ "slas:client:update": {
9591
10155
  "aliases": [],
9592
10156
  "args": {
9593
10157
  "clientId": {
9594
- "description": "SLAS client ID to retrieve",
10158
+ "description": "SLAS client ID to update",
9595
10159
  "name": "clientId",
9596
10160
  "required": true
9597
10161
  }
9598
10162
  },
9599
- "description": "Get a SLAS client",
10163
+ "description": "Update a SLAS client",
9600
10164
  "examples": [
9601
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
9602
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
10165
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"New Name\"",
10166
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --secret new-secret-value",
10167
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets",
10168
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets --replace",
10169
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --channels RefArch,SiteGenesis --replace"
9603
10170
  ],
9604
10171
  "flags": {
9605
10172
  "json": {
@@ -9772,11 +10339,63 @@
9772
10339
  "hasDynamicHelp": false,
9773
10340
  "multiple": false,
9774
10341
  "type": "option"
10342
+ },
10343
+ "name": {
10344
+ "description": "Display name for the client",
10345
+ "name": "name",
10346
+ "hasDynamicHelp": false,
10347
+ "multiple": false,
10348
+ "type": "option"
10349
+ },
10350
+ "secret": {
10351
+ "description": "New client secret (rotates the existing secret)",
10352
+ "name": "secret",
10353
+ "hasDynamicHelp": false,
10354
+ "multiple": false,
10355
+ "type": "option"
10356
+ },
10357
+ "channels": {
10358
+ "description": "Site IDs/channels (comma-separated)",
10359
+ "name": "channels",
10360
+ "delimiter": ",",
10361
+ "hasDynamicHelp": false,
10362
+ "multiple": true,
10363
+ "type": "option"
10364
+ },
10365
+ "scopes": {
10366
+ "description": "OAuth scopes for the client (comma-separated)",
10367
+ "name": "scopes",
10368
+ "delimiter": ",",
10369
+ "hasDynamicHelp": false,
10370
+ "multiple": true,
10371
+ "type": "option"
10372
+ },
10373
+ "redirect-uri": {
10374
+ "description": "Redirect URIs (comma-separated)",
10375
+ "name": "redirect-uri",
10376
+ "delimiter": ",",
10377
+ "hasDynamicHelp": false,
10378
+ "multiple": true,
10379
+ "type": "option"
10380
+ },
10381
+ "callback-uri": {
10382
+ "description": "Callback URIs for passwordless login (comma-separated)",
10383
+ "name": "callback-uri",
10384
+ "delimiter": ",",
10385
+ "hasDynamicHelp": false,
10386
+ "multiple": true,
10387
+ "type": "option"
10388
+ },
10389
+ "replace": {
10390
+ "description": "Replace list values instead of appending (affects channels, scopes, redirect-uri, callback-uri)",
10391
+ "name": "replace",
10392
+ "allowNo": false,
10393
+ "type": "boolean"
9775
10394
  }
9776
10395
  },
9777
10396
  "hasDynamicHelp": false,
9778
10397
  "hiddenAliases": [],
9779
- "id": "slas:client:get",
10398
+ "id": "slas:client:update",
9780
10399
  "pluginAlias": "@salesforce/b2c-cli",
9781
10400
  "pluginName": "@salesforce/b2c-cli",
9782
10401
  "pluginType": "core",
@@ -9788,16 +10407,22 @@
9788
10407
  "commands",
9789
10408
  "slas",
9790
10409
  "client",
9791
- "get.js"
10410
+ "update.js"
9792
10411
  ]
9793
10412
  },
9794
- "slas:client:list": {
10413
+ "mrt:env:var:delete": {
9795
10414
  "aliases": [],
9796
- "args": {},
9797
- "description": "List SLAS clients for a tenant",
10415
+ "args": {
10416
+ "key": {
10417
+ "description": "Environment variable name",
10418
+ "name": "key",
10419
+ "required": true
10420
+ }
10421
+ },
10422
+ "description": "Delete an environment variable from a Managed Runtime environment",
9798
10423
  "examples": [
9799
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123",
9800
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --json"
10424
+ "<%= config.bin %> <%= command.id %> MY_VAR --project acme-storefront --environment production",
10425
+ "<%= config.bin %> <%= command.id %> OLD_API_KEY -p my-project -e staging"
9801
10426
  ],
9802
10427
  "flags": {
9803
10428
  "json": {
@@ -9900,73 +10525,45 @@
9900
10525
  "multiple": false,
9901
10526
  "type": "option"
9902
10527
  },
9903
- "client-id": {
9904
- "description": "Client ID for OAuth",
9905
- "env": "SFCC_CLIENT_ID",
9906
- "helpGroup": "AUTH",
9907
- "name": "client-id",
9908
- "hasDynamicHelp": false,
9909
- "multiple": false,
9910
- "type": "option"
9911
- },
9912
- "client-secret": {
9913
- "description": "Client Secret for OAuth",
9914
- "env": "SFCC_CLIENT_SECRET",
10528
+ "api-key": {
10529
+ "description": "MRT API key",
10530
+ "env": "SFCC_MRT_API_KEY",
9915
10531
  "helpGroup": "AUTH",
9916
- "name": "client-secret",
10532
+ "name": "api-key",
9917
10533
  "hasDynamicHelp": false,
9918
10534
  "multiple": false,
9919
10535
  "type": "option"
9920
10536
  },
9921
- "scope": {
9922
- "description": "OAuth scopes to request (comma-separated)",
9923
- "env": "SFCC_OAUTH_SCOPES",
9924
- "helpGroup": "AUTH",
9925
- "name": "scope",
9926
- "delimiter": ",",
9927
- "hasDynamicHelp": false,
9928
- "multiple": true,
9929
- "type": "option"
9930
- },
9931
- "short-code": {
9932
- "description": "SCAPI short code",
9933
- "env": "SFCC_SHORTCODE",
9934
- "helpGroup": "AUTH",
9935
- "name": "short-code",
10537
+ "project": {
10538
+ "char": "p",
10539
+ "description": "MRT project slug (or set mrtProject in dw.json)",
10540
+ "env": "SFCC_MRT_PROJECT",
10541
+ "name": "project",
9936
10542
  "hasDynamicHelp": false,
9937
10543
  "multiple": false,
9938
10544
  "type": "option"
9939
10545
  },
9940
- "auth-methods": {
9941
- "description": "Allowed auth methods in priority order (comma-separated)",
9942
- "env": "SFCC_AUTH_METHODS",
9943
- "helpGroup": "AUTH",
9944
- "name": "auth-methods",
9945
- "delimiter": ",",
9946
- "hasDynamicHelp": false,
9947
- "multiple": true,
9948
- "options": [
9949
- "client-credentials",
9950
- "implicit",
9951
- "basic",
9952
- "api-key"
9953
- ],
9954
- "type": "option"
9955
- },
9956
- "account-manager-host": {
9957
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
9958
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
9959
- "helpGroup": "AUTH",
9960
- "name": "account-manager-host",
10546
+ "environment": {
10547
+ "char": "e",
10548
+ "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
10549
+ "env": "SFCC_MRT_ENVIRONMENT",
10550
+ "name": "environment",
9961
10551
  "hasDynamicHelp": false,
9962
10552
  "multiple": false,
9963
10553
  "type": "option"
9964
10554
  },
9965
- "tenant-id": {
9966
- "description": "SLAS tenant ID (organization ID)",
9967
- "env": "SFCC_TENANT_ID",
9968
- "name": "tenant-id",
9969
- "required": true,
10555
+ "cloud-origin": {
10556
+ "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
10557
+ "env": "SFCC_MRT_CLOUD_ORIGIN",
10558
+ "name": "cloud-origin",
10559
+ "hasDynamicHelp": false,
10560
+ "multiple": false,
10561
+ "type": "option"
10562
+ },
10563
+ "credentials-file": {
10564
+ "description": "Path to MRT credentials file (overrides default ~/.mobify)",
10565
+ "env": "MRT_CREDENTIALS_FILE",
10566
+ "name": "credentials-file",
9970
10567
  "hasDynamicHelp": false,
9971
10568
  "multiple": false,
9972
10569
  "type": "option"
@@ -9974,7 +10571,7 @@
9974
10571
  },
9975
10572
  "hasDynamicHelp": false,
9976
10573
  "hiddenAliases": [],
9977
- "id": "slas:client:list",
10574
+ "id": "mrt:env:var:delete",
9978
10575
  "pluginAlias": "@salesforce/b2c-cli",
9979
10576
  "pluginName": "@salesforce/b2c-cli",
9980
10577
  "pluginType": "core",
@@ -9984,26 +10581,29 @@
9984
10581
  "relativePath": [
9985
10582
  "dist",
9986
10583
  "commands",
9987
- "slas",
9988
- "client",
9989
- "list.js"
10584
+ "mrt",
10585
+ "env",
10586
+ "var",
10587
+ "delete.js"
9990
10588
  ]
9991
10589
  },
9992
- "slas:client:open": {
10590
+ "mrt:env:var:list": {
9993
10591
  "aliases": [],
9994
- "args": {
9995
- "clientId": {
9996
- "description": "SLAS client ID to open in the admin UI",
9997
- "name": "clientId",
9998
- "required": true
9999
- }
10000
- },
10001
- "description": "Open the SLAS Admin UI for a client",
10592
+ "args": {},
10593
+ "description": "List environment variables on a Managed Runtime environment",
10002
10594
  "examples": [
10003
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
10004
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --short-code kv7kzm78"
10595
+ "<%= config.bin %> <%= command.id %> --project acme-storefront --environment production",
10596
+ "<%= config.bin %> <%= command.id %> -p my-project -e staging",
10597
+ "<%= config.bin %> <%= command.id %> -p my-project -e production --json"
10005
10598
  ],
10006
10599
  "flags": {
10600
+ "json": {
10601
+ "description": "Output logs as JSON lines",
10602
+ "helpGroup": "GLOBAL",
10603
+ "name": "json",
10604
+ "allowNo": false,
10605
+ "type": "boolean"
10606
+ },
10007
10607
  "log-level": {
10008
10608
  "description": "Set logging verbosity level",
10009
10609
  "env": "SFCC_LOG_LEVEL",
@@ -10030,13 +10630,6 @@
10030
10630
  "allowNo": false,
10031
10631
  "type": "boolean"
10032
10632
  },
10033
- "json": {
10034
- "description": "Output logs as JSON lines",
10035
- "helpGroup": "GLOBAL",
10036
- "name": "json",
10037
- "allowNo": false,
10038
- "type": "boolean"
10039
- },
10040
10633
  "lang": {
10041
10634
  "char": "L",
10042
10635
  "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
@@ -10104,19 +10697,45 @@
10104
10697
  "multiple": false,
10105
10698
  "type": "option"
10106
10699
  },
10107
- "tenant-id": {
10108
- "description": "SLAS tenant ID (organization ID)",
10109
- "env": "SFCC_TENANT_ID",
10110
- "name": "tenant-id",
10111
- "required": true,
10700
+ "api-key": {
10701
+ "description": "MRT API key",
10702
+ "env": "SFCC_MRT_API_KEY",
10703
+ "helpGroup": "AUTH",
10704
+ "name": "api-key",
10112
10705
  "hasDynamicHelp": false,
10113
10706
  "multiple": false,
10114
10707
  "type": "option"
10115
10708
  },
10116
- "short-code": {
10117
- "description": "SCAPI short code",
10118
- "env": "SFCC_SHORTCODE",
10119
- "name": "short-code",
10709
+ "project": {
10710
+ "char": "p",
10711
+ "description": "MRT project slug (or set mrtProject in dw.json)",
10712
+ "env": "SFCC_MRT_PROJECT",
10713
+ "name": "project",
10714
+ "hasDynamicHelp": false,
10715
+ "multiple": false,
10716
+ "type": "option"
10717
+ },
10718
+ "environment": {
10719
+ "char": "e",
10720
+ "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
10721
+ "env": "SFCC_MRT_ENVIRONMENT",
10722
+ "name": "environment",
10723
+ "hasDynamicHelp": false,
10724
+ "multiple": false,
10725
+ "type": "option"
10726
+ },
10727
+ "cloud-origin": {
10728
+ "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
10729
+ "env": "SFCC_MRT_CLOUD_ORIGIN",
10730
+ "name": "cloud-origin",
10731
+ "hasDynamicHelp": false,
10732
+ "multiple": false,
10733
+ "type": "option"
10734
+ },
10735
+ "credentials-file": {
10736
+ "description": "Path to MRT credentials file (overrides default ~/.mobify)",
10737
+ "env": "MRT_CREDENTIALS_FILE",
10738
+ "name": "credentials-file",
10120
10739
  "hasDynamicHelp": false,
10121
10740
  "multiple": false,
10122
10741
  "type": "option"
@@ -10124,37 +10743,36 @@
10124
10743
  },
10125
10744
  "hasDynamicHelp": false,
10126
10745
  "hiddenAliases": [],
10127
- "id": "slas:client:open",
10746
+ "id": "mrt:env:var:list",
10128
10747
  "pluginAlias": "@salesforce/b2c-cli",
10129
10748
  "pluginName": "@salesforce/b2c-cli",
10130
10749
  "pluginType": "core",
10131
10750
  "strict": true,
10132
- "enableJsonFlag": false,
10751
+ "enableJsonFlag": true,
10133
10752
  "isESM": true,
10134
10753
  "relativePath": [
10135
10754
  "dist",
10136
10755
  "commands",
10137
- "slas",
10138
- "client",
10139
- "open.js"
10756
+ "mrt",
10757
+ "env",
10758
+ "var",
10759
+ "list.js"
10140
10760
  ]
10141
10761
  },
10142
- "slas:client:update": {
10762
+ "mrt:env:var:set": {
10143
10763
  "aliases": [],
10144
10764
  "args": {
10145
- "clientId": {
10146
- "description": "SLAS client ID to update",
10147
- "name": "clientId",
10765
+ "variables": {
10766
+ "description": "Environment variables in KEY=value format",
10767
+ "name": "variables",
10148
10768
  "required": true
10149
10769
  }
10150
10770
  },
10151
- "description": "Update a SLAS client",
10771
+ "description": "Set environment variables on a Managed Runtime environment",
10152
10772
  "examples": [
10153
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"New Name\"",
10154
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --secret new-secret-value",
10155
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets",
10156
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets --replace",
10157
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --channels RefArch,SiteGenesis --replace"
10773
+ "<%= config.bin %> <%= command.id %> MY_VAR=value --project acme-storefront --environment production",
10774
+ "<%= config.bin %> <%= command.id %> API_KEY=secret DEBUG=true -p my-project -e staging",
10775
+ "<%= config.bin %> <%= command.id %> \"MESSAGE=hello world\" -p my-project -e production"
10158
10776
  ],
10159
10777
  "flags": {
10160
10778
  "json": {
@@ -10257,147 +10875,68 @@
10257
10875
  "multiple": false,
10258
10876
  "type": "option"
10259
10877
  },
10260
- "client-id": {
10261
- "description": "Client ID for OAuth",
10262
- "env": "SFCC_CLIENT_ID",
10263
- "helpGroup": "AUTH",
10264
- "name": "client-id",
10265
- "hasDynamicHelp": false,
10266
- "multiple": false,
10267
- "type": "option"
10268
- },
10269
- "client-secret": {
10270
- "description": "Client Secret for OAuth",
10271
- "env": "SFCC_CLIENT_SECRET",
10272
- "helpGroup": "AUTH",
10273
- "name": "client-secret",
10274
- "hasDynamicHelp": false,
10275
- "multiple": false,
10276
- "type": "option"
10277
- },
10278
- "scope": {
10279
- "description": "OAuth scopes to request (comma-separated)",
10280
- "env": "SFCC_OAUTH_SCOPES",
10281
- "helpGroup": "AUTH",
10282
- "name": "scope",
10283
- "delimiter": ",",
10284
- "hasDynamicHelp": false,
10285
- "multiple": true,
10286
- "type": "option"
10287
- },
10288
- "short-code": {
10289
- "description": "SCAPI short code",
10290
- "env": "SFCC_SHORTCODE",
10878
+ "api-key": {
10879
+ "description": "MRT API key",
10880
+ "env": "SFCC_MRT_API_KEY",
10291
10881
  "helpGroup": "AUTH",
10292
- "name": "short-code",
10882
+ "name": "api-key",
10293
10883
  "hasDynamicHelp": false,
10294
10884
  "multiple": false,
10295
10885
  "type": "option"
10296
10886
  },
10297
- "auth-methods": {
10298
- "description": "Allowed auth methods in priority order (comma-separated)",
10299
- "env": "SFCC_AUTH_METHODS",
10300
- "helpGroup": "AUTH",
10301
- "name": "auth-methods",
10302
- "delimiter": ",",
10303
- "hasDynamicHelp": false,
10304
- "multiple": true,
10305
- "options": [
10306
- "client-credentials",
10307
- "implicit",
10308
- "basic",
10309
- "api-key"
10310
- ],
10311
- "type": "option"
10312
- },
10313
- "account-manager-host": {
10314
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
10315
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
10316
- "helpGroup": "AUTH",
10317
- "name": "account-manager-host",
10887
+ "project": {
10888
+ "char": "p",
10889
+ "description": "MRT project slug (or set mrtProject in dw.json)",
10890
+ "env": "SFCC_MRT_PROJECT",
10891
+ "name": "project",
10318
10892
  "hasDynamicHelp": false,
10319
10893
  "multiple": false,
10320
10894
  "type": "option"
10321
10895
  },
10322
- "tenant-id": {
10323
- "description": "SLAS tenant ID (organization ID)",
10324
- "env": "SFCC_TENANT_ID",
10325
- "name": "tenant-id",
10326
- "required": true,
10896
+ "environment": {
10897
+ "char": "e",
10898
+ "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
10899
+ "env": "SFCC_MRT_ENVIRONMENT",
10900
+ "name": "environment",
10327
10901
  "hasDynamicHelp": false,
10328
10902
  "multiple": false,
10329
10903
  "type": "option"
10330
10904
  },
10331
- "name": {
10332
- "description": "Display name for the client",
10333
- "name": "name",
10905
+ "cloud-origin": {
10906
+ "description": "MRT cloud origin URL (default: https://cloud.mobify.com)",
10907
+ "env": "SFCC_MRT_CLOUD_ORIGIN",
10908
+ "name": "cloud-origin",
10334
10909
  "hasDynamicHelp": false,
10335
10910
  "multiple": false,
10336
10911
  "type": "option"
10337
10912
  },
10338
- "secret": {
10339
- "description": "New client secret (rotates the existing secret)",
10340
- "name": "secret",
10913
+ "credentials-file": {
10914
+ "description": "Path to MRT credentials file (overrides default ~/.mobify)",
10915
+ "env": "MRT_CREDENTIALS_FILE",
10916
+ "name": "credentials-file",
10341
10917
  "hasDynamicHelp": false,
10342
10918
  "multiple": false,
10343
10919
  "type": "option"
10344
- },
10345
- "channels": {
10346
- "description": "Site IDs/channels (comma-separated)",
10347
- "name": "channels",
10348
- "delimiter": ",",
10349
- "hasDynamicHelp": false,
10350
- "multiple": true,
10351
- "type": "option"
10352
- },
10353
- "scopes": {
10354
- "description": "OAuth scopes for the client (comma-separated)",
10355
- "name": "scopes",
10356
- "delimiter": ",",
10357
- "hasDynamicHelp": false,
10358
- "multiple": true,
10359
- "type": "option"
10360
- },
10361
- "redirect-uri": {
10362
- "description": "Redirect URIs (comma-separated)",
10363
- "name": "redirect-uri",
10364
- "delimiter": ",",
10365
- "hasDynamicHelp": false,
10366
- "multiple": true,
10367
- "type": "option"
10368
- },
10369
- "callback-uri": {
10370
- "description": "Callback URIs for passwordless login (comma-separated)",
10371
- "name": "callback-uri",
10372
- "delimiter": ",",
10373
- "hasDynamicHelp": false,
10374
- "multiple": true,
10375
- "type": "option"
10376
- },
10377
- "replace": {
10378
- "description": "Replace list values instead of appending (affects channels, scopes, redirect-uri, callback-uri)",
10379
- "name": "replace",
10380
- "allowNo": false,
10381
- "type": "boolean"
10382
10920
  }
10383
10921
  },
10384
10922
  "hasDynamicHelp": false,
10385
10923
  "hiddenAliases": [],
10386
- "id": "slas:client:update",
10924
+ "id": "mrt:env:var:set",
10387
10925
  "pluginAlias": "@salesforce/b2c-cli",
10388
10926
  "pluginName": "@salesforce/b2c-cli",
10389
10927
  "pluginType": "core",
10390
- "strict": true,
10928
+ "strict": false,
10391
10929
  "enableJsonFlag": true,
10392
10930
  "isESM": true,
10393
10931
  "relativePath": [
10394
10932
  "dist",
10395
10933
  "commands",
10396
- "slas",
10397
- "client",
10398
- "update.js"
10934
+ "mrt",
10935
+ "env",
10936
+ "var",
10937
+ "set.js"
10399
10938
  ]
10400
10939
  }
10401
10940
  },
10402
- "version": "0.0.8"
10941
+ "version": "0.1.0"
10403
10942
  }