@salesforce/b2c-cli 0.0.0-nightly.20260120023917 → 0.0.0-nightly.20260121023856

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,128 @@
1
1
  {
2
2
  "commands": {
3
+ "_test": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Test logging output",
7
+ "flags": {
8
+ "log-level": {
9
+ "description": "Set logging verbosity level",
10
+ "env": "SFCC_LOG_LEVEL",
11
+ "helpGroup": "GLOBAL",
12
+ "name": "log-level",
13
+ "hasDynamicHelp": false,
14
+ "multiple": false,
15
+ "options": [
16
+ "trace",
17
+ "debug",
18
+ "info",
19
+ "warn",
20
+ "error",
21
+ "silent"
22
+ ],
23
+ "type": "option"
24
+ },
25
+ "debug": {
26
+ "char": "D",
27
+ "description": "Enable debug logging (shorthand for --log-level debug)",
28
+ "env": "SFCC_DEBUG",
29
+ "helpGroup": "GLOBAL",
30
+ "name": "debug",
31
+ "allowNo": false,
32
+ "type": "boolean"
33
+ },
34
+ "json": {
35
+ "description": "Output logs as JSON lines",
36
+ "helpGroup": "GLOBAL",
37
+ "name": "json",
38
+ "allowNo": false,
39
+ "type": "boolean"
40
+ },
41
+ "lang": {
42
+ "char": "L",
43
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
44
+ "helpGroup": "GLOBAL",
45
+ "name": "lang",
46
+ "hasDynamicHelp": false,
47
+ "multiple": false,
48
+ "type": "option"
49
+ },
50
+ "config": {
51
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
52
+ "env": "SFCC_CONFIG",
53
+ "helpGroup": "GLOBAL",
54
+ "name": "config",
55
+ "hasDynamicHelp": false,
56
+ "multiple": false,
57
+ "type": "option"
58
+ },
59
+ "instance": {
60
+ "char": "i",
61
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
62
+ "env": "SFCC_INSTANCE",
63
+ "helpGroup": "GLOBAL",
64
+ "name": "instance",
65
+ "hasDynamicHelp": false,
66
+ "multiple": false,
67
+ "type": "option"
68
+ },
69
+ "working-directory": {
70
+ "description": "Project working directory",
71
+ "env": "SFCC_WORKING_DIRECTORY",
72
+ "helpGroup": "GLOBAL",
73
+ "name": "working-directory",
74
+ "hasDynamicHelp": false,
75
+ "multiple": false,
76
+ "type": "option"
77
+ },
78
+ "extra-query": {
79
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
80
+ "env": "SFCC_EXTRA_QUERY",
81
+ "helpGroup": "GLOBAL",
82
+ "hidden": true,
83
+ "name": "extra-query",
84
+ "hasDynamicHelp": false,
85
+ "multiple": false,
86
+ "type": "option"
87
+ },
88
+ "extra-body": {
89
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
90
+ "env": "SFCC_EXTRA_BODY",
91
+ "helpGroup": "GLOBAL",
92
+ "hidden": true,
93
+ "name": "extra-body",
94
+ "hasDynamicHelp": false,
95
+ "multiple": false,
96
+ "type": "option"
97
+ },
98
+ "extra-headers": {
99
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
100
+ "env": "SFCC_EXTRA_HEADERS",
101
+ "helpGroup": "GLOBAL",
102
+ "hidden": true,
103
+ "name": "extra-headers",
104
+ "hasDynamicHelp": false,
105
+ "multiple": false,
106
+ "type": "option"
107
+ }
108
+ },
109
+ "hasDynamicHelp": false,
110
+ "hidden": true,
111
+ "hiddenAliases": [],
112
+ "id": "_test",
113
+ "pluginAlias": "@salesforce/b2c-cli",
114
+ "pluginName": "@salesforce/b2c-cli",
115
+ "pluginType": "core",
116
+ "strict": true,
117
+ "enableJsonFlag": false,
118
+ "isESM": true,
119
+ "relativePath": [
120
+ "dist",
121
+ "commands",
122
+ "_test",
123
+ "index.js"
124
+ ]
125
+ },
3
126
  "auth:token": {
4
127
  "aliases": [],
5
128
  "args": {},
@@ -1529,11 +1652,29 @@
1529
1652
  "watch.js"
1530
1653
  ]
1531
1654
  },
1532
- "_test": {
1655
+ "docs:download": {
1533
1656
  "aliases": [],
1534
- "args": {},
1535
- "description": "Test logging output",
1657
+ "args": {
1658
+ "output": {
1659
+ "description": "Output directory for extracted documentation",
1660
+ "name": "output",
1661
+ "required": true
1662
+ }
1663
+ },
1664
+ "description": "Download Script API documentation from a B2C Commerce instance",
1665
+ "examples": [
1666
+ "<%= config.bin %> <%= command.id %> ./docs",
1667
+ "<%= config.bin %> <%= command.id %> ./docs --keep-archive",
1668
+ "<%= config.bin %> <%= command.id %> --server sandbox.demandware.net ./my-docs"
1669
+ ],
1536
1670
  "flags": {
1671
+ "json": {
1672
+ "description": "Output logs as JSON lines",
1673
+ "helpGroup": "GLOBAL",
1674
+ "name": "json",
1675
+ "allowNo": false,
1676
+ "type": "boolean"
1677
+ },
1537
1678
  "log-level": {
1538
1679
  "description": "Set logging verbosity level",
1539
1680
  "env": "SFCC_LOG_LEVEL",
@@ -1560,13 +1701,6 @@
1560
1701
  "allowNo": false,
1561
1702
  "type": "boolean"
1562
1703
  },
1563
- "json": {
1564
- "description": "Output logs as JSON lines",
1565
- "helpGroup": "GLOBAL",
1566
- "name": "json",
1567
- "allowNo": false,
1568
- "type": "boolean"
1569
- },
1570
1704
  "lang": {
1571
1705
  "char": "L",
1572
1706
  "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
@@ -1633,170 +1767,40 @@
1633
1767
  "hasDynamicHelp": false,
1634
1768
  "multiple": false,
1635
1769
  "type": "option"
1636
- }
1637
- },
1638
- "hasDynamicHelp": false,
1639
- "hidden": true,
1640
- "hiddenAliases": [],
1641
- "id": "_test",
1642
- "pluginAlias": "@salesforce/b2c-cli",
1643
- "pluginName": "@salesforce/b2c-cli",
1644
- "pluginType": "core",
1645
- "strict": true,
1646
- "enableJsonFlag": false,
1647
- "isESM": true,
1648
- "relativePath": [
1649
- "dist",
1650
- "commands",
1651
- "_test",
1652
- "index.js"
1653
- ]
1654
- },
1655
- "job:export": {
1656
- "aliases": [],
1657
- "args": {},
1658
- "description": "Job execution and site archive import/export (IMPEX)",
1659
- "examples": [
1660
- "<%= config.bin %> <%= command.id %> --global-data meta_data",
1661
- "<%= config.bin %> <%= command.id %> --site RefArch --site-data content,site_preferences",
1662
- "<%= config.bin %> <%= command.id %> --catalog storefront-catalog",
1663
- "<%= config.bin %> <%= command.id %> --data-units '{\"global_data\":{\"meta_data\":true}}'",
1664
- "<%= config.bin %> <%= command.id %> --output ./exports --no-download"
1665
- ],
1666
- "flags": {
1667
- "json": {
1668
- "description": "Output logs as JSON lines",
1669
- "helpGroup": "GLOBAL",
1670
- "name": "json",
1671
- "allowNo": false,
1672
- "type": "boolean"
1673
1770
  },
1674
- "log-level": {
1675
- "description": "Set logging verbosity level",
1676
- "env": "SFCC_LOG_LEVEL",
1677
- "helpGroup": "GLOBAL",
1678
- "name": "log-level",
1771
+ "client-id": {
1772
+ "description": "Client ID for OAuth",
1773
+ "env": "SFCC_CLIENT_ID",
1774
+ "helpGroup": "AUTH",
1775
+ "name": "client-id",
1679
1776
  "hasDynamicHelp": false,
1680
1777
  "multiple": false,
1681
- "options": [
1682
- "trace",
1683
- "debug",
1684
- "info",
1685
- "warn",
1686
- "error",
1687
- "silent"
1688
- ],
1689
1778
  "type": "option"
1690
1779
  },
1691
- "debug": {
1692
- "char": "D",
1693
- "description": "Enable debug logging (shorthand for --log-level debug)",
1694
- "env": "SFCC_DEBUG",
1695
- "helpGroup": "GLOBAL",
1696
- "name": "debug",
1697
- "allowNo": false,
1698
- "type": "boolean"
1699
- },
1700
- "lang": {
1701
- "char": "L",
1702
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
1703
- "helpGroup": "GLOBAL",
1704
- "name": "lang",
1780
+ "client-secret": {
1781
+ "description": "Client Secret for OAuth",
1782
+ "env": "SFCC_CLIENT_SECRET",
1783
+ "helpGroup": "AUTH",
1784
+ "name": "client-secret",
1705
1785
  "hasDynamicHelp": false,
1706
1786
  "multiple": false,
1707
1787
  "type": "option"
1708
1788
  },
1709
- "config": {
1710
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
1711
- "env": "SFCC_CONFIG",
1712
- "helpGroup": "GLOBAL",
1713
- "name": "config",
1789
+ "scope": {
1790
+ "description": "OAuth scopes to request (comma-separated)",
1791
+ "env": "SFCC_OAUTH_SCOPES",
1792
+ "helpGroup": "AUTH",
1793
+ "name": "scope",
1794
+ "delimiter": ",",
1714
1795
  "hasDynamicHelp": false,
1715
- "multiple": false,
1796
+ "multiple": true,
1716
1797
  "type": "option"
1717
1798
  },
1718
- "instance": {
1719
- "char": "i",
1720
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
1721
- "env": "SFCC_INSTANCE",
1722
- "helpGroup": "GLOBAL",
1723
- "name": "instance",
1724
- "hasDynamicHelp": false,
1725
- "multiple": false,
1726
- "type": "option"
1727
- },
1728
- "working-directory": {
1729
- "description": "Project working directory",
1730
- "env": "SFCC_WORKING_DIRECTORY",
1731
- "helpGroup": "GLOBAL",
1732
- "name": "working-directory",
1733
- "hasDynamicHelp": false,
1734
- "multiple": false,
1735
- "type": "option"
1736
- },
1737
- "extra-query": {
1738
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
1739
- "env": "SFCC_EXTRA_QUERY",
1740
- "helpGroup": "GLOBAL",
1741
- "hidden": true,
1742
- "name": "extra-query",
1743
- "hasDynamicHelp": false,
1744
- "multiple": false,
1745
- "type": "option"
1746
- },
1747
- "extra-body": {
1748
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
1749
- "env": "SFCC_EXTRA_BODY",
1750
- "helpGroup": "GLOBAL",
1751
- "hidden": true,
1752
- "name": "extra-body",
1753
- "hasDynamicHelp": false,
1754
- "multiple": false,
1755
- "type": "option"
1756
- },
1757
- "extra-headers": {
1758
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
1759
- "env": "SFCC_EXTRA_HEADERS",
1760
- "helpGroup": "GLOBAL",
1761
- "hidden": true,
1762
- "name": "extra-headers",
1763
- "hasDynamicHelp": false,
1764
- "multiple": false,
1765
- "type": "option"
1766
- },
1767
- "client-id": {
1768
- "description": "Client ID for OAuth",
1769
- "env": "SFCC_CLIENT_ID",
1770
- "helpGroup": "AUTH",
1771
- "name": "client-id",
1772
- "hasDynamicHelp": false,
1773
- "multiple": false,
1774
- "type": "option"
1775
- },
1776
- "client-secret": {
1777
- "description": "Client Secret for OAuth",
1778
- "env": "SFCC_CLIENT_SECRET",
1779
- "helpGroup": "AUTH",
1780
- "name": "client-secret",
1781
- "hasDynamicHelp": false,
1782
- "multiple": false,
1783
- "type": "option"
1784
- },
1785
- "scope": {
1786
- "description": "OAuth scopes to request (comma-separated)",
1787
- "env": "SFCC_OAUTH_SCOPES",
1788
- "helpGroup": "AUTH",
1789
- "name": "scope",
1790
- "delimiter": ",",
1791
- "hasDynamicHelp": false,
1792
- "multiple": true,
1793
- "type": "option"
1794
- },
1795
- "short-code": {
1796
- "description": "SCAPI short code",
1797
- "env": "SFCC_SHORTCODE",
1798
- "helpGroup": "AUTH",
1799
- "name": "short-code",
1799
+ "short-code": {
1800
+ "description": "SCAPI short code",
1801
+ "env": "SFCC_SHORTCODE",
1802
+ "helpGroup": "AUTH",
1803
+ "name": "short-code",
1800
1804
  "hasDynamicHelp": false,
1801
1805
  "multiple": false,
1802
1806
  "type": "option"
@@ -1875,114 +1879,16 @@
1875
1879
  "multiple": false,
1876
1880
  "type": "option"
1877
1881
  },
1878
- "output": {
1879
- "char": "o",
1880
- "description": "Output path (directory or .zip file)",
1881
- "name": "output",
1882
- "default": "./export",
1883
- "hasDynamicHelp": false,
1884
- "multiple": false,
1885
- "type": "option"
1886
- },
1887
- "site": {
1888
- "description": "Site IDs to export (comma-separated)",
1889
- "name": "site",
1890
- "delimiter": ",",
1891
- "hasDynamicHelp": false,
1892
- "multiple": true,
1893
- "type": "option"
1894
- },
1895
- "site-data": {
1896
- "description": "Site data units to export (comma-separated: content,site_preferences,etc.)",
1897
- "name": "site-data",
1898
- "hasDynamicHelp": false,
1899
- "multiple": false,
1900
- "type": "option"
1901
- },
1902
- "catalog": {
1903
- "description": "Catalog IDs to export (comma-separated)",
1904
- "name": "catalog",
1905
- "delimiter": ",",
1906
- "hasDynamicHelp": false,
1907
- "multiple": true,
1908
- "type": "option"
1909
- },
1910
- "library": {
1911
- "description": "Library IDs to export (comma-separated)",
1912
- "name": "library",
1913
- "delimiter": ",",
1914
- "hasDynamicHelp": false,
1915
- "multiple": true,
1916
- "type": "option"
1917
- },
1918
- "inventory-list": {
1919
- "description": "Inventory list IDs to export (comma-separated)",
1920
- "name": "inventory-list",
1921
- "delimiter": ",",
1922
- "hasDynamicHelp": false,
1923
- "multiple": true,
1924
- "type": "option"
1925
- },
1926
- "price-book": {
1927
- "description": "Price book IDs to export (comma-separated)",
1928
- "name": "price-book",
1929
- "delimiter": ",",
1930
- "hasDynamicHelp": false,
1931
- "multiple": true,
1932
- "type": "option"
1933
- },
1934
- "global-data": {
1935
- "description": "Global data units to export (comma-separated: meta_data,custom_types,etc.)",
1936
- "name": "global-data",
1937
- "hasDynamicHelp": false,
1938
- "multiple": false,
1939
- "type": "option"
1940
- },
1941
- "data-units": {
1942
- "char": "d",
1943
- "description": "Full data units configuration as JSON string",
1944
- "name": "data-units",
1945
- "hasDynamicHelp": false,
1946
- "multiple": false,
1947
- "type": "option"
1948
- },
1949
1882
  "keep-archive": {
1950
- "char": "k",
1951
- "description": "Keep archive on instance after download",
1883
+ "description": "Keep the downloaded archive file",
1952
1884
  "name": "keep-archive",
1953
1885
  "allowNo": false,
1954
1886
  "type": "boolean"
1955
- },
1956
- "no-download": {
1957
- "description": "Do not download the archive (leave on instance)",
1958
- "name": "no-download",
1959
- "allowNo": false,
1960
- "type": "boolean"
1961
- },
1962
- "zip-only": {
1963
- "description": "Save as zip file without extracting",
1964
- "name": "zip-only",
1965
- "allowNo": false,
1966
- "type": "boolean"
1967
- },
1968
- "timeout": {
1969
- "char": "t",
1970
- "description": "Timeout in seconds (default: no timeout)",
1971
- "name": "timeout",
1972
- "hasDynamicHelp": false,
1973
- "multiple": false,
1974
- "type": "option"
1975
- },
1976
- "show-log": {
1977
- "description": "Show job log on failure",
1978
- "name": "show-log",
1979
- "allowNo": false,
1980
- "type": "boolean"
1981
1887
  }
1982
1888
  },
1983
1889
  "hasDynamicHelp": false,
1984
1890
  "hiddenAliases": [],
1985
- "id": "job:export",
1891
+ "id": "docs:download",
1986
1892
  "pluginAlias": "@salesforce/b2c-cli",
1987
1893
  "pluginName": "@salesforce/b2c-cli",
1988
1894
  "pluginType": "core",
@@ -1992,25 +1898,26 @@
1992
1898
  "relativePath": [
1993
1899
  "dist",
1994
1900
  "commands",
1995
- "job",
1996
- "export.js"
1901
+ "docs",
1902
+ "download.js"
1997
1903
  ]
1998
1904
  },
1999
- "job:import": {
1905
+ "docs:read": {
2000
1906
  "aliases": [],
2001
1907
  "args": {
2002
- "target": {
2003
- "description": "Directory, zip file, or remote filename to import",
2004
- "name": "target",
1908
+ "query": {
1909
+ "description": "Search query for documentation (class name, module path, or partial match)",
1910
+ "name": "query",
2005
1911
  "required": true
2006
1912
  }
2007
1913
  },
2008
- "description": "Import a site archive to a B2C Commerce instance using sfcc-site-archive-import job",
1914
+ "description": "Read Script API documentation for a class or module",
2009
1915
  "examples": [
2010
- "<%= config.bin %> <%= command.id %> ./my-site-data",
2011
- "<%= config.bin %> <%= command.id %> ./export.zip",
2012
- "<%= config.bin %> <%= command.id %> ./my-site-data --keep-archive",
2013
- "<%= config.bin %> <%= command.id %> existing-archive.zip --remote"
1916
+ "<%= config.bin %> <%= command.id %> ProductMgr",
1917
+ "<%= config.bin %> <%= command.id %> dw.catalog.ProductMgr",
1918
+ "<%= config.bin %> <%= command.id %> \"dw system Status\"",
1919
+ "<%= config.bin %> <%= command.id %> ProductMgr --raw",
1920
+ "<%= config.bin %> <%= command.id %> ProductMgr --json"
2014
1921
  ],
2015
1922
  "flags": {
2016
1923
  "json": {
@@ -2113,14 +2020,789 @@
2113
2020
  "multiple": false,
2114
2021
  "type": "option"
2115
2022
  },
2116
- "client-id": {
2117
- "description": "Client ID for OAuth",
2118
- "env": "SFCC_CLIENT_ID",
2119
- "helpGroup": "AUTH",
2120
- "name": "client-id",
2023
+ "raw": {
2024
+ "char": "r",
2025
+ "description": "Output raw markdown without terminal formatting",
2026
+ "name": "raw",
2027
+ "allowNo": false,
2028
+ "type": "boolean"
2029
+ }
2030
+ },
2031
+ "hasDynamicHelp": false,
2032
+ "hiddenAliases": [],
2033
+ "id": "docs:read",
2034
+ "pluginAlias": "@salesforce/b2c-cli",
2035
+ "pluginName": "@salesforce/b2c-cli",
2036
+ "pluginType": "core",
2037
+ "strict": true,
2038
+ "enableJsonFlag": true,
2039
+ "isESM": true,
2040
+ "relativePath": [
2041
+ "dist",
2042
+ "commands",
2043
+ "docs",
2044
+ "read.js"
2045
+ ]
2046
+ },
2047
+ "docs:schema": {
2048
+ "aliases": [],
2049
+ "args": {
2050
+ "query": {
2051
+ "description": "Schema name or partial match (e.g., \"catalog\", \"order\")",
2052
+ "name": "query",
2053
+ "required": false
2054
+ }
2055
+ },
2056
+ "description": "Read an XSD schema file",
2057
+ "examples": [
2058
+ "<%= config.bin %> <%= command.id %> catalog",
2059
+ "<%= config.bin %> <%= command.id %> order",
2060
+ "<%= config.bin %> <%= command.id %> --list",
2061
+ "<%= config.bin %> <%= command.id %> catalog --json"
2062
+ ],
2063
+ "flags": {
2064
+ "json": {
2065
+ "description": "Output logs as JSON lines",
2066
+ "helpGroup": "GLOBAL",
2067
+ "name": "json",
2068
+ "allowNo": false,
2069
+ "type": "boolean"
2070
+ },
2071
+ "log-level": {
2072
+ "description": "Set logging verbosity level",
2073
+ "env": "SFCC_LOG_LEVEL",
2074
+ "helpGroup": "GLOBAL",
2075
+ "name": "log-level",
2121
2076
  "hasDynamicHelp": false,
2122
2077
  "multiple": false,
2123
- "type": "option"
2078
+ "options": [
2079
+ "trace",
2080
+ "debug",
2081
+ "info",
2082
+ "warn",
2083
+ "error",
2084
+ "silent"
2085
+ ],
2086
+ "type": "option"
2087
+ },
2088
+ "debug": {
2089
+ "char": "D",
2090
+ "description": "Enable debug logging (shorthand for --log-level debug)",
2091
+ "env": "SFCC_DEBUG",
2092
+ "helpGroup": "GLOBAL",
2093
+ "name": "debug",
2094
+ "allowNo": false,
2095
+ "type": "boolean"
2096
+ },
2097
+ "lang": {
2098
+ "char": "L",
2099
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
2100
+ "helpGroup": "GLOBAL",
2101
+ "name": "lang",
2102
+ "hasDynamicHelp": false,
2103
+ "multiple": false,
2104
+ "type": "option"
2105
+ },
2106
+ "config": {
2107
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
2108
+ "env": "SFCC_CONFIG",
2109
+ "helpGroup": "GLOBAL",
2110
+ "name": "config",
2111
+ "hasDynamicHelp": false,
2112
+ "multiple": false,
2113
+ "type": "option"
2114
+ },
2115
+ "instance": {
2116
+ "char": "i",
2117
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
2118
+ "env": "SFCC_INSTANCE",
2119
+ "helpGroup": "GLOBAL",
2120
+ "name": "instance",
2121
+ "hasDynamicHelp": false,
2122
+ "multiple": false,
2123
+ "type": "option"
2124
+ },
2125
+ "working-directory": {
2126
+ "description": "Project working directory",
2127
+ "env": "SFCC_WORKING_DIRECTORY",
2128
+ "helpGroup": "GLOBAL",
2129
+ "name": "working-directory",
2130
+ "hasDynamicHelp": false,
2131
+ "multiple": false,
2132
+ "type": "option"
2133
+ },
2134
+ "extra-query": {
2135
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
2136
+ "env": "SFCC_EXTRA_QUERY",
2137
+ "helpGroup": "GLOBAL",
2138
+ "hidden": true,
2139
+ "name": "extra-query",
2140
+ "hasDynamicHelp": false,
2141
+ "multiple": false,
2142
+ "type": "option"
2143
+ },
2144
+ "extra-body": {
2145
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
2146
+ "env": "SFCC_EXTRA_BODY",
2147
+ "helpGroup": "GLOBAL",
2148
+ "hidden": true,
2149
+ "name": "extra-body",
2150
+ "hasDynamicHelp": false,
2151
+ "multiple": false,
2152
+ "type": "option"
2153
+ },
2154
+ "extra-headers": {
2155
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
2156
+ "env": "SFCC_EXTRA_HEADERS",
2157
+ "helpGroup": "GLOBAL",
2158
+ "hidden": true,
2159
+ "name": "extra-headers",
2160
+ "hasDynamicHelp": false,
2161
+ "multiple": false,
2162
+ "type": "option"
2163
+ },
2164
+ "list": {
2165
+ "char": "l",
2166
+ "description": "List all available schemas",
2167
+ "name": "list",
2168
+ "allowNo": false,
2169
+ "type": "boolean"
2170
+ }
2171
+ },
2172
+ "hasDynamicHelp": false,
2173
+ "hiddenAliases": [],
2174
+ "id": "docs:schema",
2175
+ "pluginAlias": "@salesforce/b2c-cli",
2176
+ "pluginName": "@salesforce/b2c-cli",
2177
+ "pluginType": "core",
2178
+ "strict": true,
2179
+ "enableJsonFlag": true,
2180
+ "isESM": true,
2181
+ "relativePath": [
2182
+ "dist",
2183
+ "commands",
2184
+ "docs",
2185
+ "schema.js"
2186
+ ]
2187
+ },
2188
+ "docs:search": {
2189
+ "aliases": [],
2190
+ "args": {
2191
+ "query": {
2192
+ "description": "Search query (fuzzy match against class/module names)",
2193
+ "name": "query",
2194
+ "required": false
2195
+ }
2196
+ },
2197
+ "description": "Search Script API documentation",
2198
+ "examples": [
2199
+ "<%= config.bin %> <%= command.id %> ProductMgr",
2200
+ "<%= config.bin %> <%= command.id %> \"catalog product\"",
2201
+ "<%= config.bin %> <%= command.id %> status --limit 5",
2202
+ "<%= config.bin %> <%= command.id %> --list"
2203
+ ],
2204
+ "flags": {
2205
+ "json": {
2206
+ "description": "Output logs as JSON lines",
2207
+ "helpGroup": "GLOBAL",
2208
+ "name": "json",
2209
+ "allowNo": false,
2210
+ "type": "boolean"
2211
+ },
2212
+ "log-level": {
2213
+ "description": "Set logging verbosity level",
2214
+ "env": "SFCC_LOG_LEVEL",
2215
+ "helpGroup": "GLOBAL",
2216
+ "name": "log-level",
2217
+ "hasDynamicHelp": false,
2218
+ "multiple": false,
2219
+ "options": [
2220
+ "trace",
2221
+ "debug",
2222
+ "info",
2223
+ "warn",
2224
+ "error",
2225
+ "silent"
2226
+ ],
2227
+ "type": "option"
2228
+ },
2229
+ "debug": {
2230
+ "char": "D",
2231
+ "description": "Enable debug logging (shorthand for --log-level debug)",
2232
+ "env": "SFCC_DEBUG",
2233
+ "helpGroup": "GLOBAL",
2234
+ "name": "debug",
2235
+ "allowNo": false,
2236
+ "type": "boolean"
2237
+ },
2238
+ "lang": {
2239
+ "char": "L",
2240
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
2241
+ "helpGroup": "GLOBAL",
2242
+ "name": "lang",
2243
+ "hasDynamicHelp": false,
2244
+ "multiple": false,
2245
+ "type": "option"
2246
+ },
2247
+ "config": {
2248
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
2249
+ "env": "SFCC_CONFIG",
2250
+ "helpGroup": "GLOBAL",
2251
+ "name": "config",
2252
+ "hasDynamicHelp": false,
2253
+ "multiple": false,
2254
+ "type": "option"
2255
+ },
2256
+ "instance": {
2257
+ "char": "i",
2258
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
2259
+ "env": "SFCC_INSTANCE",
2260
+ "helpGroup": "GLOBAL",
2261
+ "name": "instance",
2262
+ "hasDynamicHelp": false,
2263
+ "multiple": false,
2264
+ "type": "option"
2265
+ },
2266
+ "working-directory": {
2267
+ "description": "Project working directory",
2268
+ "env": "SFCC_WORKING_DIRECTORY",
2269
+ "helpGroup": "GLOBAL",
2270
+ "name": "working-directory",
2271
+ "hasDynamicHelp": false,
2272
+ "multiple": false,
2273
+ "type": "option"
2274
+ },
2275
+ "extra-query": {
2276
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
2277
+ "env": "SFCC_EXTRA_QUERY",
2278
+ "helpGroup": "GLOBAL",
2279
+ "hidden": true,
2280
+ "name": "extra-query",
2281
+ "hasDynamicHelp": false,
2282
+ "multiple": false,
2283
+ "type": "option"
2284
+ },
2285
+ "extra-body": {
2286
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
2287
+ "env": "SFCC_EXTRA_BODY",
2288
+ "helpGroup": "GLOBAL",
2289
+ "hidden": true,
2290
+ "name": "extra-body",
2291
+ "hasDynamicHelp": false,
2292
+ "multiple": false,
2293
+ "type": "option"
2294
+ },
2295
+ "extra-headers": {
2296
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
2297
+ "env": "SFCC_EXTRA_HEADERS",
2298
+ "helpGroup": "GLOBAL",
2299
+ "hidden": true,
2300
+ "name": "extra-headers",
2301
+ "hasDynamicHelp": false,
2302
+ "multiple": false,
2303
+ "type": "option"
2304
+ },
2305
+ "limit": {
2306
+ "char": "l",
2307
+ "description": "Maximum number of results to display",
2308
+ "name": "limit",
2309
+ "default": 20,
2310
+ "hasDynamicHelp": false,
2311
+ "multiple": false,
2312
+ "type": "option"
2313
+ },
2314
+ "list": {
2315
+ "description": "List all available documentation entries",
2316
+ "name": "list",
2317
+ "allowNo": false,
2318
+ "type": "boolean"
2319
+ }
2320
+ },
2321
+ "hasDynamicHelp": false,
2322
+ "hiddenAliases": [],
2323
+ "id": "docs:search",
2324
+ "pluginAlias": "@salesforce/b2c-cli",
2325
+ "pluginName": "@salesforce/b2c-cli",
2326
+ "pluginType": "core",
2327
+ "strict": true,
2328
+ "enableJsonFlag": true,
2329
+ "isESM": true,
2330
+ "relativePath": [
2331
+ "dist",
2332
+ "commands",
2333
+ "docs",
2334
+ "search.js"
2335
+ ]
2336
+ },
2337
+ "job:export": {
2338
+ "aliases": [],
2339
+ "args": {},
2340
+ "description": "Job execution and site archive import/export (IMPEX)",
2341
+ "examples": [
2342
+ "<%= config.bin %> <%= command.id %> --global-data meta_data",
2343
+ "<%= config.bin %> <%= command.id %> --site RefArch --site-data content,site_preferences",
2344
+ "<%= config.bin %> <%= command.id %> --catalog storefront-catalog",
2345
+ "<%= config.bin %> <%= command.id %> --data-units '{\"global_data\":{\"meta_data\":true}}'",
2346
+ "<%= config.bin %> <%= command.id %> --output ./exports --no-download"
2347
+ ],
2348
+ "flags": {
2349
+ "json": {
2350
+ "description": "Output logs as JSON lines",
2351
+ "helpGroup": "GLOBAL",
2352
+ "name": "json",
2353
+ "allowNo": false,
2354
+ "type": "boolean"
2355
+ },
2356
+ "log-level": {
2357
+ "description": "Set logging verbosity level",
2358
+ "env": "SFCC_LOG_LEVEL",
2359
+ "helpGroup": "GLOBAL",
2360
+ "name": "log-level",
2361
+ "hasDynamicHelp": false,
2362
+ "multiple": false,
2363
+ "options": [
2364
+ "trace",
2365
+ "debug",
2366
+ "info",
2367
+ "warn",
2368
+ "error",
2369
+ "silent"
2370
+ ],
2371
+ "type": "option"
2372
+ },
2373
+ "debug": {
2374
+ "char": "D",
2375
+ "description": "Enable debug logging (shorthand for --log-level debug)",
2376
+ "env": "SFCC_DEBUG",
2377
+ "helpGroup": "GLOBAL",
2378
+ "name": "debug",
2379
+ "allowNo": false,
2380
+ "type": "boolean"
2381
+ },
2382
+ "lang": {
2383
+ "char": "L",
2384
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
2385
+ "helpGroup": "GLOBAL",
2386
+ "name": "lang",
2387
+ "hasDynamicHelp": false,
2388
+ "multiple": false,
2389
+ "type": "option"
2390
+ },
2391
+ "config": {
2392
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
2393
+ "env": "SFCC_CONFIG",
2394
+ "helpGroup": "GLOBAL",
2395
+ "name": "config",
2396
+ "hasDynamicHelp": false,
2397
+ "multiple": false,
2398
+ "type": "option"
2399
+ },
2400
+ "instance": {
2401
+ "char": "i",
2402
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
2403
+ "env": "SFCC_INSTANCE",
2404
+ "helpGroup": "GLOBAL",
2405
+ "name": "instance",
2406
+ "hasDynamicHelp": false,
2407
+ "multiple": false,
2408
+ "type": "option"
2409
+ },
2410
+ "working-directory": {
2411
+ "description": "Project working directory",
2412
+ "env": "SFCC_WORKING_DIRECTORY",
2413
+ "helpGroup": "GLOBAL",
2414
+ "name": "working-directory",
2415
+ "hasDynamicHelp": false,
2416
+ "multiple": false,
2417
+ "type": "option"
2418
+ },
2419
+ "extra-query": {
2420
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
2421
+ "env": "SFCC_EXTRA_QUERY",
2422
+ "helpGroup": "GLOBAL",
2423
+ "hidden": true,
2424
+ "name": "extra-query",
2425
+ "hasDynamicHelp": false,
2426
+ "multiple": false,
2427
+ "type": "option"
2428
+ },
2429
+ "extra-body": {
2430
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
2431
+ "env": "SFCC_EXTRA_BODY",
2432
+ "helpGroup": "GLOBAL",
2433
+ "hidden": true,
2434
+ "name": "extra-body",
2435
+ "hasDynamicHelp": false,
2436
+ "multiple": false,
2437
+ "type": "option"
2438
+ },
2439
+ "extra-headers": {
2440
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
2441
+ "env": "SFCC_EXTRA_HEADERS",
2442
+ "helpGroup": "GLOBAL",
2443
+ "hidden": true,
2444
+ "name": "extra-headers",
2445
+ "hasDynamicHelp": false,
2446
+ "multiple": false,
2447
+ "type": "option"
2448
+ },
2449
+ "client-id": {
2450
+ "description": "Client ID for OAuth",
2451
+ "env": "SFCC_CLIENT_ID",
2452
+ "helpGroup": "AUTH",
2453
+ "name": "client-id",
2454
+ "hasDynamicHelp": false,
2455
+ "multiple": false,
2456
+ "type": "option"
2457
+ },
2458
+ "client-secret": {
2459
+ "description": "Client Secret for OAuth",
2460
+ "env": "SFCC_CLIENT_SECRET",
2461
+ "helpGroup": "AUTH",
2462
+ "name": "client-secret",
2463
+ "hasDynamicHelp": false,
2464
+ "multiple": false,
2465
+ "type": "option"
2466
+ },
2467
+ "scope": {
2468
+ "description": "OAuth scopes to request (comma-separated)",
2469
+ "env": "SFCC_OAUTH_SCOPES",
2470
+ "helpGroup": "AUTH",
2471
+ "name": "scope",
2472
+ "delimiter": ",",
2473
+ "hasDynamicHelp": false,
2474
+ "multiple": true,
2475
+ "type": "option"
2476
+ },
2477
+ "short-code": {
2478
+ "description": "SCAPI short code",
2479
+ "env": "SFCC_SHORTCODE",
2480
+ "helpGroup": "AUTH",
2481
+ "name": "short-code",
2482
+ "hasDynamicHelp": false,
2483
+ "multiple": false,
2484
+ "type": "option"
2485
+ },
2486
+ "auth-methods": {
2487
+ "description": "Allowed auth methods in priority order (comma-separated)",
2488
+ "env": "SFCC_AUTH_METHODS",
2489
+ "helpGroup": "AUTH",
2490
+ "name": "auth-methods",
2491
+ "delimiter": ",",
2492
+ "hasDynamicHelp": false,
2493
+ "multiple": true,
2494
+ "options": [
2495
+ "client-credentials",
2496
+ "implicit",
2497
+ "basic",
2498
+ "api-key"
2499
+ ],
2500
+ "type": "option"
2501
+ },
2502
+ "account-manager-host": {
2503
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
2504
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
2505
+ "helpGroup": "AUTH",
2506
+ "name": "account-manager-host",
2507
+ "hasDynamicHelp": false,
2508
+ "multiple": false,
2509
+ "type": "option"
2510
+ },
2511
+ "server": {
2512
+ "char": "s",
2513
+ "description": "B2C instance hostname",
2514
+ "env": "SFCC_SERVER",
2515
+ "helpGroup": "INSTANCE",
2516
+ "name": "server",
2517
+ "hasDynamicHelp": false,
2518
+ "multiple": false,
2519
+ "type": "option"
2520
+ },
2521
+ "webdav-server": {
2522
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
2523
+ "env": "SFCC_WEBDAV_SERVER",
2524
+ "helpGroup": "INSTANCE",
2525
+ "name": "webdav-server",
2526
+ "hasDynamicHelp": false,
2527
+ "multiple": false,
2528
+ "type": "option"
2529
+ },
2530
+ "code-version": {
2531
+ "char": "v",
2532
+ "description": "Code version",
2533
+ "env": "SFCC_CODE_VERSION",
2534
+ "helpGroup": "INSTANCE",
2535
+ "name": "code-version",
2536
+ "hasDynamicHelp": false,
2537
+ "multiple": false,
2538
+ "type": "option"
2539
+ },
2540
+ "username": {
2541
+ "char": "u",
2542
+ "description": "Username for Basic Auth (WebDAV)",
2543
+ "env": "SFCC_USERNAME",
2544
+ "helpGroup": "AUTH",
2545
+ "name": "username",
2546
+ "hasDynamicHelp": false,
2547
+ "multiple": false,
2548
+ "type": "option"
2549
+ },
2550
+ "password": {
2551
+ "char": "p",
2552
+ "description": "Password/access key for Basic Auth (WebDAV)",
2553
+ "env": "SFCC_PASSWORD",
2554
+ "helpGroup": "AUTH",
2555
+ "name": "password",
2556
+ "hasDynamicHelp": false,
2557
+ "multiple": false,
2558
+ "type": "option"
2559
+ },
2560
+ "output": {
2561
+ "char": "o",
2562
+ "description": "Output path (directory or .zip file)",
2563
+ "name": "output",
2564
+ "default": "./export",
2565
+ "hasDynamicHelp": false,
2566
+ "multiple": false,
2567
+ "type": "option"
2568
+ },
2569
+ "site": {
2570
+ "description": "Site IDs to export (comma-separated)",
2571
+ "name": "site",
2572
+ "delimiter": ",",
2573
+ "hasDynamicHelp": false,
2574
+ "multiple": true,
2575
+ "type": "option"
2576
+ },
2577
+ "site-data": {
2578
+ "description": "Site data units to export (comma-separated: content,site_preferences,etc.)",
2579
+ "name": "site-data",
2580
+ "hasDynamicHelp": false,
2581
+ "multiple": false,
2582
+ "type": "option"
2583
+ },
2584
+ "catalog": {
2585
+ "description": "Catalog IDs to export (comma-separated)",
2586
+ "name": "catalog",
2587
+ "delimiter": ",",
2588
+ "hasDynamicHelp": false,
2589
+ "multiple": true,
2590
+ "type": "option"
2591
+ },
2592
+ "library": {
2593
+ "description": "Library IDs to export (comma-separated)",
2594
+ "name": "library",
2595
+ "delimiter": ",",
2596
+ "hasDynamicHelp": false,
2597
+ "multiple": true,
2598
+ "type": "option"
2599
+ },
2600
+ "inventory-list": {
2601
+ "description": "Inventory list IDs to export (comma-separated)",
2602
+ "name": "inventory-list",
2603
+ "delimiter": ",",
2604
+ "hasDynamicHelp": false,
2605
+ "multiple": true,
2606
+ "type": "option"
2607
+ },
2608
+ "price-book": {
2609
+ "description": "Price book IDs to export (comma-separated)",
2610
+ "name": "price-book",
2611
+ "delimiter": ",",
2612
+ "hasDynamicHelp": false,
2613
+ "multiple": true,
2614
+ "type": "option"
2615
+ },
2616
+ "global-data": {
2617
+ "description": "Global data units to export (comma-separated: meta_data,custom_types,etc.)",
2618
+ "name": "global-data",
2619
+ "hasDynamicHelp": false,
2620
+ "multiple": false,
2621
+ "type": "option"
2622
+ },
2623
+ "data-units": {
2624
+ "char": "d",
2625
+ "description": "Full data units configuration as JSON string",
2626
+ "name": "data-units",
2627
+ "hasDynamicHelp": false,
2628
+ "multiple": false,
2629
+ "type": "option"
2630
+ },
2631
+ "keep-archive": {
2632
+ "char": "k",
2633
+ "description": "Keep archive on instance after download",
2634
+ "name": "keep-archive",
2635
+ "allowNo": false,
2636
+ "type": "boolean"
2637
+ },
2638
+ "no-download": {
2639
+ "description": "Do not download the archive (leave on instance)",
2640
+ "name": "no-download",
2641
+ "allowNo": false,
2642
+ "type": "boolean"
2643
+ },
2644
+ "zip-only": {
2645
+ "description": "Save as zip file without extracting",
2646
+ "name": "zip-only",
2647
+ "allowNo": false,
2648
+ "type": "boolean"
2649
+ },
2650
+ "timeout": {
2651
+ "char": "t",
2652
+ "description": "Timeout in seconds (default: no timeout)",
2653
+ "name": "timeout",
2654
+ "hasDynamicHelp": false,
2655
+ "multiple": false,
2656
+ "type": "option"
2657
+ },
2658
+ "show-log": {
2659
+ "description": "Show job log on failure",
2660
+ "name": "show-log",
2661
+ "allowNo": false,
2662
+ "type": "boolean"
2663
+ }
2664
+ },
2665
+ "hasDynamicHelp": false,
2666
+ "hiddenAliases": [],
2667
+ "id": "job:export",
2668
+ "pluginAlias": "@salesforce/b2c-cli",
2669
+ "pluginName": "@salesforce/b2c-cli",
2670
+ "pluginType": "core",
2671
+ "strict": true,
2672
+ "enableJsonFlag": true,
2673
+ "isESM": true,
2674
+ "relativePath": [
2675
+ "dist",
2676
+ "commands",
2677
+ "job",
2678
+ "export.js"
2679
+ ]
2680
+ },
2681
+ "job:import": {
2682
+ "aliases": [],
2683
+ "args": {
2684
+ "target": {
2685
+ "description": "Directory, zip file, or remote filename to import",
2686
+ "name": "target",
2687
+ "required": true
2688
+ }
2689
+ },
2690
+ "description": "Import a site archive to a B2C Commerce instance using sfcc-site-archive-import job",
2691
+ "examples": [
2692
+ "<%= config.bin %> <%= command.id %> ./my-site-data",
2693
+ "<%= config.bin %> <%= command.id %> ./export.zip",
2694
+ "<%= config.bin %> <%= command.id %> ./my-site-data --keep-archive",
2695
+ "<%= config.bin %> <%= command.id %> existing-archive.zip --remote"
2696
+ ],
2697
+ "flags": {
2698
+ "json": {
2699
+ "description": "Output logs as JSON lines",
2700
+ "helpGroup": "GLOBAL",
2701
+ "name": "json",
2702
+ "allowNo": false,
2703
+ "type": "boolean"
2704
+ },
2705
+ "log-level": {
2706
+ "description": "Set logging verbosity level",
2707
+ "env": "SFCC_LOG_LEVEL",
2708
+ "helpGroup": "GLOBAL",
2709
+ "name": "log-level",
2710
+ "hasDynamicHelp": false,
2711
+ "multiple": false,
2712
+ "options": [
2713
+ "trace",
2714
+ "debug",
2715
+ "info",
2716
+ "warn",
2717
+ "error",
2718
+ "silent"
2719
+ ],
2720
+ "type": "option"
2721
+ },
2722
+ "debug": {
2723
+ "char": "D",
2724
+ "description": "Enable debug logging (shorthand for --log-level debug)",
2725
+ "env": "SFCC_DEBUG",
2726
+ "helpGroup": "GLOBAL",
2727
+ "name": "debug",
2728
+ "allowNo": false,
2729
+ "type": "boolean"
2730
+ },
2731
+ "lang": {
2732
+ "char": "L",
2733
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
2734
+ "helpGroup": "GLOBAL",
2735
+ "name": "lang",
2736
+ "hasDynamicHelp": false,
2737
+ "multiple": false,
2738
+ "type": "option"
2739
+ },
2740
+ "config": {
2741
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
2742
+ "env": "SFCC_CONFIG",
2743
+ "helpGroup": "GLOBAL",
2744
+ "name": "config",
2745
+ "hasDynamicHelp": false,
2746
+ "multiple": false,
2747
+ "type": "option"
2748
+ },
2749
+ "instance": {
2750
+ "char": "i",
2751
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
2752
+ "env": "SFCC_INSTANCE",
2753
+ "helpGroup": "GLOBAL",
2754
+ "name": "instance",
2755
+ "hasDynamicHelp": false,
2756
+ "multiple": false,
2757
+ "type": "option"
2758
+ },
2759
+ "working-directory": {
2760
+ "description": "Project working directory",
2761
+ "env": "SFCC_WORKING_DIRECTORY",
2762
+ "helpGroup": "GLOBAL",
2763
+ "name": "working-directory",
2764
+ "hasDynamicHelp": false,
2765
+ "multiple": false,
2766
+ "type": "option"
2767
+ },
2768
+ "extra-query": {
2769
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
2770
+ "env": "SFCC_EXTRA_QUERY",
2771
+ "helpGroup": "GLOBAL",
2772
+ "hidden": true,
2773
+ "name": "extra-query",
2774
+ "hasDynamicHelp": false,
2775
+ "multiple": false,
2776
+ "type": "option"
2777
+ },
2778
+ "extra-body": {
2779
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
2780
+ "env": "SFCC_EXTRA_BODY",
2781
+ "helpGroup": "GLOBAL",
2782
+ "hidden": true,
2783
+ "name": "extra-body",
2784
+ "hasDynamicHelp": false,
2785
+ "multiple": false,
2786
+ "type": "option"
2787
+ },
2788
+ "extra-headers": {
2789
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
2790
+ "env": "SFCC_EXTRA_HEADERS",
2791
+ "helpGroup": "GLOBAL",
2792
+ "hidden": true,
2793
+ "name": "extra-headers",
2794
+ "hasDynamicHelp": false,
2795
+ "multiple": false,
2796
+ "type": "option"
2797
+ },
2798
+ "client-id": {
2799
+ "description": "Client ID for OAuth",
2800
+ "env": "SFCC_CLIENT_ID",
2801
+ "helpGroup": "AUTH",
2802
+ "name": "client-id",
2803
+ "hasDynamicHelp": false,
2804
+ "multiple": false,
2805
+ "type": "option"
2124
2806
  },
2125
2807
  "client-secret": {
2126
2808
  "description": "Client Secret for OAuth",
@@ -5057,254 +5739,16 @@
5057
5739
  "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
5058
5740
  "env": "SFCC_ACCOUNT_MANAGER_HOST",
5059
5741
  "helpGroup": "AUTH",
5060
- "name": "account-manager-host",
5061
- "hasDynamicHelp": false,
5062
- "multiple": false,
5063
- "type": "option"
5064
- },
5065
- "sandbox-api-host": {
5066
- "description": "ODS API hostname",
5067
- "env": "SFCC_SANDBOX_API_HOST",
5068
- "name": "sandbox-api-host",
5069
- "default": "admin.dx.commercecloud.salesforce.com",
5070
- "hasDynamicHelp": false,
5071
- "multiple": false,
5072
- "type": "option"
5073
- }
5074
- },
5075
- "hasDynamicHelp": false,
5076
- "hiddenAliases": [],
5077
- "id": "ods:stop",
5078
- "pluginAlias": "@salesforce/b2c-cli",
5079
- "pluginName": "@salesforce/b2c-cli",
5080
- "pluginType": "core",
5081
- "strict": true,
5082
- "enableJsonFlag": true,
5083
- "isESM": true,
5084
- "relativePath": [
5085
- "dist",
5086
- "commands",
5087
- "ods",
5088
- "stop.js"
5089
- ]
5090
- },
5091
- "sites:list": {
5092
- "aliases": [],
5093
- "args": {},
5094
- "description": "List sites on a B2C Commerce instance",
5095
- "examples": [
5096
- "<%= config.bin %> <%= command.id %>",
5097
- "<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net",
5098
- "<%= config.bin %> <%= command.id %> --json"
5099
- ],
5100
- "flags": {
5101
- "json": {
5102
- "description": "Output logs as JSON lines",
5103
- "helpGroup": "GLOBAL",
5104
- "name": "json",
5105
- "allowNo": false,
5106
- "type": "boolean"
5107
- },
5108
- "log-level": {
5109
- "description": "Set logging verbosity level",
5110
- "env": "SFCC_LOG_LEVEL",
5111
- "helpGroup": "GLOBAL",
5112
- "name": "log-level",
5113
- "hasDynamicHelp": false,
5114
- "multiple": false,
5115
- "options": [
5116
- "trace",
5117
- "debug",
5118
- "info",
5119
- "warn",
5120
- "error",
5121
- "silent"
5122
- ],
5123
- "type": "option"
5124
- },
5125
- "debug": {
5126
- "char": "D",
5127
- "description": "Enable debug logging (shorthand for --log-level debug)",
5128
- "env": "SFCC_DEBUG",
5129
- "helpGroup": "GLOBAL",
5130
- "name": "debug",
5131
- "allowNo": false,
5132
- "type": "boolean"
5133
- },
5134
- "lang": {
5135
- "char": "L",
5136
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
5137
- "helpGroup": "GLOBAL",
5138
- "name": "lang",
5139
- "hasDynamicHelp": false,
5140
- "multiple": false,
5141
- "type": "option"
5142
- },
5143
- "config": {
5144
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
5145
- "env": "SFCC_CONFIG",
5146
- "helpGroup": "GLOBAL",
5147
- "name": "config",
5148
- "hasDynamicHelp": false,
5149
- "multiple": false,
5150
- "type": "option"
5151
- },
5152
- "instance": {
5153
- "char": "i",
5154
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
5155
- "env": "SFCC_INSTANCE",
5156
- "helpGroup": "GLOBAL",
5157
- "name": "instance",
5158
- "hasDynamicHelp": false,
5159
- "multiple": false,
5160
- "type": "option"
5161
- },
5162
- "working-directory": {
5163
- "description": "Project working directory",
5164
- "env": "SFCC_WORKING_DIRECTORY",
5165
- "helpGroup": "GLOBAL",
5166
- "name": "working-directory",
5167
- "hasDynamicHelp": false,
5168
- "multiple": false,
5169
- "type": "option"
5170
- },
5171
- "extra-query": {
5172
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
5173
- "env": "SFCC_EXTRA_QUERY",
5174
- "helpGroup": "GLOBAL",
5175
- "hidden": true,
5176
- "name": "extra-query",
5177
- "hasDynamicHelp": false,
5178
- "multiple": false,
5179
- "type": "option"
5180
- },
5181
- "extra-body": {
5182
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
5183
- "env": "SFCC_EXTRA_BODY",
5184
- "helpGroup": "GLOBAL",
5185
- "hidden": true,
5186
- "name": "extra-body",
5187
- "hasDynamicHelp": false,
5188
- "multiple": false,
5189
- "type": "option"
5190
- },
5191
- "extra-headers": {
5192
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
5193
- "env": "SFCC_EXTRA_HEADERS",
5194
- "helpGroup": "GLOBAL",
5195
- "hidden": true,
5196
- "name": "extra-headers",
5197
- "hasDynamicHelp": false,
5198
- "multiple": false,
5199
- "type": "option"
5200
- },
5201
- "client-id": {
5202
- "description": "Client ID for OAuth",
5203
- "env": "SFCC_CLIENT_ID",
5204
- "helpGroup": "AUTH",
5205
- "name": "client-id",
5206
- "hasDynamicHelp": false,
5207
- "multiple": false,
5208
- "type": "option"
5209
- },
5210
- "client-secret": {
5211
- "description": "Client Secret for OAuth",
5212
- "env": "SFCC_CLIENT_SECRET",
5213
- "helpGroup": "AUTH",
5214
- "name": "client-secret",
5215
- "hasDynamicHelp": false,
5216
- "multiple": false,
5217
- "type": "option"
5218
- },
5219
- "scope": {
5220
- "description": "OAuth scopes to request (comma-separated)",
5221
- "env": "SFCC_OAUTH_SCOPES",
5222
- "helpGroup": "AUTH",
5223
- "name": "scope",
5224
- "delimiter": ",",
5225
- "hasDynamicHelp": false,
5226
- "multiple": true,
5227
- "type": "option"
5228
- },
5229
- "short-code": {
5230
- "description": "SCAPI short code",
5231
- "env": "SFCC_SHORTCODE",
5232
- "helpGroup": "AUTH",
5233
- "name": "short-code",
5234
- "hasDynamicHelp": false,
5235
- "multiple": false,
5236
- "type": "option"
5237
- },
5238
- "auth-methods": {
5239
- "description": "Allowed auth methods in priority order (comma-separated)",
5240
- "env": "SFCC_AUTH_METHODS",
5241
- "helpGroup": "AUTH",
5242
- "name": "auth-methods",
5243
- "delimiter": ",",
5244
- "hasDynamicHelp": false,
5245
- "multiple": true,
5246
- "options": [
5247
- "client-credentials",
5248
- "implicit",
5249
- "basic",
5250
- "api-key"
5251
- ],
5252
- "type": "option"
5253
- },
5254
- "account-manager-host": {
5255
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
5256
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
5257
- "helpGroup": "AUTH",
5258
- "name": "account-manager-host",
5259
- "hasDynamicHelp": false,
5260
- "multiple": false,
5261
- "type": "option"
5262
- },
5263
- "server": {
5264
- "char": "s",
5265
- "description": "B2C instance hostname",
5266
- "env": "SFCC_SERVER",
5267
- "helpGroup": "INSTANCE",
5268
- "name": "server",
5269
- "hasDynamicHelp": false,
5270
- "multiple": false,
5271
- "type": "option"
5272
- },
5273
- "webdav-server": {
5274
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
5275
- "env": "SFCC_WEBDAV_SERVER",
5276
- "helpGroup": "INSTANCE",
5277
- "name": "webdav-server",
5278
- "hasDynamicHelp": false,
5279
- "multiple": false,
5280
- "type": "option"
5281
- },
5282
- "code-version": {
5283
- "char": "v",
5284
- "description": "Code version",
5285
- "env": "SFCC_CODE_VERSION",
5286
- "helpGroup": "INSTANCE",
5287
- "name": "code-version",
5288
- "hasDynamicHelp": false,
5289
- "multiple": false,
5290
- "type": "option"
5291
- },
5292
- "username": {
5293
- "char": "u",
5294
- "description": "Username for Basic Auth (WebDAV)",
5295
- "env": "SFCC_USERNAME",
5296
- "helpGroup": "AUTH",
5297
- "name": "username",
5742
+ "name": "account-manager-host",
5298
5743
  "hasDynamicHelp": false,
5299
5744
  "multiple": false,
5300
5745
  "type": "option"
5301
5746
  },
5302
- "password": {
5303
- "char": "p",
5304
- "description": "Password/access key for Basic Auth (WebDAV)",
5305
- "env": "SFCC_PASSWORD",
5306
- "helpGroup": "AUTH",
5307
- "name": "password",
5747
+ "sandbox-api-host": {
5748
+ "description": "ODS API hostname",
5749
+ "env": "SFCC_SANDBOX_API_HOST",
5750
+ "name": "sandbox-api-host",
5751
+ "default": "admin.dx.commercecloud.salesforce.com",
5308
5752
  "hasDynamicHelp": false,
5309
5753
  "multiple": false,
5310
5754
  "type": "option"
@@ -5312,7 +5756,7 @@
5312
5756
  },
5313
5757
  "hasDynamicHelp": false,
5314
5758
  "hiddenAliases": [],
5315
- "id": "sites:list",
5759
+ "id": "ods:stop",
5316
5760
  "pluginAlias": "@salesforce/b2c-cli",
5317
5761
  "pluginName": "@salesforce/b2c-cli",
5318
5762
  "pluginType": "core",
@@ -5322,25 +5766,29 @@
5322
5766
  "relativePath": [
5323
5767
  "dist",
5324
5768
  "commands",
5325
- "sites",
5326
- "list.js"
5769
+ "ods",
5770
+ "stop.js"
5327
5771
  ]
5328
5772
  },
5329
- "webdav:get": {
5773
+ "setup:skills": {
5330
5774
  "aliases": [],
5331
5775
  "args": {
5332
- "remote": {
5333
- "description": "Remote file path relative to root",
5334
- "name": "remote",
5335
- "required": true
5776
+ "skillset": {
5777
+ "description": "Skill set to install: b2c or b2c-cli",
5778
+ "name": "skillset",
5779
+ "options": [
5780
+ "b2c",
5781
+ "b2c-cli"
5782
+ ]
5336
5783
  }
5337
5784
  },
5338
- "description": "Download a file from WebDAV",
5785
+ "description": "Install agent skills for AI-powered IDEs",
5339
5786
  "examples": [
5340
- "<%= config.bin %> <%= command.id %> src/instance/export.zip",
5341
- "<%= config.bin %> <%= command.id %> src/instance/export.zip -o ./downloads/export.zip",
5342
- "<%= config.bin %> <%= command.id %> --root=logs customerror.log",
5343
- "<%= config.bin %> <%= command.id %> --root=logs customerror.log -o -"
5787
+ "<%= config.bin %> <%= command.id %> b2c",
5788
+ "<%= config.bin %> <%= command.id %> b2c-cli --ide cursor --global",
5789
+ "<%= config.bin %> <%= command.id %> b2c --list",
5790
+ "<%= config.bin %> <%= command.id %> b2c-cli --skill b2c-code --skill b2c-webdav --ide cursor",
5791
+ "<%= config.bin %> <%= command.id %> b2c --global --update --force"
5344
5792
  ],
5345
5793
  "flags": {
5346
5794
  "json": {
@@ -5443,150 +5891,67 @@
5443
5891
  "multiple": false,
5444
5892
  "type": "option"
5445
5893
  },
5446
- "client-id": {
5447
- "description": "Client ID for OAuth",
5448
- "env": "SFCC_CLIENT_ID",
5449
- "helpGroup": "AUTH",
5450
- "name": "client-id",
5451
- "hasDynamicHelp": false,
5452
- "multiple": false,
5453
- "type": "option"
5454
- },
5455
- "client-secret": {
5456
- "description": "Client Secret for OAuth",
5457
- "env": "SFCC_CLIENT_SECRET",
5458
- "helpGroup": "AUTH",
5459
- "name": "client-secret",
5460
- "hasDynamicHelp": false,
5461
- "multiple": false,
5462
- "type": "option"
5894
+ "list": {
5895
+ "char": "l",
5896
+ "description": "List available skills without installing",
5897
+ "name": "list",
5898
+ "allowNo": false,
5899
+ "type": "boolean"
5463
5900
  },
5464
- "scope": {
5465
- "description": "OAuth scopes to request (comma-separated)",
5466
- "env": "SFCC_OAUTH_SCOPES",
5467
- "helpGroup": "AUTH",
5468
- "name": "scope",
5469
- "delimiter": ",",
5901
+ "skill": {
5902
+ "description": "Install specific skill(s) (can be specified multiple times)",
5903
+ "name": "skill",
5470
5904
  "hasDynamicHelp": false,
5471
5905
  "multiple": true,
5472
5906
  "type": "option"
5473
5907
  },
5474
- "short-code": {
5475
- "description": "SCAPI short code",
5476
- "env": "SFCC_SHORTCODE",
5477
- "helpGroup": "AUTH",
5478
- "name": "short-code",
5479
- "hasDynamicHelp": false,
5480
- "multiple": false,
5481
- "type": "option"
5482
- },
5483
- "auth-methods": {
5484
- "description": "Allowed auth methods in priority order (comma-separated)",
5485
- "env": "SFCC_AUTH_METHODS",
5486
- "helpGroup": "AUTH",
5487
- "name": "auth-methods",
5488
- "delimiter": ",",
5908
+ "ide": {
5909
+ "description": "Target IDE(s): claude-code, cursor, windsurf, vscode, codex, opencode, manual",
5910
+ "name": "ide",
5489
5911
  "hasDynamicHelp": false,
5490
5912
  "multiple": true,
5491
5913
  "options": [
5492
- "client-credentials",
5493
- "implicit",
5494
- "basic",
5495
- "api-key"
5914
+ "claude-code",
5915
+ "cursor",
5916
+ "windsurf",
5917
+ "vscode",
5918
+ "codex",
5919
+ "opencode",
5920
+ "manual"
5496
5921
  ],
5497
5922
  "type": "option"
5498
5923
  },
5499
- "account-manager-host": {
5500
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
5501
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
5502
- "helpGroup": "AUTH",
5503
- "name": "account-manager-host",
5504
- "hasDynamicHelp": false,
5505
- "multiple": false,
5506
- "type": "option"
5507
- },
5508
- "server": {
5509
- "char": "s",
5510
- "description": "B2C instance hostname",
5511
- "env": "SFCC_SERVER",
5512
- "helpGroup": "INSTANCE",
5513
- "name": "server",
5514
- "hasDynamicHelp": false,
5515
- "multiple": false,
5516
- "type": "option"
5517
- },
5518
- "webdav-server": {
5519
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
5520
- "env": "SFCC_WEBDAV_SERVER",
5521
- "helpGroup": "INSTANCE",
5522
- "name": "webdav-server",
5523
- "hasDynamicHelp": false,
5524
- "multiple": false,
5525
- "type": "option"
5526
- },
5527
- "code-version": {
5528
- "char": "v",
5529
- "description": "Code version",
5530
- "env": "SFCC_CODE_VERSION",
5531
- "helpGroup": "INSTANCE",
5532
- "name": "code-version",
5533
- "hasDynamicHelp": false,
5534
- "multiple": false,
5535
- "type": "option"
5924
+ "global": {
5925
+ "char": "g",
5926
+ "description": "Install to user home directory (global)",
5927
+ "name": "global",
5928
+ "allowNo": false,
5929
+ "type": "boolean"
5536
5930
  },
5537
- "username": {
5931
+ "update": {
5538
5932
  "char": "u",
5539
- "description": "Username for Basic Auth (WebDAV)",
5540
- "env": "SFCC_USERNAME",
5541
- "helpGroup": "AUTH",
5542
- "name": "username",
5543
- "hasDynamicHelp": false,
5544
- "multiple": false,
5545
- "type": "option"
5546
- },
5547
- "password": {
5548
- "char": "p",
5549
- "description": "Password/access key for Basic Auth (WebDAV)",
5550
- "env": "SFCC_PASSWORD",
5551
- "helpGroup": "AUTH",
5552
- "name": "password",
5553
- "hasDynamicHelp": false,
5554
- "multiple": false,
5555
- "type": "option"
5933
+ "description": "Update existing skills (overwrite)",
5934
+ "name": "update",
5935
+ "allowNo": false,
5936
+ "type": "boolean"
5556
5937
  },
5557
- "root": {
5558
- "char": "r",
5559
- "description": "WebDAV root directory",
5560
- "helpGroup": "WEBDAV",
5561
- "name": "root",
5562
- "default": "IMPEX",
5938
+ "version": {
5939
+ "description": "Specific release version (default: latest)",
5940
+ "name": "version",
5563
5941
  "hasDynamicHelp": false,
5564
5942
  "multiple": false,
5565
- "options": [
5566
- "impex",
5567
- "temp",
5568
- "cartridges",
5569
- "realmdata",
5570
- "catalogs",
5571
- "libraries",
5572
- "static",
5573
- "logs",
5574
- "securitylogs"
5575
- ],
5576
5943
  "type": "option"
5577
5944
  },
5578
- "output": {
5579
- "char": "o",
5580
- "description": "Output file path (use - for stdout, defaults to filename in current directory)",
5581
- "name": "output",
5582
- "hasDynamicHelp": false,
5583
- "multiple": false,
5584
- "type": "option"
5945
+ "force": {
5946
+ "description": "Skip confirmation prompts (non-interactive)",
5947
+ "name": "force",
5948
+ "allowNo": false,
5949
+ "type": "boolean"
5585
5950
  }
5586
5951
  },
5587
5952
  "hasDynamicHelp": false,
5588
5953
  "hiddenAliases": [],
5589
- "id": "webdav:get",
5954
+ "id": "setup:skills",
5590
5955
  "pluginAlias": "@salesforce/b2c-cli",
5591
5956
  "pluginName": "@salesforce/b2c-cli",
5592
5957
  "pluginType": "core",
@@ -5596,25 +5961,18 @@
5596
5961
  "relativePath": [
5597
5962
  "dist",
5598
5963
  "commands",
5599
- "webdav",
5600
- "get.js"
5964
+ "setup",
5965
+ "skills.js"
5601
5966
  ]
5602
5967
  },
5603
- "webdav:ls": {
5968
+ "sites:list": {
5604
5969
  "aliases": [],
5605
- "args": {
5606
- "path": {
5607
- "default": "",
5608
- "description": "Path relative to root (defaults to root directory)",
5609
- "name": "path"
5610
- }
5611
- },
5612
- "description": "List files and directories in a WebDAV location",
5970
+ "args": {},
5971
+ "description": "List sites on a B2C Commerce instance",
5613
5972
  "examples": [
5614
5973
  "<%= config.bin %> <%= command.id %>",
5615
- "<%= config.bin %> <%= command.id %> src/instance",
5616
- "<%= config.bin %> <%= command.id %> --root=cartridges",
5617
- "<%= config.bin %> <%= command.id %> --root=logs --json"
5974
+ "<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net",
5975
+ "<%= config.bin %> <%= command.id %> --json"
5618
5976
  ],
5619
5977
  "flags": {
5620
5978
  "json": {
@@ -5827,32 +6185,11 @@
5827
6185
  "hasDynamicHelp": false,
5828
6186
  "multiple": false,
5829
6187
  "type": "option"
5830
- },
5831
- "root": {
5832
- "char": "r",
5833
- "description": "WebDAV root directory",
5834
- "helpGroup": "WEBDAV",
5835
- "name": "root",
5836
- "default": "IMPEX",
5837
- "hasDynamicHelp": false,
5838
- "multiple": false,
5839
- "options": [
5840
- "impex",
5841
- "temp",
5842
- "cartridges",
5843
- "realmdata",
5844
- "catalogs",
5845
- "libraries",
5846
- "static",
5847
- "logs",
5848
- "securitylogs"
5849
- ],
5850
- "type": "option"
5851
6188
  }
5852
6189
  },
5853
6190
  "hasDynamicHelp": false,
5854
6191
  "hiddenAliases": [],
5855
- "id": "webdav:ls",
6192
+ "id": "sites:list",
5856
6193
  "pluginAlias": "@salesforce/b2c-cli",
5857
6194
  "pluginName": "@salesforce/b2c-cli",
5858
6195
  "pluginType": "core",
@@ -5862,24 +6199,25 @@
5862
6199
  "relativePath": [
5863
6200
  "dist",
5864
6201
  "commands",
5865
- "webdav",
5866
- "ls.js"
6202
+ "sites",
6203
+ "list.js"
5867
6204
  ]
5868
6205
  },
5869
- "webdav:mkdir": {
6206
+ "webdav:get": {
5870
6207
  "aliases": [],
5871
6208
  "args": {
5872
- "path": {
5873
- "description": "Directory path to create (relative to root)",
5874
- "name": "path",
6209
+ "remote": {
6210
+ "description": "Remote file path relative to root",
6211
+ "name": "remote",
5875
6212
  "required": true
5876
6213
  }
5877
6214
  },
5878
- "description": "Create a directory on WebDAV",
6215
+ "description": "Download a file from WebDAV",
5879
6216
  "examples": [
5880
- "<%= config.bin %> <%= command.id %> src/instance/my-folder",
5881
- "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir",
5882
- "<%= config.bin %> <%= command.id %> --root=cartridges new-cartridge"
6217
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip",
6218
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip -o ./downloads/export.zip",
6219
+ "<%= config.bin %> <%= command.id %> --root=logs customerror.log",
6220
+ "<%= config.bin %> <%= command.id %> --root=logs customerror.log -o -"
5883
6221
  ],
5884
6222
  "flags": {
5885
6223
  "json": {
@@ -6113,11 +6451,19 @@
6113
6451
  "securitylogs"
6114
6452
  ],
6115
6453
  "type": "option"
6454
+ },
6455
+ "output": {
6456
+ "char": "o",
6457
+ "description": "Output file path (use - for stdout, defaults to filename in current directory)",
6458
+ "name": "output",
6459
+ "hasDynamicHelp": false,
6460
+ "multiple": false,
6461
+ "type": "option"
6116
6462
  }
6117
6463
  },
6118
6464
  "hasDynamicHelp": false,
6119
6465
  "hiddenAliases": [],
6120
- "id": "webdav:mkdir",
6466
+ "id": "webdav:get",
6121
6467
  "pluginAlias": "@salesforce/b2c-cli",
6122
6468
  "pluginName": "@salesforce/b2c-cli",
6123
6469
  "pluginType": "core",
@@ -6126,31 +6472,26 @@
6126
6472
  "isESM": true,
6127
6473
  "relativePath": [
6128
6474
  "dist",
6129
- "commands",
6130
- "webdav",
6131
- "mkdir.js"
6132
- ]
6133
- },
6134
- "webdav:put": {
6135
- "aliases": [],
6136
- "args": {
6137
- "local": {
6138
- "description": "Local file path to upload",
6139
- "name": "local",
6140
- "required": true
6141
- },
6142
- "remote": {
6143
- "description": "Remote destination (directory or file path). If ending with / or is /, uses source filename.",
6144
- "name": "remote",
6145
- "required": true
6475
+ "commands",
6476
+ "webdav",
6477
+ "get.js"
6478
+ ]
6479
+ },
6480
+ "webdav:ls": {
6481
+ "aliases": [],
6482
+ "args": {
6483
+ "path": {
6484
+ "default": "",
6485
+ "description": "Path relative to root (defaults to root directory)",
6486
+ "name": "path"
6146
6487
  }
6147
6488
  },
6148
- "description": "Upload a file to WebDAV",
6489
+ "description": "List files and directories in a WebDAV location",
6149
6490
  "examples": [
6150
- "<%= config.bin %> <%= command.id %> ./export.zip / # uploads to root as export.zip",
6151
- "<%= config.bin %> <%= command.id %> ./export.zip src/instance/ # uploads to src/instance/export.zip",
6152
- "<%= config.bin %> <%= command.id %> ./data.xml src/instance/renamed.xml # uploads with new name",
6153
- "<%= config.bin %> <%= command.id %> ./file.tar.gz / --root=temp # uploads to Temp/file.tar.gz"
6491
+ "<%= config.bin %> <%= command.id %>",
6492
+ "<%= config.bin %> <%= command.id %> src/instance",
6493
+ "<%= config.bin %> <%= command.id %> --root=cartridges",
6494
+ "<%= config.bin %> <%= command.id %> --root=logs --json"
6154
6495
  ],
6155
6496
  "flags": {
6156
6497
  "json": {
@@ -6388,7 +6729,7 @@
6388
6729
  },
6389
6730
  "hasDynamicHelp": false,
6390
6731
  "hiddenAliases": [],
6391
- "id": "webdav:put",
6732
+ "id": "webdav:ls",
6392
6733
  "pluginAlias": "@salesforce/b2c-cli",
6393
6734
  "pluginName": "@salesforce/b2c-cli",
6394
6735
  "pluginType": "core",
@@ -6399,23 +6740,23 @@
6399
6740
  "dist",
6400
6741
  "commands",
6401
6742
  "webdav",
6402
- "put.js"
6743
+ "ls.js"
6403
6744
  ]
6404
6745
  },
6405
- "webdav:rm": {
6746
+ "webdav:mkdir": {
6406
6747
  "aliases": [],
6407
6748
  "args": {
6408
6749
  "path": {
6409
- "description": "Path to delete relative to root",
6750
+ "description": "Directory path to create (relative to root)",
6410
6751
  "name": "path",
6411
6752
  "required": true
6412
6753
  }
6413
6754
  },
6414
- "description": "Delete a file or directory from WebDAV",
6755
+ "description": "Create a directory on WebDAV",
6415
6756
  "examples": [
6416
- "<%= config.bin %> <%= command.id %> src/instance/old-export.zip",
6417
- "<%= config.bin %> <%= command.id %> src/instance/old-export.zip --force",
6418
- "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir --force"
6757
+ "<%= config.bin %> <%= command.id %> src/instance/my-folder",
6758
+ "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir",
6759
+ "<%= config.bin %> <%= command.id %> --root=cartridges new-cartridge"
6419
6760
  ],
6420
6761
  "flags": {
6421
6762
  "json": {
@@ -6649,18 +6990,11 @@
6649
6990
  "securitylogs"
6650
6991
  ],
6651
6992
  "type": "option"
6652
- },
6653
- "force": {
6654
- "char": "f",
6655
- "description": "Skip confirmation prompt",
6656
- "name": "force",
6657
- "allowNo": false,
6658
- "type": "boolean"
6659
6993
  }
6660
6994
  },
6661
6995
  "hasDynamicHelp": false,
6662
6996
  "hiddenAliases": [],
6663
- "id": "webdav:rm",
6997
+ "id": "webdav:mkdir",
6664
6998
  "pluginAlias": "@salesforce/b2c-cli",
6665
6999
  "pluginName": "@salesforce/b2c-cli",
6666
7000
  "pluginType": "core",
@@ -6671,22 +7005,29 @@
6671
7005
  "dist",
6672
7006
  "commands",
6673
7007
  "webdav",
6674
- "rm.js"
7008
+ "mkdir.js"
6675
7009
  ]
6676
7010
  },
6677
- "webdav:unzip": {
7011
+ "webdav:put": {
6678
7012
  "aliases": [],
6679
7013
  "args": {
6680
- "path": {
6681
- "description": "Remote zip file path (relative to root)",
6682
- "name": "path",
7014
+ "local": {
7015
+ "description": "Local file path to upload",
7016
+ "name": "local",
7017
+ "required": true
7018
+ },
7019
+ "remote": {
7020
+ "description": "Remote destination (directory or file path). If ending with / or is /, uses source filename.",
7021
+ "name": "remote",
6683
7022
  "required": true
6684
7023
  }
6685
7024
  },
6686
- "description": "Extract a remote zip archive",
7025
+ "description": "Upload a file to WebDAV",
6687
7026
  "examples": [
6688
- "<%= config.bin %> <%= command.id %> src/instance/export.zip",
6689
- "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge.zip"
7027
+ "<%= config.bin %> <%= command.id %> ./export.zip / # uploads to root as export.zip",
7028
+ "<%= config.bin %> <%= command.id %> ./export.zip src/instance/ # uploads to src/instance/export.zip",
7029
+ "<%= config.bin %> <%= command.id %> ./data.xml src/instance/renamed.xml # uploads with new name",
7030
+ "<%= config.bin %> <%= command.id %> ./file.tar.gz / --root=temp # uploads to Temp/file.tar.gz"
6690
7031
  ],
6691
7032
  "flags": {
6692
7033
  "json": {
@@ -6924,7 +7265,7 @@
6924
7265
  },
6925
7266
  "hasDynamicHelp": false,
6926
7267
  "hiddenAliases": [],
6927
- "id": "webdav:unzip",
7268
+ "id": "webdav:put",
6928
7269
  "pluginAlias": "@salesforce/b2c-cli",
6929
7270
  "pluginName": "@salesforce/b2c-cli",
6930
7271
  "pluginType": "core",
@@ -6935,22 +7276,23 @@
6935
7276
  "dist",
6936
7277
  "commands",
6937
7278
  "webdav",
6938
- "unzip.js"
7279
+ "put.js"
6939
7280
  ]
6940
7281
  },
6941
- "webdav:zip": {
7282
+ "webdav:rm": {
6942
7283
  "aliases": [],
6943
7284
  "args": {
6944
7285
  "path": {
6945
- "description": "Remote path to zip (relative to root)",
7286
+ "description": "Path to delete relative to root",
6946
7287
  "name": "path",
6947
7288
  "required": true
6948
7289
  }
6949
7290
  },
6950
- "description": "Create a zip archive of a remote file or directory",
7291
+ "description": "Delete a file or directory from WebDAV",
6951
7292
  "examples": [
6952
- "<%= config.bin %> <%= command.id %> src/instance/data",
6953
- "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge"
7293
+ "<%= config.bin %> <%= command.id %> src/instance/old-export.zip",
7294
+ "<%= config.bin %> <%= command.id %> src/instance/old-export.zip --force",
7295
+ "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir --force"
6954
7296
  ],
6955
7297
  "flags": {
6956
7298
  "json": {
@@ -7184,11 +7526,18 @@
7184
7526
  "securitylogs"
7185
7527
  ],
7186
7528
  "type": "option"
7529
+ },
7530
+ "force": {
7531
+ "char": "f",
7532
+ "description": "Skip confirmation prompt",
7533
+ "name": "force",
7534
+ "allowNo": false,
7535
+ "type": "boolean"
7187
7536
  }
7188
7537
  },
7189
7538
  "hasDynamicHelp": false,
7190
7539
  "hiddenAliases": [],
7191
- "id": "webdav:zip",
7540
+ "id": "webdav:rm",
7192
7541
  "pluginAlias": "@salesforce/b2c-cli",
7193
7542
  "pluginName": "@salesforce/b2c-cli",
7194
7543
  "pluginType": "core",
@@ -7199,23 +7548,22 @@
7199
7548
  "dist",
7200
7549
  "commands",
7201
7550
  "webdav",
7202
- "zip.js"
7551
+ "rm.js"
7203
7552
  ]
7204
7553
  },
7205
- "docs:download": {
7554
+ "webdav:unzip": {
7206
7555
  "aliases": [],
7207
7556
  "args": {
7208
- "output": {
7209
- "description": "Output directory for extracted documentation",
7210
- "name": "output",
7557
+ "path": {
7558
+ "description": "Remote zip file path (relative to root)",
7559
+ "name": "path",
7211
7560
  "required": true
7212
7561
  }
7213
7562
  },
7214
- "description": "Download Script API documentation from a B2C Commerce instance",
7563
+ "description": "Extract a remote zip archive",
7215
7564
  "examples": [
7216
- "<%= config.bin %> <%= command.id %> ./docs",
7217
- "<%= config.bin %> <%= command.id %> ./docs --keep-archive",
7218
- "<%= config.bin %> <%= command.id %> --server sandbox.demandware.net ./my-docs"
7565
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip",
7566
+ "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge.zip"
7219
7567
  ],
7220
7568
  "flags": {
7221
7569
  "json": {
@@ -7429,158 +7777,31 @@
7429
7777
  "multiple": false,
7430
7778
  "type": "option"
7431
7779
  },
7432
- "keep-archive": {
7433
- "description": "Keep the downloaded archive file",
7434
- "name": "keep-archive",
7435
- "allowNo": false,
7436
- "type": "boolean"
7437
- }
7438
- },
7439
- "hasDynamicHelp": false,
7440
- "hiddenAliases": [],
7441
- "id": "docs:download",
7442
- "pluginAlias": "@salesforce/b2c-cli",
7443
- "pluginName": "@salesforce/b2c-cli",
7444
- "pluginType": "core",
7445
- "strict": true,
7446
- "enableJsonFlag": true,
7447
- "isESM": true,
7448
- "relativePath": [
7449
- "dist",
7450
- "commands",
7451
- "docs",
7452
- "download.js"
7453
- ]
7454
- },
7455
- "docs:read": {
7456
- "aliases": [],
7457
- "args": {
7458
- "query": {
7459
- "description": "Search query for documentation (class name, module path, or partial match)",
7460
- "name": "query",
7461
- "required": true
7462
- }
7463
- },
7464
- "description": "Read Script API documentation for a class or module",
7465
- "examples": [
7466
- "<%= config.bin %> <%= command.id %> ProductMgr",
7467
- "<%= config.bin %> <%= command.id %> dw.catalog.ProductMgr",
7468
- "<%= config.bin %> <%= command.id %> \"dw system Status\"",
7469
- "<%= config.bin %> <%= command.id %> ProductMgr --raw",
7470
- "<%= config.bin %> <%= command.id %> ProductMgr --json"
7471
- ],
7472
- "flags": {
7473
- "json": {
7474
- "description": "Output logs as JSON lines",
7475
- "helpGroup": "GLOBAL",
7476
- "name": "json",
7477
- "allowNo": false,
7478
- "type": "boolean"
7479
- },
7480
- "log-level": {
7481
- "description": "Set logging verbosity level",
7482
- "env": "SFCC_LOG_LEVEL",
7483
- "helpGroup": "GLOBAL",
7484
- "name": "log-level",
7780
+ "root": {
7781
+ "char": "r",
7782
+ "description": "WebDAV root directory",
7783
+ "helpGroup": "WEBDAV",
7784
+ "name": "root",
7785
+ "default": "IMPEX",
7485
7786
  "hasDynamicHelp": false,
7486
7787
  "multiple": false,
7487
7788
  "options": [
7488
- "trace",
7489
- "debug",
7490
- "info",
7491
- "warn",
7492
- "error",
7493
- "silent"
7494
- ],
7495
- "type": "option"
7496
- },
7497
- "debug": {
7498
- "char": "D",
7499
- "description": "Enable debug logging (shorthand for --log-level debug)",
7500
- "env": "SFCC_DEBUG",
7501
- "helpGroup": "GLOBAL",
7502
- "name": "debug",
7503
- "allowNo": false,
7504
- "type": "boolean"
7505
- },
7506
- "lang": {
7507
- "char": "L",
7508
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
7509
- "helpGroup": "GLOBAL",
7510
- "name": "lang",
7511
- "hasDynamicHelp": false,
7512
- "multiple": false,
7513
- "type": "option"
7514
- },
7515
- "config": {
7516
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
7517
- "env": "SFCC_CONFIG",
7518
- "helpGroup": "GLOBAL",
7519
- "name": "config",
7520
- "hasDynamicHelp": false,
7521
- "multiple": false,
7522
- "type": "option"
7523
- },
7524
- "instance": {
7525
- "char": "i",
7526
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
7527
- "env": "SFCC_INSTANCE",
7528
- "helpGroup": "GLOBAL",
7529
- "name": "instance",
7530
- "hasDynamicHelp": false,
7531
- "multiple": false,
7532
- "type": "option"
7533
- },
7534
- "working-directory": {
7535
- "description": "Project working directory",
7536
- "env": "SFCC_WORKING_DIRECTORY",
7537
- "helpGroup": "GLOBAL",
7538
- "name": "working-directory",
7539
- "hasDynamicHelp": false,
7540
- "multiple": false,
7541
- "type": "option"
7542
- },
7543
- "extra-query": {
7544
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
7545
- "env": "SFCC_EXTRA_QUERY",
7546
- "helpGroup": "GLOBAL",
7547
- "hidden": true,
7548
- "name": "extra-query",
7549
- "hasDynamicHelp": false,
7550
- "multiple": false,
7551
- "type": "option"
7552
- },
7553
- "extra-body": {
7554
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
7555
- "env": "SFCC_EXTRA_BODY",
7556
- "helpGroup": "GLOBAL",
7557
- "hidden": true,
7558
- "name": "extra-body",
7559
- "hasDynamicHelp": false,
7560
- "multiple": false,
7561
- "type": "option"
7562
- },
7563
- "extra-headers": {
7564
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
7565
- "env": "SFCC_EXTRA_HEADERS",
7566
- "helpGroup": "GLOBAL",
7567
- "hidden": true,
7568
- "name": "extra-headers",
7569
- "hasDynamicHelp": false,
7570
- "multiple": false,
7789
+ "impex",
7790
+ "temp",
7791
+ "cartridges",
7792
+ "realmdata",
7793
+ "catalogs",
7794
+ "libraries",
7795
+ "static",
7796
+ "logs",
7797
+ "securitylogs"
7798
+ ],
7571
7799
  "type": "option"
7572
- },
7573
- "raw": {
7574
- "char": "r",
7575
- "description": "Output raw markdown without terminal formatting",
7576
- "name": "raw",
7577
- "allowNo": false,
7578
- "type": "boolean"
7579
7800
  }
7580
7801
  },
7581
7802
  "hasDynamicHelp": false,
7582
7803
  "hiddenAliases": [],
7583
- "id": "docs:read",
7804
+ "id": "webdav:unzip",
7584
7805
  "pluginAlias": "@salesforce/b2c-cli",
7585
7806
  "pluginName": "@salesforce/b2c-cli",
7586
7807
  "pluginType": "core",
@@ -7590,25 +7811,23 @@
7590
7811
  "relativePath": [
7591
7812
  "dist",
7592
7813
  "commands",
7593
- "docs",
7594
- "read.js"
7814
+ "webdav",
7815
+ "unzip.js"
7595
7816
  ]
7596
7817
  },
7597
- "docs:schema": {
7818
+ "webdav:zip": {
7598
7819
  "aliases": [],
7599
7820
  "args": {
7600
- "query": {
7601
- "description": "Schema name or partial match (e.g., \"catalog\", \"order\")",
7602
- "name": "query",
7603
- "required": false
7821
+ "path": {
7822
+ "description": "Remote path to zip (relative to root)",
7823
+ "name": "path",
7824
+ "required": true
7604
7825
  }
7605
7826
  },
7606
- "description": "Read an XSD schema file",
7827
+ "description": "Create a zip archive of a remote file or directory",
7607
7828
  "examples": [
7608
- "<%= config.bin %> <%= command.id %> catalog",
7609
- "<%= config.bin %> <%= command.id %> order",
7610
- "<%= config.bin %> <%= command.id %> --list",
7611
- "<%= config.bin %> <%= command.id %> catalog --json"
7829
+ "<%= config.bin %> <%= command.id %> src/instance/data",
7830
+ "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge"
7612
7831
  ],
7613
7832
  "flags": {
7614
7833
  "json": {
@@ -7711,166 +7930,142 @@
7711
7930
  "multiple": false,
7712
7931
  "type": "option"
7713
7932
  },
7714
- "list": {
7715
- "char": "l",
7716
- "description": "List all available schemas",
7717
- "name": "list",
7718
- "allowNo": false,
7719
- "type": "boolean"
7720
- }
7721
- },
7722
- "hasDynamicHelp": false,
7723
- "hiddenAliases": [],
7724
- "id": "docs:schema",
7725
- "pluginAlias": "@salesforce/b2c-cli",
7726
- "pluginName": "@salesforce/b2c-cli",
7727
- "pluginType": "core",
7728
- "strict": true,
7729
- "enableJsonFlag": true,
7730
- "isESM": true,
7731
- "relativePath": [
7732
- "dist",
7733
- "commands",
7734
- "docs",
7735
- "schema.js"
7736
- ]
7737
- },
7738
- "docs:search": {
7739
- "aliases": [],
7740
- "args": {
7741
- "query": {
7742
- "description": "Search query (fuzzy match against class/module names)",
7743
- "name": "query",
7744
- "required": false
7745
- }
7746
- },
7747
- "description": "Search Script API documentation",
7748
- "examples": [
7749
- "<%= config.bin %> <%= command.id %> ProductMgr",
7750
- "<%= config.bin %> <%= command.id %> \"catalog product\"",
7751
- "<%= config.bin %> <%= command.id %> status --limit 5",
7752
- "<%= config.bin %> <%= command.id %> --list"
7753
- ],
7754
- "flags": {
7755
- "json": {
7756
- "description": "Output logs as JSON lines",
7757
- "helpGroup": "GLOBAL",
7758
- "name": "json",
7759
- "allowNo": false,
7760
- "type": "boolean"
7933
+ "client-id": {
7934
+ "description": "Client ID for OAuth",
7935
+ "env": "SFCC_CLIENT_ID",
7936
+ "helpGroup": "AUTH",
7937
+ "name": "client-id",
7938
+ "hasDynamicHelp": false,
7939
+ "multiple": false,
7940
+ "type": "option"
7761
7941
  },
7762
- "log-level": {
7763
- "description": "Set logging verbosity level",
7764
- "env": "SFCC_LOG_LEVEL",
7765
- "helpGroup": "GLOBAL",
7766
- "name": "log-level",
7942
+ "client-secret": {
7943
+ "description": "Client Secret for OAuth",
7944
+ "env": "SFCC_CLIENT_SECRET",
7945
+ "helpGroup": "AUTH",
7946
+ "name": "client-secret",
7767
7947
  "hasDynamicHelp": false,
7768
7948
  "multiple": false,
7769
- "options": [
7770
- "trace",
7771
- "debug",
7772
- "info",
7773
- "warn",
7774
- "error",
7775
- "silent"
7776
- ],
7777
7949
  "type": "option"
7778
7950
  },
7779
- "debug": {
7780
- "char": "D",
7781
- "description": "Enable debug logging (shorthand for --log-level debug)",
7782
- "env": "SFCC_DEBUG",
7783
- "helpGroup": "GLOBAL",
7784
- "name": "debug",
7785
- "allowNo": false,
7786
- "type": "boolean"
7951
+ "scope": {
7952
+ "description": "OAuth scopes to request (comma-separated)",
7953
+ "env": "SFCC_OAUTH_SCOPES",
7954
+ "helpGroup": "AUTH",
7955
+ "name": "scope",
7956
+ "delimiter": ",",
7957
+ "hasDynamicHelp": false,
7958
+ "multiple": true,
7959
+ "type": "option"
7787
7960
  },
7788
- "lang": {
7789
- "char": "L",
7790
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
7791
- "helpGroup": "GLOBAL",
7792
- "name": "lang",
7961
+ "short-code": {
7962
+ "description": "SCAPI short code",
7963
+ "env": "SFCC_SHORTCODE",
7964
+ "helpGroup": "AUTH",
7965
+ "name": "short-code",
7793
7966
  "hasDynamicHelp": false,
7794
7967
  "multiple": false,
7795
7968
  "type": "option"
7796
7969
  },
7797
- "config": {
7798
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
7799
- "env": "SFCC_CONFIG",
7800
- "helpGroup": "GLOBAL",
7801
- "name": "config",
7970
+ "auth-methods": {
7971
+ "description": "Allowed auth methods in priority order (comma-separated)",
7972
+ "env": "SFCC_AUTH_METHODS",
7973
+ "helpGroup": "AUTH",
7974
+ "name": "auth-methods",
7975
+ "delimiter": ",",
7802
7976
  "hasDynamicHelp": false,
7803
- "multiple": false,
7977
+ "multiple": true,
7978
+ "options": [
7979
+ "client-credentials",
7980
+ "implicit",
7981
+ "basic",
7982
+ "api-key"
7983
+ ],
7804
7984
  "type": "option"
7805
7985
  },
7806
- "instance": {
7807
- "char": "i",
7808
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
7809
- "env": "SFCC_INSTANCE",
7810
- "helpGroup": "GLOBAL",
7811
- "name": "instance",
7986
+ "account-manager-host": {
7987
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
7988
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
7989
+ "helpGroup": "AUTH",
7990
+ "name": "account-manager-host",
7812
7991
  "hasDynamicHelp": false,
7813
7992
  "multiple": false,
7814
7993
  "type": "option"
7815
7994
  },
7816
- "working-directory": {
7817
- "description": "Project working directory",
7818
- "env": "SFCC_WORKING_DIRECTORY",
7819
- "helpGroup": "GLOBAL",
7820
- "name": "working-directory",
7995
+ "server": {
7996
+ "char": "s",
7997
+ "description": "B2C instance hostname",
7998
+ "env": "SFCC_SERVER",
7999
+ "helpGroup": "INSTANCE",
8000
+ "name": "server",
7821
8001
  "hasDynamicHelp": false,
7822
8002
  "multiple": false,
7823
8003
  "type": "option"
7824
8004
  },
7825
- "extra-query": {
7826
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
7827
- "env": "SFCC_EXTRA_QUERY",
7828
- "helpGroup": "GLOBAL",
7829
- "hidden": true,
7830
- "name": "extra-query",
8005
+ "webdav-server": {
8006
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
8007
+ "env": "SFCC_WEBDAV_SERVER",
8008
+ "helpGroup": "INSTANCE",
8009
+ "name": "webdav-server",
7831
8010
  "hasDynamicHelp": false,
7832
8011
  "multiple": false,
7833
8012
  "type": "option"
7834
8013
  },
7835
- "extra-body": {
7836
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
7837
- "env": "SFCC_EXTRA_BODY",
7838
- "helpGroup": "GLOBAL",
7839
- "hidden": true,
7840
- "name": "extra-body",
8014
+ "code-version": {
8015
+ "char": "v",
8016
+ "description": "Code version",
8017
+ "env": "SFCC_CODE_VERSION",
8018
+ "helpGroup": "INSTANCE",
8019
+ "name": "code-version",
7841
8020
  "hasDynamicHelp": false,
7842
8021
  "multiple": false,
7843
8022
  "type": "option"
7844
8023
  },
7845
- "extra-headers": {
7846
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
7847
- "env": "SFCC_EXTRA_HEADERS",
7848
- "helpGroup": "GLOBAL",
7849
- "hidden": true,
7850
- "name": "extra-headers",
8024
+ "username": {
8025
+ "char": "u",
8026
+ "description": "Username for Basic Auth (WebDAV)",
8027
+ "env": "SFCC_USERNAME",
8028
+ "helpGroup": "AUTH",
8029
+ "name": "username",
7851
8030
  "hasDynamicHelp": false,
7852
8031
  "multiple": false,
7853
8032
  "type": "option"
7854
8033
  },
7855
- "limit": {
7856
- "char": "l",
7857
- "description": "Maximum number of results to display",
7858
- "name": "limit",
7859
- "default": 20,
8034
+ "password": {
8035
+ "char": "p",
8036
+ "description": "Password/access key for Basic Auth (WebDAV)",
8037
+ "env": "SFCC_PASSWORD",
8038
+ "helpGroup": "AUTH",
8039
+ "name": "password",
7860
8040
  "hasDynamicHelp": false,
7861
8041
  "multiple": false,
7862
8042
  "type": "option"
7863
8043
  },
7864
- "list": {
7865
- "description": "List all available documentation entries",
7866
- "name": "list",
7867
- "allowNo": false,
7868
- "type": "boolean"
8044
+ "root": {
8045
+ "char": "r",
8046
+ "description": "WebDAV root directory",
8047
+ "helpGroup": "WEBDAV",
8048
+ "name": "root",
8049
+ "default": "IMPEX",
8050
+ "hasDynamicHelp": false,
8051
+ "multiple": false,
8052
+ "options": [
8053
+ "impex",
8054
+ "temp",
8055
+ "cartridges",
8056
+ "realmdata",
8057
+ "catalogs",
8058
+ "libraries",
8059
+ "static",
8060
+ "logs",
8061
+ "securitylogs"
8062
+ ],
8063
+ "type": "option"
7869
8064
  }
7870
8065
  },
7871
8066
  "hasDynamicHelp": false,
7872
8067
  "hiddenAliases": [],
7873
- "id": "docs:search",
8068
+ "id": "webdav:zip",
7874
8069
  "pluginAlias": "@salesforce/b2c-cli",
7875
8070
  "pluginName": "@salesforce/b2c-cli",
7876
8071
  "pluginType": "core",
@@ -7880,8 +8075,8 @@
7880
8075
  "relativePath": [
7881
8076
  "dist",
7882
8077
  "commands",
7883
- "docs",
7884
- "search.js"
8078
+ "webdav",
8079
+ "zip.js"
7885
8080
  ]
7886
8081
  },
7887
8082
  "mrt:env:create": {
@@ -10938,5 +11133,5 @@
10938
11133
  ]
10939
11134
  }
10940
11135
  },
10941
- "version": "0.0.0-nightly.20260120023917"
11136
+ "version": "0.0.0-nightly.20260121023856"
10942
11137
  }