Skip to content

Commit

Permalink
use click for components commands (#7559)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-mccarthy authored Apr 20, 2022
1 parent a554844 commit 2db431b
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 187 deletions.
3 changes: 1 addition & 2 deletions sdk/python/kfp/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import sys

import click
import typer
from kfp.cli import cli
from kfp.cli import components
from kfp.cli import diagnose_me_cli
Expand All @@ -33,7 +32,7 @@ def main():
cli.cli.add_command(pipeline.pipeline)
cli.cli.add_command(diagnose_me_cli.diagnose_me)
cli.cli.add_command(experiment.experiment)
cli.cli.add_command(typer.main.get_command(components.app))
cli.cli.add_command(components.components)
try:
cli.cli(obj={}, auto_envvar_prefix='KFP')
except Exception as e:
Expand Down
Loading

0 comments on commit 2db431b

Please sign in to comment.