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
You can also filter buckets by name using `search`:
137
+
138
+
```py
139
+
>>>for bucket in list_buckets(search="checkpoint"):
140
+
...print(bucket.id)
131
141
```
132
142
133
143
You can use the `--quiet` and `--format json` options to get different output format. This is particularly interesting if you want to pipe the output to another tool like `grep` or `jq`.
Copy file name to clipboardExpand all lines: docs/source/en/package_reference/cli.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -399,6 +399,7 @@ $ hf buckets list [OPTIONS] [ARGUMENT]
399
399
*`-h, --human-readable`: Show sizes in human readable format.
400
400
*`--tree`: List files in tree format (only for listing files).
401
401
*`-R, --recursive`: List files recursively (only for listing files).
402
+
*`--search TEXT`: Search query.
402
403
*`--format [table|json]`: Output format (table or json). [default: table]
403
404
*`-q, --quiet`: Print only IDs (one per line).
404
405
*`--token TEXT`: A User Access Token generated from https://huggingface.co/settings/tokens.
@@ -407,6 +408,7 @@ $ hf buckets list [OPTIONS] [ARGUMENT]
0 commit comments