@salesforce/b2c-cli 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +1143 -1143
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -3103,770 +3103,6 @@
|
|
|
3103
3103
|
"watch.js"
|
|
3104
3104
|
]
|
|
3105
3105
|
},
|
|
3106
|
-
"content:export": {
|
|
3107
|
-
"aliases": [],
|
|
3108
|
-
"args": {
|
|
3109
|
-
"pages": {
|
|
3110
|
-
"description": "Content IDs to export (pages, content assets, or components)",
|
|
3111
|
-
"name": "pages",
|
|
3112
|
-
"required": true
|
|
3113
|
-
}
|
|
3114
|
-
},
|
|
3115
|
-
"description": "Export Page Designer pages with components and assets from a content library",
|
|
3116
|
-
"examples": [
|
|
3117
|
-
"<%= config.bin %> <%= command.id %> --library SharedLibrary homepage",
|
|
3118
|
-
"<%= config.bin %> <%= command.id %> --library SharedLibrary homepage about-us",
|
|
3119
|
-
"<%= config.bin %> <%= command.id %> --library SharedLibrary \"hero-.*\" --regex",
|
|
3120
|
-
"<%= config.bin %> <%= command.id %> --library RefArch --site-library homepage -o ./export",
|
|
3121
|
-
"<%= config.bin %> <%= command.id %> --library SharedLibrary homepage --json",
|
|
3122
|
-
"<%= config.bin %> <%= command.id %> --library SharedLibrary homepage --dry-run"
|
|
3123
|
-
],
|
|
3124
|
-
"flags": {
|
|
3125
|
-
"json": {
|
|
3126
|
-
"description": "Output result as JSON",
|
|
3127
|
-
"helpGroup": "GLOBAL",
|
|
3128
|
-
"name": "json",
|
|
3129
|
-
"allowNo": false,
|
|
3130
|
-
"type": "boolean"
|
|
3131
|
-
},
|
|
3132
|
-
"log-level": {
|
|
3133
|
-
"description": "Set logging verbosity level",
|
|
3134
|
-
"env": "SFCC_LOG_LEVEL",
|
|
3135
|
-
"helpGroup": "GLOBAL",
|
|
3136
|
-
"name": "log-level",
|
|
3137
|
-
"hasDynamicHelp": false,
|
|
3138
|
-
"multiple": false,
|
|
3139
|
-
"options": [
|
|
3140
|
-
"trace",
|
|
3141
|
-
"debug",
|
|
3142
|
-
"info",
|
|
3143
|
-
"warn",
|
|
3144
|
-
"error",
|
|
3145
|
-
"silent"
|
|
3146
|
-
],
|
|
3147
|
-
"type": "option"
|
|
3148
|
-
},
|
|
3149
|
-
"debug": {
|
|
3150
|
-
"char": "D",
|
|
3151
|
-
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
3152
|
-
"env": "SFCC_DEBUG",
|
|
3153
|
-
"helpGroup": "GLOBAL",
|
|
3154
|
-
"name": "debug",
|
|
3155
|
-
"allowNo": false,
|
|
3156
|
-
"type": "boolean"
|
|
3157
|
-
},
|
|
3158
|
-
"jsonl": {
|
|
3159
|
-
"aliases": [
|
|
3160
|
-
"json-logs"
|
|
3161
|
-
],
|
|
3162
|
-
"description": "Output log messages as JSON lines",
|
|
3163
|
-
"env": "SFCC_JSON_LOGS",
|
|
3164
|
-
"helpGroup": "GLOBAL",
|
|
3165
|
-
"name": "jsonl",
|
|
3166
|
-
"allowNo": false,
|
|
3167
|
-
"type": "boolean"
|
|
3168
|
-
},
|
|
3169
|
-
"lang": {
|
|
3170
|
-
"char": "L",
|
|
3171
|
-
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
3172
|
-
"helpGroup": "GLOBAL",
|
|
3173
|
-
"name": "lang",
|
|
3174
|
-
"hasDynamicHelp": false,
|
|
3175
|
-
"multiple": false,
|
|
3176
|
-
"type": "option"
|
|
3177
|
-
},
|
|
3178
|
-
"config": {
|
|
3179
|
-
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
3180
|
-
"env": "SFCC_CONFIG",
|
|
3181
|
-
"helpGroup": "GLOBAL",
|
|
3182
|
-
"name": "config",
|
|
3183
|
-
"hasDynamicHelp": false,
|
|
3184
|
-
"multiple": false,
|
|
3185
|
-
"type": "option"
|
|
3186
|
-
},
|
|
3187
|
-
"instance": {
|
|
3188
|
-
"char": "i",
|
|
3189
|
-
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
3190
|
-
"env": "SFCC_INSTANCE",
|
|
3191
|
-
"helpGroup": "GLOBAL",
|
|
3192
|
-
"name": "instance",
|
|
3193
|
-
"hasDynamicHelp": false,
|
|
3194
|
-
"multiple": false,
|
|
3195
|
-
"type": "option"
|
|
3196
|
-
},
|
|
3197
|
-
"project-directory": {
|
|
3198
|
-
"aliases": [
|
|
3199
|
-
"working-directory"
|
|
3200
|
-
],
|
|
3201
|
-
"description": "Project directory",
|
|
3202
|
-
"env": "SFCC_PROJECT_DIRECTORY",
|
|
3203
|
-
"helpGroup": "GLOBAL",
|
|
3204
|
-
"name": "project-directory",
|
|
3205
|
-
"hasDynamicHelp": false,
|
|
3206
|
-
"multiple": false,
|
|
3207
|
-
"type": "option"
|
|
3208
|
-
},
|
|
3209
|
-
"extra-query": {
|
|
3210
|
-
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
3211
|
-
"env": "SFCC_EXTRA_QUERY",
|
|
3212
|
-
"helpGroup": "GLOBAL",
|
|
3213
|
-
"hidden": true,
|
|
3214
|
-
"name": "extra-query",
|
|
3215
|
-
"hasDynamicHelp": false,
|
|
3216
|
-
"multiple": false,
|
|
3217
|
-
"type": "option"
|
|
3218
|
-
},
|
|
3219
|
-
"extra-body": {
|
|
3220
|
-
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
3221
|
-
"env": "SFCC_EXTRA_BODY",
|
|
3222
|
-
"helpGroup": "GLOBAL",
|
|
3223
|
-
"hidden": true,
|
|
3224
|
-
"name": "extra-body",
|
|
3225
|
-
"hasDynamicHelp": false,
|
|
3226
|
-
"multiple": false,
|
|
3227
|
-
"type": "option"
|
|
3228
|
-
},
|
|
3229
|
-
"extra-headers": {
|
|
3230
|
-
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
3231
|
-
"env": "SFCC_EXTRA_HEADERS",
|
|
3232
|
-
"helpGroup": "GLOBAL",
|
|
3233
|
-
"hidden": true,
|
|
3234
|
-
"name": "extra-headers",
|
|
3235
|
-
"hasDynamicHelp": false,
|
|
3236
|
-
"multiple": false,
|
|
3237
|
-
"type": "option"
|
|
3238
|
-
},
|
|
3239
|
-
"client-id": {
|
|
3240
|
-
"description": "Client ID for OAuth",
|
|
3241
|
-
"env": "SFCC_CLIENT_ID",
|
|
3242
|
-
"helpGroup": "AUTH",
|
|
3243
|
-
"name": "client-id",
|
|
3244
|
-
"hasDynamicHelp": false,
|
|
3245
|
-
"multiple": false,
|
|
3246
|
-
"type": "option"
|
|
3247
|
-
},
|
|
3248
|
-
"client-secret": {
|
|
3249
|
-
"description": "Client Secret for OAuth",
|
|
3250
|
-
"env": "SFCC_CLIENT_SECRET",
|
|
3251
|
-
"helpGroup": "AUTH",
|
|
3252
|
-
"name": "client-secret",
|
|
3253
|
-
"hasDynamicHelp": false,
|
|
3254
|
-
"multiple": false,
|
|
3255
|
-
"type": "option"
|
|
3256
|
-
},
|
|
3257
|
-
"auth-scope": {
|
|
3258
|
-
"description": "OAuth scopes to request (comma-separated)",
|
|
3259
|
-
"env": "SFCC_OAUTH_SCOPES",
|
|
3260
|
-
"helpGroup": "AUTH",
|
|
3261
|
-
"name": "auth-scope",
|
|
3262
|
-
"delimiter": ",",
|
|
3263
|
-
"hasDynamicHelp": false,
|
|
3264
|
-
"multiple": true,
|
|
3265
|
-
"type": "option"
|
|
3266
|
-
},
|
|
3267
|
-
"short-code": {
|
|
3268
|
-
"description": "SCAPI short code",
|
|
3269
|
-
"env": "SFCC_SHORTCODE",
|
|
3270
|
-
"helpGroup": "AUTH",
|
|
3271
|
-
"name": "short-code",
|
|
3272
|
-
"hasDynamicHelp": false,
|
|
3273
|
-
"multiple": false,
|
|
3274
|
-
"type": "option"
|
|
3275
|
-
},
|
|
3276
|
-
"tenant-id": {
|
|
3277
|
-
"aliases": [
|
|
3278
|
-
"tenant"
|
|
3279
|
-
],
|
|
3280
|
-
"description": "Organization/tenant ID",
|
|
3281
|
-
"env": "SFCC_TENANT_ID",
|
|
3282
|
-
"helpGroup": "AUTH",
|
|
3283
|
-
"name": "tenant-id",
|
|
3284
|
-
"hasDynamicHelp": false,
|
|
3285
|
-
"multiple": false,
|
|
3286
|
-
"type": "option"
|
|
3287
|
-
},
|
|
3288
|
-
"auth-methods": {
|
|
3289
|
-
"description": "Allowed auth methods in priority order (comma-separated)",
|
|
3290
|
-
"env": "SFCC_AUTH_METHODS",
|
|
3291
|
-
"exclusive": [
|
|
3292
|
-
"user-auth"
|
|
3293
|
-
],
|
|
3294
|
-
"helpGroup": "AUTH",
|
|
3295
|
-
"name": "auth-methods",
|
|
3296
|
-
"delimiter": ",",
|
|
3297
|
-
"hasDynamicHelp": false,
|
|
3298
|
-
"multiple": true,
|
|
3299
|
-
"options": [
|
|
3300
|
-
"client-credentials",
|
|
3301
|
-
"implicit",
|
|
3302
|
-
"basic",
|
|
3303
|
-
"api-key"
|
|
3304
|
-
],
|
|
3305
|
-
"type": "option"
|
|
3306
|
-
},
|
|
3307
|
-
"user-auth": {
|
|
3308
|
-
"description": "Use browser-based user authentication (implicit OAuth flow)",
|
|
3309
|
-
"exclusive": [
|
|
3310
|
-
"auth-methods"
|
|
3311
|
-
],
|
|
3312
|
-
"helpGroup": "AUTH",
|
|
3313
|
-
"name": "user-auth",
|
|
3314
|
-
"allowNo": false,
|
|
3315
|
-
"type": "boolean"
|
|
3316
|
-
},
|
|
3317
|
-
"account-manager-host": {
|
|
3318
|
-
"description": "Account Manager hostname for OAuth (default: account.demandware.com)",
|
|
3319
|
-
"env": "SFCC_ACCOUNT_MANAGER_HOST",
|
|
3320
|
-
"helpGroup": "AUTH",
|
|
3321
|
-
"name": "account-manager-host",
|
|
3322
|
-
"hasDynamicHelp": false,
|
|
3323
|
-
"multiple": false,
|
|
3324
|
-
"type": "option"
|
|
3325
|
-
},
|
|
3326
|
-
"server": {
|
|
3327
|
-
"char": "s",
|
|
3328
|
-
"description": "B2C instance hostname",
|
|
3329
|
-
"env": "SFCC_SERVER",
|
|
3330
|
-
"helpGroup": "INSTANCE",
|
|
3331
|
-
"name": "server",
|
|
3332
|
-
"hasDynamicHelp": false,
|
|
3333
|
-
"multiple": false,
|
|
3334
|
-
"type": "option"
|
|
3335
|
-
},
|
|
3336
|
-
"webdav-server": {
|
|
3337
|
-
"description": "Separate hostname for WebDAV (cert. hostname, etc)",
|
|
3338
|
-
"env": "SFCC_WEBDAV_SERVER",
|
|
3339
|
-
"helpGroup": "INSTANCE",
|
|
3340
|
-
"name": "webdav-server",
|
|
3341
|
-
"hasDynamicHelp": false,
|
|
3342
|
-
"multiple": false,
|
|
3343
|
-
"type": "option"
|
|
3344
|
-
},
|
|
3345
|
-
"code-version": {
|
|
3346
|
-
"char": "v",
|
|
3347
|
-
"description": "Code version",
|
|
3348
|
-
"env": "SFCC_CODE_VERSION",
|
|
3349
|
-
"helpGroup": "INSTANCE",
|
|
3350
|
-
"name": "code-version",
|
|
3351
|
-
"hasDynamicHelp": false,
|
|
3352
|
-
"multiple": false,
|
|
3353
|
-
"type": "option"
|
|
3354
|
-
},
|
|
3355
|
-
"username": {
|
|
3356
|
-
"char": "u",
|
|
3357
|
-
"description": "Username for Basic Auth (WebDAV)",
|
|
3358
|
-
"env": "SFCC_USERNAME",
|
|
3359
|
-
"helpGroup": "AUTH",
|
|
3360
|
-
"name": "username",
|
|
3361
|
-
"hasDynamicHelp": false,
|
|
3362
|
-
"multiple": false,
|
|
3363
|
-
"type": "option"
|
|
3364
|
-
},
|
|
3365
|
-
"password": {
|
|
3366
|
-
"char": "p",
|
|
3367
|
-
"description": "Password/access key for Basic Auth (WebDAV)",
|
|
3368
|
-
"env": "SFCC_PASSWORD",
|
|
3369
|
-
"helpGroup": "AUTH",
|
|
3370
|
-
"name": "password",
|
|
3371
|
-
"hasDynamicHelp": false,
|
|
3372
|
-
"multiple": false,
|
|
3373
|
-
"type": "option"
|
|
3374
|
-
},
|
|
3375
|
-
"certificate": {
|
|
3376
|
-
"description": "Path to PKCS12 certificate for two-factor auth",
|
|
3377
|
-
"env": "SFCC_CERTIFICATE",
|
|
3378
|
-
"helpGroup": "AUTH",
|
|
3379
|
-
"name": "certificate",
|
|
3380
|
-
"hasDynamicHelp": false,
|
|
3381
|
-
"multiple": false,
|
|
3382
|
-
"type": "option"
|
|
3383
|
-
},
|
|
3384
|
-
"passphrase": {
|
|
3385
|
-
"description": "Passphrase for the certificate",
|
|
3386
|
-
"env": "SFCC_CERTIFICATE_PASSPHRASE",
|
|
3387
|
-
"helpGroup": "AUTH",
|
|
3388
|
-
"name": "passphrase",
|
|
3389
|
-
"hasDynamicHelp": false,
|
|
3390
|
-
"multiple": false,
|
|
3391
|
-
"type": "option"
|
|
3392
|
-
},
|
|
3393
|
-
"selfsigned": {
|
|
3394
|
-
"description": "Allow self-signed server certificates",
|
|
3395
|
-
"env": "SFCC_SELFSIGNED",
|
|
3396
|
-
"helpGroup": "AUTH",
|
|
3397
|
-
"name": "selfsigned",
|
|
3398
|
-
"allowNo": false,
|
|
3399
|
-
"type": "boolean"
|
|
3400
|
-
},
|
|
3401
|
-
"verify": {
|
|
3402
|
-
"description": "Verify SSL certificates",
|
|
3403
|
-
"helpGroup": "AUTH",
|
|
3404
|
-
"name": "verify",
|
|
3405
|
-
"allowNo": true,
|
|
3406
|
-
"type": "boolean"
|
|
3407
|
-
},
|
|
3408
|
-
"library": {
|
|
3409
|
-
"description": "Library ID or site ID (also configurable via dw.json \"content-library\")",
|
|
3410
|
-
"name": "library",
|
|
3411
|
-
"hasDynamicHelp": false,
|
|
3412
|
-
"multiple": false,
|
|
3413
|
-
"type": "option"
|
|
3414
|
-
},
|
|
3415
|
-
"output": {
|
|
3416
|
-
"char": "o",
|
|
3417
|
-
"description": "Output directory",
|
|
3418
|
-
"name": "output",
|
|
3419
|
-
"hasDynamicHelp": false,
|
|
3420
|
-
"multiple": false,
|
|
3421
|
-
"type": "option"
|
|
3422
|
-
},
|
|
3423
|
-
"site-library": {
|
|
3424
|
-
"description": "Library is a site-private library",
|
|
3425
|
-
"name": "site-library",
|
|
3426
|
-
"allowNo": false,
|
|
3427
|
-
"type": "boolean"
|
|
3428
|
-
},
|
|
3429
|
-
"asset-query": {
|
|
3430
|
-
"char": "q",
|
|
3431
|
-
"description": "JSON dot-paths for asset extraction",
|
|
3432
|
-
"name": "asset-query",
|
|
3433
|
-
"default": [
|
|
3434
|
-
"image.path"
|
|
3435
|
-
],
|
|
3436
|
-
"hasDynamicHelp": false,
|
|
3437
|
-
"multiple": true,
|
|
3438
|
-
"type": "option"
|
|
3439
|
-
},
|
|
3440
|
-
"regex": {
|
|
3441
|
-
"char": "r",
|
|
3442
|
-
"description": "Treat page IDs as regular expressions",
|
|
3443
|
-
"name": "regex",
|
|
3444
|
-
"allowNo": false,
|
|
3445
|
-
"type": "boolean"
|
|
3446
|
-
},
|
|
3447
|
-
"folder": {
|
|
3448
|
-
"description": "Filter by folder classification",
|
|
3449
|
-
"name": "folder",
|
|
3450
|
-
"hasDynamicHelp": false,
|
|
3451
|
-
"multiple": true,
|
|
3452
|
-
"type": "option"
|
|
3453
|
-
},
|
|
3454
|
-
"offline": {
|
|
3455
|
-
"description": "Skip asset downloads",
|
|
3456
|
-
"name": "offline",
|
|
3457
|
-
"allowNo": false,
|
|
3458
|
-
"type": "boolean"
|
|
3459
|
-
},
|
|
3460
|
-
"library-file": {
|
|
3461
|
-
"description": "Use a local library XML file instead of fetching from instance",
|
|
3462
|
-
"name": "library-file",
|
|
3463
|
-
"hasDynamicHelp": false,
|
|
3464
|
-
"multiple": false,
|
|
3465
|
-
"type": "option"
|
|
3466
|
-
},
|
|
3467
|
-
"keep-orphans": {
|
|
3468
|
-
"description": "Include orphan components in export",
|
|
3469
|
-
"name": "keep-orphans",
|
|
3470
|
-
"allowNo": false,
|
|
3471
|
-
"type": "boolean"
|
|
3472
|
-
},
|
|
3473
|
-
"show-tree": {
|
|
3474
|
-
"description": "Display tree structure of exported content",
|
|
3475
|
-
"name": "show-tree",
|
|
3476
|
-
"allowNo": false,
|
|
3477
|
-
"type": "boolean"
|
|
3478
|
-
},
|
|
3479
|
-
"timeout": {
|
|
3480
|
-
"description": "Export job timeout in seconds",
|
|
3481
|
-
"name": "timeout",
|
|
3482
|
-
"hasDynamicHelp": false,
|
|
3483
|
-
"multiple": false,
|
|
3484
|
-
"type": "option"
|
|
3485
|
-
},
|
|
3486
|
-
"dry-run": {
|
|
3487
|
-
"description": "Preview export without downloading assets or writing files",
|
|
3488
|
-
"name": "dry-run",
|
|
3489
|
-
"allowNo": false,
|
|
3490
|
-
"type": "boolean"
|
|
3491
|
-
}
|
|
3492
|
-
},
|
|
3493
|
-
"hasDynamicHelp": false,
|
|
3494
|
-
"hiddenAliases": [],
|
|
3495
|
-
"id": "content:export",
|
|
3496
|
-
"pluginAlias": "@salesforce/b2c-cli",
|
|
3497
|
-
"pluginName": "@salesforce/b2c-cli",
|
|
3498
|
-
"pluginType": "core",
|
|
3499
|
-
"strict": false,
|
|
3500
|
-
"enableJsonFlag": true,
|
|
3501
|
-
"isESM": true,
|
|
3502
|
-
"relativePath": [
|
|
3503
|
-
"dist",
|
|
3504
|
-
"commands",
|
|
3505
|
-
"content",
|
|
3506
|
-
"export.js"
|
|
3507
|
-
]
|
|
3508
|
-
},
|
|
3509
|
-
"content:list": {
|
|
3510
|
-
"aliases": [],
|
|
3511
|
-
"args": {},
|
|
3512
|
-
"description": "List pages and content in a content library",
|
|
3513
|
-
"examples": [
|
|
3514
|
-
"<%= config.bin %> <%= command.id %> --library SharedLibrary",
|
|
3515
|
-
"<%= config.bin %> <%= command.id %> --library SharedLibrary --tree",
|
|
3516
|
-
"<%= config.bin %> <%= command.id %> --library RefArch --site-library --type page"
|
|
3517
|
-
],
|
|
3518
|
-
"flags": {
|
|
3519
|
-
"json": {
|
|
3520
|
-
"description": "Output result as JSON",
|
|
3521
|
-
"helpGroup": "GLOBAL",
|
|
3522
|
-
"name": "json",
|
|
3523
|
-
"allowNo": false,
|
|
3524
|
-
"type": "boolean"
|
|
3525
|
-
},
|
|
3526
|
-
"log-level": {
|
|
3527
|
-
"description": "Set logging verbosity level",
|
|
3528
|
-
"env": "SFCC_LOG_LEVEL",
|
|
3529
|
-
"helpGroup": "GLOBAL",
|
|
3530
|
-
"name": "log-level",
|
|
3531
|
-
"hasDynamicHelp": false,
|
|
3532
|
-
"multiple": false,
|
|
3533
|
-
"options": [
|
|
3534
|
-
"trace",
|
|
3535
|
-
"debug",
|
|
3536
|
-
"info",
|
|
3537
|
-
"warn",
|
|
3538
|
-
"error",
|
|
3539
|
-
"silent"
|
|
3540
|
-
],
|
|
3541
|
-
"type": "option"
|
|
3542
|
-
},
|
|
3543
|
-
"debug": {
|
|
3544
|
-
"char": "D",
|
|
3545
|
-
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
3546
|
-
"env": "SFCC_DEBUG",
|
|
3547
|
-
"helpGroup": "GLOBAL",
|
|
3548
|
-
"name": "debug",
|
|
3549
|
-
"allowNo": false,
|
|
3550
|
-
"type": "boolean"
|
|
3551
|
-
},
|
|
3552
|
-
"jsonl": {
|
|
3553
|
-
"aliases": [
|
|
3554
|
-
"json-logs"
|
|
3555
|
-
],
|
|
3556
|
-
"description": "Output log messages as JSON lines",
|
|
3557
|
-
"env": "SFCC_JSON_LOGS",
|
|
3558
|
-
"helpGroup": "GLOBAL",
|
|
3559
|
-
"name": "jsonl",
|
|
3560
|
-
"allowNo": false,
|
|
3561
|
-
"type": "boolean"
|
|
3562
|
-
},
|
|
3563
|
-
"lang": {
|
|
3564
|
-
"char": "L",
|
|
3565
|
-
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
3566
|
-
"helpGroup": "GLOBAL",
|
|
3567
|
-
"name": "lang",
|
|
3568
|
-
"hasDynamicHelp": false,
|
|
3569
|
-
"multiple": false,
|
|
3570
|
-
"type": "option"
|
|
3571
|
-
},
|
|
3572
|
-
"config": {
|
|
3573
|
-
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
3574
|
-
"env": "SFCC_CONFIG",
|
|
3575
|
-
"helpGroup": "GLOBAL",
|
|
3576
|
-
"name": "config",
|
|
3577
|
-
"hasDynamicHelp": false,
|
|
3578
|
-
"multiple": false,
|
|
3579
|
-
"type": "option"
|
|
3580
|
-
},
|
|
3581
|
-
"instance": {
|
|
3582
|
-
"char": "i",
|
|
3583
|
-
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
3584
|
-
"env": "SFCC_INSTANCE",
|
|
3585
|
-
"helpGroup": "GLOBAL",
|
|
3586
|
-
"name": "instance",
|
|
3587
|
-
"hasDynamicHelp": false,
|
|
3588
|
-
"multiple": false,
|
|
3589
|
-
"type": "option"
|
|
3590
|
-
},
|
|
3591
|
-
"project-directory": {
|
|
3592
|
-
"aliases": [
|
|
3593
|
-
"working-directory"
|
|
3594
|
-
],
|
|
3595
|
-
"description": "Project directory",
|
|
3596
|
-
"env": "SFCC_PROJECT_DIRECTORY",
|
|
3597
|
-
"helpGroup": "GLOBAL",
|
|
3598
|
-
"name": "project-directory",
|
|
3599
|
-
"hasDynamicHelp": false,
|
|
3600
|
-
"multiple": false,
|
|
3601
|
-
"type": "option"
|
|
3602
|
-
},
|
|
3603
|
-
"extra-query": {
|
|
3604
|
-
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
3605
|
-
"env": "SFCC_EXTRA_QUERY",
|
|
3606
|
-
"helpGroup": "GLOBAL",
|
|
3607
|
-
"hidden": true,
|
|
3608
|
-
"name": "extra-query",
|
|
3609
|
-
"hasDynamicHelp": false,
|
|
3610
|
-
"multiple": false,
|
|
3611
|
-
"type": "option"
|
|
3612
|
-
},
|
|
3613
|
-
"extra-body": {
|
|
3614
|
-
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
3615
|
-
"env": "SFCC_EXTRA_BODY",
|
|
3616
|
-
"helpGroup": "GLOBAL",
|
|
3617
|
-
"hidden": true,
|
|
3618
|
-
"name": "extra-body",
|
|
3619
|
-
"hasDynamicHelp": false,
|
|
3620
|
-
"multiple": false,
|
|
3621
|
-
"type": "option"
|
|
3622
|
-
},
|
|
3623
|
-
"extra-headers": {
|
|
3624
|
-
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
3625
|
-
"env": "SFCC_EXTRA_HEADERS",
|
|
3626
|
-
"helpGroup": "GLOBAL",
|
|
3627
|
-
"hidden": true,
|
|
3628
|
-
"name": "extra-headers",
|
|
3629
|
-
"hasDynamicHelp": false,
|
|
3630
|
-
"multiple": false,
|
|
3631
|
-
"type": "option"
|
|
3632
|
-
},
|
|
3633
|
-
"client-id": {
|
|
3634
|
-
"description": "Client ID for OAuth",
|
|
3635
|
-
"env": "SFCC_CLIENT_ID",
|
|
3636
|
-
"helpGroup": "AUTH",
|
|
3637
|
-
"name": "client-id",
|
|
3638
|
-
"hasDynamicHelp": false,
|
|
3639
|
-
"multiple": false,
|
|
3640
|
-
"type": "option"
|
|
3641
|
-
},
|
|
3642
|
-
"client-secret": {
|
|
3643
|
-
"description": "Client Secret for OAuth",
|
|
3644
|
-
"env": "SFCC_CLIENT_SECRET",
|
|
3645
|
-
"helpGroup": "AUTH",
|
|
3646
|
-
"name": "client-secret",
|
|
3647
|
-
"hasDynamicHelp": false,
|
|
3648
|
-
"multiple": false,
|
|
3649
|
-
"type": "option"
|
|
3650
|
-
},
|
|
3651
|
-
"auth-scope": {
|
|
3652
|
-
"description": "OAuth scopes to request (comma-separated)",
|
|
3653
|
-
"env": "SFCC_OAUTH_SCOPES",
|
|
3654
|
-
"helpGroup": "AUTH",
|
|
3655
|
-
"name": "auth-scope",
|
|
3656
|
-
"delimiter": ",",
|
|
3657
|
-
"hasDynamicHelp": false,
|
|
3658
|
-
"multiple": true,
|
|
3659
|
-
"type": "option"
|
|
3660
|
-
},
|
|
3661
|
-
"short-code": {
|
|
3662
|
-
"description": "SCAPI short code",
|
|
3663
|
-
"env": "SFCC_SHORTCODE",
|
|
3664
|
-
"helpGroup": "AUTH",
|
|
3665
|
-
"name": "short-code",
|
|
3666
|
-
"hasDynamicHelp": false,
|
|
3667
|
-
"multiple": false,
|
|
3668
|
-
"type": "option"
|
|
3669
|
-
},
|
|
3670
|
-
"tenant-id": {
|
|
3671
|
-
"aliases": [
|
|
3672
|
-
"tenant"
|
|
3673
|
-
],
|
|
3674
|
-
"description": "Organization/tenant ID",
|
|
3675
|
-
"env": "SFCC_TENANT_ID",
|
|
3676
|
-
"helpGroup": "AUTH",
|
|
3677
|
-
"name": "tenant-id",
|
|
3678
|
-
"hasDynamicHelp": false,
|
|
3679
|
-
"multiple": false,
|
|
3680
|
-
"type": "option"
|
|
3681
|
-
},
|
|
3682
|
-
"auth-methods": {
|
|
3683
|
-
"description": "Allowed auth methods in priority order (comma-separated)",
|
|
3684
|
-
"env": "SFCC_AUTH_METHODS",
|
|
3685
|
-
"exclusive": [
|
|
3686
|
-
"user-auth"
|
|
3687
|
-
],
|
|
3688
|
-
"helpGroup": "AUTH",
|
|
3689
|
-
"name": "auth-methods",
|
|
3690
|
-
"delimiter": ",",
|
|
3691
|
-
"hasDynamicHelp": false,
|
|
3692
|
-
"multiple": true,
|
|
3693
|
-
"options": [
|
|
3694
|
-
"client-credentials",
|
|
3695
|
-
"implicit",
|
|
3696
|
-
"basic",
|
|
3697
|
-
"api-key"
|
|
3698
|
-
],
|
|
3699
|
-
"type": "option"
|
|
3700
|
-
},
|
|
3701
|
-
"user-auth": {
|
|
3702
|
-
"description": "Use browser-based user authentication (implicit OAuth flow)",
|
|
3703
|
-
"exclusive": [
|
|
3704
|
-
"auth-methods"
|
|
3705
|
-
],
|
|
3706
|
-
"helpGroup": "AUTH",
|
|
3707
|
-
"name": "user-auth",
|
|
3708
|
-
"allowNo": false,
|
|
3709
|
-
"type": "boolean"
|
|
3710
|
-
},
|
|
3711
|
-
"account-manager-host": {
|
|
3712
|
-
"description": "Account Manager hostname for OAuth (default: account.demandware.com)",
|
|
3713
|
-
"env": "SFCC_ACCOUNT_MANAGER_HOST",
|
|
3714
|
-
"helpGroup": "AUTH",
|
|
3715
|
-
"name": "account-manager-host",
|
|
3716
|
-
"hasDynamicHelp": false,
|
|
3717
|
-
"multiple": false,
|
|
3718
|
-
"type": "option"
|
|
3719
|
-
},
|
|
3720
|
-
"server": {
|
|
3721
|
-
"char": "s",
|
|
3722
|
-
"description": "B2C instance hostname",
|
|
3723
|
-
"env": "SFCC_SERVER",
|
|
3724
|
-
"helpGroup": "INSTANCE",
|
|
3725
|
-
"name": "server",
|
|
3726
|
-
"hasDynamicHelp": false,
|
|
3727
|
-
"multiple": false,
|
|
3728
|
-
"type": "option"
|
|
3729
|
-
},
|
|
3730
|
-
"webdav-server": {
|
|
3731
|
-
"description": "Separate hostname for WebDAV (cert. hostname, etc)",
|
|
3732
|
-
"env": "SFCC_WEBDAV_SERVER",
|
|
3733
|
-
"helpGroup": "INSTANCE",
|
|
3734
|
-
"name": "webdav-server",
|
|
3735
|
-
"hasDynamicHelp": false,
|
|
3736
|
-
"multiple": false,
|
|
3737
|
-
"type": "option"
|
|
3738
|
-
},
|
|
3739
|
-
"code-version": {
|
|
3740
|
-
"char": "v",
|
|
3741
|
-
"description": "Code version",
|
|
3742
|
-
"env": "SFCC_CODE_VERSION",
|
|
3743
|
-
"helpGroup": "INSTANCE",
|
|
3744
|
-
"name": "code-version",
|
|
3745
|
-
"hasDynamicHelp": false,
|
|
3746
|
-
"multiple": false,
|
|
3747
|
-
"type": "option"
|
|
3748
|
-
},
|
|
3749
|
-
"username": {
|
|
3750
|
-
"char": "u",
|
|
3751
|
-
"description": "Username for Basic Auth (WebDAV)",
|
|
3752
|
-
"env": "SFCC_USERNAME",
|
|
3753
|
-
"helpGroup": "AUTH",
|
|
3754
|
-
"name": "username",
|
|
3755
|
-
"hasDynamicHelp": false,
|
|
3756
|
-
"multiple": false,
|
|
3757
|
-
"type": "option"
|
|
3758
|
-
},
|
|
3759
|
-
"password": {
|
|
3760
|
-
"char": "p",
|
|
3761
|
-
"description": "Password/access key for Basic Auth (WebDAV)",
|
|
3762
|
-
"env": "SFCC_PASSWORD",
|
|
3763
|
-
"helpGroup": "AUTH",
|
|
3764
|
-
"name": "password",
|
|
3765
|
-
"hasDynamicHelp": false,
|
|
3766
|
-
"multiple": false,
|
|
3767
|
-
"type": "option"
|
|
3768
|
-
},
|
|
3769
|
-
"certificate": {
|
|
3770
|
-
"description": "Path to PKCS12 certificate for two-factor auth",
|
|
3771
|
-
"env": "SFCC_CERTIFICATE",
|
|
3772
|
-
"helpGroup": "AUTH",
|
|
3773
|
-
"name": "certificate",
|
|
3774
|
-
"hasDynamicHelp": false,
|
|
3775
|
-
"multiple": false,
|
|
3776
|
-
"type": "option"
|
|
3777
|
-
},
|
|
3778
|
-
"passphrase": {
|
|
3779
|
-
"description": "Passphrase for the certificate",
|
|
3780
|
-
"env": "SFCC_CERTIFICATE_PASSPHRASE",
|
|
3781
|
-
"helpGroup": "AUTH",
|
|
3782
|
-
"name": "passphrase",
|
|
3783
|
-
"hasDynamicHelp": false,
|
|
3784
|
-
"multiple": false,
|
|
3785
|
-
"type": "option"
|
|
3786
|
-
},
|
|
3787
|
-
"selfsigned": {
|
|
3788
|
-
"description": "Allow self-signed server certificates",
|
|
3789
|
-
"env": "SFCC_SELFSIGNED",
|
|
3790
|
-
"helpGroup": "AUTH",
|
|
3791
|
-
"name": "selfsigned",
|
|
3792
|
-
"allowNo": false,
|
|
3793
|
-
"type": "boolean"
|
|
3794
|
-
},
|
|
3795
|
-
"verify": {
|
|
3796
|
-
"description": "Verify SSL certificates",
|
|
3797
|
-
"helpGroup": "AUTH",
|
|
3798
|
-
"name": "verify",
|
|
3799
|
-
"allowNo": true,
|
|
3800
|
-
"type": "boolean"
|
|
3801
|
-
},
|
|
3802
|
-
"library": {
|
|
3803
|
-
"description": "Library ID or site ID (also configurable via dw.json \"content-library\")",
|
|
3804
|
-
"name": "library",
|
|
3805
|
-
"hasDynamicHelp": false,
|
|
3806
|
-
"multiple": false,
|
|
3807
|
-
"type": "option"
|
|
3808
|
-
},
|
|
3809
|
-
"site-library": {
|
|
3810
|
-
"description": "Site-private library",
|
|
3811
|
-
"name": "site-library",
|
|
3812
|
-
"allowNo": false,
|
|
3813
|
-
"type": "boolean"
|
|
3814
|
-
},
|
|
3815
|
-
"library-file": {
|
|
3816
|
-
"description": "Local XML file",
|
|
3817
|
-
"name": "library-file",
|
|
3818
|
-
"hasDynamicHelp": false,
|
|
3819
|
-
"multiple": false,
|
|
3820
|
-
"type": "option"
|
|
3821
|
-
},
|
|
3822
|
-
"type": {
|
|
3823
|
-
"description": "Filter by node type",
|
|
3824
|
-
"name": "type",
|
|
3825
|
-
"hasDynamicHelp": false,
|
|
3826
|
-
"multiple": false,
|
|
3827
|
-
"options": [
|
|
3828
|
-
"page",
|
|
3829
|
-
"content",
|
|
3830
|
-
"component"
|
|
3831
|
-
],
|
|
3832
|
-
"type": "option"
|
|
3833
|
-
},
|
|
3834
|
-
"components": {
|
|
3835
|
-
"description": "Include components in output",
|
|
3836
|
-
"name": "components",
|
|
3837
|
-
"allowNo": false,
|
|
3838
|
-
"type": "boolean"
|
|
3839
|
-
},
|
|
3840
|
-
"tree": {
|
|
3841
|
-
"description": "Show tree structure",
|
|
3842
|
-
"name": "tree",
|
|
3843
|
-
"allowNo": false,
|
|
3844
|
-
"type": "boolean"
|
|
3845
|
-
},
|
|
3846
|
-
"timeout": {
|
|
3847
|
-
"description": "Job timeout in seconds",
|
|
3848
|
-
"name": "timeout",
|
|
3849
|
-
"hasDynamicHelp": false,
|
|
3850
|
-
"multiple": false,
|
|
3851
|
-
"type": "option"
|
|
3852
|
-
}
|
|
3853
|
-
},
|
|
3854
|
-
"hasDynamicHelp": false,
|
|
3855
|
-
"hiddenAliases": [],
|
|
3856
|
-
"id": "content:list",
|
|
3857
|
-
"pluginAlias": "@salesforce/b2c-cli",
|
|
3858
|
-
"pluginName": "@salesforce/b2c-cli",
|
|
3859
|
-
"pluginType": "core",
|
|
3860
|
-
"strict": true,
|
|
3861
|
-
"enableJsonFlag": true,
|
|
3862
|
-
"isESM": true,
|
|
3863
|
-
"relativePath": [
|
|
3864
|
-
"dist",
|
|
3865
|
-
"commands",
|
|
3866
|
-
"content",
|
|
3867
|
-
"list.js"
|
|
3868
|
-
]
|
|
3869
|
-
},
|
|
3870
3106
|
"docs:download": {
|
|
3871
3107
|
"aliases": [],
|
|
3872
3108
|
"args": {
|
|
@@ -4663,16 +3899,23 @@
|
|
|
4663
3899
|
"search.js"
|
|
4664
3900
|
]
|
|
4665
3901
|
},
|
|
4666
|
-
"
|
|
3902
|
+
"content:export": {
|
|
4667
3903
|
"aliases": [],
|
|
4668
|
-
"args": {
|
|
4669
|
-
|
|
3904
|
+
"args": {
|
|
3905
|
+
"pages": {
|
|
3906
|
+
"description": "Content IDs to export (pages, content assets, or components)",
|
|
3907
|
+
"name": "pages",
|
|
3908
|
+
"required": true
|
|
3909
|
+
}
|
|
3910
|
+
},
|
|
3911
|
+
"description": "Export Page Designer pages with components and assets from a content library",
|
|
4670
3912
|
"examples": [
|
|
4671
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4672
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4673
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4674
|
-
"<%= config.bin %> <%= command.id %> --
|
|
4675
|
-
"<%= config.bin %> <%= command.id %> --
|
|
3913
|
+
"<%= config.bin %> <%= command.id %> --library SharedLibrary homepage",
|
|
3914
|
+
"<%= config.bin %> <%= command.id %> --library SharedLibrary homepage about-us",
|
|
3915
|
+
"<%= config.bin %> <%= command.id %> --library SharedLibrary \"hero-.*\" --regex",
|
|
3916
|
+
"<%= config.bin %> <%= command.id %> --library RefArch --site-library homepage -o ./export",
|
|
3917
|
+
"<%= config.bin %> <%= command.id %> --library SharedLibrary homepage --json",
|
|
3918
|
+
"<%= config.bin %> <%= command.id %> --library SharedLibrary homepage --dry-run"
|
|
4676
3919
|
],
|
|
4677
3920
|
"flags": {
|
|
4678
3921
|
"json": {
|
|
@@ -4958,114 +4201,455 @@
|
|
|
4958
4201
|
"allowNo": true,
|
|
4959
4202
|
"type": "boolean"
|
|
4960
4203
|
},
|
|
4204
|
+
"library": {
|
|
4205
|
+
"description": "Library ID or site ID (also configurable via dw.json \"content-library\")",
|
|
4206
|
+
"name": "library",
|
|
4207
|
+
"hasDynamicHelp": false,
|
|
4208
|
+
"multiple": false,
|
|
4209
|
+
"type": "option"
|
|
4210
|
+
},
|
|
4961
4211
|
"output": {
|
|
4962
4212
|
"char": "o",
|
|
4963
|
-
"description": "Output
|
|
4213
|
+
"description": "Output directory",
|
|
4964
4214
|
"name": "output",
|
|
4965
|
-
"default": "./export",
|
|
4966
4215
|
"hasDynamicHelp": false,
|
|
4967
4216
|
"multiple": false,
|
|
4968
4217
|
"type": "option"
|
|
4969
4218
|
},
|
|
4970
|
-
"site": {
|
|
4971
|
-
"description": "
|
|
4972
|
-
"name": "site",
|
|
4973
|
-
"
|
|
4219
|
+
"site-library": {
|
|
4220
|
+
"description": "Library is a site-private library",
|
|
4221
|
+
"name": "site-library",
|
|
4222
|
+
"allowNo": false,
|
|
4223
|
+
"type": "boolean"
|
|
4224
|
+
},
|
|
4225
|
+
"asset-query": {
|
|
4226
|
+
"char": "q",
|
|
4227
|
+
"description": "JSON dot-paths for asset extraction",
|
|
4228
|
+
"name": "asset-query",
|
|
4229
|
+
"default": [
|
|
4230
|
+
"image.path"
|
|
4231
|
+
],
|
|
4974
4232
|
"hasDynamicHelp": false,
|
|
4975
4233
|
"multiple": true,
|
|
4976
4234
|
"type": "option"
|
|
4977
4235
|
},
|
|
4978
|
-
"
|
|
4979
|
-
"
|
|
4980
|
-
"
|
|
4236
|
+
"regex": {
|
|
4237
|
+
"char": "r",
|
|
4238
|
+
"description": "Treat page IDs as regular expressions",
|
|
4239
|
+
"name": "regex",
|
|
4240
|
+
"allowNo": false,
|
|
4241
|
+
"type": "boolean"
|
|
4242
|
+
},
|
|
4243
|
+
"folder": {
|
|
4244
|
+
"description": "Filter by folder classification",
|
|
4245
|
+
"name": "folder",
|
|
4246
|
+
"hasDynamicHelp": false,
|
|
4247
|
+
"multiple": true,
|
|
4248
|
+
"type": "option"
|
|
4249
|
+
},
|
|
4250
|
+
"offline": {
|
|
4251
|
+
"description": "Skip asset downloads",
|
|
4252
|
+
"name": "offline",
|
|
4253
|
+
"allowNo": false,
|
|
4254
|
+
"type": "boolean"
|
|
4255
|
+
},
|
|
4256
|
+
"library-file": {
|
|
4257
|
+
"description": "Use a local library XML file instead of fetching from instance",
|
|
4258
|
+
"name": "library-file",
|
|
4981
4259
|
"hasDynamicHelp": false,
|
|
4982
4260
|
"multiple": false,
|
|
4983
4261
|
"type": "option"
|
|
4984
4262
|
},
|
|
4985
|
-
"
|
|
4986
|
-
"description": "
|
|
4987
|
-
"name": "
|
|
4988
|
-
"
|
|
4263
|
+
"keep-orphans": {
|
|
4264
|
+
"description": "Include orphan components in export",
|
|
4265
|
+
"name": "keep-orphans",
|
|
4266
|
+
"allowNo": false,
|
|
4267
|
+
"type": "boolean"
|
|
4268
|
+
},
|
|
4269
|
+
"show-tree": {
|
|
4270
|
+
"description": "Display tree structure of exported content",
|
|
4271
|
+
"name": "show-tree",
|
|
4272
|
+
"allowNo": false,
|
|
4273
|
+
"type": "boolean"
|
|
4274
|
+
},
|
|
4275
|
+
"timeout": {
|
|
4276
|
+
"description": "Export job timeout in seconds",
|
|
4277
|
+
"name": "timeout",
|
|
4989
4278
|
"hasDynamicHelp": false,
|
|
4990
|
-
"multiple":
|
|
4279
|
+
"multiple": false,
|
|
4991
4280
|
"type": "option"
|
|
4992
4281
|
},
|
|
4993
|
-
"
|
|
4994
|
-
"description": "
|
|
4995
|
-
"name": "
|
|
4996
|
-
"
|
|
4282
|
+
"dry-run": {
|
|
4283
|
+
"description": "Preview export without downloading assets or writing files",
|
|
4284
|
+
"name": "dry-run",
|
|
4285
|
+
"allowNo": false,
|
|
4286
|
+
"type": "boolean"
|
|
4287
|
+
}
|
|
4288
|
+
},
|
|
4289
|
+
"hasDynamicHelp": false,
|
|
4290
|
+
"hiddenAliases": [],
|
|
4291
|
+
"id": "content:export",
|
|
4292
|
+
"pluginAlias": "@salesforce/b2c-cli",
|
|
4293
|
+
"pluginName": "@salesforce/b2c-cli",
|
|
4294
|
+
"pluginType": "core",
|
|
4295
|
+
"strict": false,
|
|
4296
|
+
"enableJsonFlag": true,
|
|
4297
|
+
"isESM": true,
|
|
4298
|
+
"relativePath": [
|
|
4299
|
+
"dist",
|
|
4300
|
+
"commands",
|
|
4301
|
+
"content",
|
|
4302
|
+
"export.js"
|
|
4303
|
+
]
|
|
4304
|
+
},
|
|
4305
|
+
"content:list": {
|
|
4306
|
+
"aliases": [],
|
|
4307
|
+
"args": {},
|
|
4308
|
+
"description": "List pages and content in a content library",
|
|
4309
|
+
"examples": [
|
|
4310
|
+
"<%= config.bin %> <%= command.id %> --library SharedLibrary",
|
|
4311
|
+
"<%= config.bin %> <%= command.id %> --library SharedLibrary --tree",
|
|
4312
|
+
"<%= config.bin %> <%= command.id %> --library RefArch --site-library --type page"
|
|
4313
|
+
],
|
|
4314
|
+
"flags": {
|
|
4315
|
+
"json": {
|
|
4316
|
+
"description": "Output result as JSON",
|
|
4317
|
+
"helpGroup": "GLOBAL",
|
|
4318
|
+
"name": "json",
|
|
4319
|
+
"allowNo": false,
|
|
4320
|
+
"type": "boolean"
|
|
4321
|
+
},
|
|
4322
|
+
"log-level": {
|
|
4323
|
+
"description": "Set logging verbosity level",
|
|
4324
|
+
"env": "SFCC_LOG_LEVEL",
|
|
4325
|
+
"helpGroup": "GLOBAL",
|
|
4326
|
+
"name": "log-level",
|
|
4997
4327
|
"hasDynamicHelp": false,
|
|
4998
|
-
"multiple":
|
|
4328
|
+
"multiple": false,
|
|
4329
|
+
"options": [
|
|
4330
|
+
"trace",
|
|
4331
|
+
"debug",
|
|
4332
|
+
"info",
|
|
4333
|
+
"warn",
|
|
4334
|
+
"error",
|
|
4335
|
+
"silent"
|
|
4336
|
+
],
|
|
4999
4337
|
"type": "option"
|
|
5000
4338
|
},
|
|
5001
|
-
"
|
|
5002
|
-
"
|
|
5003
|
-
"
|
|
4339
|
+
"debug": {
|
|
4340
|
+
"char": "D",
|
|
4341
|
+
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
4342
|
+
"env": "SFCC_DEBUG",
|
|
4343
|
+
"helpGroup": "GLOBAL",
|
|
4344
|
+
"name": "debug",
|
|
4345
|
+
"allowNo": false,
|
|
4346
|
+
"type": "boolean"
|
|
4347
|
+
},
|
|
4348
|
+
"jsonl": {
|
|
4349
|
+
"aliases": [
|
|
4350
|
+
"json-logs"
|
|
4351
|
+
],
|
|
4352
|
+
"description": "Output log messages as JSON lines",
|
|
4353
|
+
"env": "SFCC_JSON_LOGS",
|
|
4354
|
+
"helpGroup": "GLOBAL",
|
|
4355
|
+
"name": "jsonl",
|
|
4356
|
+
"allowNo": false,
|
|
4357
|
+
"type": "boolean"
|
|
4358
|
+
},
|
|
4359
|
+
"lang": {
|
|
4360
|
+
"char": "L",
|
|
4361
|
+
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
4362
|
+
"helpGroup": "GLOBAL",
|
|
4363
|
+
"name": "lang",
|
|
4364
|
+
"hasDynamicHelp": false,
|
|
4365
|
+
"multiple": false,
|
|
4366
|
+
"type": "option"
|
|
4367
|
+
},
|
|
4368
|
+
"config": {
|
|
4369
|
+
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
4370
|
+
"env": "SFCC_CONFIG",
|
|
4371
|
+
"helpGroup": "GLOBAL",
|
|
4372
|
+
"name": "config",
|
|
4373
|
+
"hasDynamicHelp": false,
|
|
4374
|
+
"multiple": false,
|
|
4375
|
+
"type": "option"
|
|
4376
|
+
},
|
|
4377
|
+
"instance": {
|
|
4378
|
+
"char": "i",
|
|
4379
|
+
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
4380
|
+
"env": "SFCC_INSTANCE",
|
|
4381
|
+
"helpGroup": "GLOBAL",
|
|
4382
|
+
"name": "instance",
|
|
4383
|
+
"hasDynamicHelp": false,
|
|
4384
|
+
"multiple": false,
|
|
4385
|
+
"type": "option"
|
|
4386
|
+
},
|
|
4387
|
+
"project-directory": {
|
|
4388
|
+
"aliases": [
|
|
4389
|
+
"working-directory"
|
|
4390
|
+
],
|
|
4391
|
+
"description": "Project directory",
|
|
4392
|
+
"env": "SFCC_PROJECT_DIRECTORY",
|
|
4393
|
+
"helpGroup": "GLOBAL",
|
|
4394
|
+
"name": "project-directory",
|
|
4395
|
+
"hasDynamicHelp": false,
|
|
4396
|
+
"multiple": false,
|
|
4397
|
+
"type": "option"
|
|
4398
|
+
},
|
|
4399
|
+
"extra-query": {
|
|
4400
|
+
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
4401
|
+
"env": "SFCC_EXTRA_QUERY",
|
|
4402
|
+
"helpGroup": "GLOBAL",
|
|
4403
|
+
"hidden": true,
|
|
4404
|
+
"name": "extra-query",
|
|
4405
|
+
"hasDynamicHelp": false,
|
|
4406
|
+
"multiple": false,
|
|
4407
|
+
"type": "option"
|
|
4408
|
+
},
|
|
4409
|
+
"extra-body": {
|
|
4410
|
+
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
4411
|
+
"env": "SFCC_EXTRA_BODY",
|
|
4412
|
+
"helpGroup": "GLOBAL",
|
|
4413
|
+
"hidden": true,
|
|
4414
|
+
"name": "extra-body",
|
|
4415
|
+
"hasDynamicHelp": false,
|
|
4416
|
+
"multiple": false,
|
|
4417
|
+
"type": "option"
|
|
4418
|
+
},
|
|
4419
|
+
"extra-headers": {
|
|
4420
|
+
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
4421
|
+
"env": "SFCC_EXTRA_HEADERS",
|
|
4422
|
+
"helpGroup": "GLOBAL",
|
|
4423
|
+
"hidden": true,
|
|
4424
|
+
"name": "extra-headers",
|
|
4425
|
+
"hasDynamicHelp": false,
|
|
4426
|
+
"multiple": false,
|
|
4427
|
+
"type": "option"
|
|
4428
|
+
},
|
|
4429
|
+
"client-id": {
|
|
4430
|
+
"description": "Client ID for OAuth",
|
|
4431
|
+
"env": "SFCC_CLIENT_ID",
|
|
4432
|
+
"helpGroup": "AUTH",
|
|
4433
|
+
"name": "client-id",
|
|
4434
|
+
"hasDynamicHelp": false,
|
|
4435
|
+
"multiple": false,
|
|
4436
|
+
"type": "option"
|
|
4437
|
+
},
|
|
4438
|
+
"client-secret": {
|
|
4439
|
+
"description": "Client Secret for OAuth",
|
|
4440
|
+
"env": "SFCC_CLIENT_SECRET",
|
|
4441
|
+
"helpGroup": "AUTH",
|
|
4442
|
+
"name": "client-secret",
|
|
4443
|
+
"hasDynamicHelp": false,
|
|
4444
|
+
"multiple": false,
|
|
4445
|
+
"type": "option"
|
|
4446
|
+
},
|
|
4447
|
+
"auth-scope": {
|
|
4448
|
+
"description": "OAuth scopes to request (comma-separated)",
|
|
4449
|
+
"env": "SFCC_OAUTH_SCOPES",
|
|
4450
|
+
"helpGroup": "AUTH",
|
|
4451
|
+
"name": "auth-scope",
|
|
5004
4452
|
"delimiter": ",",
|
|
5005
4453
|
"hasDynamicHelp": false,
|
|
5006
4454
|
"multiple": true,
|
|
5007
4455
|
"type": "option"
|
|
5008
4456
|
},
|
|
5009
|
-
"
|
|
5010
|
-
"description": "
|
|
5011
|
-
"
|
|
4457
|
+
"short-code": {
|
|
4458
|
+
"description": "SCAPI short code",
|
|
4459
|
+
"env": "SFCC_SHORTCODE",
|
|
4460
|
+
"helpGroup": "AUTH",
|
|
4461
|
+
"name": "short-code",
|
|
4462
|
+
"hasDynamicHelp": false,
|
|
4463
|
+
"multiple": false,
|
|
4464
|
+
"type": "option"
|
|
4465
|
+
},
|
|
4466
|
+
"tenant-id": {
|
|
4467
|
+
"aliases": [
|
|
4468
|
+
"tenant"
|
|
4469
|
+
],
|
|
4470
|
+
"description": "Organization/tenant ID",
|
|
4471
|
+
"env": "SFCC_TENANT_ID",
|
|
4472
|
+
"helpGroup": "AUTH",
|
|
4473
|
+
"name": "tenant-id",
|
|
4474
|
+
"hasDynamicHelp": false,
|
|
4475
|
+
"multiple": false,
|
|
4476
|
+
"type": "option"
|
|
4477
|
+
},
|
|
4478
|
+
"auth-methods": {
|
|
4479
|
+
"description": "Allowed auth methods in priority order (comma-separated)",
|
|
4480
|
+
"env": "SFCC_AUTH_METHODS",
|
|
4481
|
+
"exclusive": [
|
|
4482
|
+
"user-auth"
|
|
4483
|
+
],
|
|
4484
|
+
"helpGroup": "AUTH",
|
|
4485
|
+
"name": "auth-methods",
|
|
5012
4486
|
"delimiter": ",",
|
|
5013
4487
|
"hasDynamicHelp": false,
|
|
5014
4488
|
"multiple": true,
|
|
4489
|
+
"options": [
|
|
4490
|
+
"client-credentials",
|
|
4491
|
+
"implicit",
|
|
4492
|
+
"basic",
|
|
4493
|
+
"api-key"
|
|
4494
|
+
],
|
|
5015
4495
|
"type": "option"
|
|
5016
4496
|
},
|
|
5017
|
-
"
|
|
5018
|
-
"description": "
|
|
5019
|
-
"
|
|
4497
|
+
"user-auth": {
|
|
4498
|
+
"description": "Use browser-based user authentication (implicit OAuth flow)",
|
|
4499
|
+
"exclusive": [
|
|
4500
|
+
"auth-methods"
|
|
4501
|
+
],
|
|
4502
|
+
"helpGroup": "AUTH",
|
|
4503
|
+
"name": "user-auth",
|
|
4504
|
+
"allowNo": false,
|
|
4505
|
+
"type": "boolean"
|
|
4506
|
+
},
|
|
4507
|
+
"account-manager-host": {
|
|
4508
|
+
"description": "Account Manager hostname for OAuth (default: account.demandware.com)",
|
|
4509
|
+
"env": "SFCC_ACCOUNT_MANAGER_HOST",
|
|
4510
|
+
"helpGroup": "AUTH",
|
|
4511
|
+
"name": "account-manager-host",
|
|
5020
4512
|
"hasDynamicHelp": false,
|
|
5021
4513
|
"multiple": false,
|
|
5022
4514
|
"type": "option"
|
|
5023
4515
|
},
|
|
5024
|
-
"
|
|
5025
|
-
"char": "
|
|
5026
|
-
"description": "
|
|
5027
|
-
"
|
|
4516
|
+
"server": {
|
|
4517
|
+
"char": "s",
|
|
4518
|
+
"description": "B2C instance hostname",
|
|
4519
|
+
"env": "SFCC_SERVER",
|
|
4520
|
+
"helpGroup": "INSTANCE",
|
|
4521
|
+
"name": "server",
|
|
5028
4522
|
"hasDynamicHelp": false,
|
|
5029
4523
|
"multiple": false,
|
|
5030
4524
|
"type": "option"
|
|
5031
4525
|
},
|
|
5032
|
-
"
|
|
5033
|
-
"
|
|
5034
|
-
"
|
|
5035
|
-
"
|
|
4526
|
+
"webdav-server": {
|
|
4527
|
+
"description": "Separate hostname for WebDAV (cert. hostname, etc)",
|
|
4528
|
+
"env": "SFCC_WEBDAV_SERVER",
|
|
4529
|
+
"helpGroup": "INSTANCE",
|
|
4530
|
+
"name": "webdav-server",
|
|
4531
|
+
"hasDynamicHelp": false,
|
|
4532
|
+
"multiple": false,
|
|
4533
|
+
"type": "option"
|
|
4534
|
+
},
|
|
4535
|
+
"code-version": {
|
|
4536
|
+
"char": "v",
|
|
4537
|
+
"description": "Code version",
|
|
4538
|
+
"env": "SFCC_CODE_VERSION",
|
|
4539
|
+
"helpGroup": "INSTANCE",
|
|
4540
|
+
"name": "code-version",
|
|
4541
|
+
"hasDynamicHelp": false,
|
|
4542
|
+
"multiple": false,
|
|
4543
|
+
"type": "option"
|
|
4544
|
+
},
|
|
4545
|
+
"username": {
|
|
4546
|
+
"char": "u",
|
|
4547
|
+
"description": "Username for Basic Auth (WebDAV)",
|
|
4548
|
+
"env": "SFCC_USERNAME",
|
|
4549
|
+
"helpGroup": "AUTH",
|
|
4550
|
+
"name": "username",
|
|
4551
|
+
"hasDynamicHelp": false,
|
|
4552
|
+
"multiple": false,
|
|
4553
|
+
"type": "option"
|
|
4554
|
+
},
|
|
4555
|
+
"password": {
|
|
4556
|
+
"char": "p",
|
|
4557
|
+
"description": "Password/access key for Basic Auth (WebDAV)",
|
|
4558
|
+
"env": "SFCC_PASSWORD",
|
|
4559
|
+
"helpGroup": "AUTH",
|
|
4560
|
+
"name": "password",
|
|
4561
|
+
"hasDynamicHelp": false,
|
|
4562
|
+
"multiple": false,
|
|
4563
|
+
"type": "option"
|
|
4564
|
+
},
|
|
4565
|
+
"certificate": {
|
|
4566
|
+
"description": "Path to PKCS12 certificate for two-factor auth",
|
|
4567
|
+
"env": "SFCC_CERTIFICATE",
|
|
4568
|
+
"helpGroup": "AUTH",
|
|
4569
|
+
"name": "certificate",
|
|
4570
|
+
"hasDynamicHelp": false,
|
|
4571
|
+
"multiple": false,
|
|
4572
|
+
"type": "option"
|
|
4573
|
+
},
|
|
4574
|
+
"passphrase": {
|
|
4575
|
+
"description": "Passphrase for the certificate",
|
|
4576
|
+
"env": "SFCC_CERTIFICATE_PASSPHRASE",
|
|
4577
|
+
"helpGroup": "AUTH",
|
|
4578
|
+
"name": "passphrase",
|
|
4579
|
+
"hasDynamicHelp": false,
|
|
4580
|
+
"multiple": false,
|
|
4581
|
+
"type": "option"
|
|
4582
|
+
},
|
|
4583
|
+
"selfsigned": {
|
|
4584
|
+
"description": "Allow self-signed server certificates",
|
|
4585
|
+
"env": "SFCC_SELFSIGNED",
|
|
4586
|
+
"helpGroup": "AUTH",
|
|
4587
|
+
"name": "selfsigned",
|
|
5036
4588
|
"allowNo": false,
|
|
5037
4589
|
"type": "boolean"
|
|
5038
4590
|
},
|
|
5039
|
-
"
|
|
5040
|
-
"description": "
|
|
5041
|
-
"
|
|
5042
|
-
"
|
|
4591
|
+
"verify": {
|
|
4592
|
+
"description": "Verify SSL certificates",
|
|
4593
|
+
"helpGroup": "AUTH",
|
|
4594
|
+
"name": "verify",
|
|
4595
|
+
"allowNo": true,
|
|
5043
4596
|
"type": "boolean"
|
|
5044
4597
|
},
|
|
5045
|
-
"
|
|
5046
|
-
"description": "
|
|
5047
|
-
"name": "
|
|
4598
|
+
"library": {
|
|
4599
|
+
"description": "Library ID or site ID (also configurable via dw.json \"content-library\")",
|
|
4600
|
+
"name": "library",
|
|
4601
|
+
"hasDynamicHelp": false,
|
|
4602
|
+
"multiple": false,
|
|
4603
|
+
"type": "option"
|
|
4604
|
+
},
|
|
4605
|
+
"site-library": {
|
|
4606
|
+
"description": "Site-private library",
|
|
4607
|
+
"name": "site-library",
|
|
5048
4608
|
"allowNo": false,
|
|
5049
4609
|
"type": "boolean"
|
|
5050
4610
|
},
|
|
5051
|
-
"
|
|
5052
|
-
"
|
|
5053
|
-
"
|
|
5054
|
-
"name": "timeout",
|
|
4611
|
+
"library-file": {
|
|
4612
|
+
"description": "Local XML file",
|
|
4613
|
+
"name": "library-file",
|
|
5055
4614
|
"hasDynamicHelp": false,
|
|
5056
4615
|
"multiple": false,
|
|
5057
4616
|
"type": "option"
|
|
5058
4617
|
},
|
|
5059
|
-
"
|
|
5060
|
-
"description": "
|
|
5061
|
-
"name": "
|
|
4618
|
+
"type": {
|
|
4619
|
+
"description": "Filter by node type",
|
|
4620
|
+
"name": "type",
|
|
4621
|
+
"hasDynamicHelp": false,
|
|
4622
|
+
"multiple": false,
|
|
4623
|
+
"options": [
|
|
4624
|
+
"page",
|
|
4625
|
+
"content",
|
|
4626
|
+
"component"
|
|
4627
|
+
],
|
|
4628
|
+
"type": "option"
|
|
4629
|
+
},
|
|
4630
|
+
"components": {
|
|
4631
|
+
"description": "Include components in output",
|
|
4632
|
+
"name": "components",
|
|
5062
4633
|
"allowNo": false,
|
|
5063
4634
|
"type": "boolean"
|
|
4635
|
+
},
|
|
4636
|
+
"tree": {
|
|
4637
|
+
"description": "Show tree structure",
|
|
4638
|
+
"name": "tree",
|
|
4639
|
+
"allowNo": false,
|
|
4640
|
+
"type": "boolean"
|
|
4641
|
+
},
|
|
4642
|
+
"timeout": {
|
|
4643
|
+
"description": "Job timeout in seconds",
|
|
4644
|
+
"name": "timeout",
|
|
4645
|
+
"hasDynamicHelp": false,
|
|
4646
|
+
"multiple": false,
|
|
4647
|
+
"type": "option"
|
|
5064
4648
|
}
|
|
5065
4649
|
},
|
|
5066
4650
|
"hasDynamicHelp": false,
|
|
5067
4651
|
"hiddenAliases": [],
|
|
5068
|
-
"id": "
|
|
4652
|
+
"id": "content:list",
|
|
5069
4653
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
5070
4654
|
"pluginName": "@salesforce/b2c-cli",
|
|
5071
4655
|
"pluginType": "core",
|
|
@@ -5075,25 +4659,20 @@
|
|
|
5075
4659
|
"relativePath": [
|
|
5076
4660
|
"dist",
|
|
5077
4661
|
"commands",
|
|
5078
|
-
"
|
|
5079
|
-
"
|
|
4662
|
+
"content",
|
|
4663
|
+
"list.js"
|
|
5080
4664
|
]
|
|
5081
4665
|
},
|
|
5082
|
-
"job:
|
|
4666
|
+
"job:export": {
|
|
5083
4667
|
"aliases": [],
|
|
5084
|
-
"args": {
|
|
5085
|
-
|
|
5086
|
-
"description": "Directory, zip file, or remote filename to import",
|
|
5087
|
-
"name": "target",
|
|
5088
|
-
"required": true
|
|
5089
|
-
}
|
|
5090
|
-
},
|
|
5091
|
-
"description": "Import a site archive to a B2C Commerce instance using sfcc-site-archive-import job\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-import",
|
|
4668
|
+
"args": {},
|
|
4669
|
+
"description": "Job execution and site archive import/export (IMPEX)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-export",
|
|
5092
4670
|
"examples": [
|
|
5093
|
-
"<%= config.bin %> <%= command.id %>
|
|
5094
|
-
"<%= config.bin %> <%= command.id %>
|
|
5095
|
-
"<%= config.bin %> <%= command.id %>
|
|
5096
|
-
"<%= config.bin %> <%= command.id %>
|
|
4671
|
+
"<%= config.bin %> <%= command.id %> --global-data meta_data",
|
|
4672
|
+
"<%= config.bin %> <%= command.id %> --site RefArch --site-data content,site_preferences",
|
|
4673
|
+
"<%= config.bin %> <%= command.id %> --catalog storefront-catalog",
|
|
4674
|
+
"<%= config.bin %> <%= command.id %> --data-units '{\"global_data\":{\"meta_data\":true}}'",
|
|
4675
|
+
"<%= config.bin %> <%= command.id %> --output ./exports --no-download"
|
|
5097
4676
|
],
|
|
5098
4677
|
"flags": {
|
|
5099
4678
|
"json": {
|
|
@@ -5379,17 +4958,93 @@
|
|
|
5379
4958
|
"allowNo": true,
|
|
5380
4959
|
"type": "boolean"
|
|
5381
4960
|
},
|
|
4961
|
+
"output": {
|
|
4962
|
+
"char": "o",
|
|
4963
|
+
"description": "Output path (directory or .zip file)",
|
|
4964
|
+
"name": "output",
|
|
4965
|
+
"default": "./export",
|
|
4966
|
+
"hasDynamicHelp": false,
|
|
4967
|
+
"multiple": false,
|
|
4968
|
+
"type": "option"
|
|
4969
|
+
},
|
|
4970
|
+
"site": {
|
|
4971
|
+
"description": "Site IDs to export (comma-separated)",
|
|
4972
|
+
"name": "site",
|
|
4973
|
+
"delimiter": ",",
|
|
4974
|
+
"hasDynamicHelp": false,
|
|
4975
|
+
"multiple": true,
|
|
4976
|
+
"type": "option"
|
|
4977
|
+
},
|
|
4978
|
+
"site-data": {
|
|
4979
|
+
"description": "Site data units to export (comma-separated: content,site_preferences,etc.)",
|
|
4980
|
+
"name": "site-data",
|
|
4981
|
+
"hasDynamicHelp": false,
|
|
4982
|
+
"multiple": false,
|
|
4983
|
+
"type": "option"
|
|
4984
|
+
},
|
|
4985
|
+
"catalog": {
|
|
4986
|
+
"description": "Catalog IDs to export (comma-separated)",
|
|
4987
|
+
"name": "catalog",
|
|
4988
|
+
"delimiter": ",",
|
|
4989
|
+
"hasDynamicHelp": false,
|
|
4990
|
+
"multiple": true,
|
|
4991
|
+
"type": "option"
|
|
4992
|
+
},
|
|
4993
|
+
"library": {
|
|
4994
|
+
"description": "Library IDs to export (comma-separated)",
|
|
4995
|
+
"name": "library",
|
|
4996
|
+
"delimiter": ",",
|
|
4997
|
+
"hasDynamicHelp": false,
|
|
4998
|
+
"multiple": true,
|
|
4999
|
+
"type": "option"
|
|
5000
|
+
},
|
|
5001
|
+
"inventory-list": {
|
|
5002
|
+
"description": "Inventory list IDs to export (comma-separated)",
|
|
5003
|
+
"name": "inventory-list",
|
|
5004
|
+
"delimiter": ",",
|
|
5005
|
+
"hasDynamicHelp": false,
|
|
5006
|
+
"multiple": true,
|
|
5007
|
+
"type": "option"
|
|
5008
|
+
},
|
|
5009
|
+
"price-book": {
|
|
5010
|
+
"description": "Price book IDs to export (comma-separated)",
|
|
5011
|
+
"name": "price-book",
|
|
5012
|
+
"delimiter": ",",
|
|
5013
|
+
"hasDynamicHelp": false,
|
|
5014
|
+
"multiple": true,
|
|
5015
|
+
"type": "option"
|
|
5016
|
+
},
|
|
5017
|
+
"global-data": {
|
|
5018
|
+
"description": "Global data units to export (comma-separated: meta_data,custom_types,etc.)",
|
|
5019
|
+
"name": "global-data",
|
|
5020
|
+
"hasDynamicHelp": false,
|
|
5021
|
+
"multiple": false,
|
|
5022
|
+
"type": "option"
|
|
5023
|
+
},
|
|
5024
|
+
"data-units": {
|
|
5025
|
+
"char": "d",
|
|
5026
|
+
"description": "Full data units configuration as JSON string",
|
|
5027
|
+
"name": "data-units",
|
|
5028
|
+
"hasDynamicHelp": false,
|
|
5029
|
+
"multiple": false,
|
|
5030
|
+
"type": "option"
|
|
5031
|
+
},
|
|
5382
5032
|
"keep-archive": {
|
|
5383
5033
|
"char": "k",
|
|
5384
|
-
"description": "Keep archive on instance after
|
|
5034
|
+
"description": "Keep archive on instance after download",
|
|
5385
5035
|
"name": "keep-archive",
|
|
5386
5036
|
"allowNo": false,
|
|
5387
5037
|
"type": "boolean"
|
|
5388
5038
|
},
|
|
5389
|
-
"
|
|
5390
|
-
"
|
|
5391
|
-
"
|
|
5392
|
-
"
|
|
5039
|
+
"no-download": {
|
|
5040
|
+
"description": "Do not download the archive (leave on instance)",
|
|
5041
|
+
"name": "no-download",
|
|
5042
|
+
"allowNo": false,
|
|
5043
|
+
"type": "boolean"
|
|
5044
|
+
},
|
|
5045
|
+
"zip-only": {
|
|
5046
|
+
"description": "Save as zip file without extracting",
|
|
5047
|
+
"name": "zip-only",
|
|
5393
5048
|
"allowNo": false,
|
|
5394
5049
|
"type": "boolean"
|
|
5395
5050
|
},
|
|
@@ -5410,7 +5065,7 @@
|
|
|
5410
5065
|
},
|
|
5411
5066
|
"hasDynamicHelp": false,
|
|
5412
5067
|
"hiddenAliases": [],
|
|
5413
|
-
"id": "job:
|
|
5068
|
+
"id": "job:export",
|
|
5414
5069
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
5415
5070
|
"pluginName": "@salesforce/b2c-cli",
|
|
5416
5071
|
"pluginType": "core",
|
|
@@ -5421,25 +5076,24 @@
|
|
|
5421
5076
|
"dist",
|
|
5422
5077
|
"commands",
|
|
5423
5078
|
"job",
|
|
5424
|
-
"
|
|
5079
|
+
"export.js"
|
|
5425
5080
|
]
|
|
5426
5081
|
},
|
|
5427
|
-
"job:
|
|
5082
|
+
"job:import": {
|
|
5428
5083
|
"aliases": [],
|
|
5429
5084
|
"args": {
|
|
5430
|
-
"
|
|
5431
|
-
"description": "
|
|
5432
|
-
"name": "
|
|
5085
|
+
"target": {
|
|
5086
|
+
"description": "Directory, zip file, or remote filename to import",
|
|
5087
|
+
"name": "target",
|
|
5433
5088
|
"required": true
|
|
5434
5089
|
}
|
|
5435
5090
|
},
|
|
5436
|
-
"description": "
|
|
5091
|
+
"description": "Import a site archive to a B2C Commerce instance using sfcc-site-archive-import job\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-import",
|
|
5437
5092
|
"examples": [
|
|
5438
|
-
"<%= config.bin %> <%= command.id %> my-
|
|
5439
|
-
"<%= config.bin %> <%= command.id %>
|
|
5440
|
-
"<%= config.bin %> <%= command.id %> my-
|
|
5441
|
-
"<%= config.bin %> <%= command.id %>
|
|
5442
|
-
"<%= config.bin %> <%= command.id %> sfcc-search-index-product-full-update --body '{\"site_scope\":{\"named_sites\":[\"RefArch\"]}}'"
|
|
5093
|
+
"<%= config.bin %> <%= command.id %> ./my-site-data",
|
|
5094
|
+
"<%= config.bin %> <%= command.id %> ./export.zip",
|
|
5095
|
+
"<%= config.bin %> <%= command.id %> ./my-site-data --keep-archive",
|
|
5096
|
+
"<%= config.bin %> <%= command.id %> existing-archive.zip --remote"
|
|
5443
5097
|
],
|
|
5444
5098
|
"flags": {
|
|
5445
5099
|
"json": {
|
|
@@ -5725,49 +5379,28 @@
|
|
|
5725
5379
|
"allowNo": true,
|
|
5726
5380
|
"type": "boolean"
|
|
5727
5381
|
},
|
|
5728
|
-
"
|
|
5729
|
-
"char": "
|
|
5730
|
-
"description": "
|
|
5731
|
-
"name": "
|
|
5382
|
+
"keep-archive": {
|
|
5383
|
+
"char": "k",
|
|
5384
|
+
"description": "Keep archive on instance after import",
|
|
5385
|
+
"name": "keep-archive",
|
|
5386
|
+
"allowNo": false,
|
|
5387
|
+
"type": "boolean"
|
|
5388
|
+
},
|
|
5389
|
+
"remote": {
|
|
5390
|
+
"char": "r",
|
|
5391
|
+
"description": "Target is a filename already on the instance (in Impex/src/instance/)",
|
|
5392
|
+
"name": "remote",
|
|
5732
5393
|
"allowNo": false,
|
|
5733
5394
|
"type": "boolean"
|
|
5734
5395
|
},
|
|
5735
5396
|
"timeout": {
|
|
5736
5397
|
"char": "t",
|
|
5737
|
-
"description": "Timeout in seconds
|
|
5398
|
+
"description": "Timeout in seconds (default: no timeout)",
|
|
5738
5399
|
"name": "timeout",
|
|
5739
5400
|
"hasDynamicHelp": false,
|
|
5740
5401
|
"multiple": false,
|
|
5741
5402
|
"type": "option"
|
|
5742
5403
|
},
|
|
5743
|
-
"param": {
|
|
5744
|
-
"char": "P",
|
|
5745
|
-
"description": "Job parameter in format \"name=value\" (use -P multiple times for multiple params)",
|
|
5746
|
-
"exclusive": [
|
|
5747
|
-
"body"
|
|
5748
|
-
],
|
|
5749
|
-
"name": "param",
|
|
5750
|
-
"hasDynamicHelp": false,
|
|
5751
|
-
"multiple": true,
|
|
5752
|
-
"type": "option"
|
|
5753
|
-
},
|
|
5754
|
-
"body": {
|
|
5755
|
-
"char": "B",
|
|
5756
|
-
"description": "Raw JSON request body (for system jobs with non-standard schemas)",
|
|
5757
|
-
"exclusive": [
|
|
5758
|
-
"param"
|
|
5759
|
-
],
|
|
5760
|
-
"name": "body",
|
|
5761
|
-
"hasDynamicHelp": false,
|
|
5762
|
-
"multiple": false,
|
|
5763
|
-
"type": "option"
|
|
5764
|
-
},
|
|
5765
|
-
"no-wait-running": {
|
|
5766
|
-
"description": "Do not wait for running job to finish before starting",
|
|
5767
|
-
"name": "no-wait-running",
|
|
5768
|
-
"allowNo": false,
|
|
5769
|
-
"type": "boolean"
|
|
5770
|
-
},
|
|
5771
5404
|
"show-log": {
|
|
5772
5405
|
"description": "Show job log on failure",
|
|
5773
5406
|
"name": "show-log",
|
|
@@ -5777,7 +5410,7 @@
|
|
|
5777
5410
|
},
|
|
5778
5411
|
"hasDynamicHelp": false,
|
|
5779
5412
|
"hiddenAliases": [],
|
|
5780
|
-
"id": "job:
|
|
5413
|
+
"id": "job:import",
|
|
5781
5414
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
5782
5415
|
"pluginName": "@salesforce/b2c-cli",
|
|
5783
5416
|
"pluginType": "core",
|
|
@@ -5788,19 +5421,25 @@
|
|
|
5788
5421
|
"dist",
|
|
5789
5422
|
"commands",
|
|
5790
5423
|
"job",
|
|
5791
|
-
"
|
|
5424
|
+
"import.js"
|
|
5792
5425
|
]
|
|
5793
5426
|
},
|
|
5794
|
-
"job:
|
|
5427
|
+
"job:run": {
|
|
5795
5428
|
"aliases": [],
|
|
5796
|
-
"args": {
|
|
5797
|
-
|
|
5429
|
+
"args": {
|
|
5430
|
+
"jobId": {
|
|
5431
|
+
"description": "Job ID to execute",
|
|
5432
|
+
"name": "jobId",
|
|
5433
|
+
"required": true
|
|
5434
|
+
}
|
|
5435
|
+
},
|
|
5436
|
+
"description": "Execute a job on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-run",
|
|
5798
5437
|
"examples": [
|
|
5799
|
-
"<%= config.bin %> <%= command.id %>",
|
|
5800
|
-
"<%= config.bin %> <%= command.id %>
|
|
5801
|
-
"<%= config.bin %> <%= command.id %>
|
|
5802
|
-
"<%= config.bin %> <%= command.id %> --
|
|
5803
|
-
"<%= config.bin %> <%= command.id %> --
|
|
5438
|
+
"<%= config.bin %> <%= command.id %> my-custom-job",
|
|
5439
|
+
"<%= config.bin %> <%= command.id %> my-custom-job --wait",
|
|
5440
|
+
"<%= config.bin %> <%= command.id %> my-custom-job -P \"SiteScope={\\\"all_storefront_sites\\\":true}\" -P OtherParam=value",
|
|
5441
|
+
"<%= config.bin %> <%= command.id %> my-custom-job --wait --timeout 600",
|
|
5442
|
+
"<%= config.bin %> <%= command.id %> sfcc-search-index-product-full-update --body '{\"site_scope\":{\"named_sites\":[\"RefArch\"]}}'"
|
|
5804
5443
|
],
|
|
5805
5444
|
"flags": {
|
|
5806
5445
|
"json": {
|
|
@@ -6086,69 +5725,59 @@
|
|
|
6086
5725
|
"allowNo": true,
|
|
6087
5726
|
"type": "boolean"
|
|
6088
5727
|
},
|
|
6089
|
-
"
|
|
6090
|
-
"char": "
|
|
6091
|
-
"description": "
|
|
6092
|
-
"name": "
|
|
5728
|
+
"wait": {
|
|
5729
|
+
"char": "w",
|
|
5730
|
+
"description": "Wait for job to complete",
|
|
5731
|
+
"name": "wait",
|
|
5732
|
+
"allowNo": false,
|
|
5733
|
+
"type": "boolean"
|
|
5734
|
+
},
|
|
5735
|
+
"timeout": {
|
|
5736
|
+
"char": "t",
|
|
5737
|
+
"description": "Timeout in seconds when waiting (default: no timeout)",
|
|
5738
|
+
"name": "timeout",
|
|
6093
5739
|
"hasDynamicHelp": false,
|
|
6094
5740
|
"multiple": false,
|
|
6095
5741
|
"type": "option"
|
|
6096
5742
|
},
|
|
6097
|
-
"
|
|
6098
|
-
"
|
|
6099
|
-
"
|
|
6100
|
-
"
|
|
5743
|
+
"param": {
|
|
5744
|
+
"char": "P",
|
|
5745
|
+
"description": "Job parameter in format \"name=value\" (use -P multiple times for multiple params)",
|
|
5746
|
+
"exclusive": [
|
|
5747
|
+
"body"
|
|
5748
|
+
],
|
|
5749
|
+
"name": "param",
|
|
6101
5750
|
"hasDynamicHelp": false,
|
|
6102
5751
|
"multiple": true,
|
|
6103
5752
|
"type": "option"
|
|
6104
5753
|
},
|
|
6105
|
-
"
|
|
6106
|
-
"char": "
|
|
6107
|
-
"description": "
|
|
6108
|
-
"
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
"
|
|
6112
|
-
"type": "option"
|
|
6113
|
-
},
|
|
6114
|
-
"start": {
|
|
6115
|
-
"description": "Starting index for pagination",
|
|
6116
|
-
"name": "start",
|
|
6117
|
-
"default": 0,
|
|
5754
|
+
"body": {
|
|
5755
|
+
"char": "B",
|
|
5756
|
+
"description": "Raw JSON request body (for system jobs with non-standard schemas)",
|
|
5757
|
+
"exclusive": [
|
|
5758
|
+
"param"
|
|
5759
|
+
],
|
|
5760
|
+
"name": "body",
|
|
6118
5761
|
"hasDynamicHelp": false,
|
|
6119
5762
|
"multiple": false,
|
|
6120
5763
|
"type": "option"
|
|
6121
5764
|
},
|
|
6122
|
-
"
|
|
6123
|
-
"description": "
|
|
6124
|
-
"name": "
|
|
6125
|
-
"
|
|
6126
|
-
"
|
|
6127
|
-
"multiple": false,
|
|
6128
|
-
"options": [
|
|
6129
|
-
"start_time",
|
|
6130
|
-
"end_time",
|
|
6131
|
-
"job_id",
|
|
6132
|
-
"status"
|
|
6133
|
-
],
|
|
6134
|
-
"type": "option"
|
|
5765
|
+
"no-wait-running": {
|
|
5766
|
+
"description": "Do not wait for running job to finish before starting",
|
|
5767
|
+
"name": "no-wait-running",
|
|
5768
|
+
"allowNo": false,
|
|
5769
|
+
"type": "boolean"
|
|
6135
5770
|
},
|
|
6136
|
-
"
|
|
6137
|
-
"description": "
|
|
6138
|
-
"name": "
|
|
6139
|
-
"
|
|
6140
|
-
"
|
|
6141
|
-
"multiple": false,
|
|
6142
|
-
"options": [
|
|
6143
|
-
"asc",
|
|
6144
|
-
"desc"
|
|
6145
|
-
],
|
|
6146
|
-
"type": "option"
|
|
5771
|
+
"show-log": {
|
|
5772
|
+
"description": "Show job log on failure",
|
|
5773
|
+
"name": "show-log",
|
|
5774
|
+
"allowNo": false,
|
|
5775
|
+
"type": "boolean"
|
|
6147
5776
|
}
|
|
6148
5777
|
},
|
|
6149
5778
|
"hasDynamicHelp": false,
|
|
6150
5779
|
"hiddenAliases": [],
|
|
6151
|
-
"id": "job:
|
|
5780
|
+
"id": "job:run",
|
|
6152
5781
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
6153
5782
|
"pluginName": "@salesforce/b2c-cli",
|
|
6154
5783
|
"pluginType": "core",
|
|
@@ -6159,28 +5788,19 @@
|
|
|
6159
5788
|
"dist",
|
|
6160
5789
|
"commands",
|
|
6161
5790
|
"job",
|
|
6162
|
-
"
|
|
5791
|
+
"run.js"
|
|
6163
5792
|
]
|
|
6164
5793
|
},
|
|
6165
|
-
"job:
|
|
5794
|
+
"job:search": {
|
|
6166
5795
|
"aliases": [],
|
|
6167
|
-
"args": {
|
|
6168
|
-
|
|
6169
|
-
"description": "Job ID",
|
|
6170
|
-
"name": "jobId",
|
|
6171
|
-
"required": true
|
|
6172
|
-
},
|
|
6173
|
-
"executionId": {
|
|
6174
|
-
"description": "Execution ID to wait for",
|
|
6175
|
-
"name": "executionId",
|
|
6176
|
-
"required": true
|
|
6177
|
-
}
|
|
6178
|
-
},
|
|
6179
|
-
"description": "Wait for a job execution to complete\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-wait",
|
|
5796
|
+
"args": {},
|
|
5797
|
+
"description": "Search for job executions on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-search",
|
|
6180
5798
|
"examples": [
|
|
6181
|
-
"<%= config.bin %> <%= command.id %>
|
|
6182
|
-
"<%= config.bin %> <%= command.id %> my-job
|
|
6183
|
-
"<%= config.bin %> <%= command.id %>
|
|
5799
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5800
|
+
"<%= config.bin %> <%= command.id %> --job-id my-custom-job",
|
|
5801
|
+
"<%= config.bin %> <%= command.id %> --status RUNNING,PENDING",
|
|
5802
|
+
"<%= config.bin %> <%= command.id %> --count 50",
|
|
5803
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
6184
5804
|
],
|
|
6185
5805
|
"flags": {
|
|
6186
5806
|
"json": {
|
|
@@ -6466,32 +6086,69 @@
|
|
|
6466
6086
|
"allowNo": true,
|
|
6467
6087
|
"type": "boolean"
|
|
6468
6088
|
},
|
|
6469
|
-
"
|
|
6470
|
-
"char": "
|
|
6471
|
-
"description": "
|
|
6472
|
-
"name": "
|
|
6089
|
+
"job-id": {
|
|
6090
|
+
"char": "j",
|
|
6091
|
+
"description": "Filter by job ID",
|
|
6092
|
+
"name": "job-id",
|
|
6473
6093
|
"hasDynamicHelp": false,
|
|
6474
6094
|
"multiple": false,
|
|
6475
6095
|
"type": "option"
|
|
6476
6096
|
},
|
|
6477
|
-
"
|
|
6478
|
-
"description": "
|
|
6479
|
-
"name": "
|
|
6480
|
-
"
|
|
6097
|
+
"status": {
|
|
6098
|
+
"description": "Filter by status (comma-separated: RUNNING,PENDING,OK,ERROR)",
|
|
6099
|
+
"name": "status",
|
|
6100
|
+
"delimiter": ",",
|
|
6101
|
+
"hasDynamicHelp": false,
|
|
6102
|
+
"multiple": true,
|
|
6103
|
+
"type": "option"
|
|
6104
|
+
},
|
|
6105
|
+
"count": {
|
|
6106
|
+
"char": "n",
|
|
6107
|
+
"description": "Maximum number of results",
|
|
6108
|
+
"name": "count",
|
|
6109
|
+
"default": 25,
|
|
6481
6110
|
"hasDynamicHelp": false,
|
|
6482
6111
|
"multiple": false,
|
|
6483
6112
|
"type": "option"
|
|
6484
6113
|
},
|
|
6485
|
-
"
|
|
6486
|
-
"description": "
|
|
6487
|
-
"name": "
|
|
6488
|
-
"
|
|
6489
|
-
"
|
|
6114
|
+
"start": {
|
|
6115
|
+
"description": "Starting index for pagination",
|
|
6116
|
+
"name": "start",
|
|
6117
|
+
"default": 0,
|
|
6118
|
+
"hasDynamicHelp": false,
|
|
6119
|
+
"multiple": false,
|
|
6120
|
+
"type": "option"
|
|
6121
|
+
},
|
|
6122
|
+
"sort-by": {
|
|
6123
|
+
"description": "Sort by field",
|
|
6124
|
+
"name": "sort-by",
|
|
6125
|
+
"default": "start_time",
|
|
6126
|
+
"hasDynamicHelp": false,
|
|
6127
|
+
"multiple": false,
|
|
6128
|
+
"options": [
|
|
6129
|
+
"start_time",
|
|
6130
|
+
"end_time",
|
|
6131
|
+
"job_id",
|
|
6132
|
+
"status"
|
|
6133
|
+
],
|
|
6134
|
+
"type": "option"
|
|
6135
|
+
},
|
|
6136
|
+
"sort-order": {
|
|
6137
|
+
"description": "Sort order",
|
|
6138
|
+
"name": "sort-order",
|
|
6139
|
+
"default": "desc",
|
|
6140
|
+
"hasDynamicHelp": false,
|
|
6141
|
+
"multiple": false,
|
|
6142
|
+
"options": [
|
|
6143
|
+
"asc",
|
|
6144
|
+
"desc"
|
|
6145
|
+
],
|
|
6146
|
+
"type": "option"
|
|
6490
6147
|
}
|
|
6491
6148
|
},
|
|
6492
6149
|
"hasDynamicHelp": false,
|
|
6493
6150
|
"hiddenAliases": [],
|
|
6494
|
-
"id": "job:
|
|
6151
|
+
"id": "job:search",
|
|
6495
6152
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
6496
6153
|
"pluginName": "@salesforce/b2c-cli",
|
|
6497
6154
|
"pluginType": "core",
|
|
@@ -6502,23 +6159,28 @@
|
|
|
6502
6159
|
"dist",
|
|
6503
6160
|
"commands",
|
|
6504
6161
|
"job",
|
|
6505
|
-
"
|
|
6162
|
+
"search.js"
|
|
6506
6163
|
]
|
|
6507
6164
|
},
|
|
6508
|
-
"
|
|
6165
|
+
"job:wait": {
|
|
6509
6166
|
"aliases": [],
|
|
6510
|
-
"args": {
|
|
6511
|
-
|
|
6167
|
+
"args": {
|
|
6168
|
+
"jobId": {
|
|
6169
|
+
"description": "Job ID",
|
|
6170
|
+
"name": "jobId",
|
|
6171
|
+
"required": true
|
|
6172
|
+
},
|
|
6173
|
+
"executionId": {
|
|
6174
|
+
"description": "Execution ID to wait for",
|
|
6175
|
+
"name": "executionId",
|
|
6176
|
+
"required": true
|
|
6177
|
+
}
|
|
6178
|
+
},
|
|
6179
|
+
"description": "Wait for a job execution to complete\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-wait",
|
|
6512
6180
|
"examples": [
|
|
6513
|
-
"<%= config.bin %> <%= command.id %>",
|
|
6514
|
-
"<%= config.bin %> <%= command.id %> --
|
|
6515
|
-
"<%= config.bin %> <%= command.id %>
|
|
6516
|
-
"<%= config.bin %> <%= command.id %> --since 5m",
|
|
6517
|
-
"<%= config.bin %> <%= command.id %> --since \"2026-01-25T10:00:00\"",
|
|
6518
|
-
"<%= config.bin %> <%= command.id %> --level ERROR --level FATAL",
|
|
6519
|
-
"<%= config.bin %> <%= command.id %> --search OrderMgr",
|
|
6520
|
-
"<%= config.bin %> <%= command.id %> --since 1h --level ERROR --search \"PaymentProcessor\" --json",
|
|
6521
|
-
"<%= config.bin %> <%= command.id %> --json"
|
|
6181
|
+
"<%= config.bin %> <%= command.id %> my-job abc123-def456",
|
|
6182
|
+
"<%= config.bin %> <%= command.id %> my-job abc123-def456 --timeout 600",
|
|
6183
|
+
"<%= config.bin %> <%= command.id %> my-job abc123-def456 --poll-interval 5"
|
|
6522
6184
|
],
|
|
6523
6185
|
"flags": {
|
|
6524
6186
|
"json": {
|
|
@@ -6804,36 +6466,219 @@
|
|
|
6804
6466
|
"allowNo": true,
|
|
6805
6467
|
"type": "boolean"
|
|
6806
6468
|
},
|
|
6807
|
-
"
|
|
6808
|
-
"char": "
|
|
6809
|
-
"description": "
|
|
6810
|
-
"name": "
|
|
6811
|
-
"
|
|
6469
|
+
"timeout": {
|
|
6470
|
+
"char": "t",
|
|
6471
|
+
"description": "Timeout in seconds (default: no timeout)",
|
|
6472
|
+
"name": "timeout",
|
|
6473
|
+
"hasDynamicHelp": false,
|
|
6474
|
+
"multiple": false,
|
|
6475
|
+
"type": "option"
|
|
6476
|
+
},
|
|
6477
|
+
"poll-interval": {
|
|
6478
|
+
"description": "Polling interval in seconds",
|
|
6479
|
+
"name": "poll-interval",
|
|
6480
|
+
"default": 3,
|
|
6481
|
+
"hasDynamicHelp": false,
|
|
6482
|
+
"multiple": false,
|
|
6483
|
+
"type": "option"
|
|
6484
|
+
},
|
|
6485
|
+
"show-log": {
|
|
6486
|
+
"description": "Show job log on failure",
|
|
6487
|
+
"name": "show-log",
|
|
6488
|
+
"allowNo": false,
|
|
6489
|
+
"type": "boolean"
|
|
6490
|
+
}
|
|
6491
|
+
},
|
|
6492
|
+
"hasDynamicHelp": false,
|
|
6493
|
+
"hiddenAliases": [],
|
|
6494
|
+
"id": "job:wait",
|
|
6495
|
+
"pluginAlias": "@salesforce/b2c-cli",
|
|
6496
|
+
"pluginName": "@salesforce/b2c-cli",
|
|
6497
|
+
"pluginType": "core",
|
|
6498
|
+
"strict": true,
|
|
6499
|
+
"enableJsonFlag": true,
|
|
6500
|
+
"isESM": true,
|
|
6501
|
+
"relativePath": [
|
|
6502
|
+
"dist",
|
|
6503
|
+
"commands",
|
|
6504
|
+
"job",
|
|
6505
|
+
"wait.js"
|
|
6506
|
+
]
|
|
6507
|
+
},
|
|
6508
|
+
"mrt:tail-logs": {
|
|
6509
|
+
"aliases": [],
|
|
6510
|
+
"args": {},
|
|
6511
|
+
"description": "Tail application logs from a Managed Runtime environment",
|
|
6512
|
+
"examples": [
|
|
6513
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging",
|
|
6514
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e production --level ERROR --level WARN",
|
|
6515
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --json",
|
|
6516
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --search \"timeout\"",
|
|
6517
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront -e staging --search \"GET|POST\""
|
|
6518
|
+
],
|
|
6519
|
+
"flags": {
|
|
6520
|
+
"json": {
|
|
6521
|
+
"description": "Output result as JSON",
|
|
6522
|
+
"helpGroup": "GLOBAL",
|
|
6523
|
+
"name": "json",
|
|
6524
|
+
"allowNo": false,
|
|
6525
|
+
"type": "boolean"
|
|
6526
|
+
},
|
|
6527
|
+
"log-level": {
|
|
6528
|
+
"description": "Set logging verbosity level",
|
|
6529
|
+
"env": "SFCC_LOG_LEVEL",
|
|
6530
|
+
"helpGroup": "GLOBAL",
|
|
6531
|
+
"name": "log-level",
|
|
6532
|
+
"hasDynamicHelp": false,
|
|
6533
|
+
"multiple": false,
|
|
6534
|
+
"options": [
|
|
6535
|
+
"trace",
|
|
6536
|
+
"debug",
|
|
6537
|
+
"info",
|
|
6538
|
+
"warn",
|
|
6812
6539
|
"error",
|
|
6813
|
-
"
|
|
6540
|
+
"silent"
|
|
6814
6541
|
],
|
|
6542
|
+
"type": "option"
|
|
6543
|
+
},
|
|
6544
|
+
"debug": {
|
|
6545
|
+
"char": "D",
|
|
6546
|
+
"description": "Enable debug logging (shorthand for --log-level debug)",
|
|
6547
|
+
"env": "SFCC_DEBUG",
|
|
6548
|
+
"helpGroup": "GLOBAL",
|
|
6549
|
+
"name": "debug",
|
|
6550
|
+
"allowNo": false,
|
|
6551
|
+
"type": "boolean"
|
|
6552
|
+
},
|
|
6553
|
+
"jsonl": {
|
|
6554
|
+
"aliases": [
|
|
6555
|
+
"json-logs"
|
|
6556
|
+
],
|
|
6557
|
+
"description": "Output log messages as JSON lines",
|
|
6558
|
+
"env": "SFCC_JSON_LOGS",
|
|
6559
|
+
"helpGroup": "GLOBAL",
|
|
6560
|
+
"name": "jsonl",
|
|
6561
|
+
"allowNo": false,
|
|
6562
|
+
"type": "boolean"
|
|
6563
|
+
},
|
|
6564
|
+
"lang": {
|
|
6565
|
+
"char": "L",
|
|
6566
|
+
"description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
|
|
6567
|
+
"helpGroup": "GLOBAL",
|
|
6568
|
+
"name": "lang",
|
|
6815
6569
|
"hasDynamicHelp": false,
|
|
6816
|
-
"multiple":
|
|
6570
|
+
"multiple": false,
|
|
6817
6571
|
"type": "option"
|
|
6818
6572
|
},
|
|
6819
|
-
"
|
|
6820
|
-
"
|
|
6821
|
-
"
|
|
6822
|
-
"
|
|
6823
|
-
"
|
|
6573
|
+
"config": {
|
|
6574
|
+
"description": "Path to config file (in dw.json format; defaults to ./dw.json)",
|
|
6575
|
+
"env": "SFCC_CONFIG",
|
|
6576
|
+
"helpGroup": "GLOBAL",
|
|
6577
|
+
"name": "config",
|
|
6824
6578
|
"hasDynamicHelp": false,
|
|
6825
6579
|
"multiple": false,
|
|
6826
6580
|
"type": "option"
|
|
6827
6581
|
},
|
|
6828
|
-
"
|
|
6829
|
-
"
|
|
6830
|
-
"
|
|
6582
|
+
"instance": {
|
|
6583
|
+
"char": "i",
|
|
6584
|
+
"description": "Instance name from configuration file (i.e. dw.json, etc)",
|
|
6585
|
+
"env": "SFCC_INSTANCE",
|
|
6586
|
+
"helpGroup": "GLOBAL",
|
|
6587
|
+
"name": "instance",
|
|
6588
|
+
"hasDynamicHelp": false,
|
|
6589
|
+
"multiple": false,
|
|
6590
|
+
"type": "option"
|
|
6591
|
+
},
|
|
6592
|
+
"project-directory": {
|
|
6593
|
+
"aliases": [
|
|
6594
|
+
"working-directory"
|
|
6595
|
+
],
|
|
6596
|
+
"description": "Project directory",
|
|
6597
|
+
"env": "SFCC_PROJECT_DIRECTORY",
|
|
6598
|
+
"helpGroup": "GLOBAL",
|
|
6599
|
+
"name": "project-directory",
|
|
6600
|
+
"hasDynamicHelp": false,
|
|
6601
|
+
"multiple": false,
|
|
6602
|
+
"type": "option"
|
|
6603
|
+
},
|
|
6604
|
+
"extra-query": {
|
|
6605
|
+
"description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
|
|
6606
|
+
"env": "SFCC_EXTRA_QUERY",
|
|
6607
|
+
"helpGroup": "GLOBAL",
|
|
6608
|
+
"hidden": true,
|
|
6609
|
+
"name": "extra-query",
|
|
6610
|
+
"hasDynamicHelp": false,
|
|
6611
|
+
"multiple": false,
|
|
6612
|
+
"type": "option"
|
|
6613
|
+
},
|
|
6614
|
+
"extra-body": {
|
|
6615
|
+
"description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
|
|
6616
|
+
"env": "SFCC_EXTRA_BODY",
|
|
6617
|
+
"helpGroup": "GLOBAL",
|
|
6618
|
+
"hidden": true,
|
|
6619
|
+
"name": "extra-body",
|
|
6620
|
+
"hasDynamicHelp": false,
|
|
6621
|
+
"multiple": false,
|
|
6622
|
+
"type": "option"
|
|
6623
|
+
},
|
|
6624
|
+
"extra-headers": {
|
|
6625
|
+
"description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
|
|
6626
|
+
"env": "SFCC_EXTRA_HEADERS",
|
|
6627
|
+
"helpGroup": "GLOBAL",
|
|
6628
|
+
"hidden": true,
|
|
6629
|
+
"name": "extra-headers",
|
|
6630
|
+
"hasDynamicHelp": false,
|
|
6631
|
+
"multiple": false,
|
|
6632
|
+
"type": "option"
|
|
6633
|
+
},
|
|
6634
|
+
"api-key": {
|
|
6635
|
+
"description": "MRT API key",
|
|
6636
|
+
"env": "MRT_API_KEY",
|
|
6637
|
+
"helpGroup": "AUTH",
|
|
6638
|
+
"name": "api-key",
|
|
6639
|
+
"hasDynamicHelp": false,
|
|
6640
|
+
"multiple": false,
|
|
6641
|
+
"type": "option"
|
|
6642
|
+
},
|
|
6643
|
+
"project": {
|
|
6644
|
+
"char": "p",
|
|
6645
|
+
"description": "MRT project slug (or set mrtProject in dw.json)",
|
|
6646
|
+
"env": "MRT_PROJECT",
|
|
6647
|
+
"name": "project",
|
|
6648
|
+
"hasDynamicHelp": false,
|
|
6649
|
+
"multiple": false,
|
|
6650
|
+
"type": "option"
|
|
6651
|
+
},
|
|
6652
|
+
"environment": {
|
|
6653
|
+
"aliases": [
|
|
6654
|
+
"target"
|
|
6655
|
+
],
|
|
6656
|
+
"char": "e",
|
|
6657
|
+
"description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
|
|
6658
|
+
"env": "MRT_ENVIRONMENT",
|
|
6659
|
+
"name": "environment",
|
|
6660
|
+
"hasDynamicHelp": false,
|
|
6661
|
+
"multiple": false,
|
|
6662
|
+
"type": "option"
|
|
6663
|
+
},
|
|
6664
|
+
"cloud-origin": {
|
|
6665
|
+
"description": "MRT cloud origin URL (or set mrtOrigin in dw.json; default: https://cloud.mobify.com)",
|
|
6666
|
+
"env": "MRT_CLOUD_ORIGIN",
|
|
6667
|
+
"name": "cloud-origin",
|
|
6668
|
+
"hasDynamicHelp": false,
|
|
6669
|
+
"multiple": false,
|
|
6670
|
+
"type": "option"
|
|
6671
|
+
},
|
|
6672
|
+
"credentials-file": {
|
|
6673
|
+
"description": "Path to MRT credentials file (overrides default ~/.mobify)",
|
|
6674
|
+
"env": "MRT_CREDENTIALS_FILE",
|
|
6675
|
+
"name": "credentials-file",
|
|
6831
6676
|
"hasDynamicHelp": false,
|
|
6832
6677
|
"multiple": false,
|
|
6833
6678
|
"type": "option"
|
|
6834
6679
|
},
|
|
6835
6680
|
"level": {
|
|
6836
|
-
"description": "Filter by log level (ERROR, WARN, INFO, DEBUG,
|
|
6681
|
+
"description": "Filter by log level (ERROR, WARN, INFO, DEBUG, etc.)",
|
|
6837
6682
|
"name": "level",
|
|
6838
6683
|
"hasDynamicHelp": false,
|
|
6839
6684
|
"multiple": true,
|
|
@@ -6841,25 +6686,12 @@
|
|
|
6841
6686
|
},
|
|
6842
6687
|
"search": {
|
|
6843
6688
|
"char": "g",
|
|
6844
|
-
"description": "Filter entries
|
|
6689
|
+
"description": "Filter entries matching this regex pattern (case-insensitive)",
|
|
6845
6690
|
"name": "search",
|
|
6846
6691
|
"hasDynamicHelp": false,
|
|
6847
6692
|
"multiple": false,
|
|
6848
6693
|
"type": "option"
|
|
6849
6694
|
},
|
|
6850
|
-
"cartridge-path": {
|
|
6851
|
-
"description": "Override cartridge path for path normalization (auto-discovered by default)",
|
|
6852
|
-
"name": "cartridge-path",
|
|
6853
|
-
"hasDynamicHelp": false,
|
|
6854
|
-
"multiple": false,
|
|
6855
|
-
"type": "option"
|
|
6856
|
-
},
|
|
6857
|
-
"no-normalize": {
|
|
6858
|
-
"description": "Disable automatic path normalization",
|
|
6859
|
-
"name": "no-normalize",
|
|
6860
|
-
"allowNo": false,
|
|
6861
|
-
"type": "boolean"
|
|
6862
|
-
},
|
|
6863
6695
|
"no-color": {
|
|
6864
6696
|
"description": "Disable colored output",
|
|
6865
6697
|
"name": "no-color",
|
|
@@ -6869,7 +6701,7 @@
|
|
|
6869
6701
|
},
|
|
6870
6702
|
"hasDynamicHelp": false,
|
|
6871
6703
|
"hiddenAliases": [],
|
|
6872
|
-
"id": "logs
|
|
6704
|
+
"id": "mrt:tail-logs",
|
|
6873
6705
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
6874
6706
|
"pluginName": "@salesforce/b2c-cli",
|
|
6875
6707
|
"pluginType": "core",
|
|
@@ -6879,18 +6711,23 @@
|
|
|
6879
6711
|
"relativePath": [
|
|
6880
6712
|
"dist",
|
|
6881
6713
|
"commands",
|
|
6882
|
-
"
|
|
6883
|
-
"
|
|
6714
|
+
"mrt",
|
|
6715
|
+
"tail-logs.js"
|
|
6884
6716
|
]
|
|
6885
6717
|
},
|
|
6886
|
-
"logs:
|
|
6718
|
+
"logs:get": {
|
|
6887
6719
|
"aliases": [],
|
|
6888
6720
|
"args": {},
|
|
6889
|
-
"description": "
|
|
6721
|
+
"description": "Get recent log entries from a B2C Commerce instance",
|
|
6890
6722
|
"examples": [
|
|
6891
6723
|
"<%= config.bin %> <%= command.id %>",
|
|
6892
|
-
"<%= config.bin %> <%= command.id %> --
|
|
6893
|
-
"<%= config.bin %> <%= command.id %> --
|
|
6724
|
+
"<%= config.bin %> <%= command.id %> --count 50",
|
|
6725
|
+
"<%= config.bin %> <%= command.id %> --filter error --filter customerror --filter debug",
|
|
6726
|
+
"<%= config.bin %> <%= command.id %> --since 5m",
|
|
6727
|
+
"<%= config.bin %> <%= command.id %> --since \"2026-01-25T10:00:00\"",
|
|
6728
|
+
"<%= config.bin %> <%= command.id %> --level ERROR --level FATAL",
|
|
6729
|
+
"<%= config.bin %> <%= command.id %> --search OrderMgr",
|
|
6730
|
+
"<%= config.bin %> <%= command.id %> --since 1h --level ERROR --search \"PaymentProcessor\" --json",
|
|
6894
6731
|
"<%= config.bin %> <%= command.id %> --json"
|
|
6895
6732
|
],
|
|
6896
6733
|
"flags": {
|
|
@@ -7179,42 +7016,70 @@
|
|
|
7179
7016
|
},
|
|
7180
7017
|
"filter": {
|
|
7181
7018
|
"char": "f",
|
|
7182
|
-
"description": "
|
|
7019
|
+
"description": "Log prefixes to filter (can specify multiple)",
|
|
7183
7020
|
"name": "filter",
|
|
7021
|
+
"default": [
|
|
7022
|
+
"error",
|
|
7023
|
+
"customerror"
|
|
7024
|
+
],
|
|
7184
7025
|
"hasDynamicHelp": false,
|
|
7185
7026
|
"multiple": true,
|
|
7186
7027
|
"type": "option"
|
|
7187
7028
|
},
|
|
7188
|
-
"
|
|
7189
|
-
"
|
|
7190
|
-
"
|
|
7191
|
-
"
|
|
7029
|
+
"count": {
|
|
7030
|
+
"char": "n",
|
|
7031
|
+
"description": "Maximum number of entries to retrieve",
|
|
7032
|
+
"name": "count",
|
|
7033
|
+
"default": 20,
|
|
7192
7034
|
"hasDynamicHelp": false,
|
|
7193
7035
|
"multiple": false,
|
|
7194
|
-
"options": [
|
|
7195
|
-
"name",
|
|
7196
|
-
"date",
|
|
7197
|
-
"size"
|
|
7198
|
-
],
|
|
7199
7036
|
"type": "option"
|
|
7200
7037
|
},
|
|
7201
|
-
"
|
|
7202
|
-
"
|
|
7203
|
-
"
|
|
7204
|
-
"name": "order",
|
|
7205
|
-
"default": "desc",
|
|
7038
|
+
"since": {
|
|
7039
|
+
"description": "Only show entries after this time (e.g., \"5m\", \"1h\", \"2d\", or ISO 8601)",
|
|
7040
|
+
"name": "since",
|
|
7206
7041
|
"hasDynamicHelp": false,
|
|
7207
7042
|
"multiple": false,
|
|
7208
|
-
"options": [
|
|
7209
|
-
"asc",
|
|
7210
|
-
"desc"
|
|
7211
|
-
],
|
|
7212
7043
|
"type": "option"
|
|
7044
|
+
},
|
|
7045
|
+
"level": {
|
|
7046
|
+
"description": "Filter by log level (ERROR, WARN, INFO, DEBUG, FATAL, TRACE)",
|
|
7047
|
+
"name": "level",
|
|
7048
|
+
"hasDynamicHelp": false,
|
|
7049
|
+
"multiple": true,
|
|
7050
|
+
"type": "option"
|
|
7051
|
+
},
|
|
7052
|
+
"search": {
|
|
7053
|
+
"char": "g",
|
|
7054
|
+
"description": "Filter entries containing this text (case-insensitive)",
|
|
7055
|
+
"name": "search",
|
|
7056
|
+
"hasDynamicHelp": false,
|
|
7057
|
+
"multiple": false,
|
|
7058
|
+
"type": "option"
|
|
7059
|
+
},
|
|
7060
|
+
"cartridge-path": {
|
|
7061
|
+
"description": "Override cartridge path for path normalization (auto-discovered by default)",
|
|
7062
|
+
"name": "cartridge-path",
|
|
7063
|
+
"hasDynamicHelp": false,
|
|
7064
|
+
"multiple": false,
|
|
7065
|
+
"type": "option"
|
|
7066
|
+
},
|
|
7067
|
+
"no-normalize": {
|
|
7068
|
+
"description": "Disable automatic path normalization",
|
|
7069
|
+
"name": "no-normalize",
|
|
7070
|
+
"allowNo": false,
|
|
7071
|
+
"type": "boolean"
|
|
7072
|
+
},
|
|
7073
|
+
"no-color": {
|
|
7074
|
+
"description": "Disable colored output",
|
|
7075
|
+
"name": "no-color",
|
|
7076
|
+
"allowNo": false,
|
|
7077
|
+
"type": "boolean"
|
|
7213
7078
|
}
|
|
7214
7079
|
},
|
|
7215
7080
|
"hasDynamicHelp": false,
|
|
7216
7081
|
"hiddenAliases": [],
|
|
7217
|
-
"id": "logs:
|
|
7082
|
+
"id": "logs:get",
|
|
7218
7083
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
7219
7084
|
"pluginName": "@salesforce/b2c-cli",
|
|
7220
7085
|
"pluginType": "core",
|
|
@@ -7225,23 +7090,17 @@
|
|
|
7225
7090
|
"dist",
|
|
7226
7091
|
"commands",
|
|
7227
7092
|
"logs",
|
|
7228
|
-
"
|
|
7093
|
+
"get.js"
|
|
7229
7094
|
]
|
|
7230
7095
|
},
|
|
7231
|
-
"logs:
|
|
7096
|
+
"logs:list": {
|
|
7232
7097
|
"aliases": [],
|
|
7233
7098
|
"args": {},
|
|
7234
|
-
"description": "
|
|
7099
|
+
"description": "List log files on a B2C Commerce instance",
|
|
7235
7100
|
"examples": [
|
|
7236
7101
|
"<%= config.bin %> <%= command.id %>",
|
|
7237
|
-
"<%= config.bin %> <%= command.id %> --filter error --filter customerror
|
|
7238
|
-
"<%= config.bin %> <%= command.id %> --
|
|
7239
|
-
"<%= config.bin %> <%= command.id %> --cartridge-path ./cartridges",
|
|
7240
|
-
"<%= config.bin %> <%= command.id %> --last 5",
|
|
7241
|
-
"<%= config.bin %> <%= command.id %> --last 0",
|
|
7242
|
-
"<%= config.bin %> <%= command.id %> --level ERROR --level FATAL",
|
|
7243
|
-
"<%= config.bin %> <%= command.id %> --search \"PaymentProcessor\"",
|
|
7244
|
-
"<%= config.bin %> <%= command.id %> --level ERROR --search \"OrderMgr\"",
|
|
7102
|
+
"<%= config.bin %> <%= command.id %> --filter error --filter customerror",
|
|
7103
|
+
"<%= config.bin %> <%= command.id %> --sort size --order asc",
|
|
7245
7104
|
"<%= config.bin %> <%= command.id %> --json"
|
|
7246
7105
|
],
|
|
7247
7106
|
"flags": {
|
|
@@ -7530,71 +7389,42 @@
|
|
|
7530
7389
|
},
|
|
7531
7390
|
"filter": {
|
|
7532
7391
|
"char": "f",
|
|
7533
|
-
"description": "
|
|
7392
|
+
"description": "Filter by log prefix (can specify multiple)",
|
|
7534
7393
|
"name": "filter",
|
|
7535
|
-
"default": [
|
|
7536
|
-
"error",
|
|
7537
|
-
"customerror"
|
|
7538
|
-
],
|
|
7539
7394
|
"hasDynamicHelp": false,
|
|
7540
7395
|
"multiple": true,
|
|
7541
7396
|
"type": "option"
|
|
7542
7397
|
},
|
|
7543
|
-
"
|
|
7544
|
-
"description": "
|
|
7545
|
-
"name": "
|
|
7546
|
-
"default":
|
|
7547
|
-
"hasDynamicHelp": false,
|
|
7548
|
-
"multiple": false,
|
|
7549
|
-
"type": "option"
|
|
7550
|
-
},
|
|
7551
|
-
"cartridge-path": {
|
|
7552
|
-
"description": "Override cartridge path for path normalization (auto-discovered by default)",
|
|
7553
|
-
"name": "cartridge-path",
|
|
7554
|
-
"hasDynamicHelp": false,
|
|
7555
|
-
"multiple": false,
|
|
7556
|
-
"type": "option"
|
|
7557
|
-
},
|
|
7558
|
-
"no-normalize": {
|
|
7559
|
-
"description": "Disable automatic path normalization",
|
|
7560
|
-
"name": "no-normalize",
|
|
7561
|
-
"allowNo": false,
|
|
7562
|
-
"type": "boolean"
|
|
7563
|
-
},
|
|
7564
|
-
"last": {
|
|
7565
|
-
"char": "l",
|
|
7566
|
-
"description": "Show last N entries per file on startup (0 to skip)",
|
|
7567
|
-
"name": "last",
|
|
7568
|
-
"default": 1,
|
|
7398
|
+
"sort": {
|
|
7399
|
+
"description": "Sort field",
|
|
7400
|
+
"name": "sort",
|
|
7401
|
+
"default": "date",
|
|
7569
7402
|
"hasDynamicHelp": false,
|
|
7570
7403
|
"multiple": false,
|
|
7404
|
+
"options": [
|
|
7405
|
+
"name",
|
|
7406
|
+
"date",
|
|
7407
|
+
"size"
|
|
7408
|
+
],
|
|
7571
7409
|
"type": "option"
|
|
7572
7410
|
},
|
|
7573
|
-
"
|
|
7574
|
-
"
|
|
7575
|
-
"
|
|
7576
|
-
"
|
|
7577
|
-
"
|
|
7578
|
-
"type": "option"
|
|
7579
|
-
},
|
|
7580
|
-
"search": {
|
|
7581
|
-
"char": "g",
|
|
7582
|
-
"description": "Filter entries containing this text (case-insensitive)",
|
|
7583
|
-
"name": "search",
|
|
7411
|
+
"order": {
|
|
7412
|
+
"char": "o",
|
|
7413
|
+
"description": "Sort order",
|
|
7414
|
+
"name": "order",
|
|
7415
|
+
"default": "desc",
|
|
7584
7416
|
"hasDynamicHelp": false,
|
|
7585
7417
|
"multiple": false,
|
|
7418
|
+
"options": [
|
|
7419
|
+
"asc",
|
|
7420
|
+
"desc"
|
|
7421
|
+
],
|
|
7586
7422
|
"type": "option"
|
|
7587
|
-
},
|
|
7588
|
-
"no-color": {
|
|
7589
|
-
"description": "Disable colored output",
|
|
7590
|
-
"name": "no-color",
|
|
7591
|
-
"allowNo": false,
|
|
7592
|
-
"type": "boolean"
|
|
7593
7423
|
}
|
|
7594
7424
|
},
|
|
7595
7425
|
"hasDynamicHelp": false,
|
|
7596
7426
|
"hiddenAliases": [],
|
|
7597
|
-
"id": "logs:
|
|
7427
|
+
"id": "logs:list",
|
|
7598
7428
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
7599
7429
|
"pluginName": "@salesforce/b2c-cli",
|
|
7600
7430
|
"pluginType": "core",
|
|
@@ -7605,19 +7435,24 @@
|
|
|
7605
7435
|
"dist",
|
|
7606
7436
|
"commands",
|
|
7607
7437
|
"logs",
|
|
7608
|
-
"
|
|
7438
|
+
"list.js"
|
|
7609
7439
|
]
|
|
7610
7440
|
},
|
|
7611
|
-
"
|
|
7441
|
+
"logs:tail": {
|
|
7612
7442
|
"aliases": [],
|
|
7613
7443
|
"args": {},
|
|
7614
|
-
"description": "Tail
|
|
7444
|
+
"description": "Tail log files on a B2C Commerce instance in real-time",
|
|
7615
7445
|
"examples": [
|
|
7616
|
-
"<%= config.bin %> <%= command.id %>
|
|
7617
|
-
"<%= config.bin %> <%= command.id %>
|
|
7618
|
-
"<%= config.bin %> <%= command.id %>
|
|
7619
|
-
"<%= config.bin %> <%= command.id %> -
|
|
7620
|
-
"<%= config.bin %> <%= command.id %>
|
|
7446
|
+
"<%= config.bin %> <%= command.id %>",
|
|
7447
|
+
"<%= config.bin %> <%= command.id %> --filter error --filter customerror --filter debug",
|
|
7448
|
+
"<%= config.bin %> <%= command.id %> --interval 5000",
|
|
7449
|
+
"<%= config.bin %> <%= command.id %> --cartridge-path ./cartridges",
|
|
7450
|
+
"<%= config.bin %> <%= command.id %> --last 5",
|
|
7451
|
+
"<%= config.bin %> <%= command.id %> --last 0",
|
|
7452
|
+
"<%= config.bin %> <%= command.id %> --level ERROR --level FATAL",
|
|
7453
|
+
"<%= config.bin %> <%= command.id %> --search \"PaymentProcessor\"",
|
|
7454
|
+
"<%= config.bin %> <%= command.id %> --level ERROR --search \"OrderMgr\"",
|
|
7455
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
7621
7456
|
],
|
|
7622
7457
|
"flags": {
|
|
7623
7458
|
"json": {
|
|
@@ -7734,54 +7569,219 @@
|
|
|
7734
7569
|
"multiple": false,
|
|
7735
7570
|
"type": "option"
|
|
7736
7571
|
},
|
|
7737
|
-
"
|
|
7738
|
-
"description": "
|
|
7739
|
-
"env": "
|
|
7572
|
+
"client-id": {
|
|
7573
|
+
"description": "Client ID for OAuth",
|
|
7574
|
+
"env": "SFCC_CLIENT_ID",
|
|
7740
7575
|
"helpGroup": "AUTH",
|
|
7741
|
-
"name": "
|
|
7576
|
+
"name": "client-id",
|
|
7742
7577
|
"hasDynamicHelp": false,
|
|
7743
7578
|
"multiple": false,
|
|
7744
7579
|
"type": "option"
|
|
7745
7580
|
},
|
|
7746
|
-
"
|
|
7747
|
-
"
|
|
7748
|
-
"
|
|
7749
|
-
"
|
|
7750
|
-
"name": "
|
|
7581
|
+
"client-secret": {
|
|
7582
|
+
"description": "Client Secret for OAuth",
|
|
7583
|
+
"env": "SFCC_CLIENT_SECRET",
|
|
7584
|
+
"helpGroup": "AUTH",
|
|
7585
|
+
"name": "client-secret",
|
|
7751
7586
|
"hasDynamicHelp": false,
|
|
7752
7587
|
"multiple": false,
|
|
7753
7588
|
"type": "option"
|
|
7754
7589
|
},
|
|
7755
|
-
"
|
|
7590
|
+
"auth-scope": {
|
|
7591
|
+
"description": "OAuth scopes to request (comma-separated)",
|
|
7592
|
+
"env": "SFCC_OAUTH_SCOPES",
|
|
7593
|
+
"helpGroup": "AUTH",
|
|
7594
|
+
"name": "auth-scope",
|
|
7595
|
+
"delimiter": ",",
|
|
7596
|
+
"hasDynamicHelp": false,
|
|
7597
|
+
"multiple": true,
|
|
7598
|
+
"type": "option"
|
|
7599
|
+
},
|
|
7600
|
+
"short-code": {
|
|
7601
|
+
"description": "SCAPI short code",
|
|
7602
|
+
"env": "SFCC_SHORTCODE",
|
|
7603
|
+
"helpGroup": "AUTH",
|
|
7604
|
+
"name": "short-code",
|
|
7605
|
+
"hasDynamicHelp": false,
|
|
7606
|
+
"multiple": false,
|
|
7607
|
+
"type": "option"
|
|
7608
|
+
},
|
|
7609
|
+
"tenant-id": {
|
|
7756
7610
|
"aliases": [
|
|
7757
|
-
"
|
|
7611
|
+
"tenant"
|
|
7758
7612
|
],
|
|
7759
|
-
"
|
|
7760
|
-
"
|
|
7761
|
-
"
|
|
7762
|
-
"name": "
|
|
7613
|
+
"description": "Organization/tenant ID",
|
|
7614
|
+
"env": "SFCC_TENANT_ID",
|
|
7615
|
+
"helpGroup": "AUTH",
|
|
7616
|
+
"name": "tenant-id",
|
|
7763
7617
|
"hasDynamicHelp": false,
|
|
7764
7618
|
"multiple": false,
|
|
7765
7619
|
"type": "option"
|
|
7766
7620
|
},
|
|
7767
|
-
"
|
|
7768
|
-
"description": "
|
|
7769
|
-
"env": "
|
|
7770
|
-
"
|
|
7621
|
+
"auth-methods": {
|
|
7622
|
+
"description": "Allowed auth methods in priority order (comma-separated)",
|
|
7623
|
+
"env": "SFCC_AUTH_METHODS",
|
|
7624
|
+
"exclusive": [
|
|
7625
|
+
"user-auth"
|
|
7626
|
+
],
|
|
7627
|
+
"helpGroup": "AUTH",
|
|
7628
|
+
"name": "auth-methods",
|
|
7629
|
+
"delimiter": ",",
|
|
7630
|
+
"hasDynamicHelp": false,
|
|
7631
|
+
"multiple": true,
|
|
7632
|
+
"options": [
|
|
7633
|
+
"client-credentials",
|
|
7634
|
+
"implicit",
|
|
7635
|
+
"basic",
|
|
7636
|
+
"api-key"
|
|
7637
|
+
],
|
|
7638
|
+
"type": "option"
|
|
7639
|
+
},
|
|
7640
|
+
"user-auth": {
|
|
7641
|
+
"description": "Use browser-based user authentication (implicit OAuth flow)",
|
|
7642
|
+
"exclusive": [
|
|
7643
|
+
"auth-methods"
|
|
7644
|
+
],
|
|
7645
|
+
"helpGroup": "AUTH",
|
|
7646
|
+
"name": "user-auth",
|
|
7647
|
+
"allowNo": false,
|
|
7648
|
+
"type": "boolean"
|
|
7649
|
+
},
|
|
7650
|
+
"account-manager-host": {
|
|
7651
|
+
"description": "Account Manager hostname for OAuth (default: account.demandware.com)",
|
|
7652
|
+
"env": "SFCC_ACCOUNT_MANAGER_HOST",
|
|
7653
|
+
"helpGroup": "AUTH",
|
|
7654
|
+
"name": "account-manager-host",
|
|
7771
7655
|
"hasDynamicHelp": false,
|
|
7772
7656
|
"multiple": false,
|
|
7773
7657
|
"type": "option"
|
|
7774
7658
|
},
|
|
7775
|
-
"
|
|
7776
|
-
"
|
|
7777
|
-
"
|
|
7778
|
-
"
|
|
7659
|
+
"server": {
|
|
7660
|
+
"char": "s",
|
|
7661
|
+
"description": "B2C instance hostname",
|
|
7662
|
+
"env": "SFCC_SERVER",
|
|
7663
|
+
"helpGroup": "INSTANCE",
|
|
7664
|
+
"name": "server",
|
|
7665
|
+
"hasDynamicHelp": false,
|
|
7666
|
+
"multiple": false,
|
|
7667
|
+
"type": "option"
|
|
7668
|
+
},
|
|
7669
|
+
"webdav-server": {
|
|
7670
|
+
"description": "Separate hostname for WebDAV (cert. hostname, etc)",
|
|
7671
|
+
"env": "SFCC_WEBDAV_SERVER",
|
|
7672
|
+
"helpGroup": "INSTANCE",
|
|
7673
|
+
"name": "webdav-server",
|
|
7674
|
+
"hasDynamicHelp": false,
|
|
7675
|
+
"multiple": false,
|
|
7676
|
+
"type": "option"
|
|
7677
|
+
},
|
|
7678
|
+
"code-version": {
|
|
7679
|
+
"char": "v",
|
|
7680
|
+
"description": "Code version",
|
|
7681
|
+
"env": "SFCC_CODE_VERSION",
|
|
7682
|
+
"helpGroup": "INSTANCE",
|
|
7683
|
+
"name": "code-version",
|
|
7684
|
+
"hasDynamicHelp": false,
|
|
7685
|
+
"multiple": false,
|
|
7686
|
+
"type": "option"
|
|
7687
|
+
},
|
|
7688
|
+
"username": {
|
|
7689
|
+
"char": "u",
|
|
7690
|
+
"description": "Username for Basic Auth (WebDAV)",
|
|
7691
|
+
"env": "SFCC_USERNAME",
|
|
7692
|
+
"helpGroup": "AUTH",
|
|
7693
|
+
"name": "username",
|
|
7694
|
+
"hasDynamicHelp": false,
|
|
7695
|
+
"multiple": false,
|
|
7696
|
+
"type": "option"
|
|
7697
|
+
},
|
|
7698
|
+
"password": {
|
|
7699
|
+
"char": "p",
|
|
7700
|
+
"description": "Password/access key for Basic Auth (WebDAV)",
|
|
7701
|
+
"env": "SFCC_PASSWORD",
|
|
7702
|
+
"helpGroup": "AUTH",
|
|
7703
|
+
"name": "password",
|
|
7704
|
+
"hasDynamicHelp": false,
|
|
7705
|
+
"multiple": false,
|
|
7706
|
+
"type": "option"
|
|
7707
|
+
},
|
|
7708
|
+
"certificate": {
|
|
7709
|
+
"description": "Path to PKCS12 certificate for two-factor auth",
|
|
7710
|
+
"env": "SFCC_CERTIFICATE",
|
|
7711
|
+
"helpGroup": "AUTH",
|
|
7712
|
+
"name": "certificate",
|
|
7713
|
+
"hasDynamicHelp": false,
|
|
7714
|
+
"multiple": false,
|
|
7715
|
+
"type": "option"
|
|
7716
|
+
},
|
|
7717
|
+
"passphrase": {
|
|
7718
|
+
"description": "Passphrase for the certificate",
|
|
7719
|
+
"env": "SFCC_CERTIFICATE_PASSPHRASE",
|
|
7720
|
+
"helpGroup": "AUTH",
|
|
7721
|
+
"name": "passphrase",
|
|
7722
|
+
"hasDynamicHelp": false,
|
|
7723
|
+
"multiple": false,
|
|
7724
|
+
"type": "option"
|
|
7725
|
+
},
|
|
7726
|
+
"selfsigned": {
|
|
7727
|
+
"description": "Allow self-signed server certificates",
|
|
7728
|
+
"env": "SFCC_SELFSIGNED",
|
|
7729
|
+
"helpGroup": "AUTH",
|
|
7730
|
+
"name": "selfsigned",
|
|
7731
|
+
"allowNo": false,
|
|
7732
|
+
"type": "boolean"
|
|
7733
|
+
},
|
|
7734
|
+
"verify": {
|
|
7735
|
+
"description": "Verify SSL certificates",
|
|
7736
|
+
"helpGroup": "AUTH",
|
|
7737
|
+
"name": "verify",
|
|
7738
|
+
"allowNo": true,
|
|
7739
|
+
"type": "boolean"
|
|
7740
|
+
},
|
|
7741
|
+
"filter": {
|
|
7742
|
+
"char": "f",
|
|
7743
|
+
"description": "Log prefixes to filter (can specify multiple)",
|
|
7744
|
+
"name": "filter",
|
|
7745
|
+
"default": [
|
|
7746
|
+
"error",
|
|
7747
|
+
"customerror"
|
|
7748
|
+
],
|
|
7749
|
+
"hasDynamicHelp": false,
|
|
7750
|
+
"multiple": true,
|
|
7751
|
+
"type": "option"
|
|
7752
|
+
},
|
|
7753
|
+
"interval": {
|
|
7754
|
+
"description": "Polling interval in milliseconds",
|
|
7755
|
+
"name": "interval",
|
|
7756
|
+
"default": 3000,
|
|
7757
|
+
"hasDynamicHelp": false,
|
|
7758
|
+
"multiple": false,
|
|
7759
|
+
"type": "option"
|
|
7760
|
+
},
|
|
7761
|
+
"cartridge-path": {
|
|
7762
|
+
"description": "Override cartridge path for path normalization (auto-discovered by default)",
|
|
7763
|
+
"name": "cartridge-path",
|
|
7764
|
+
"hasDynamicHelp": false,
|
|
7765
|
+
"multiple": false,
|
|
7766
|
+
"type": "option"
|
|
7767
|
+
},
|
|
7768
|
+
"no-normalize": {
|
|
7769
|
+
"description": "Disable automatic path normalization",
|
|
7770
|
+
"name": "no-normalize",
|
|
7771
|
+
"allowNo": false,
|
|
7772
|
+
"type": "boolean"
|
|
7773
|
+
},
|
|
7774
|
+
"last": {
|
|
7775
|
+
"char": "l",
|
|
7776
|
+
"description": "Show last N entries per file on startup (0 to skip)",
|
|
7777
|
+
"name": "last",
|
|
7778
|
+
"default": 1,
|
|
7779
7779
|
"hasDynamicHelp": false,
|
|
7780
7780
|
"multiple": false,
|
|
7781
7781
|
"type": "option"
|
|
7782
7782
|
},
|
|
7783
7783
|
"level": {
|
|
7784
|
-
"description": "Filter by log level (ERROR, WARN, INFO, DEBUG,
|
|
7784
|
+
"description": "Filter by log level (ERROR, WARN, INFO, DEBUG, FATAL, TRACE)",
|
|
7785
7785
|
"name": "level",
|
|
7786
7786
|
"hasDynamicHelp": false,
|
|
7787
7787
|
"multiple": true,
|
|
@@ -7789,7 +7789,7 @@
|
|
|
7789
7789
|
},
|
|
7790
7790
|
"search": {
|
|
7791
7791
|
"char": "g",
|
|
7792
|
-
"description": "Filter entries
|
|
7792
|
+
"description": "Filter entries containing this text (case-insensitive)",
|
|
7793
7793
|
"name": "search",
|
|
7794
7794
|
"hasDynamicHelp": false,
|
|
7795
7795
|
"multiple": false,
|
|
@@ -7804,7 +7804,7 @@
|
|
|
7804
7804
|
},
|
|
7805
7805
|
"hasDynamicHelp": false,
|
|
7806
7806
|
"hiddenAliases": [],
|
|
7807
|
-
"id": "
|
|
7807
|
+
"id": "logs:tail",
|
|
7808
7808
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
7809
7809
|
"pluginName": "@salesforce/b2c-cli",
|
|
7810
7810
|
"pluginType": "core",
|
|
@@ -7814,8 +7814,8 @@
|
|
|
7814
7814
|
"relativePath": [
|
|
7815
7815
|
"dist",
|
|
7816
7816
|
"commands",
|
|
7817
|
-
"
|
|
7818
|
-
"tail
|
|
7817
|
+
"logs",
|
|
7818
|
+
"tail.js"
|
|
7819
7819
|
]
|
|
7820
7820
|
},
|
|
7821
7821
|
"sandbox:create": {
|
|
@@ -51961,5 +51961,5 @@
|
|
|
51961
51961
|
]
|
|
51962
51962
|
}
|
|
51963
51963
|
},
|
|
51964
|
-
"version": "0.7.
|
|
51964
|
+
"version": "0.7.3"
|
|
51965
51965
|
}
|