[v1.12.0] Unified CLI output, bucket search, and more
hf buckets commandsAll hf buckets commands now use the unified --format [auto|human|agent|json|quiet] flag and the out singleton for consistent, scriptable output. The previous --quiet and --format table|json flags have been replaced by a single --format option that works across create, list, info, delete, rm, move, and cp. Success messages use out.result(), detail views use out.dict(), and listings use out.table() with proper empty-results handling β making the buckets CLI consistent with the rest of the hf command suite.
# Quiet mode: print only bucket IDs
hf buckets list --format quiet
# JSON output for scripting
hf buckets create my-bucket --format json
# Agent-friendly structured output
hf buckets info username/my-bucket --format agent
π Documentation: Buckets guide Β· CLI guide
You can now filter buckets by name when listing them, both from the Python API and the CLI. Pass search="checkpoint" to list_buckets() or --search "checkpoint" to hf buckets list to find buckets matching a name pattern, without having to list and filter client-side.
# Filter buckets by name
hf buckets list --search "checkpoint"
# Filter buckets by name in Python
for bucket in list_buckets(search="checkpoint"):
print(bucket.id)
π Documentation: Buckets guide Β· CLI guide
pi agent by @hanouticelina in #4125mainSize to ExpandDatasetProperty_T by @Wauplin in #4136Fetched April 24, 2026