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

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.
Files changed (72) hide show
  1. package/dist/commands/code/delete.d.ts +10 -0
  2. package/dist/commands/code/delete.js +6 -2
  3. package/dist/commands/code/delete.js.map +1 -1
  4. package/dist/commands/code/deploy.d.ts +7 -1
  5. package/dist/commands/code/deploy.js +10 -4
  6. package/dist/commands/code/deploy.js.map +1 -1
  7. package/dist/commands/code/watch.d.ts +4 -0
  8. package/dist/commands/code/watch.js +4 -1
  9. package/dist/commands/code/watch.js.map +1 -1
  10. package/dist/commands/docs/download.d.ts +4 -1
  11. package/dist/commands/docs/download.js +4 -1
  12. package/dist/commands/docs/download.js.map +1 -1
  13. package/dist/commands/docs/read.d.ts +4 -1
  14. package/dist/commands/docs/read.js +4 -2
  15. package/dist/commands/docs/read.js.map +1 -1
  16. package/dist/commands/docs/schema.d.ts +5 -1
  17. package/dist/commands/docs/schema.js +6 -2
  18. package/dist/commands/docs/schema.js.map +1 -1
  19. package/dist/commands/docs/search.d.ts +5 -1
  20. package/dist/commands/docs/search.js +6 -2
  21. package/dist/commands/docs/search.js.map +1 -1
  22. package/dist/commands/job/export.d.ts +4 -1
  23. package/dist/commands/job/export.js +5 -2
  24. package/dist/commands/job/export.js.map +1 -1
  25. package/dist/commands/job/import.d.ts +4 -1
  26. package/dist/commands/job/import.js +5 -2
  27. package/dist/commands/job/import.js.map +1 -1
  28. package/dist/commands/job/run.d.ts +5 -1
  29. package/dist/commands/job/run.js +6 -2
  30. package/dist/commands/job/run.js.map +1 -1
  31. package/dist/commands/job/search.d.ts +4 -1
  32. package/dist/commands/job/search.js +4 -1
  33. package/dist/commands/job/search.js.map +1 -1
  34. package/dist/commands/job/wait.d.ts +4 -1
  35. package/dist/commands/job/wait.js +4 -1
  36. package/dist/commands/job/wait.js.map +1 -1
  37. package/dist/commands/mrt/env/create.d.ts +5 -1
  38. package/dist/commands/mrt/env/create.js +6 -2
  39. package/dist/commands/mrt/env/create.js.map +1 -1
  40. package/dist/commands/mrt/env/delete.d.ts +10 -0
  41. package/dist/commands/mrt/env/delete.js +6 -2
  42. package/dist/commands/mrt/env/delete.js.map +1 -1
  43. package/dist/commands/mrt/env/var/delete.d.ts +4 -0
  44. package/dist/commands/mrt/env/var/delete.js +4 -1
  45. package/dist/commands/mrt/env/var/delete.js.map +1 -1
  46. package/dist/commands/mrt/env/var/list.d.ts +5 -1
  47. package/dist/commands/mrt/env/var/list.js +8 -2
  48. package/dist/commands/mrt/env/var/list.js.map +1 -1
  49. package/dist/commands/mrt/env/var/set.d.ts +4 -0
  50. package/dist/commands/mrt/env/var/set.js +4 -1
  51. package/dist/commands/mrt/env/var/set.js.map +1 -1
  52. package/dist/commands/mrt/push.d.ts +4 -1
  53. package/dist/commands/mrt/push.js +4 -1
  54. package/dist/commands/mrt/push.js.map +1 -1
  55. package/dist/commands/setup/config.d.ts +45 -0
  56. package/dist/commands/setup/config.js +171 -0
  57. package/dist/commands/setup/config.js.map +1 -0
  58. package/dist/commands/setup/skills.d.ts +40 -0
  59. package/dist/commands/setup/skills.js +296 -0
  60. package/dist/commands/setup/skills.js.map +1 -0
  61. package/dist/commands/webdav/get.js +1 -1
  62. package/dist/commands/webdav/get.js.map +1 -1
  63. package/dist/commands/webdav/put.js +1 -1
  64. package/dist/commands/webdav/put.js.map +1 -1
  65. package/dist/commands/webdav/rm.js +1 -1
  66. package/dist/commands/webdav/rm.js.map +1 -1
  67. package/dist/i18n/locales/en.d.ts +25 -0
  68. package/dist/i18n/locales/en.js +29 -0
  69. package/dist/i18n/locales/en.js.map +1 -1
  70. package/dist/i18n/locales/index.d.ts +25 -0
  71. package/oclif.manifest.json +1251 -923
  72. package/package.json +7 -2
@@ -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",
@@ -5088,13 +5770,13 @@
5088
5770
  "stop.js"
5089
5771
  ]
5090
5772
  },
5091
- "sites:list": {
5773
+ "setup:config": {
5092
5774
  "aliases": [],
5093
5775
  "args": {},
5094
- "description": "List sites on a B2C Commerce instance",
5776
+ "description": "Display resolved configuration",
5095
5777
  "examples": [
5096
5778
  "<%= config.bin %> <%= command.id %>",
5097
- "<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net",
5779
+ "<%= config.bin %> <%= command.id %> --unmask",
5098
5780
  "<%= config.bin %> <%= command.id %> --json"
5099
5781
  ],
5100
5782
  "flags": {
@@ -5183,136 +5865,31 @@
5183
5865
  "env": "SFCC_EXTRA_BODY",
5184
5866
  "helpGroup": "GLOBAL",
5185
5867
  "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",
5868
+ "name": "extra-body",
5298
5869
  "hasDynamicHelp": false,
5299
5870
  "multiple": false,
5300
5871
  "type": "option"
5301
5872
  },
5302
- "password": {
5303
- "char": "p",
5304
- "description": "Password/access key for Basic Auth (WebDAV)",
5305
- "env": "SFCC_PASSWORD",
5306
- "helpGroup": "AUTH",
5307
- "name": "password",
5873
+ "extra-headers": {
5874
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
5875
+ "env": "SFCC_EXTRA_HEADERS",
5876
+ "helpGroup": "GLOBAL",
5877
+ "hidden": true,
5878
+ "name": "extra-headers",
5308
5879
  "hasDynamicHelp": false,
5309
5880
  "multiple": false,
5310
5881
  "type": "option"
5882
+ },
5883
+ "unmask": {
5884
+ "description": "Show sensitive values unmasked (passwords, secrets, API keys)",
5885
+ "name": "unmask",
5886
+ "allowNo": false,
5887
+ "type": "boolean"
5311
5888
  }
5312
5889
  },
5313
5890
  "hasDynamicHelp": false,
5314
5891
  "hiddenAliases": [],
5315
- "id": "sites:list",
5892
+ "id": "setup:config",
5316
5893
  "pluginAlias": "@salesforce/b2c-cli",
5317
5894
  "pluginName": "@salesforce/b2c-cli",
5318
5895
  "pluginType": "core",
@@ -5322,25 +5899,29 @@
5322
5899
  "relativePath": [
5323
5900
  "dist",
5324
5901
  "commands",
5325
- "sites",
5326
- "list.js"
5902
+ "setup",
5903
+ "config.js"
5327
5904
  ]
5328
5905
  },
5329
- "webdav:get": {
5906
+ "setup:skills": {
5330
5907
  "aliases": [],
5331
5908
  "args": {
5332
- "remote": {
5333
- "description": "Remote file path relative to root",
5334
- "name": "remote",
5335
- "required": true
5909
+ "skillset": {
5910
+ "description": "Skill set to install: b2c or b2c-cli",
5911
+ "name": "skillset",
5912
+ "options": [
5913
+ "b2c",
5914
+ "b2c-cli"
5915
+ ]
5336
5916
  }
5337
5917
  },
5338
- "description": "Download a file from WebDAV",
5918
+ "description": "Install agent skills for AI-powered IDEs",
5339
5919
  "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 -"
5920
+ "<%= config.bin %> <%= command.id %> b2c",
5921
+ "<%= config.bin %> <%= command.id %> b2c-cli --ide cursor --global",
5922
+ "<%= config.bin %> <%= command.id %> b2c --list",
5923
+ "<%= config.bin %> <%= command.id %> b2c-cli --skill b2c-code --skill b2c-webdav --ide cursor",
5924
+ "<%= config.bin %> <%= command.id %> b2c --global --update --force"
5344
5925
  ],
5345
5926
  "flags": {
5346
5927
  "json": {
@@ -5443,150 +6024,67 @@
5443
6024
  "multiple": false,
5444
6025
  "type": "option"
5445
6026
  },
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"
6027
+ "list": {
6028
+ "char": "l",
6029
+ "description": "List available skills without installing",
6030
+ "name": "list",
6031
+ "allowNo": false,
6032
+ "type": "boolean"
5463
6033
  },
5464
- "scope": {
5465
- "description": "OAuth scopes to request (comma-separated)",
5466
- "env": "SFCC_OAUTH_SCOPES",
5467
- "helpGroup": "AUTH",
5468
- "name": "scope",
5469
- "delimiter": ",",
6034
+ "skill": {
6035
+ "description": "Install specific skill(s) (can be specified multiple times)",
6036
+ "name": "skill",
5470
6037
  "hasDynamicHelp": false,
5471
6038
  "multiple": true,
5472
6039
  "type": "option"
5473
6040
  },
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": ",",
6041
+ "ide": {
6042
+ "description": "Target IDE(s): claude-code, cursor, windsurf, vscode, codex, opencode, manual",
6043
+ "name": "ide",
5489
6044
  "hasDynamicHelp": false,
5490
6045
  "multiple": true,
5491
6046
  "options": [
5492
- "client-credentials",
5493
- "implicit",
5494
- "basic",
5495
- "api-key"
6047
+ "claude-code",
6048
+ "cursor",
6049
+ "windsurf",
6050
+ "vscode",
6051
+ "codex",
6052
+ "opencode",
6053
+ "manual"
5496
6054
  ],
5497
6055
  "type": "option"
5498
6056
  },
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"
6057
+ "global": {
6058
+ "char": "g",
6059
+ "description": "Install to user home directory (global)",
6060
+ "name": "global",
6061
+ "allowNo": false,
6062
+ "type": "boolean"
5536
6063
  },
5537
- "username": {
6064
+ "update": {
5538
6065
  "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"
6066
+ "description": "Update existing skills (overwrite)",
6067
+ "name": "update",
6068
+ "allowNo": false,
6069
+ "type": "boolean"
5556
6070
  },
5557
- "root": {
5558
- "char": "r",
5559
- "description": "WebDAV root directory",
5560
- "helpGroup": "WEBDAV",
5561
- "name": "root",
5562
- "default": "IMPEX",
6071
+ "version": {
6072
+ "description": "Specific release version (default: latest)",
6073
+ "name": "version",
5563
6074
  "hasDynamicHelp": false,
5564
6075
  "multiple": false,
5565
- "options": [
5566
- "impex",
5567
- "temp",
5568
- "cartridges",
5569
- "realmdata",
5570
- "catalogs",
5571
- "libraries",
5572
- "static",
5573
- "logs",
5574
- "securitylogs"
5575
- ],
5576
6076
  "type": "option"
5577
6077
  },
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"
6078
+ "force": {
6079
+ "description": "Skip confirmation prompts (non-interactive)",
6080
+ "name": "force",
6081
+ "allowNo": false,
6082
+ "type": "boolean"
5585
6083
  }
5586
6084
  },
5587
6085
  "hasDynamicHelp": false,
5588
6086
  "hiddenAliases": [],
5589
- "id": "webdav:get",
6087
+ "id": "setup:skills",
5590
6088
  "pluginAlias": "@salesforce/b2c-cli",
5591
6089
  "pluginName": "@salesforce/b2c-cli",
5592
6090
  "pluginType": "core",
@@ -5596,25 +6094,18 @@
5596
6094
  "relativePath": [
5597
6095
  "dist",
5598
6096
  "commands",
5599
- "webdav",
5600
- "get.js"
6097
+ "setup",
6098
+ "skills.js"
5601
6099
  ]
5602
6100
  },
5603
- "webdav:ls": {
6101
+ "sites:list": {
5604
6102
  "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",
6103
+ "args": {},
6104
+ "description": "List sites on a B2C Commerce instance",
5613
6105
  "examples": [
5614
6106
  "<%= 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"
6107
+ "<%= config.bin %> <%= command.id %> --server my-sandbox.demandware.net",
6108
+ "<%= config.bin %> <%= command.id %> --json"
5618
6109
  ],
5619
6110
  "flags": {
5620
6111
  "json": {
@@ -5827,32 +6318,11 @@
5827
6318
  "hasDynamicHelp": false,
5828
6319
  "multiple": false,
5829
6320
  "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
6321
  }
5852
6322
  },
5853
6323
  "hasDynamicHelp": false,
5854
6324
  "hiddenAliases": [],
5855
- "id": "webdav:ls",
6325
+ "id": "sites:list",
5856
6326
  "pluginAlias": "@salesforce/b2c-cli",
5857
6327
  "pluginName": "@salesforce/b2c-cli",
5858
6328
  "pluginType": "core",
@@ -5862,24 +6332,25 @@
5862
6332
  "relativePath": [
5863
6333
  "dist",
5864
6334
  "commands",
5865
- "webdav",
5866
- "ls.js"
6335
+ "sites",
6336
+ "list.js"
5867
6337
  ]
5868
6338
  },
5869
- "webdav:mkdir": {
6339
+ "webdav:get": {
5870
6340
  "aliases": [],
5871
6341
  "args": {
5872
- "path": {
5873
- "description": "Directory path to create (relative to root)",
5874
- "name": "path",
6342
+ "remote": {
6343
+ "description": "Remote file path relative to root",
6344
+ "name": "remote",
5875
6345
  "required": true
5876
6346
  }
5877
6347
  },
5878
- "description": "Create a directory on WebDAV",
6348
+ "description": "Download a file from WebDAV",
5879
6349
  "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"
6350
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip",
6351
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip -o ./downloads/export.zip",
6352
+ "<%= config.bin %> <%= command.id %> --root=logs customerror.log",
6353
+ "<%= config.bin %> <%= command.id %> --root=logs customerror.log -o -"
5883
6354
  ],
5884
6355
  "flags": {
5885
6356
  "json": {
@@ -6113,11 +6584,19 @@
6113
6584
  "securitylogs"
6114
6585
  ],
6115
6586
  "type": "option"
6587
+ },
6588
+ "output": {
6589
+ "char": "o",
6590
+ "description": "Output file path (use - for stdout, defaults to filename in current directory)",
6591
+ "name": "output",
6592
+ "hasDynamicHelp": false,
6593
+ "multiple": false,
6594
+ "type": "option"
6116
6595
  }
6117
6596
  },
6118
6597
  "hasDynamicHelp": false,
6119
6598
  "hiddenAliases": [],
6120
- "id": "webdav:mkdir",
6599
+ "id": "webdav:get",
6121
6600
  "pluginAlias": "@salesforce/b2c-cli",
6122
6601
  "pluginName": "@salesforce/b2c-cli",
6123
6602
  "pluginType": "core",
@@ -6126,31 +6605,26 @@
6126
6605
  "isESM": true,
6127
6606
  "relativePath": [
6128
6607
  "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
6608
+ "commands",
6609
+ "webdav",
6610
+ "get.js"
6611
+ ]
6612
+ },
6613
+ "webdav:ls": {
6614
+ "aliases": [],
6615
+ "args": {
6616
+ "path": {
6617
+ "default": "",
6618
+ "description": "Path relative to root (defaults to root directory)",
6619
+ "name": "path"
6146
6620
  }
6147
6621
  },
6148
- "description": "Upload a file to WebDAV",
6622
+ "description": "List files and directories in a WebDAV location",
6149
6623
  "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"
6624
+ "<%= config.bin %> <%= command.id %>",
6625
+ "<%= config.bin %> <%= command.id %> src/instance",
6626
+ "<%= config.bin %> <%= command.id %> --root=cartridges",
6627
+ "<%= config.bin %> <%= command.id %> --root=logs --json"
6154
6628
  ],
6155
6629
  "flags": {
6156
6630
  "json": {
@@ -6388,7 +6862,7 @@
6388
6862
  },
6389
6863
  "hasDynamicHelp": false,
6390
6864
  "hiddenAliases": [],
6391
- "id": "webdav:put",
6865
+ "id": "webdav:ls",
6392
6866
  "pluginAlias": "@salesforce/b2c-cli",
6393
6867
  "pluginName": "@salesforce/b2c-cli",
6394
6868
  "pluginType": "core",
@@ -6399,23 +6873,23 @@
6399
6873
  "dist",
6400
6874
  "commands",
6401
6875
  "webdav",
6402
- "put.js"
6876
+ "ls.js"
6403
6877
  ]
6404
6878
  },
6405
- "webdav:rm": {
6879
+ "webdav:mkdir": {
6406
6880
  "aliases": [],
6407
6881
  "args": {
6408
6882
  "path": {
6409
- "description": "Path to delete relative to root",
6883
+ "description": "Directory path to create (relative to root)",
6410
6884
  "name": "path",
6411
6885
  "required": true
6412
6886
  }
6413
6887
  },
6414
- "description": "Delete a file or directory from WebDAV",
6888
+ "description": "Create a directory on WebDAV",
6415
6889
  "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"
6890
+ "<%= config.bin %> <%= command.id %> src/instance/my-folder",
6891
+ "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir",
6892
+ "<%= config.bin %> <%= command.id %> --root=cartridges new-cartridge"
6419
6893
  ],
6420
6894
  "flags": {
6421
6895
  "json": {
@@ -6649,18 +7123,11 @@
6649
7123
  "securitylogs"
6650
7124
  ],
6651
7125
  "type": "option"
6652
- },
6653
- "force": {
6654
- "char": "f",
6655
- "description": "Skip confirmation prompt",
6656
- "name": "force",
6657
- "allowNo": false,
6658
- "type": "boolean"
6659
7126
  }
6660
7127
  },
6661
7128
  "hasDynamicHelp": false,
6662
7129
  "hiddenAliases": [],
6663
- "id": "webdav:rm",
7130
+ "id": "webdav:mkdir",
6664
7131
  "pluginAlias": "@salesforce/b2c-cli",
6665
7132
  "pluginName": "@salesforce/b2c-cli",
6666
7133
  "pluginType": "core",
@@ -6671,22 +7138,29 @@
6671
7138
  "dist",
6672
7139
  "commands",
6673
7140
  "webdav",
6674
- "rm.js"
7141
+ "mkdir.js"
6675
7142
  ]
6676
7143
  },
6677
- "webdav:unzip": {
7144
+ "webdav:put": {
6678
7145
  "aliases": [],
6679
7146
  "args": {
6680
- "path": {
6681
- "description": "Remote zip file path (relative to root)",
6682
- "name": "path",
7147
+ "local": {
7148
+ "description": "Local file path to upload",
7149
+ "name": "local",
7150
+ "required": true
7151
+ },
7152
+ "remote": {
7153
+ "description": "Remote destination (directory or file path). If ending with / or is /, uses source filename.",
7154
+ "name": "remote",
6683
7155
  "required": true
6684
7156
  }
6685
7157
  },
6686
- "description": "Extract a remote zip archive",
7158
+ "description": "Upload a file to WebDAV",
6687
7159
  "examples": [
6688
- "<%= config.bin %> <%= command.id %> src/instance/export.zip",
6689
- "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge.zip"
7160
+ "<%= config.bin %> <%= command.id %> ./export.zip / # uploads to root as export.zip",
7161
+ "<%= config.bin %> <%= command.id %> ./export.zip src/instance/ # uploads to src/instance/export.zip",
7162
+ "<%= config.bin %> <%= command.id %> ./data.xml src/instance/renamed.xml # uploads with new name",
7163
+ "<%= config.bin %> <%= command.id %> ./file.tar.gz / --root=temp # uploads to Temp/file.tar.gz"
6690
7164
  ],
6691
7165
  "flags": {
6692
7166
  "json": {
@@ -6924,7 +7398,7 @@
6924
7398
  },
6925
7399
  "hasDynamicHelp": false,
6926
7400
  "hiddenAliases": [],
6927
- "id": "webdav:unzip",
7401
+ "id": "webdav:put",
6928
7402
  "pluginAlias": "@salesforce/b2c-cli",
6929
7403
  "pluginName": "@salesforce/b2c-cli",
6930
7404
  "pluginType": "core",
@@ -6935,22 +7409,23 @@
6935
7409
  "dist",
6936
7410
  "commands",
6937
7411
  "webdav",
6938
- "unzip.js"
7412
+ "put.js"
6939
7413
  ]
6940
7414
  },
6941
- "webdav:zip": {
7415
+ "webdav:rm": {
6942
7416
  "aliases": [],
6943
7417
  "args": {
6944
7418
  "path": {
6945
- "description": "Remote path to zip (relative to root)",
7419
+ "description": "Path to delete relative to root",
6946
7420
  "name": "path",
6947
7421
  "required": true
6948
7422
  }
6949
7423
  },
6950
- "description": "Create a zip archive of a remote file or directory",
7424
+ "description": "Delete a file or directory from WebDAV",
6951
7425
  "examples": [
6952
- "<%= config.bin %> <%= command.id %> src/instance/data",
6953
- "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge"
7426
+ "<%= config.bin %> <%= command.id %> src/instance/old-export.zip",
7427
+ "<%= config.bin %> <%= command.id %> src/instance/old-export.zip --force",
7428
+ "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir --force"
6954
7429
  ],
6955
7430
  "flags": {
6956
7431
  "json": {
@@ -7184,11 +7659,18 @@
7184
7659
  "securitylogs"
7185
7660
  ],
7186
7661
  "type": "option"
7662
+ },
7663
+ "force": {
7664
+ "char": "f",
7665
+ "description": "Skip confirmation prompt",
7666
+ "name": "force",
7667
+ "allowNo": false,
7668
+ "type": "boolean"
7187
7669
  }
7188
7670
  },
7189
7671
  "hasDynamicHelp": false,
7190
7672
  "hiddenAliases": [],
7191
- "id": "webdav:zip",
7673
+ "id": "webdav:rm",
7192
7674
  "pluginAlias": "@salesforce/b2c-cli",
7193
7675
  "pluginName": "@salesforce/b2c-cli",
7194
7676
  "pluginType": "core",
@@ -7199,23 +7681,22 @@
7199
7681
  "dist",
7200
7682
  "commands",
7201
7683
  "webdav",
7202
- "zip.js"
7684
+ "rm.js"
7203
7685
  ]
7204
7686
  },
7205
- "docs:download": {
7687
+ "webdav:unzip": {
7206
7688
  "aliases": [],
7207
7689
  "args": {
7208
- "output": {
7209
- "description": "Output directory for extracted documentation",
7210
- "name": "output",
7690
+ "path": {
7691
+ "description": "Remote zip file path (relative to root)",
7692
+ "name": "path",
7211
7693
  "required": true
7212
7694
  }
7213
7695
  },
7214
- "description": "Download Script API documentation from a B2C Commerce instance",
7696
+ "description": "Extract a remote zip archive",
7215
7697
  "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"
7698
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip",
7699
+ "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge.zip"
7219
7700
  ],
7220
7701
  "flags": {
7221
7702
  "json": {
@@ -7429,158 +7910,31 @@
7429
7910
  "multiple": false,
7430
7911
  "type": "option"
7431
7912
  },
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",
7913
+ "root": {
7914
+ "char": "r",
7915
+ "description": "WebDAV root directory",
7916
+ "helpGroup": "WEBDAV",
7917
+ "name": "root",
7918
+ "default": "IMPEX",
7485
7919
  "hasDynamicHelp": false,
7486
7920
  "multiple": false,
7487
7921
  "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,
7922
+ "impex",
7923
+ "temp",
7924
+ "cartridges",
7925
+ "realmdata",
7926
+ "catalogs",
7927
+ "libraries",
7928
+ "static",
7929
+ "logs",
7930
+ "securitylogs"
7931
+ ],
7571
7932
  "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
7933
  }
7580
7934
  },
7581
7935
  "hasDynamicHelp": false,
7582
7936
  "hiddenAliases": [],
7583
- "id": "docs:read",
7937
+ "id": "webdav:unzip",
7584
7938
  "pluginAlias": "@salesforce/b2c-cli",
7585
7939
  "pluginName": "@salesforce/b2c-cli",
7586
7940
  "pluginType": "core",
@@ -7590,25 +7944,23 @@
7590
7944
  "relativePath": [
7591
7945
  "dist",
7592
7946
  "commands",
7593
- "docs",
7594
- "read.js"
7947
+ "webdav",
7948
+ "unzip.js"
7595
7949
  ]
7596
7950
  },
7597
- "docs:schema": {
7951
+ "webdav:zip": {
7598
7952
  "aliases": [],
7599
7953
  "args": {
7600
- "query": {
7601
- "description": "Schema name or partial match (e.g., \"catalog\", \"order\")",
7602
- "name": "query",
7603
- "required": false
7954
+ "path": {
7955
+ "description": "Remote path to zip (relative to root)",
7956
+ "name": "path",
7957
+ "required": true
7604
7958
  }
7605
7959
  },
7606
- "description": "Read an XSD schema file",
7960
+ "description": "Create a zip archive of a remote file or directory",
7607
7961
  "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"
7962
+ "<%= config.bin %> <%= command.id %> src/instance/data",
7963
+ "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge"
7612
7964
  ],
7613
7965
  "flags": {
7614
7966
  "json": {
@@ -7711,166 +8063,142 @@
7711
8063
  "multiple": false,
7712
8064
  "type": "option"
7713
8065
  },
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"
8066
+ "client-id": {
8067
+ "description": "Client ID for OAuth",
8068
+ "env": "SFCC_CLIENT_ID",
8069
+ "helpGroup": "AUTH",
8070
+ "name": "client-id",
8071
+ "hasDynamicHelp": false,
8072
+ "multiple": false,
8073
+ "type": "option"
7761
8074
  },
7762
- "log-level": {
7763
- "description": "Set logging verbosity level",
7764
- "env": "SFCC_LOG_LEVEL",
7765
- "helpGroup": "GLOBAL",
7766
- "name": "log-level",
8075
+ "client-secret": {
8076
+ "description": "Client Secret for OAuth",
8077
+ "env": "SFCC_CLIENT_SECRET",
8078
+ "helpGroup": "AUTH",
8079
+ "name": "client-secret",
7767
8080
  "hasDynamicHelp": false,
7768
8081
  "multiple": false,
7769
- "options": [
7770
- "trace",
7771
- "debug",
7772
- "info",
7773
- "warn",
7774
- "error",
7775
- "silent"
7776
- ],
7777
8082
  "type": "option"
7778
8083
  },
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"
8084
+ "scope": {
8085
+ "description": "OAuth scopes to request (comma-separated)",
8086
+ "env": "SFCC_OAUTH_SCOPES",
8087
+ "helpGroup": "AUTH",
8088
+ "name": "scope",
8089
+ "delimiter": ",",
8090
+ "hasDynamicHelp": false,
8091
+ "multiple": true,
8092
+ "type": "option"
7787
8093
  },
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",
8094
+ "short-code": {
8095
+ "description": "SCAPI short code",
8096
+ "env": "SFCC_SHORTCODE",
8097
+ "helpGroup": "AUTH",
8098
+ "name": "short-code",
7793
8099
  "hasDynamicHelp": false,
7794
8100
  "multiple": false,
7795
8101
  "type": "option"
7796
8102
  },
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",
8103
+ "auth-methods": {
8104
+ "description": "Allowed auth methods in priority order (comma-separated)",
8105
+ "env": "SFCC_AUTH_METHODS",
8106
+ "helpGroup": "AUTH",
8107
+ "name": "auth-methods",
8108
+ "delimiter": ",",
7802
8109
  "hasDynamicHelp": false,
7803
- "multiple": false,
8110
+ "multiple": true,
8111
+ "options": [
8112
+ "client-credentials",
8113
+ "implicit",
8114
+ "basic",
8115
+ "api-key"
8116
+ ],
7804
8117
  "type": "option"
7805
8118
  },
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",
8119
+ "account-manager-host": {
8120
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
8121
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
8122
+ "helpGroup": "AUTH",
8123
+ "name": "account-manager-host",
7812
8124
  "hasDynamicHelp": false,
7813
8125
  "multiple": false,
7814
8126
  "type": "option"
7815
8127
  },
7816
- "working-directory": {
7817
- "description": "Project working directory",
7818
- "env": "SFCC_WORKING_DIRECTORY",
7819
- "helpGroup": "GLOBAL",
7820
- "name": "working-directory",
8128
+ "server": {
8129
+ "char": "s",
8130
+ "description": "B2C instance hostname",
8131
+ "env": "SFCC_SERVER",
8132
+ "helpGroup": "INSTANCE",
8133
+ "name": "server",
7821
8134
  "hasDynamicHelp": false,
7822
8135
  "multiple": false,
7823
8136
  "type": "option"
7824
8137
  },
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",
8138
+ "webdav-server": {
8139
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
8140
+ "env": "SFCC_WEBDAV_SERVER",
8141
+ "helpGroup": "INSTANCE",
8142
+ "name": "webdav-server",
7831
8143
  "hasDynamicHelp": false,
7832
8144
  "multiple": false,
7833
8145
  "type": "option"
7834
8146
  },
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",
8147
+ "code-version": {
8148
+ "char": "v",
8149
+ "description": "Code version",
8150
+ "env": "SFCC_CODE_VERSION",
8151
+ "helpGroup": "INSTANCE",
8152
+ "name": "code-version",
7841
8153
  "hasDynamicHelp": false,
7842
8154
  "multiple": false,
7843
8155
  "type": "option"
7844
8156
  },
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",
8157
+ "username": {
8158
+ "char": "u",
8159
+ "description": "Username for Basic Auth (WebDAV)",
8160
+ "env": "SFCC_USERNAME",
8161
+ "helpGroup": "AUTH",
8162
+ "name": "username",
7851
8163
  "hasDynamicHelp": false,
7852
8164
  "multiple": false,
7853
8165
  "type": "option"
7854
8166
  },
7855
- "limit": {
7856
- "char": "l",
7857
- "description": "Maximum number of results to display",
7858
- "name": "limit",
7859
- "default": 20,
8167
+ "password": {
8168
+ "char": "p",
8169
+ "description": "Password/access key for Basic Auth (WebDAV)",
8170
+ "env": "SFCC_PASSWORD",
8171
+ "helpGroup": "AUTH",
8172
+ "name": "password",
7860
8173
  "hasDynamicHelp": false,
7861
8174
  "multiple": false,
7862
8175
  "type": "option"
7863
8176
  },
7864
- "list": {
7865
- "description": "List all available documentation entries",
7866
- "name": "list",
7867
- "allowNo": false,
7868
- "type": "boolean"
8177
+ "root": {
8178
+ "char": "r",
8179
+ "description": "WebDAV root directory",
8180
+ "helpGroup": "WEBDAV",
8181
+ "name": "root",
8182
+ "default": "IMPEX",
8183
+ "hasDynamicHelp": false,
8184
+ "multiple": false,
8185
+ "options": [
8186
+ "impex",
8187
+ "temp",
8188
+ "cartridges",
8189
+ "realmdata",
8190
+ "catalogs",
8191
+ "libraries",
8192
+ "static",
8193
+ "logs",
8194
+ "securitylogs"
8195
+ ],
8196
+ "type": "option"
7869
8197
  }
7870
8198
  },
7871
8199
  "hasDynamicHelp": false,
7872
8200
  "hiddenAliases": [],
7873
- "id": "docs:search",
8201
+ "id": "webdav:zip",
7874
8202
  "pluginAlias": "@salesforce/b2c-cli",
7875
8203
  "pluginName": "@salesforce/b2c-cli",
7876
8204
  "pluginType": "core",
@@ -7880,8 +8208,8 @@
7880
8208
  "relativePath": [
7881
8209
  "dist",
7882
8210
  "commands",
7883
- "docs",
7884
- "search.js"
8211
+ "webdav",
8212
+ "zip.js"
7885
8213
  ]
7886
8214
  },
7887
8215
  "mrt:env:create": {
@@ -10938,5 +11266,5 @@
10938
11266
  ]
10939
11267
  }
10940
11268
  },
10941
- "version": "0.0.0-nightly.20260120023917"
11269
+ "version": "0.0.0-nightly.20260121201541"
10942
11270
  }