diff --git a/appwrite_lab/cli/list_menu.py b/appwrite_lab/cli/list_menu.py index e0a7dc8..899e701 100644 --- a/appwrite_lab/cli/list_menu.py +++ b/appwrite_lab/cli/list_menu.py @@ -3,7 +3,14 @@ from appwrite_lab._orchestrator import get_template_versions import typer -list_menu = typer.Typer(name="list", rich_markup_mode=typer.rich_utils.MARKUP_MODE_RICH) +try: + from typer.rich_utils import MARKUP_MODE_RICH + + RICH_MODE = MARKUP_MODE_RICH +except Exception: + RICH_MODE = "rich" + +list_menu = typer.Typer(name="list", rich_markup_mode=RICH_MODE) labs = get_global_labs() diff --git a/pyproject.toml b/pyproject.toml index a4f178a..70cf0ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "appwrite-lab" -version = "0.1.4" +version = "0.1.5" description = "Zero-click Appwrite test environments." readme = "README.md" requires-python = ">=3.11"