You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/hub/cli.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ const commands = {
126
126
name: "repo-type" as const,
127
127
enum: ["dataset", "model", "space"],
128
128
description:
129
-
"The type of repo to create. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name",
129
+
"The type of of the repo to create the branch into. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name",
130
130
},
131
131
{
132
132
name: "revision" as const,
@@ -193,15 +193,15 @@ const commands = {
193
193
{
194
194
name: "repo-name" as const,
195
195
description:
196
-
"The full ID of the repo to delete (e.g., 'username/my-model', 'datasets/username/my-data', or 'spaces/username/my-space')",
196
+
"The name of the repo to delete. You can also prefix the repo name with the type, e.g.datasets/username/repo-name",
197
197
positional: true,
198
198
required: true,
199
199
},
200
200
{
201
201
name: "repo-type" as const,
202
202
enum: ["dataset", "model", "space"],
203
203
description:
204
-
"The type of repo. If the repo-name is prefixed (e.g. 'datasets/my-dataset'), the type is inferred. This option can be used to override or specify the type if the name is not prefixed.",
204
+
"The type of the repo to delete. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name",
0 commit comments