Skip to content

Commit 95f03d6

Browse files
shaikmanu797Bobgy
authored andcommitted
feat(sdk): Adds missing short options to the cli (#4604)
1 parent 15fc5a4 commit 95f03d6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

sdk/python/kfp/cli/experiment.py

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def experiment():
1111

1212
@experiment.command()
1313
@click.option(
14+
'-d',
1415
'--description',
1516
help="Description of the experiment."
1617
)
@@ -27,6 +28,7 @@ def create(ctx, description, name):
2728

2829
@experiment.command()
2930
@click.option(
31+
'-m',
3032
'--max-size',
3133
default=100,
3234
help="Max size of the listed experiments."

sdk/python/kfp/cli/pipeline.py

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def upload_version(ctx, package_file, pipeline_version, pipeline_id):
7676

7777
@pipeline.command()
7878
@click.option(
79+
"-m",
7980
"--max-size",
8081
default=100,
8182
help="Max size of the listed pipelines."

sdk/python/kfp/cli/run.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def run():
2929

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

0 commit comments

Comments
 (0)