huggingface_hub
f100f040 - Buckets list empty message (#3850)

Commit
3 days ago
Buckets list empty message (#3850) * Show specific empty message when listing buckets with no results Changed the message from generic 'No results found.' to 'No buckets found under namespace <namespace>.' when running 'hf buckets list' or 'hf buckets list <namespace>'. When no namespace argument is provided, resolves the current user's name via api.whoami() to display in the message. Co-authored-by: Lucain <Wauplin@users.noreply.github.com> * Respect --format json and --quiet when bucket list is empty In JSON mode, print '[]' for empty results. In quiet mode, print nothing. Only show the namespace-specific message in default table mode. Co-authored-by: Lucain <Wauplin@users.noreply.github.com> * Apply suggestion from @Wauplin * Apply suggestion from @Wauplin --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Lucain <Wauplin@users.noreply.github.com>
Author
Parents
Loading