Skip to content

tool-builder: update stale hf --help output with all current commands#96

Merged
burtenshaw merged 1 commit intohuggingface:mainfrom
mishig25:fix/tool-builder-update-hf-help
Mar 23, 2026
Merged

tool-builder: update stale hf --help output with all current commands#96
burtenshaw merged 1 commit intohuggingface:mainfrom
mishig25:fix/tool-builder-update-hf-help

Conversation

@mishig25
Copy link
Copy Markdown
Contributor

@mishig25 mishig25 commented Mar 22, 2026

Summary

  • Add 12 missing command groups to the hf --help listing: buckets, collections, datasets, discussions, extensions, models, papers, repos, skills, spaces, sync, webhooks
  • Replace deprecated repo / repo-files with current repos
  • Fix typo: huggingface_hubhuggingface-cli in deprecation note

Source reference (huggingface_hub@b23f3e04)

All command groups are registered in cli/hf.py L89–L104:

app.add_typer(auth_cli, name="auth")
app.add_typer(buckets_cli, name="buckets")
app.add_typer(cache_cli, name="cache")
app.add_typer(collections_cli, name="collections")
app.add_typer(datasets_cli, name="datasets")
app.add_typer(discussions_cli, name="discussions")
app.add_typer(jobs_cli, name="jobs")
app.add_typer(models_cli, name="models")
app.add_typer(papers_cli, name="papers")
app.add_typer(repos_cli, name="repos | repo")
app.add_typer(repo_files_cli, name="repo-files", hidden=True)  # deprecated
app.add_typer(skills_cli, name="skills")
app.add_typer(spaces_cli, name="spaces")
app.add_typer(webhooks_cli, name="webhooks")
app.add_typer(ie_cli, name="endpoints")
app.add_typer(extensions_cli, name="extensions | ext")

Test plan

  • Verify listing matches hf --help output

🤖 Generated with Claude Code

The `hf --help` listing was missing 12 command groups that are
registered in cli/hf.py L89–L104:
  buckets, collections, datasets, discussions, extensions, models,
  papers, repos, skills, spaces, sync, webhooks

Also:
- Replace deprecated `repo` / `repo-files` with current `repos`
- Fix typo: `huggingface_hub` → `huggingface-cli` in deprecation note

Verified against huggingface_hub@b23f3e04.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@burtenshaw burtenshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks.

@burtenshaw burtenshaw merged commit 5966c95 into huggingface:main Mar 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants