diff --git a/src/fastapi_cloud_cli/commands/login.py b/src/fastapi_cloud_cli/commands/login.py index 1997e15..75dfcfc 100644 --- a/src/fastapi_cloud_cli/commands/login.py +++ b/src/fastapi_cloud_cli/commands/login.py @@ -93,7 +93,7 @@ def login() -> Any: with get_rich_toolkit(minimal=True) as toolkit: toolkit.print("You are already logged in.") toolkit.print( - "Run [bold]fastapi logout[/bold] first if you want to switch accounts." + "Run [bold]fastapi cloud logout[/bold] first if you want to switch accounts." ) return diff --git a/tests/test_cli_login.py b/tests/test_cli_login.py index 22d856a..6d1f7ee 100644 --- a/tests/test_cli_login.py +++ b/tests/test_cli_login.py @@ -174,7 +174,10 @@ def test_notify_already_logged_in_user( assert result.exit_code == 0 assert "You are already logged in." in result.output - assert "Run fastapi logout first if you want to switch accounts." in result.output + assert ( + "Run fastapi cloud logout first if you want to switch accounts." + in result.output + ) @pytest.mark.respx(base_url=settings.base_api_url)