Skip to content

Commit ab29cba

Browse files
authored
fix(models): require model download params pla-158 (#353)
1 parent 1e747cf commit ab29cba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gradient/cli/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def create_model(api_key, options_file, **model):
126126
@models_group.command("upload", help="Upload a model file or directory")
127127
@click.argument(
128128
"PATH",
129+
required=True,
129130
type=click.Path(exists=True),
130131
cls=common.GradientArgument,
131132
)
@@ -216,6 +217,7 @@ def model_details(model_id, api_key, options_file):
216217
@click.option(
217218
"--destinationDir",
218219
"destination_directory",
220+
required=True,
219221
help="Destination directory",
220222
cls=common.GradientOption,
221223
)

0 commit comments

Comments
 (0)