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
fix(cli): correct three descriptions the CLI publishes, and restore --no-recursive (#7093)
Follow-ups from review of the v0.8.12 release PR, all on surfaces the CLI
audit touched.
- `credentialId` was one shared schema across PATCH and DELETE, so the
disconnect reference offered "update or disconnect" for an operation that
cannot update. Split into two, matching the two components OpenAPI already
publishes for them.
- A boolean query param documents the spellings an HTTP caller may send and
closes by calling them the whole accepted set. The CLI renders those fields
as bare flags that take no value, leaving the sentence pointing at a list
neither `--help` nor the reference ever prints. Stripped for bare flags only;
the REST prose and OpenAPI specs are unchanged.
- `files list --recursive` became a bare switch in the audit, which removed the
only way to send false. The API turns it on by itself as soon as `--search`
is set, so a folder search always descended. The twin is back, declared per
flag so the one-way toggles do not grow a meaningless negation.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/cli/files.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -256,7 +256,8 @@ sim files list [options]
256
256
| Option | Required | Description |
257
257
| --- | --- | --- |
258
258
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
259
-
|`--recursive`| No | Whether the folder filter includes files in subfolders. Defaults to true when a search is set, false otherwise, so listing a folder shows that folder while searching one looks through everything in it. Ignored when no folder filter is set, which already spans the workspace. The listed spellings are the whole accepted vocabulary and are case-sensitive; any other value is rejected. |
259
+
|`--recursive`| No | Whether the folder filter includes files in subfolders. Defaults to true when a search is set, false otherwise, so listing a folder shows that folder while searching one looks through everything in it. Ignored when no folder filter is set, which already spans the workspace. |
260
+
|`--no-recursive`| No | Send --recursive as false. |
260
261
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live files, `archived` for files a `DELETE` soft-deleted. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
261
262
|`--search <value>`| No | Case-insensitive substring match against the file name. |
262
263
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `size`, `uploadedAt`, `updatedAt`. |
|`credentialId`| Yes | Credential to update or disconnect. |
451
+
|`credentialId`| Yes | Credential to update. |
452
452
453
453
</CommandTable>
454
454
@@ -950,7 +950,8 @@ sim files list [options]
950
950
| Option | Required | Description |
951
951
| --- | --- | --- |
952
952
|`--folder <value>`| No | Folder path as shown in the app; the leading / is optional. |
953
-
|`--recursive`| No | Whether the folder filter includes files in subfolders. Defaults to true when a search is set, false otherwise, so listing a folder shows that folder while searching one looks through everything in it. Ignored when no folder filter is set, which already spans the workspace. The listed spellings are the whole accepted vocabulary and are case-sensitive; any other value is rejected. |
953
+
|`--recursive`| No | Whether the folder filter includes files in subfolders. Defaults to true when a search is set, false otherwise, so listing a folder shows that folder while searching one looks through everything in it. Ignored when no folder filter is set, which already spans the workspace. |
954
+
|`--no-recursive`| No | Send --recursive as false. |
954
955
|`--scope <value>`| No | Which lifecycle set to list: `active` (default) for live files, `archived` for files a `DELETE` soft-deleted. `folderPath` resolves against active folders only, so pairing it with `scope=archived` returns an empty page when the containing folder was archived too. Accepted values: `active`, `archived`. |
955
956
|`--search <value>`| No | Case-insensitive substring match against the file name. |
956
957
|`--sort-by <value>`| No | Field used to sort the result. Sorting by `name` is case-sensitive and follows the storage collation, so do not rely on a case-insensitive order. Accepted values: `name`, `size`, `uploadedAt`, `updatedAt`. |
'Whether the folder filter includes files in subfolders. The listed spellings are the whole accepted vocabulary and are case-sensitive; any other value is rejected.',
100
+
},
101
+
folder: {kind: 'string',describe: 'Folder path as shown in the app.'},
0 commit comments