Skip to content

Commit

Permalink
feat(sdk): Adds missing short options to the cli (#4604)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaikmanu797 authored and Bobgy committed Oct 10, 2020
1 parent 15fc5a4 commit 95f03d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sdk/python/kfp/cli/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def experiment():

@experiment.command()
@click.option(
'-d',
'--description',
help="Description of the experiment."
)
Expand All @@ -27,6 +28,7 @@ def create(ctx, description, name):

@experiment.command()
@click.option(
'-m',
'--max-size',
default=100,
help="Max size of the listed experiments."
Expand Down
1 change: 1 addition & 0 deletions sdk/python/kfp/cli/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def upload_version(ctx, package_file, pipeline_version, pipeline_id):

@pipeline.command()
@click.option(
"-m",
"--max-size",
default=100,
help="Max size of the listed pipelines."
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kfp/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run():

@run.command()
@click.option('-e', '--experiment-id', help='Parent experiment ID of listed runs.')
@click.option('--max-size', default=100, help='Max size of the listed runs.')
@click.option('-m', '--max-size', default=100, help='Max size of the listed runs.')
@click.pass_context
def list(ctx, experiment_id, max_size):
"""list recent KFP runs"""
Expand Down

0 comments on commit 95f03d6

Please sign in to comment.