Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix repo-files CLI example #2428

Merged
merged 1 commit into from
Jul 30, 2024
Merged

fix repo-files CLI example #2428

merged 1 commit into from
Jul 30, 2024

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Jul 30, 2024

Fix #2416

huggingface-cli repo-files <repo_id> delete *

is wrong and must be replaced by

huggingface-cli repo-files <repo_id> delete "*"

Problem is that the shell lists all local files and add it to the executed command line. Nothing much we can do python-side unfortunately.

@Wauplin Wauplin requested a review from severo July 30, 2024 08:34
@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.

@Wauplin Wauplin merged commit 59eacad into main Jul 30, 2024
15 of 17 checks passed
@Wauplin Wauplin deleted the 2416-fix-repo-files-doc branch July 30, 2024 10:10
@Wauplin
Copy link
Contributor Author

Wauplin commented Jul 30, 2024

Thanks for spotting this @severo !

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.

glob * as shown in CLI code comments don't work as expected
3 participants