From 239e765236374126eb2ee696f68851cc70209fb2 Mon Sep 17 00:00:00 2001 From: liblaf <30631553+liblaf@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:40:08 +0800 Subject: [PATCH] refactor: reorganize module structure for clarity Move interactive functionality into a dedicated module to improve code organization and maintainability. --- src/llm_cli/__init__.pyi | 6 +++--- src/llm_cli/{llm => interactive}/__init__.py | 0 src/llm_cli/{llm => interactive}/__init__.pyi | 0 src/llm_cli/{llm => interactive}/_output.py | 0 src/llm_cli/{llm => interactive}/_usage.py | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename src/llm_cli/{llm => interactive}/__init__.py (100%) rename src/llm_cli/{llm => interactive}/__init__.pyi (100%) rename src/llm_cli/{llm => interactive}/_output.py (100%) rename src/llm_cli/{llm => interactive}/_usage.py (100%) diff --git a/src/llm_cli/__init__.pyi b/src/llm_cli/__init__.pyi index ca5eef4..12581c6 100644 --- a/src/llm_cli/__init__.pyi +++ b/src/llm_cli/__init__.pyi @@ -1,7 +1,7 @@ -from . import cmd, config, llm, utils +from . import cmd, config, interactive, utils from .cmd import app from .config import Config, get_config -from .llm import output, pretty_usage +from .interactive import output, pretty_usage __all__ = [ "Config", @@ -9,7 +9,7 @@ __all__ = [ "cmd", "config", "get_config", - "llm", + "interactive", "output", "pretty_usage", "utils", diff --git a/src/llm_cli/llm/__init__.py b/src/llm_cli/interactive/__init__.py similarity index 100% rename from src/llm_cli/llm/__init__.py rename to src/llm_cli/interactive/__init__.py diff --git a/src/llm_cli/llm/__init__.pyi b/src/llm_cli/interactive/__init__.pyi similarity index 100% rename from src/llm_cli/llm/__init__.pyi rename to src/llm_cli/interactive/__init__.pyi diff --git a/src/llm_cli/llm/_output.py b/src/llm_cli/interactive/_output.py similarity index 100% rename from src/llm_cli/llm/_output.py rename to src/llm_cli/interactive/_output.py diff --git a/src/llm_cli/llm/_usage.py b/src/llm_cli/interactive/_usage.py similarity index 100% rename from src/llm_cli/llm/_usage.py rename to src/llm_cli/interactive/_usage.py