diff --git a/plugins/huggingface/huggingface-cli.go b/plugins/huggingface/huggingface-cli.go index fef494912..e11172e5b 100644 --- a/plugins/huggingface/huggingface-cli.go +++ b/plugins/huggingface/huggingface-cli.go @@ -10,13 +10,13 @@ import ( func HuggingFaceCLI() schema.Executable { return schema.Executable{ Name: "HuggingFace CLI", - Runs: []string{"huggingface-cli"}, + Runs: []string{"hf"}, DocsURL: sdk.URL("https://huggingface.co/docs/huggingface_hub/quick-start"), NeedsAuth: needsauth.IfAll( needsauth.NotForHelpOrVersion(), needsauth.NotWithoutArgs(), - needsauth.NotWhenContainsArgs("login"), - needsauth.NotWhenContainsArgs("logout"), + needsauth.NotWhenContainsArgs("auth", "login"), + needsauth.NotWhenContainsArgs("auth", "logout"), ), Uses: []schema.CredentialUsage{ {