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 Oct 10, 2020
1 parent 21d84ef commit ce6cfa5
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -12,6 +12,7 @@ def experiment():

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

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

@pipeline.command()
@click.option(
"-m",
"--max-size",
default=100,
help="Max size of the listed pipelines."
Expand All @@ -109,6 +110,7 @@ def list(ctx, max_size):
@pipeline.command()
@click.argument("pipeline-id")
@click.option(
"-m",
"--max-size",
default=10,
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 ce6cfa5

Please sign in to comment.