diff --git a/flytekit/clis/flyte_cli/main.py b/flytekit/clis/flyte_cli/main.py index 2e0bf67f83..3f6b954165 100644 --- a/flytekit/clis/flyte_cli/main.py +++ b/flytekit/clis/flyte_cli/main.py @@ -75,7 +75,19 @@ def _welcome_message(): - _click.secho("Welcome to Flyte CLI! Version: {}".format(_tt(__version__)), bold=True) + _click.secho( + "\n################################################################################################################################", + bold=True, + ) + _click.secho( + "# flyte-cli is being deprecated in favor of flytectl. More details about flytectl in https://docs.flyte.org/projects/flytectl/ #", + bold=True, + ) + _click.secho( + "################################################################################################################################\n", + bold=True, + ) + _click.secho("Welcome to Flyte CLI! Version: {}\n".format(_tt(__version__)), bold=True) def _get_user_filepath_home(): @@ -595,7 +607,7 @@ def make_context(self, cmd_name, args, parent=None): "the sub-command's parameter takes precedence.", ) @_insecure_option -@_click.group("flyte-cli") +@_click.group("flyte-cli", deprecated=True) @_click.pass_context def _flyte_cli(ctx, host, config, project, domain, name, insecure): """