Skip to content

Commit e553c40

Browse files
Wauplingary149
andauthored
Apply suggestions from code review
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
1 parent f1e4aa1 commit e553c40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hf-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ We are glad to announce a long-awaited quality-of-life improvement: the Hugging
1111

1212
So... why this change?
1313

14-
Let’s be honest: typing `huggingface-cli` eleven times a day is a finger workout. But more importantly, the old command layout grew organically over the years. As we added new features (upload, download, cache management, repo management, etc.), the CLI menu gradually became a patchwork of functionality lacking a consistent structure. Renaming the CLI gives us the perfect excuse to harmonize commands under a clearer, more consistent format.
14+
Typing `huggingface-cli` constantly gets old fast. More importantly, the CLI’s command structure became messy as new features were added over time (upload, download, cache management, repo management, etc.). Renaming the CLI is a chance to reorganize commands into a clearer, more consistent format.
1515

16-
Since we knew we didn't want to reinvent the wheel, we took inspiration from the excellent [GitHub](https://cli.github.com/) and [Docker](https://www.docker.com/products/cli/) CLIs. They both use a predictable grammar **`hf <resource> <action>`** that clearly defines the scope and intent of each command. By aligning with this proven pattern, we're making the Hugging Face CLI more ergonomic and discoverable. We are also preparing the ground for upcoming features already cooking in the pipeline.
16+
We decided not to reinvent the wheel and instead follow a well-known CLI pattern: **`hf <resource> <action>`**. This predictable grammar makes the Hugging Face CLI more ergonomic and discoverable, while also setting the stage for upcoming features.
1717

1818
## Getting started
1919

0 commit comments

Comments
 (0)