Skip to content

Commit

Permalink
use click for components commands
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-mccarthy committed Apr 13, 2022
1 parent 5aaf6a4 commit 69f459b
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 183 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, components, diagnose_me_cli, experiment, pipeline,
recurring_run, run)

Expand All @@ -28,7 +27,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 69f459b

Please sign in to comment.