From e2021e8ee3337dca2596a9aa6e10f4d84d98779e Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Mon, 29 Jun 2026 22:28:08 +0200 Subject: [PATCH] Remove `src` from `directory` option description --- src/fastapi_cloud_cli/commands/apps/create.py | 4 ++-- tests/test_cli_apps.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fastapi_cloud_cli/commands/apps/create.py b/src/fastapi_cloud_cli/commands/apps/create.py index fa4f3df..a7c7c08 100644 --- a/src/fastapi_cloud_cli/commands/apps/create.py +++ b/src/fastapi_cloud_cli/commands/apps/create.py @@ -77,7 +77,7 @@ def create_app( "--directory", help=( "Relative app directory containing the pyproject.toml " - "(for example: src or backend)." + "(for example: backend or webserver)." ), ), ] = None, @@ -156,7 +156,7 @@ def create_app( "invalid_input", f"Invalid app directory: {e}", hint=( - "Pass a relative app directory such as `src` or `backend`; " + "Pass a relative app directory such as `backend` or `webserver`; " "use --path with --link to choose a local filesystem path." ), ) diff --git a/tests/test_cli_apps.py b/tests/test_cli_apps.py index 770c3a9..1ce42c3 100644 --- a/tests/test_cli_apps.py +++ b/tests/test_cli_apps.py @@ -344,7 +344,7 @@ def test_creates_app_json_rejects_invalid_directory(logged_in_cli: None) -> None "code": "invalid_input", "message": ("Invalid app directory: must be a relative path, not absolute"), "hint": ( - "Pass a relative app directory such as `src` or `backend`; " + "Pass a relative app directory such as `backend` or `webserver`; " "use --path with --link to choose a local filesystem path." ), }