You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: audit-driven repair of CLI reference, guides, and SDK JSDoc (#473)
Sweep across CLI/guide/API docs and SDK JSDoc to correct stale flags,
descriptions, and examples; fill in JSDoc on previously-undocumented
public exports so the typedoc-generated API reference covers the full
surface; add the missing operations/cap typedoc entry point.
Documentation audit and repair pass: corrected stale CLI flag and command references across the CLI reference and guides, fixed broken examples (e.g. eCDN mTLS, sandbox `--no-*` flags, WebDAV `get` arguments), aligned SDK JSDoc with current signatures, and added the missing `operations/cap` typedoc entry point so the Commerce App SDK module appears in the API reference. Filled in JSDoc for previously undocumented public exports across the SDK (auth, clients, instance, logging, ods, mrt, cap, cip, debug, scaffold, schemas, skills, etc.) so the generated API docs cover the full public surface.
Copy file name to clipboardExpand all lines: docs/cli/code.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,12 @@ b2c code list
49
49
50
50
### Flags
51
51
52
-
Uses [global instance and authentication flags](./index#global-flags).
52
+
In addition to [global instance and authentication flags](./index#global-flags):
53
+
54
+
| Flag | Description | Default |
55
+
|------|-------------|---------|
56
+
|`--columns`, `-c`| Columns to display (comma-separated). Available: id, active, rollback, lastModified, cartridges | All columns |
57
+
|`--extended`, `-x`| Show all columns including extended fields |`false`|
53
58
54
59
### Examples
55
60
@@ -116,8 +121,8 @@ In addition to [global flags](./index#global-flags):
116
121
|`--activate`, `-a`| Activate code version after deploy |`false`|
117
122
|`--reload`, `-r`| Reload (toggle activation to force reload) code version after deploy |`false`|
118
123
|`--delete`| Delete existing cartridges before upload |`false`|
119
-
|`--cartridge`, `-c`| Include specific cartridge(s) (can be repeated) ||
120
-
|`--exclude-cartridge`, `-x`| Exclude specific cartridge(s) (can be repeated) ||
124
+
|`--cartridge`, `-c`| Include specific cartridge(s) (comma-separated or repeated) ||
125
+
|`--exclude-cartridge`, `-x`| Exclude specific cartridge(s) (comma-separated or repeated) ||
121
126
122
127
### Examples
123
128
@@ -183,8 +188,10 @@ In addition to [global flags](./index#global-flags):
183
188
|------|-------------|---------|
184
189
|`--output`, `-o`| Output directory for downloaded cartridges |`cartridges`|
185
190
|`--mirror`, `-m`| Extract cartridges to their local project locations |`false`|
186
-
|`--cartridge`, `-c`| Include specific cartridge(s) (can be repeated) ||
187
-
|`--exclude-cartridge`, `-x`| Exclude specific cartridge(s) (can be repeated) ||
191
+
|`--cartridge`, `-c`| Include specific cartridge(s) (comma-separated or repeated) ||
192
+
|`--exclude-cartridge`, `-x`| Exclude specific cartridge(s) (comma-separated or repeated) ||
193
+
194
+
**Note:** The `--mirror` and `--output` flags are mutually exclusive. You must use one or the other, not both. Use `--output` to extract all cartridges to a single directory, or use `--mirror` to extract each cartridge to its local project location.
188
195
189
196
### Examples
190
197
@@ -343,8 +350,8 @@ In addition to [global flags](./index#global-flags):
343
350
344
351
| Flag | Description |
345
352
|------|-------------|
346
-
|`--cartridge`, `-c`| Include specific cartridge(s) (can be repeated) |
347
-
|`--exclude-cartridge`, `-x`| Exclude specific cartridge(s) (can be repeated) |
353
+
|`--cartridge`, `-c`| Include specific cartridge(s) (comma-separated or repeated) |
354
+
|`--exclude-cartridge`, `-x`| Exclude specific cartridge(s) (comma-separated or repeated) |
Copy file name to clipboardExpand all lines: docs/cli/content.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,8 @@ In addition to [global flags](./index#global-flags):
179
179
|`--components`| Include components in table output |`false`|
180
180
|`--tree`| Show tree structure instead of table |`false`|
181
181
|`--timeout`| Job timeout in seconds ||
182
+
|`--columns`, `-c`| Columns to display (comma-separated). Available: id, type, typeId, children | All columns |
183
+
|`--extended`, `-x`| Show all columns including extended fields |`false`|
182
184
183
185
### Examples
184
186
@@ -244,7 +246,7 @@ With `--json`, returns `{ data: [...] }` with each item containing `id`, `type`,
244
246
245
247
## b2c content validate
246
248
247
-
Validate Page Designer metadefinition JSON files against bundled JSON schemas. This is a local-only command — no instance connection or authentication is required.
249
+
Validate Page Designer metadefinition JSON files against schemas. This is a local-only command — no instance connection or authentication is required.
248
250
249
251
The command auto-detects the schema type using file path conventions (`experience/pages/` → pagetype, `experience/components/` → componenttype) and falls back to inspecting the JSON properties. You can also specify the type explicitly with `--type`.
Copy file name to clipboardExpand all lines: docs/cli/custom-apis.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ These flags are available on all Custom APIs commands:
14
14
|------|---------------------|-------------|
15
15
|`--tenant-id`|`SFCC_TENANT_ID`| (Required) Organization/tenant ID |
16
16
|`--short-code`|`SFCC_SHORTCODE`| SCAPI short code |
17
+
|`--client-id`|`SFCC_CLIENT_ID`| Account Manager API Client ID |
18
+
|`--client-secret`|`SFCC_CLIENT_SECRET`| Account Manager API Client secret |
19
+
20
+
Additional authentication flags (`--auth-methods`, `--user-auth`, `--account-manager-host`, `--jwt-cert`, `--jwt-key`, `--jwt-passphrase`) and logging flags (`--log-level`, `--debug`, `--jsonl`) are also available. See the [Authentication Guide](/guide/authentication#scapi-authentication) for credential configuration, or run any command with `--help` for the complete flag list.
0 commit comments