Skip to content

Conversation

azaracla
Copy link
Contributor

@azaracla azaracla commented Sep 7, 2025

What this does

Update documentation to new CLI syntax.

How it was tested

Old syntax is deprecated and doesn't work

huggingface-cli whoami | head -n 1
⚠️ Warning: 'huggingface-cli whoami' is deprecated. Use 'hf auth whoami' instead.

How to checkout & try? (for the reviewer)

New syntax works

hf auth whoami | head -n 1
azaracla

HF_USER=$(huggingface-cli whoami | head -n 1)
echo $HF_USER
⚠️ Warning: 'huggingface-cli whoami' is deprecated. Use 'hf auth whoami' instead.

Signed-off-by: azaracla <[email protected]>
@imstevenpmwork imstevenpmwork self-assigned this Oct 17, 2025
@imstevenpmwork imstevenpmwork added documentation Improvements or fixes to the project’s docs enhancement Suggestions for new features or improvements labels Oct 17, 2025
@imstevenpmwork imstevenpmwork self-requested a review October 17, 2025 14:44
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@imstevenpmwork imstevenpmwork merged commit da9c2e6 into huggingface:main Oct 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or fixes to the project’s docs enhancement Suggestions for new features or improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants