File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -52,34 +52,29 @@ const commands = {
5252 },
5353 {
5454 name: "repo-type" as const,
55- short: "t",
5655 enum: ["dataset", "model", "space"],
5756 default: "model",
5857 description:
5958 "The type of repo to upload to. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name",
6059 },
6160 {
6261 name: "revision" as const,
63- short: "r",
6462 description: "The revision to upload to. Defaults to the main branch",
6563 default: "main",
6664 },
6765 {
6866 name: "from-revision" as const,
69- short: "c",
7067 description:
7168 "The revision to upload from. Defaults to the latest commit on main or on the branch if it exists.",
7269 },
7370 {
7471 name: "from-empty" as const,
75- short: "e",
7672 boolean: true,
7773 description:
7874 "This will create an empty branch and upload the files to it. This will erase all previous commits on the branch if it exists.",
7975 },
8076 {
8177 name: "token" as const,
82- short: "k",
8378 description:
8479 "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.",
8580 default: process.env.HF_TOKEN,
You can’t perform that action at this time.
0 commit comments