@salesforce/b2c-cli 0.7.1 → 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.
@@ -607,7 +607,7 @@
607
607
  "description": "Inclusive end date (YYYY-MM-DD)",
608
608
  "helpGroup": "QUERY",
609
609
  "name": "to",
610
- "default": "2026-03-11",
610
+ "default": "2026-03-13",
611
611
  "hasDynamicHelp": false,
612
612
  "multiple": false,
613
613
  "type": "option"
@@ -903,7 +903,7 @@
903
903
  "description": "Inclusive end date (YYYY-MM-DD)",
904
904
  "helpGroup": "QUERY",
905
905
  "name": "to",
906
- "default": "2026-03-11",
906
+ "default": "2026-03-13",
907
907
  "hasDynamicHelp": false,
908
908
  "multiple": false,
909
909
  "type": "option"
@@ -1334,7 +1334,7 @@
1334
1334
  "description": "Inclusive end date (YYYY-MM-DD)",
1335
1335
  "helpGroup": "QUERY",
1336
1336
  "name": "to",
1337
- "default": "2026-03-11",
1337
+ "default": "2026-03-13",
1338
1338
  "hasDynamicHelp": false,
1339
1339
  "multiple": false,
1340
1340
  "type": "option"
@@ -3103,23 +3103,20 @@
3103
3103
  "watch.js"
3104
3104
  ]
3105
3105
  },
3106
- "content:export": {
3106
+ "docs:download": {
3107
3107
  "aliases": [],
3108
3108
  "args": {
3109
- "pages": {
3110
- "description": "Content IDs to export (pages, content assets, or components)",
3111
- "name": "pages",
3109
+ "output": {
3110
+ "description": "Output directory for extracted documentation",
3111
+ "name": "output",
3112
3112
  "required": true
3113
3113
  }
3114
3114
  },
3115
- "description": "Export Page Designer pages with components and assets from a content library",
3115
+ "description": "Download Script API documentation from a B2C Commerce instance",
3116
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"
3117
+ "<%= config.bin %> <%= command.id %> ./docs",
3118
+ "<%= config.bin %> <%= command.id %> ./docs --keep-archive",
3119
+ "<%= config.bin %> <%= command.id %> --server sandbox.demandware.net ./my-docs"
3123
3120
  ],
3124
3121
  "flags": {
3125
3122
  "json": {
@@ -3405,115 +3402,45 @@
3405
3402
  "allowNo": true,
3406
3403
  "type": "boolean"
3407
3404
  },
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",
3405
+ "keep-archive": {
3406
+ "description": "Keep the downloaded archive file",
3407
+ "name": "keep-archive",
3489
3408
  "allowNo": false,
3490
3409
  "type": "boolean"
3491
3410
  }
3492
3411
  },
3493
3412
  "hasDynamicHelp": false,
3494
3413
  "hiddenAliases": [],
3495
- "id": "content:export",
3414
+ "id": "docs:download",
3496
3415
  "pluginAlias": "@salesforce/b2c-cli",
3497
3416
  "pluginName": "@salesforce/b2c-cli",
3498
3417
  "pluginType": "core",
3499
- "strict": false,
3418
+ "strict": true,
3500
3419
  "enableJsonFlag": true,
3501
3420
  "isESM": true,
3502
3421
  "relativePath": [
3503
3422
  "dist",
3504
3423
  "commands",
3505
- "content",
3506
- "export.js"
3424
+ "docs",
3425
+ "download.js"
3507
3426
  ]
3508
3427
  },
3509
- "content:list": {
3428
+ "docs:read": {
3510
3429
  "aliases": [],
3511
- "args": {},
3512
- "description": "List pages and content in a content library",
3430
+ "args": {
3431
+ "query": {
3432
+ "description": "Search query for documentation (class name, module path, or partial match)",
3433
+ "name": "query",
3434
+ "required": true
3435
+ }
3436
+ },
3437
+ "description": "Read Script API documentation for a class or module",
3513
3438
  "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"
3439
+ "<%= config.bin %> <%= command.id %> ProductMgr",
3440
+ "<%= config.bin %> <%= command.id %> dw.catalog.ProductMgr",
3441
+ "<%= config.bin %> <%= command.id %> \"dw system Status\"",
3442
+ "<%= config.bin %> <%= command.id %> ProductMgr --raw",
3443
+ "<%= config.bin %> <%= command.id %> ProductMgr --json"
3517
3444
  ],
3518
3445
  "flags": {
3519
3446
  "json": {
@@ -3630,230 +3557,17 @@
3630
3557
  "multiple": false,
3631
3558
  "type": "option"
3632
3559
  },
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",
3560
+ "raw": {
3561
+ "char": "r",
3562
+ "description": "Output raw markdown without terminal formatting",
3563
+ "name": "raw",
3843
3564
  "allowNo": false,
3844
3565
  "type": "boolean"
3845
- },
3846
- "timeout": {
3847
- "description": "Job timeout in seconds",
3848
- "name": "timeout",
3849
- "hasDynamicHelp": false,
3850
- "multiple": false,
3851
- "type": "option"
3852
3566
  }
3853
3567
  },
3854
3568
  "hasDynamicHelp": false,
3855
3569
  "hiddenAliases": [],
3856
- "id": "content:list",
3570
+ "id": "docs:read",
3857
3571
  "pluginAlias": "@salesforce/b2c-cli",
3858
3572
  "pluginName": "@salesforce/b2c-cli",
3859
3573
  "pluginType": "core",
@@ -3863,24 +3577,25 @@
3863
3577
  "relativePath": [
3864
3578
  "dist",
3865
3579
  "commands",
3866
- "content",
3867
- "list.js"
3580
+ "docs",
3581
+ "read.js"
3868
3582
  ]
3869
3583
  },
3870
- "docs:download": {
3584
+ "docs:schema": {
3871
3585
  "aliases": [],
3872
3586
  "args": {
3873
- "output": {
3874
- "description": "Output directory for extracted documentation",
3875
- "name": "output",
3876
- "required": true
3587
+ "query": {
3588
+ "description": "Schema name or partial match (e.g., \"catalog\", \"order\")",
3589
+ "name": "query",
3590
+ "required": false
3877
3591
  }
3878
3592
  },
3879
- "description": "Download Script API documentation from a B2C Commerce instance",
3593
+ "description": "Read an XSD schema file",
3880
3594
  "examples": [
3881
- "<%= config.bin %> <%= command.id %> ./docs",
3882
- "<%= config.bin %> <%= command.id %> ./docs --keep-archive",
3883
- "<%= config.bin %> <%= command.id %> --server sandbox.demandware.net ./my-docs"
3595
+ "<%= config.bin %> <%= command.id %> catalog",
3596
+ "<%= config.bin %> <%= command.id %> order",
3597
+ "<%= config.bin %> <%= command.id %> --list",
3598
+ "<%= config.bin %> <%= command.id %> catalog --json"
3884
3599
  ],
3885
3600
  "flags": {
3886
3601
  "json": {
@@ -3997,185 +3712,17 @@
3997
3712
  "multiple": false,
3998
3713
  "type": "option"
3999
3714
  },
4000
- "client-id": {
4001
- "description": "Client ID for OAuth",
4002
- "env": "SFCC_CLIENT_ID",
4003
- "helpGroup": "AUTH",
4004
- "name": "client-id",
4005
- "hasDynamicHelp": false,
4006
- "multiple": false,
4007
- "type": "option"
4008
- },
4009
- "client-secret": {
4010
- "description": "Client Secret for OAuth",
4011
- "env": "SFCC_CLIENT_SECRET",
4012
- "helpGroup": "AUTH",
4013
- "name": "client-secret",
4014
- "hasDynamicHelp": false,
4015
- "multiple": false,
4016
- "type": "option"
4017
- },
4018
- "auth-scope": {
4019
- "description": "OAuth scopes to request (comma-separated)",
4020
- "env": "SFCC_OAUTH_SCOPES",
4021
- "helpGroup": "AUTH",
4022
- "name": "auth-scope",
4023
- "delimiter": ",",
4024
- "hasDynamicHelp": false,
4025
- "multiple": true,
4026
- "type": "option"
4027
- },
4028
- "short-code": {
4029
- "description": "SCAPI short code",
4030
- "env": "SFCC_SHORTCODE",
4031
- "helpGroup": "AUTH",
4032
- "name": "short-code",
4033
- "hasDynamicHelp": false,
4034
- "multiple": false,
4035
- "type": "option"
4036
- },
4037
- "tenant-id": {
4038
- "aliases": [
4039
- "tenant"
4040
- ],
4041
- "description": "Organization/tenant ID",
4042
- "env": "SFCC_TENANT_ID",
4043
- "helpGroup": "AUTH",
4044
- "name": "tenant-id",
4045
- "hasDynamicHelp": false,
4046
- "multiple": false,
4047
- "type": "option"
4048
- },
4049
- "auth-methods": {
4050
- "description": "Allowed auth methods in priority order (comma-separated)",
4051
- "env": "SFCC_AUTH_METHODS",
4052
- "exclusive": [
4053
- "user-auth"
4054
- ],
4055
- "helpGroup": "AUTH",
4056
- "name": "auth-methods",
4057
- "delimiter": ",",
4058
- "hasDynamicHelp": false,
4059
- "multiple": true,
4060
- "options": [
4061
- "client-credentials",
4062
- "implicit",
4063
- "basic",
4064
- "api-key"
4065
- ],
4066
- "type": "option"
4067
- },
4068
- "user-auth": {
4069
- "description": "Use browser-based user authentication (implicit OAuth flow)",
4070
- "exclusive": [
4071
- "auth-methods"
4072
- ],
4073
- "helpGroup": "AUTH",
4074
- "name": "user-auth",
4075
- "allowNo": false,
4076
- "type": "boolean"
4077
- },
4078
- "account-manager-host": {
4079
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
4080
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
4081
- "helpGroup": "AUTH",
4082
- "name": "account-manager-host",
4083
- "hasDynamicHelp": false,
4084
- "multiple": false,
4085
- "type": "option"
4086
- },
4087
- "server": {
4088
- "char": "s",
4089
- "description": "B2C instance hostname",
4090
- "env": "SFCC_SERVER",
4091
- "helpGroup": "INSTANCE",
4092
- "name": "server",
4093
- "hasDynamicHelp": false,
4094
- "multiple": false,
4095
- "type": "option"
4096
- },
4097
- "webdav-server": {
4098
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
4099
- "env": "SFCC_WEBDAV_SERVER",
4100
- "helpGroup": "INSTANCE",
4101
- "name": "webdav-server",
4102
- "hasDynamicHelp": false,
4103
- "multiple": false,
4104
- "type": "option"
4105
- },
4106
- "code-version": {
4107
- "char": "v",
4108
- "description": "Code version",
4109
- "env": "SFCC_CODE_VERSION",
4110
- "helpGroup": "INSTANCE",
4111
- "name": "code-version",
4112
- "hasDynamicHelp": false,
4113
- "multiple": false,
4114
- "type": "option"
4115
- },
4116
- "username": {
4117
- "char": "u",
4118
- "description": "Username for Basic Auth (WebDAV)",
4119
- "env": "SFCC_USERNAME",
4120
- "helpGroup": "AUTH",
4121
- "name": "username",
4122
- "hasDynamicHelp": false,
4123
- "multiple": false,
4124
- "type": "option"
4125
- },
4126
- "password": {
4127
- "char": "p",
4128
- "description": "Password/access key for Basic Auth (WebDAV)",
4129
- "env": "SFCC_PASSWORD",
4130
- "helpGroup": "AUTH",
4131
- "name": "password",
4132
- "hasDynamicHelp": false,
4133
- "multiple": false,
4134
- "type": "option"
4135
- },
4136
- "certificate": {
4137
- "description": "Path to PKCS12 certificate for two-factor auth",
4138
- "env": "SFCC_CERTIFICATE",
4139
- "helpGroup": "AUTH",
4140
- "name": "certificate",
4141
- "hasDynamicHelp": false,
4142
- "multiple": false,
4143
- "type": "option"
4144
- },
4145
- "passphrase": {
4146
- "description": "Passphrase for the certificate",
4147
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
4148
- "helpGroup": "AUTH",
4149
- "name": "passphrase",
4150
- "hasDynamicHelp": false,
4151
- "multiple": false,
4152
- "type": "option"
4153
- },
4154
- "selfsigned": {
4155
- "description": "Allow self-signed server certificates",
4156
- "env": "SFCC_SELFSIGNED",
4157
- "helpGroup": "AUTH",
4158
- "name": "selfsigned",
4159
- "allowNo": false,
4160
- "type": "boolean"
4161
- },
4162
- "verify": {
4163
- "description": "Verify SSL certificates",
4164
- "helpGroup": "AUTH",
4165
- "name": "verify",
4166
- "allowNo": true,
4167
- "type": "boolean"
4168
- },
4169
- "keep-archive": {
4170
- "description": "Keep the downloaded archive file",
4171
- "name": "keep-archive",
3715
+ "list": {
3716
+ "char": "l",
3717
+ "description": "List all available schemas",
3718
+ "name": "list",
4172
3719
  "allowNo": false,
4173
3720
  "type": "boolean"
4174
3721
  }
4175
3722
  },
4176
3723
  "hasDynamicHelp": false,
4177
3724
  "hiddenAliases": [],
4178
- "id": "docs:download",
3725
+ "id": "docs:schema",
4179
3726
  "pluginAlias": "@salesforce/b2c-cli",
4180
3727
  "pluginName": "@salesforce/b2c-cli",
4181
3728
  "pluginType": "core",
@@ -4186,25 +3733,24 @@
4186
3733
  "dist",
4187
3734
  "commands",
4188
3735
  "docs",
4189
- "download.js"
3736
+ "schema.js"
4190
3737
  ]
4191
3738
  },
4192
- "docs:read": {
3739
+ "docs:search": {
4193
3740
  "aliases": [],
4194
3741
  "args": {
4195
3742
  "query": {
4196
- "description": "Search query for documentation (class name, module path, or partial match)",
3743
+ "description": "Search query (fuzzy match against class/module names)",
4197
3744
  "name": "query",
4198
- "required": true
3745
+ "required": false
4199
3746
  }
4200
3747
  },
4201
- "description": "Read Script API documentation for a class or module",
3748
+ "description": "Search Script API documentation",
4202
3749
  "examples": [
4203
3750
  "<%= config.bin %> <%= command.id %> ProductMgr",
4204
- "<%= config.bin %> <%= command.id %> dw.catalog.ProductMgr",
4205
- "<%= config.bin %> <%= command.id %> \"dw system Status\"",
4206
- "<%= config.bin %> <%= command.id %> ProductMgr --raw",
4207
- "<%= config.bin %> <%= command.id %> ProductMgr --json"
3751
+ "<%= config.bin %> <%= command.id %> \"catalog product\"",
3752
+ "<%= config.bin %> <%= command.id %> status --limit 5",
3753
+ "<%= config.bin %> <%= command.id %> --list"
4208
3754
  ],
4209
3755
  "flags": {
4210
3756
  "json": {
@@ -4321,17 +3867,25 @@
4321
3867
  "multiple": false,
4322
3868
  "type": "option"
4323
3869
  },
4324
- "raw": {
4325
- "char": "r",
4326
- "description": "Output raw markdown without terminal formatting",
4327
- "name": "raw",
3870
+ "limit": {
3871
+ "char": "l",
3872
+ "description": "Maximum number of results to display",
3873
+ "name": "limit",
3874
+ "default": 20,
3875
+ "hasDynamicHelp": false,
3876
+ "multiple": false,
3877
+ "type": "option"
3878
+ },
3879
+ "list": {
3880
+ "description": "List all available documentation entries",
3881
+ "name": "list",
4328
3882
  "allowNo": false,
4329
3883
  "type": "boolean"
4330
3884
  }
4331
3885
  },
4332
3886
  "hasDynamicHelp": false,
4333
3887
  "hiddenAliases": [],
4334
- "id": "docs:read",
3888
+ "id": "docs:search",
4335
3889
  "pluginAlias": "@salesforce/b2c-cli",
4336
3890
  "pluginName": "@salesforce/b2c-cli",
4337
3891
  "pluginType": "core",
@@ -4342,24 +3896,26 @@
4342
3896
  "dist",
4343
3897
  "commands",
4344
3898
  "docs",
4345
- "read.js"
3899
+ "search.js"
4346
3900
  ]
4347
3901
  },
4348
- "docs:schema": {
3902
+ "content:export": {
4349
3903
  "aliases": [],
4350
3904
  "args": {
4351
- "query": {
4352
- "description": "Schema name or partial match (e.g., \"catalog\", \"order\")",
4353
- "name": "query",
4354
- "required": false
3905
+ "pages": {
3906
+ "description": "Content IDs to export (pages, content assets, or components)",
3907
+ "name": "pages",
3908
+ "required": true
4355
3909
  }
4356
3910
  },
4357
- "description": "Read an XSD schema file",
3911
+ "description": "Export Page Designer pages with components and assets from a content library",
4358
3912
  "examples": [
4359
- "<%= config.bin %> <%= command.id %> catalog",
4360
- "<%= config.bin %> <%= command.id %> order",
4361
- "<%= config.bin %> <%= command.id %> --list",
4362
- "<%= config.bin %> <%= command.id %> catalog --json"
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"
4363
3919
  ],
4364
3920
  "flags": {
4365
3921
  "json": {
@@ -4434,245 +3990,326 @@
4434
3990
  "multiple": false,
4435
3991
  "type": "option"
4436
3992
  },
4437
- "project-directory": {
4438
- "aliases": [
4439
- "working-directory"
4440
- ],
4441
- "description": "Project directory",
4442
- "env": "SFCC_PROJECT_DIRECTORY",
4443
- "helpGroup": "GLOBAL",
4444
- "name": "project-directory",
3993
+ "project-directory": {
3994
+ "aliases": [
3995
+ "working-directory"
3996
+ ],
3997
+ "description": "Project directory",
3998
+ "env": "SFCC_PROJECT_DIRECTORY",
3999
+ "helpGroup": "GLOBAL",
4000
+ "name": "project-directory",
4001
+ "hasDynamicHelp": false,
4002
+ "multiple": false,
4003
+ "type": "option"
4004
+ },
4005
+ "extra-query": {
4006
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
4007
+ "env": "SFCC_EXTRA_QUERY",
4008
+ "helpGroup": "GLOBAL",
4009
+ "hidden": true,
4010
+ "name": "extra-query",
4011
+ "hasDynamicHelp": false,
4012
+ "multiple": false,
4013
+ "type": "option"
4014
+ },
4015
+ "extra-body": {
4016
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
4017
+ "env": "SFCC_EXTRA_BODY",
4018
+ "helpGroup": "GLOBAL",
4019
+ "hidden": true,
4020
+ "name": "extra-body",
4021
+ "hasDynamicHelp": false,
4022
+ "multiple": false,
4023
+ "type": "option"
4024
+ },
4025
+ "extra-headers": {
4026
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
4027
+ "env": "SFCC_EXTRA_HEADERS",
4028
+ "helpGroup": "GLOBAL",
4029
+ "hidden": true,
4030
+ "name": "extra-headers",
4031
+ "hasDynamicHelp": false,
4032
+ "multiple": false,
4033
+ "type": "option"
4034
+ },
4035
+ "client-id": {
4036
+ "description": "Client ID for OAuth",
4037
+ "env": "SFCC_CLIENT_ID",
4038
+ "helpGroup": "AUTH",
4039
+ "name": "client-id",
4040
+ "hasDynamicHelp": false,
4041
+ "multiple": false,
4042
+ "type": "option"
4043
+ },
4044
+ "client-secret": {
4045
+ "description": "Client Secret for OAuth",
4046
+ "env": "SFCC_CLIENT_SECRET",
4047
+ "helpGroup": "AUTH",
4048
+ "name": "client-secret",
4049
+ "hasDynamicHelp": false,
4050
+ "multiple": false,
4051
+ "type": "option"
4052
+ },
4053
+ "auth-scope": {
4054
+ "description": "OAuth scopes to request (comma-separated)",
4055
+ "env": "SFCC_OAUTH_SCOPES",
4056
+ "helpGroup": "AUTH",
4057
+ "name": "auth-scope",
4058
+ "delimiter": ",",
4059
+ "hasDynamicHelp": false,
4060
+ "multiple": true,
4061
+ "type": "option"
4062
+ },
4063
+ "short-code": {
4064
+ "description": "SCAPI short code",
4065
+ "env": "SFCC_SHORTCODE",
4066
+ "helpGroup": "AUTH",
4067
+ "name": "short-code",
4068
+ "hasDynamicHelp": false,
4069
+ "multiple": false,
4070
+ "type": "option"
4071
+ },
4072
+ "tenant-id": {
4073
+ "aliases": [
4074
+ "tenant"
4075
+ ],
4076
+ "description": "Organization/tenant ID",
4077
+ "env": "SFCC_TENANT_ID",
4078
+ "helpGroup": "AUTH",
4079
+ "name": "tenant-id",
4080
+ "hasDynamicHelp": false,
4081
+ "multiple": false,
4082
+ "type": "option"
4083
+ },
4084
+ "auth-methods": {
4085
+ "description": "Allowed auth methods in priority order (comma-separated)",
4086
+ "env": "SFCC_AUTH_METHODS",
4087
+ "exclusive": [
4088
+ "user-auth"
4089
+ ],
4090
+ "helpGroup": "AUTH",
4091
+ "name": "auth-methods",
4092
+ "delimiter": ",",
4093
+ "hasDynamicHelp": false,
4094
+ "multiple": true,
4095
+ "options": [
4096
+ "client-credentials",
4097
+ "implicit",
4098
+ "basic",
4099
+ "api-key"
4100
+ ],
4101
+ "type": "option"
4102
+ },
4103
+ "user-auth": {
4104
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
4105
+ "exclusive": [
4106
+ "auth-methods"
4107
+ ],
4108
+ "helpGroup": "AUTH",
4109
+ "name": "user-auth",
4110
+ "allowNo": false,
4111
+ "type": "boolean"
4112
+ },
4113
+ "account-manager-host": {
4114
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
4115
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
4116
+ "helpGroup": "AUTH",
4117
+ "name": "account-manager-host",
4118
+ "hasDynamicHelp": false,
4119
+ "multiple": false,
4120
+ "type": "option"
4121
+ },
4122
+ "server": {
4123
+ "char": "s",
4124
+ "description": "B2C instance hostname",
4125
+ "env": "SFCC_SERVER",
4126
+ "helpGroup": "INSTANCE",
4127
+ "name": "server",
4128
+ "hasDynamicHelp": false,
4129
+ "multiple": false,
4130
+ "type": "option"
4131
+ },
4132
+ "webdav-server": {
4133
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
4134
+ "env": "SFCC_WEBDAV_SERVER",
4135
+ "helpGroup": "INSTANCE",
4136
+ "name": "webdav-server",
4137
+ "hasDynamicHelp": false,
4138
+ "multiple": false,
4139
+ "type": "option"
4140
+ },
4141
+ "code-version": {
4142
+ "char": "v",
4143
+ "description": "Code version",
4144
+ "env": "SFCC_CODE_VERSION",
4145
+ "helpGroup": "INSTANCE",
4146
+ "name": "code-version",
4445
4147
  "hasDynamicHelp": false,
4446
4148
  "multiple": false,
4447
4149
  "type": "option"
4448
4150
  },
4449
- "extra-query": {
4450
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
4451
- "env": "SFCC_EXTRA_QUERY",
4452
- "helpGroup": "GLOBAL",
4453
- "hidden": true,
4454
- "name": "extra-query",
4151
+ "username": {
4152
+ "char": "u",
4153
+ "description": "Username for Basic Auth (WebDAV)",
4154
+ "env": "SFCC_USERNAME",
4155
+ "helpGroup": "AUTH",
4156
+ "name": "username",
4455
4157
  "hasDynamicHelp": false,
4456
4158
  "multiple": false,
4457
4159
  "type": "option"
4458
4160
  },
4459
- "extra-body": {
4460
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
4461
- "env": "SFCC_EXTRA_BODY",
4462
- "helpGroup": "GLOBAL",
4463
- "hidden": true,
4464
- "name": "extra-body",
4161
+ "password": {
4162
+ "char": "p",
4163
+ "description": "Password/access key for Basic Auth (WebDAV)",
4164
+ "env": "SFCC_PASSWORD",
4165
+ "helpGroup": "AUTH",
4166
+ "name": "password",
4465
4167
  "hasDynamicHelp": false,
4466
4168
  "multiple": false,
4467
4169
  "type": "option"
4468
4170
  },
4469
- "extra-headers": {
4470
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
4471
- "env": "SFCC_EXTRA_HEADERS",
4472
- "helpGroup": "GLOBAL",
4473
- "hidden": true,
4474
- "name": "extra-headers",
4171
+ "certificate": {
4172
+ "description": "Path to PKCS12 certificate for two-factor auth",
4173
+ "env": "SFCC_CERTIFICATE",
4174
+ "helpGroup": "AUTH",
4175
+ "name": "certificate",
4475
4176
  "hasDynamicHelp": false,
4476
4177
  "multiple": false,
4477
4178
  "type": "option"
4478
4179
  },
4479
- "list": {
4480
- "char": "l",
4481
- "description": "List all available schemas",
4482
- "name": "list",
4483
- "allowNo": false,
4484
- "type": "boolean"
4485
- }
4486
- },
4487
- "hasDynamicHelp": false,
4488
- "hiddenAliases": [],
4489
- "id": "docs:schema",
4490
- "pluginAlias": "@salesforce/b2c-cli",
4491
- "pluginName": "@salesforce/b2c-cli",
4492
- "pluginType": "core",
4493
- "strict": true,
4494
- "enableJsonFlag": true,
4495
- "isESM": true,
4496
- "relativePath": [
4497
- "dist",
4498
- "commands",
4499
- "docs",
4500
- "schema.js"
4501
- ]
4502
- },
4503
- "docs:search": {
4504
- "aliases": [],
4505
- "args": {
4506
- "query": {
4507
- "description": "Search query (fuzzy match against class/module names)",
4508
- "name": "query",
4509
- "required": false
4510
- }
4511
- },
4512
- "description": "Search Script API documentation",
4513
- "examples": [
4514
- "<%= config.bin %> <%= command.id %> ProductMgr",
4515
- "<%= config.bin %> <%= command.id %> \"catalog product\"",
4516
- "<%= config.bin %> <%= command.id %> status --limit 5",
4517
- "<%= config.bin %> <%= command.id %> --list"
4518
- ],
4519
- "flags": {
4520
- "json": {
4521
- "description": "Output result as JSON",
4522
- "helpGroup": "GLOBAL",
4523
- "name": "json",
4524
- "allowNo": false,
4525
- "type": "boolean"
4526
- },
4527
- "log-level": {
4528
- "description": "Set logging verbosity level",
4529
- "env": "SFCC_LOG_LEVEL",
4530
- "helpGroup": "GLOBAL",
4531
- "name": "log-level",
4180
+ "passphrase": {
4181
+ "description": "Passphrase for the certificate",
4182
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
4183
+ "helpGroup": "AUTH",
4184
+ "name": "passphrase",
4532
4185
  "hasDynamicHelp": false,
4533
4186
  "multiple": false,
4534
- "options": [
4535
- "trace",
4536
- "debug",
4537
- "info",
4538
- "warn",
4539
- "error",
4540
- "silent"
4541
- ],
4542
4187
  "type": "option"
4543
4188
  },
4544
- "debug": {
4545
- "char": "D",
4546
- "description": "Enable debug logging (shorthand for --log-level debug)",
4547
- "env": "SFCC_DEBUG",
4548
- "helpGroup": "GLOBAL",
4549
- "name": "debug",
4189
+ "selfsigned": {
4190
+ "description": "Allow self-signed server certificates",
4191
+ "env": "SFCC_SELFSIGNED",
4192
+ "helpGroup": "AUTH",
4193
+ "name": "selfsigned",
4550
4194
  "allowNo": false,
4551
4195
  "type": "boolean"
4552
4196
  },
4553
- "jsonl": {
4554
- "aliases": [
4555
- "json-logs"
4556
- ],
4557
- "description": "Output log messages as JSON lines",
4558
- "env": "SFCC_JSON_LOGS",
4559
- "helpGroup": "GLOBAL",
4560
- "name": "jsonl",
4561
- "allowNo": false,
4197
+ "verify": {
4198
+ "description": "Verify SSL certificates",
4199
+ "helpGroup": "AUTH",
4200
+ "name": "verify",
4201
+ "allowNo": true,
4562
4202
  "type": "boolean"
4563
4203
  },
4564
- "lang": {
4565
- "char": "L",
4566
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
4567
- "helpGroup": "GLOBAL",
4568
- "name": "lang",
4204
+ "library": {
4205
+ "description": "Library ID or site ID (also configurable via dw.json \"content-library\")",
4206
+ "name": "library",
4569
4207
  "hasDynamicHelp": false,
4570
4208
  "multiple": false,
4571
4209
  "type": "option"
4572
4210
  },
4573
- "config": {
4574
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
4575
- "env": "SFCC_CONFIG",
4576
- "helpGroup": "GLOBAL",
4577
- "name": "config",
4211
+ "output": {
4212
+ "char": "o",
4213
+ "description": "Output directory",
4214
+ "name": "output",
4578
4215
  "hasDynamicHelp": false,
4579
4216
  "multiple": false,
4580
4217
  "type": "option"
4581
4218
  },
4582
- "instance": {
4583
- "char": "i",
4584
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
4585
- "env": "SFCC_INSTANCE",
4586
- "helpGroup": "GLOBAL",
4587
- "name": "instance",
4588
- "hasDynamicHelp": false,
4589
- "multiple": false,
4590
- "type": "option"
4219
+ "site-library": {
4220
+ "description": "Library is a site-private library",
4221
+ "name": "site-library",
4222
+ "allowNo": false,
4223
+ "type": "boolean"
4591
4224
  },
4592
- "project-directory": {
4593
- "aliases": [
4594
- "working-directory"
4225
+ "asset-query": {
4226
+ "char": "q",
4227
+ "description": "JSON dot-paths for asset extraction",
4228
+ "name": "asset-query",
4229
+ "default": [
4230
+ "image.path"
4595
4231
  ],
4596
- "description": "Project directory",
4597
- "env": "SFCC_PROJECT_DIRECTORY",
4598
- "helpGroup": "GLOBAL",
4599
- "name": "project-directory",
4600
4232
  "hasDynamicHelp": false,
4601
- "multiple": false,
4233
+ "multiple": true,
4602
4234
  "type": "option"
4603
4235
  },
4604
- "extra-query": {
4605
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
4606
- "env": "SFCC_EXTRA_QUERY",
4607
- "helpGroup": "GLOBAL",
4608
- "hidden": true,
4609
- "name": "extra-query",
4610
- "hasDynamicHelp": false,
4611
- "multiple": false,
4612
- "type": "option"
4236
+ "regex": {
4237
+ "char": "r",
4238
+ "description": "Treat page IDs as regular expressions",
4239
+ "name": "regex",
4240
+ "allowNo": false,
4241
+ "type": "boolean"
4613
4242
  },
4614
- "extra-body": {
4615
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
4616
- "env": "SFCC_EXTRA_BODY",
4617
- "helpGroup": "GLOBAL",
4618
- "hidden": true,
4619
- "name": "extra-body",
4243
+ "folder": {
4244
+ "description": "Filter by folder classification",
4245
+ "name": "folder",
4620
4246
  "hasDynamicHelp": false,
4621
- "multiple": false,
4247
+ "multiple": true,
4622
4248
  "type": "option"
4623
4249
  },
4624
- "extra-headers": {
4625
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
4626
- "env": "SFCC_EXTRA_HEADERS",
4627
- "helpGroup": "GLOBAL",
4628
- "hidden": true,
4629
- "name": "extra-headers",
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",
4630
4259
  "hasDynamicHelp": false,
4631
4260
  "multiple": false,
4632
4261
  "type": "option"
4633
4262
  },
4634
- "limit": {
4635
- "char": "l",
4636
- "description": "Maximum number of results to display",
4637
- "name": "limit",
4638
- "default": 20,
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",
4639
4278
  "hasDynamicHelp": false,
4640
4279
  "multiple": false,
4641
4280
  "type": "option"
4642
4281
  },
4643
- "list": {
4644
- "description": "List all available documentation entries",
4645
- "name": "list",
4282
+ "dry-run": {
4283
+ "description": "Preview export without downloading assets or writing files",
4284
+ "name": "dry-run",
4646
4285
  "allowNo": false,
4647
4286
  "type": "boolean"
4648
4287
  }
4649
4288
  },
4650
4289
  "hasDynamicHelp": false,
4651
4290
  "hiddenAliases": [],
4652
- "id": "docs:search",
4291
+ "id": "content:export",
4653
4292
  "pluginAlias": "@salesforce/b2c-cli",
4654
4293
  "pluginName": "@salesforce/b2c-cli",
4655
4294
  "pluginType": "core",
4656
- "strict": true,
4295
+ "strict": false,
4657
4296
  "enableJsonFlag": true,
4658
4297
  "isESM": true,
4659
4298
  "relativePath": [
4660
4299
  "dist",
4661
4300
  "commands",
4662
- "docs",
4663
- "search.js"
4301
+ "content",
4302
+ "export.js"
4664
4303
  ]
4665
4304
  },
4666
- "job:export": {
4305
+ "content:list": {
4667
4306
  "aliases": [],
4668
4307
  "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",
4308
+ "description": "List pages and content in a content library",
4670
4309
  "examples": [
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"
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"
4676
4313
  ],
4677
4314
  "flags": {
4678
4315
  "json": {
@@ -4958,114 +4595,61 @@
4958
4595
  "allowNo": true,
4959
4596
  "type": "boolean"
4960
4597
  },
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
4598
  "library": {
4994
- "description": "Library IDs to export (comma-separated)",
4599
+ "description": "Library ID or site ID (also configurable via dw.json \"content-library\")",
4995
4600
  "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
4601
  "hasDynamicHelp": false,
5006
- "multiple": true,
4602
+ "multiple": false,
5007
4603
  "type": "option"
5008
4604
  },
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"
4605
+ "site-library": {
4606
+ "description": "Site-private library",
4607
+ "name": "site-library",
4608
+ "allowNo": false,
4609
+ "type": "boolean"
5016
4610
  },
5017
- "global-data": {
5018
- "description": "Global data units to export (comma-separated: meta_data,custom_types,etc.)",
5019
- "name": "global-data",
4611
+ "library-file": {
4612
+ "description": "Local XML file",
4613
+ "name": "library-file",
5020
4614
  "hasDynamicHelp": false,
5021
4615
  "multiple": false,
5022
4616
  "type": "option"
5023
4617
  },
5024
- "data-units": {
5025
- "char": "d",
5026
- "description": "Full data units configuration as JSON string",
5027
- "name": "data-units",
4618
+ "type": {
4619
+ "description": "Filter by node type",
4620
+ "name": "type",
5028
4621
  "hasDynamicHelp": false,
5029
4622
  "multiple": false,
4623
+ "options": [
4624
+ "page",
4625
+ "content",
4626
+ "component"
4627
+ ],
5030
4628
  "type": "option"
5031
4629
  },
5032
- "keep-archive": {
5033
- "char": "k",
5034
- "description": "Keep archive on instance after download",
5035
- "name": "keep-archive",
5036
- "allowNo": false,
5037
- "type": "boolean"
5038
- },
5039
- "no-download": {
5040
- "description": "Do not download the archive (leave on instance)",
5041
- "name": "no-download",
4630
+ "components": {
4631
+ "description": "Include components in output",
4632
+ "name": "components",
5042
4633
  "allowNo": false,
5043
4634
  "type": "boolean"
5044
4635
  },
5045
- "zip-only": {
5046
- "description": "Save as zip file without extracting",
5047
- "name": "zip-only",
4636
+ "tree": {
4637
+ "description": "Show tree structure",
4638
+ "name": "tree",
5048
4639
  "allowNo": false,
5049
4640
  "type": "boolean"
5050
4641
  },
5051
4642
  "timeout": {
5052
- "char": "t",
5053
- "description": "Timeout in seconds (default: no timeout)",
4643
+ "description": "Job timeout in seconds",
5054
4644
  "name": "timeout",
5055
4645
  "hasDynamicHelp": false,
5056
4646
  "multiple": false,
5057
4647
  "type": "option"
5058
- },
5059
- "show-log": {
5060
- "description": "Show job log on failure",
5061
- "name": "show-log",
5062
- "allowNo": false,
5063
- "type": "boolean"
5064
4648
  }
5065
4649
  },
5066
4650
  "hasDynamicHelp": false,
5067
4651
  "hiddenAliases": [],
5068
- "id": "job:export",
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
- "job",
5079
- "export.js"
4662
+ "content",
4663
+ "list.js"
5080
4664
  ]
5081
4665
  },
5082
- "job:import": {
4666
+ "job:export": {
5083
4667
  "aliases": [],
5084
- "args": {
5085
- "target": {
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 %> ./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"
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 import",
5034
+ "description": "Keep archive on instance after download",
5385
5035
  "name": "keep-archive",
5386
5036
  "allowNo": false,
5387
5037
  "type": "boolean"
5388
5038
  },
5389
- "remote": {
5390
- "char": "r",
5391
- "description": "Target is a filename already on the instance (in Impex/src/instance/)",
5392
- "name": "remote",
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:import",
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
- "import.js"
5079
+ "export.js"
5425
5080
  ]
5426
5081
  },
5427
- "job:run": {
5082
+ "job:import": {
5428
5083
  "aliases": [],
5429
5084
  "args": {
5430
- "jobId": {
5431
- "description": "Job ID to execute",
5432
- "name": "jobId",
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": "Execute a job on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-run",
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-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\"]}}'"
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
- "wait": {
5729
- "char": "w",
5730
- "description": "Wait for job to complete",
5731
- "name": "wait",
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 when waiting (default: no timeout)",
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:run",
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
- "run.js"
5424
+ "import.js"
5792
5425
  ]
5793
5426
  },
5794
- "job:search": {
5427
+ "job:run": {
5795
5428
  "aliases": [],
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",
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 %> --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"
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
- "job-id": {
6090
- "char": "j",
6091
- "description": "Filter by job ID",
6092
- "name": "job-id",
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
- "status": {
6098
- "description": "Filter by status (comma-separated: RUNNING,PENDING,OK,ERROR)",
6099
- "name": "status",
6100
- "delimiter": ",",
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
- "count": {
6106
- "char": "n",
6107
- "description": "Maximum number of results",
6108
- "name": "count",
6109
- "default": 25,
6110
- "hasDynamicHelp": false,
6111
- "multiple": false,
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
- "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"
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
- "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"
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:search",
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
- "search.js"
5791
+ "run.js"
6163
5792
  ]
6164
5793
  },
6165
- "job:wait": {
5794
+ "job:search": {
6166
5795
  "aliases": [],
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",
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 %> 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"
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
- "timeout": {
6470
- "char": "t",
6471
- "description": "Timeout in seconds (default: no timeout)",
6472
- "name": "timeout",
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
- "poll-interval": {
6478
- "description": "Polling interval in seconds",
6479
- "name": "poll-interval",
6480
- "default": 3,
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
- "show-log": {
6486
- "description": "Show job log on failure",
6487
- "name": "show-log",
6488
- "allowNo": false,
6489
- "type": "boolean"
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:wait",
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
- "wait.js"
6162
+ "search.js"
6506
6163
  ]
6507
6164
  },
6508
- "logs:get": {
6165
+ "job:wait": {
6509
6166
  "aliases": [],
6510
- "args": {},
6511
- "description": "Get recent log entries from a B2C Commerce instance",
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 %> --count 50",
6515
- "<%= config.bin %> <%= command.id %> --filter error --filter customerror --filter debug",
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
- "filter": {
6808
- "char": "f",
6809
- "description": "Log prefixes to filter (can specify multiple)",
6810
- "name": "filter",
6811
- "default": [
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
- "customerror"
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": true,
6570
+ "multiple": false,
6817
6571
  "type": "option"
6818
6572
  },
6819
- "count": {
6820
- "char": "n",
6821
- "description": "Maximum number of entries to retrieve",
6822
- "name": "count",
6823
- "default": 20,
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
- "since": {
6829
- "description": "Only show entries after this time (e.g., \"5m\", \"1h\", \"2d\", or ISO 8601)",
6830
- "name": "since",
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, FATAL, TRACE)",
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 containing this text (case-insensitive)",
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:get",
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
- "logs",
6883
- "get.js"
6714
+ "mrt",
6715
+ "tail-logs.js"
6884
6716
  ]
6885
6717
  },
6886
- "logs:list": {
6718
+ "logs:get": {
6887
6719
  "aliases": [],
6888
6720
  "args": {},
6889
- "description": "List log files on a B2C Commerce instance",
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 %> --filter error --filter customerror",
6893
- "<%= config.bin %> <%= command.id %> --sort size --order asc",
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": "Filter by log prefix (can specify multiple)",
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
- "sort": {
7189
- "description": "Sort field",
7190
- "name": "sort",
7191
- "default": "date",
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
- "order": {
7202
- "char": "o",
7203
- "description": "Sort order",
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:list",
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
- "list.js"
7093
+ "get.js"
7229
7094
  ]
7230
7095
  },
7231
- "logs:tail": {
7096
+ "logs:list": {
7232
7097
  "aliases": [],
7233
7098
  "args": {},
7234
- "description": "Tail log files on a B2C Commerce instance in real-time",
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 --filter debug",
7238
- "<%= config.bin %> <%= command.id %> --interval 5000",
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": "Log prefixes to filter (can specify multiple)",
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
- "interval": {
7544
- "description": "Polling interval in milliseconds",
7545
- "name": "interval",
7546
- "default": 3000,
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
- "level": {
7574
- "description": "Filter by log level (ERROR, WARN, INFO, DEBUG, FATAL, TRACE)",
7575
- "name": "level",
7576
- "hasDynamicHelp": false,
7577
- "multiple": true,
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:tail",
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
- "tail.js"
7438
+ "list.js"
7609
7439
  ]
7610
7440
  },
7611
- "mrt:tail-logs": {
7441
+ "logs:tail": {
7612
7442
  "aliases": [],
7613
7443
  "args": {},
7614
- "description": "Tail application logs from a Managed Runtime environment",
7444
+ "description": "Tail log files on a B2C Commerce instance in real-time",
7615
7445
  "examples": [
7616
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging",
7617
- "<%= config.bin %> <%= command.id %> -p my-storefront -e production --level ERROR --level WARN",
7618
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --json",
7619
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --search \"timeout\"",
7620
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --search \"GET|POST\""
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
- "api-key": {
7738
- "description": "MRT API key",
7739
- "env": "MRT_API_KEY",
7572
+ "client-id": {
7573
+ "description": "Client ID for OAuth",
7574
+ "env": "SFCC_CLIENT_ID",
7740
7575
  "helpGroup": "AUTH",
7741
- "name": "api-key",
7576
+ "name": "client-id",
7742
7577
  "hasDynamicHelp": false,
7743
7578
  "multiple": false,
7744
7579
  "type": "option"
7745
7580
  },
7746
- "project": {
7747
- "char": "p",
7748
- "description": "MRT project slug (or set mrtProject in dw.json)",
7749
- "env": "MRT_PROJECT",
7750
- "name": "project",
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
- "environment": {
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
- "target"
7611
+ "tenant"
7758
7612
  ],
7759
- "char": "e",
7760
- "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
7761
- "env": "MRT_ENVIRONMENT",
7762
- "name": "environment",
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
- "cloud-origin": {
7768
- "description": "MRT cloud origin URL (or set mrtOrigin in dw.json; default: https://cloud.mobify.com)",
7769
- "env": "MRT_CLOUD_ORIGIN",
7770
- "name": "cloud-origin",
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
- "credentials-file": {
7776
- "description": "Path to MRT credentials file (overrides default ~/.mobify)",
7777
- "env": "MRT_CREDENTIALS_FILE",
7778
- "name": "credentials-file",
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, etc.)",
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 matching this regex pattern (case-insensitive)",
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": "mrt:tail-logs",
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
- "mrt",
7818
- "tail-logs.js"
7817
+ "logs",
7818
+ "tail.js"
7819
7819
  ]
7820
7820
  },
7821
7821
  "sandbox:create": {
@@ -12566,7 +12566,10 @@
12566
12566
  }
12567
12567
  },
12568
12568
  "hasDynamicHelp": false,
12569
- "hiddenAliases": [],
12569
+ "hiddenAliases": [
12570
+ "config:show",
12571
+ "config:inspect"
12572
+ ],
12570
12573
  "id": "setup:inspect",
12571
12574
  "pluginAlias": "@salesforce/b2c-cli",
12572
12575
  "pluginName": "@salesforce/b2c-cli",
@@ -20641,7 +20644,7 @@
20641
20644
  "description": "Inclusive end date (YYYY-MM-DD)",
20642
20645
  "helpGroup": "QUERY",
20643
20646
  "name": "to",
20644
- "default": "2026-03-11",
20647
+ "default": "2026-03-13",
20645
20648
  "hasDynamicHelp": false,
20646
20649
  "multiple": false,
20647
20650
  "type": "option"
@@ -20972,7 +20975,7 @@
20972
20975
  "description": "Inclusive end date (YYYY-MM-DD)",
20973
20976
  "helpGroup": "QUERY",
20974
20977
  "name": "to",
20975
- "default": "2026-03-11",
20978
+ "default": "2026-03-13",
20976
20979
  "hasDynamicHelp": false,
20977
20980
  "multiple": false,
20978
20981
  "type": "option"
@@ -21303,7 +21306,7 @@
21303
21306
  "description": "Inclusive end date (YYYY-MM-DD)",
21304
21307
  "helpGroup": "QUERY",
21305
21308
  "name": "to",
21306
- "default": "2026-03-11",
21309
+ "default": "2026-03-13",
21307
21310
  "hasDynamicHelp": false,
21308
21311
  "multiple": false,
21309
21312
  "type": "option"
@@ -21634,7 +21637,7 @@
21634
21637
  "description": "Inclusive end date (YYYY-MM-DD)",
21635
21638
  "helpGroup": "QUERY",
21636
21639
  "name": "to",
21637
- "default": "2026-03-11",
21640
+ "default": "2026-03-13",
21638
21641
  "hasDynamicHelp": false,
21639
21642
  "multiple": false,
21640
21643
  "type": "option"
@@ -21965,7 +21968,7 @@
21965
21968
  "description": "Inclusive end date (YYYY-MM-DD)",
21966
21969
  "helpGroup": "QUERY",
21967
21970
  "name": "to",
21968
- "default": "2026-03-11",
21971
+ "default": "2026-03-13",
21969
21972
  "hasDynamicHelp": false,
21970
21973
  "multiple": false,
21971
21974
  "type": "option"
@@ -22287,7 +22290,7 @@
22287
22290
  "description": "Inclusive end date (YYYY-MM-DD)",
22288
22291
  "helpGroup": "QUERY",
22289
22292
  "name": "to",
22290
- "default": "2026-03-11",
22293
+ "default": "2026-03-13",
22291
22294
  "hasDynamicHelp": false,
22292
22295
  "multiple": false,
22293
22296
  "type": "option"
@@ -22618,7 +22621,7 @@
22618
22621
  "description": "Inclusive end date (YYYY-MM-DD)",
22619
22622
  "helpGroup": "QUERY",
22620
22623
  "name": "to",
22621
- "default": "2026-03-11",
22624
+ "default": "2026-03-13",
22622
22625
  "hasDynamicHelp": false,
22623
22626
  "multiple": false,
22624
22627
  "type": "option"
@@ -22949,7 +22952,7 @@
22949
22952
  "description": "Inclusive end date (YYYY-MM-DD)",
22950
22953
  "helpGroup": "QUERY",
22951
22954
  "name": "to",
22952
- "default": "2026-03-11",
22955
+ "default": "2026-03-13",
22953
22956
  "hasDynamicHelp": false,
22954
22957
  "multiple": false,
22955
22958
  "type": "option"
@@ -23293,7 +23296,7 @@
23293
23296
  "description": "Inclusive end date (YYYY-MM-DD)",
23294
23297
  "helpGroup": "QUERY",
23295
23298
  "name": "to",
23296
- "default": "2026-03-11",
23299
+ "default": "2026-03-13",
23297
23300
  "hasDynamicHelp": false,
23298
23301
  "multiple": false,
23299
23302
  "type": "option"
@@ -23633,7 +23636,7 @@
23633
23636
  "description": "Inclusive end date (YYYY-MM-DD)",
23634
23637
  "helpGroup": "QUERY",
23635
23638
  "name": "to",
23636
- "default": "2026-03-11",
23639
+ "default": "2026-03-13",
23637
23640
  "hasDynamicHelp": false,
23638
23641
  "multiple": false,
23639
23642
  "type": "option"
@@ -51958,5 +51961,5 @@
51958
51961
  ]
51959
51962
  }
51960
51963
  },
51961
- "version": "0.7.1"
51964
+ "version": "0.7.3"
51962
51965
  }